137561 Commits

Author SHA1 Message Date
Jungshik Jang
562ef5c513 DO NOT MERGE: Add HdmiCecDeviceInfo to HdmiCecLocalDevice
As HdmiCecLoclaDevice is a wrapper for local devices
it should include cec device info.

Change-Id: I479665b2aa6bd56470b79dbbb7fb1015f6356090
2014-06-02 10:50:37 +09:00
Jungshik Jang
9d499bfe4a DO NOT MERGE: Implement <Polling Message>.
When Device Discovery is launched or Hot-plug detection is
launched, the first step of it is to send <Polling Message>
to all remote devices. According to type of feature,
it may have different retry count for sending <Polling Message>.

As <Polling Message> to all devices should be serialized operation
it runs on io thread as single operation.

Along with this, added assertRunOnIoThread and
assertRunOnServiceThread used to make sure that all methods are
called in proper thread.

Change-Id: I2d2df0216867c188e99ba24b216ec73f3396eeae
2014-06-02 10:48:57 +09:00
Yuncheol Heo
61ced38d61 DO NOT MERGE: Add the constants for the callback result of SendCecCommand().
- Move the send failure warning messages into HdmiCecController.sendCommand()
  from each Actions.
- Stringfy with more detail messages for some opcodes.

Change-Id: Ib7ce24dd2a1f290e6c3a0b26738772ef1d4a9630
2014-06-02 10:46:36 +09:00
Jinsuk Kim
47927f756a DO NOT MERGE: CEC Initialization per device type
CEC initialization may vary from device type to type. Changed logical address
map to HdmiCecLocalDevice map to handle it. These per-type classes for local
device will be extended also to take care of incoming CEC commands that should
require different action based on device type.

Change-Id: Ia59a464607b14e942fcf83e63aa1d6310ca6a575
2014-06-02 10:45:18 +09:00
Jungshik Jang
404d704158 DO NOT MERGE: Add SendMessageCallback to Hdmi control service.
As we have separate IO thread, we should have async callback
mechanism to get result of send request.
For that, I added SendMessageCallback interface to HdmiControl
Service
Along with this, replace message-based IO handling with
post Runnable based one for consistency

Change-Id: I61cf5b751b4f2af3b34956060869f3512f161d11
2014-06-02 10:42:03 +09:00
Alan Viverette
af01a7f4cf Merge "Fix build" 2014-06-02 01:37:28 +00:00
Alan Viverette
a81ff42474 Fix build
Change-Id: Id5dde81d71c164c5537c48b383c7b37f2b2a7327
2014-06-01 18:37:01 -07:00
Alan Viverette
4febf92f01 am 31c460ab: Merge "Smaller dialog margin, update button width & font weight" into lmp-preview-dev
* commit '31c460ab4e011536c58e6128f071ce76e602483e':
  Smaller dialog margin, update button width & font weight
2014-06-02 00:55:29 +00:00
Alan Viverette
07cd153e35 Merge "Smaller dialog margin, update button width & font weight" into lmp-preview-dev 2014-06-02 00:51:18 +00:00
Alan Viverette
b8e6dbe361 Smaller dialog margin, update button width & font weight
BUG: 15310835
BUG: 15317713
BUG: 15316689
Change-Id: Iaab92eefa3fdba85dfa9cc3931234135e8a0bc5c
2014-06-01 17:41:55 -07:00
Alan Viverette
52a557fae5 am cc179e25: Merge "Allow ripple bounds to change during enter animation" into lmp-preview-dev
* commit 'cc179e25ccab51cddd16bd3be064590a4c5bb58b':
  Allow ripple bounds to change during enter animation
2014-06-02 00:36:59 +00:00
Alan Viverette
0f77b116e1 Merge "Allow ripple bounds to change during enter animation" into lmp-preview-dev 2014-06-02 00:32:13 +00:00
Adam Powell
535499204b am 16b0baa4: Merge "Further implementation for ToolbarActionBar" into lmp-preview-dev
* commit '16b0baa45bd68bb05863d3a6e92b7e8e0b452cb2':
  Further implementation for ToolbarActionBar
2014-06-02 00:25:41 +00:00
Adam Powell
9558232a2e Merge "Further implementation for ToolbarActionBar" into lmp-preview-dev 2014-06-02 00:23:16 +00:00
Adam Powell
07a74548ae Further implementation for ToolbarActionBar
Integrate activity options menu and inline Toolbars. Fix a series of
small associated bugs.

Activities now (privately) offer several menu-related events directly
to the associated ActionBar. In the future this should help us
untangle some of the menu-based pasta in PhoneWindow.

Bug 15344598

Change-Id: I76211ad17d2bcbb58cf1d88914e855416d084ded
2014-06-01 17:15:42 -07:00
Alan Viverette
dc6046fca3 Allow ripple bounds to change during enter animation
BUG: 15315168
Change-Id: I7588be96648318473998cfd5deba678224f1db51
2014-06-01 16:48:31 -07:00
Alan Viverette
6a407b0d48 am 8709eeb9: Merge "Fix padding for GradientDrawable" into lmp-preview-dev
* commit '8709eeb9ed08a70550b308e4e79cadf884e2e2d3':
  Fix padding for GradientDrawable
2014-06-01 23:45:51 +00:00
Alan Viverette
c65c7ae635 Merge commit '6682183b' into manualmerge
Conflicts:
	core/res/res/values/public.xml

Change-Id: Ic91db6ee85dcd8a6b13716b600b04c78ceac4b33
2014-06-01 16:44:28 -07:00
Alan Viverette
c6c967b68a Merge "Fix padding for GradientDrawable" into lmp-preview-dev 2014-06-01 23:23:51 +00:00
Alan Viverette
c3710eb20d Merge "Fixes hotspot list transitions, update to use a single hotspot" into lmp-preview-dev 2014-06-01 23:14:25 +00:00
Dongwon Kang
240b8368ce am 41e5f190: Merge "Add a path for generic event from a session to an application in Tv Input Framework." into lmp-preview-dev
* commit '41e5f1907dc029ab5117b9f8bcbc69c7a0abaa11':
  Add a path for generic event from a session to an application in Tv Input Framework.
2014-06-01 23:13:44 +00:00
Alan Viverette
982c59a55f Fix padding for GradientDrawable
BUG: 15197745
Change-Id: Ibd1c20dd8ba8c7ffbf65031be4ca9813304d4d0f
2014-06-01 16:11:32 -07:00
Dongwon Kang
0bf8a21464 Merge "Add a path for generic event from a session to an application in Tv Input Framework." into lmp-preview-dev 2014-06-01 23:09:31 +00:00
Alan Viverette
4d2f2483f6 Fixes hotspot list transitions, update to use a single hotspot
Also updates background and button colors to match spec, removes
dependency on bouncycastle Arrays. Vastly simplifies ripple drawing.
Adds APIs for maximum ripple radius. Makes selectableItemBackground
bounded by default and adds an unbounded version and theme attribute.

BUG: 15315168
BUG: 15314684
BUG: 15314830
BUG: 15316768
BUG: 15333033
BUG: 15344050
Change-Id: Ib0619587ce78e43056b66571bae185e0f1613185
2014-06-01 15:58:04 -07:00
Adam Powell
1462ddcbd6 am 56ac0185: Change parameter name for Activity#setActionBar
* commit '56ac018506f527ecd6b7a76adf824066371aa4fa':
  Change parameter name for Activity#setActionBar
2014-06-01 20:36:05 +00:00
Adam Powell
377801463e Change parameter name for Activity#setActionBar
Feedback from API review

Bug 14998253

Change-Id: Id3b87a8071d43de49847e93fd6229d48364bf55e
2014-06-01 13:31:00 -07:00
Amith Yamasani
ba7c2f702b Merge "Derive LauncherAppsService from SystemService" 2014-06-01 17:55:12 +00:00
Amith Yamasani
df7db074b5 Derive LauncherAppsService from SystemService
And encapsulate the aidl interface implementation.

Change-Id: Id9a2544b411648e2596de18682079a64e95b0710
2014-06-01 10:41:13 -07:00
John Spurlock
3a9b632ef2 am 74e2bdba: Settings: Keep SeekBarVolumizer in sync with audio stream.
* commit '74e2bdbaa13d8519fb6e98aac016bcde62d50f73':
  Settings: Keep SeekBarVolumizer in sync with audio stream.
2014-06-01 17:08:13 +00:00
John Spurlock
0dbf1a6be2 Settings: Keep SeekBarVolumizer in sync with audio stream.
Use AudioManager.VOLUME_CHANGED_ACTION instead of relying
on obsolete settings.

Bug:15343543
Change-Id: Ia95237bb455268314ec985affe92b0cec6b52e29
2014-06-01 13:01:23 -04:00
John Spurlock
41792644d9 am bfea31fd: VolumeZen: Prevent raising ringer volume in silent mode.
* commit 'bfea31fd6dd88c94deae1122874b4e0737380d25':
  VolumeZen: Prevent raising ringer volume in silent mode.
2014-06-01 15:59:47 +00:00
John Spurlock
a11b4affca VolumeZen: Prevent raising ringer volume in silent mode.
Instead of breaking out of silent mode when raising the volume
using the keys, prevent the change and display a visual hint up
in the user interface.

Bug:15330217
Change-Id: I74aae44319aadcd6db9841c7799967607f5a1617
2014-06-01 11:52:23 -04:00
John Spurlock
c2e97779bc am 6ffa904b: QuickSettings: Icon updates + BT connecting state.
* commit '6ffa904bffe5c82f150c552efc844c4a31a0df27':
  QuickSettings: Icon updates + BT connecting state.
2014-06-01 11:46:05 +00:00
John Spurlock
d1c86e2cb2 QuickSettings: Icon updates + BT connecting state.
Bug:15186962
Change-Id: I56de6f3cabcb36b13617d4027323a078cceb9587
2014-06-01 00:04:53 -04:00
Amith Yamasani
82ed45da97 Merge "Restrictions Manager" 2014-06-01 02:37:03 +00:00
John Spurlock
d9eb46c75a am 365af10a: VolumeZen: Update icon and fix handler bug.
* commit '365af10a1bcb84980ed0bb122d1fd0818d4551a5':
  VolumeZen: Update icon and fix handler bug.
2014-06-01 02:32:16 +00:00
John Spurlock
84da84c894 VolumeZen: Update icon and fix handler bug.
Bug:15186962
Change-Id: Iaeae85e185b60c7afa573ebfda331eb41a6b8db8
2014-05-31 22:24:57 -04:00
John Spurlock
286bcc6b58 am d10e8b57: VolumeZen: Pulse silent mode icon on disabled slider touch.
* commit 'd10e8b57a3b28f4ab511c6cf0514b3a8e457efbf':
  VolumeZen: Pulse silent mode icon on disabled slider touch.
2014-06-01 00:26:43 +00:00
John Spurlock
5f640e4a86 VolumeZen: Pulse silent mode icon on disabled slider touch.
Bug:15330217
Change-Id: Icb54e5ea0466bb5fbd7e08b99e8f0dac15ded447
2014-05-31 20:17:26 -04:00
Amith Yamasani
f20d640fa2 Restrictions Manager
Mechanism to register a provider for requesting an
administrator to respond to permission requests.

Request format and response format constants.

Description of manifest template for static restrictions.
Int type introduced in RestrictionEntry.

Needs more javadoc and better description of manifest templates,
including specifying the XML attributes.

Change-Id: I5a654d364e98379fc60f73db2e06bf9a8310263d
2014-05-31 16:41:35 -07:00
John Spurlock
1d4306991b am ae7b2da7: Merge "VolumeZen: Slider icon as ringer-mode toggle." into lmp-preview-dev
* commit 'ae7b2da79ef91d0d906a39cb091f0db2e7472cb3':
  VolumeZen: Slider icon as ringer-mode toggle.
2014-05-31 23:21:59 +00:00
John Spurlock
254310450a Merge "VolumeZen: Slider icon as ringer-mode toggle." into lmp-preview-dev 2014-05-31 23:18:13 +00:00
John Spurlock
7f1df5e985 VolumeZen: Slider icon as ringer-mode toggle.
- When manipulating the ringer/notification stream, the volume
  slider icon on the left now serves as a toggle.  Single-press
  for vibrate, long-press for silent.
- Disable slider when silent.
- Add touch feedback to slider icon when clickable.
- Vibrate when toggling to vibrate.
- Play sound when toggling to audible.
- Adjust the slider icon padding so it appears to be square,
  and the same size as the icon on the right.

Bug:15330217
Change-Id: Id7262d9315e6e761e1d5750714c356c3ac735951
2014-05-31 19:11:40 -04:00
Ihab Awad
9efdcd8a31 Allow ConnectionService to ask Telecomm for ringback
Cherry picked from branch lmp-preview-dev because checking the changes into master required an API update, whereas the relevant APIs are @hide-ed in the source branch.

Provides a pass-through from the ConnectionService API to Telecomm allowing
a ConnectionService to either play the ringbacks on its own, or ask Telecomm
to play the ringbacks on its behalf.

Bug: 15190301
Change-Id: Ib0f2ce9bf798ec0df0e6d33559174c82de059a94
(cherry picked from commit 20536bc3c4d40fa96306b0319d8313a7437fc702)
2014-05-31 11:19:54 -07:00
John Spurlock
cd82352ef9 am 097077ab: QuickSettings: Guard against bad input to handleShowDetail.
* commit '097077ab4b58b2232dd38fa37fbc033521338045':
  QuickSettings: Guard against bad input to handleShowDetail.
2014-05-31 17:02:59 +00:00
John Spurlock
9dcfe06154 QuickSettings: Guard against bad input to handleShowDetail.
Bug:15326440
Change-Id: I473cedb2c41dadf88596ea54a8f8a881ca4e27ba
2014-05-31 12:54:58 -04:00
Jorim Jaggi
34a3f2e0c5 am d01b42c5: Merge "Overscroll header when expanding the panel." into lmp-preview-dev
* commit 'd01b42c5cdf3acd8a5108abb801b307d0397a19a':
  Overscroll header when expanding the panel.
2014-05-31 12:27:21 +00:00
Jorim Jaggi
4732af884b Merge "Overscroll header when expanding the panel." into lmp-preview-dev 2014-05-31 12:21:11 +00:00
Jorim Jaggi
290600a08d Overscroll header when expanding the panel.
Bug: 14486987
Change-Id: I563aabf273328d733d7452af7f54db28934df9d9
2014-05-31 14:19:25 +02:00
Jorim Jaggi
b54c2517ea am 6fd3d1c3: Merge "Update HUN visuals to UX spec" into lmp-preview-dev
* commit '6fd3d1c3dd2265a107381c975d2e66dc6193c410':
  Update HUN visuals to UX spec
2014-05-31 11:47:16 +00:00