136957 Commits

Author SHA1 Message Date
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
d8b60c3aa8 Fix default GridView list selector
BUG: 15319488
Change-Id: I4ed7da044d0a697c3ea668b5f3c5c0ba197e8395
2014-06-01 18:11:50 -07:00
Alan Viverette
71b2fbde56 Fix null paint in GradientDrawable, make default values explicit
BUG: 15237001
Change-Id: I80844919b910163ed986257efb4b6f8fb62eaf6a
2014-06-01 18:03:09 -07: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
0f77b116e1 Merge "Allow ripple bounds to change during enter animation" into lmp-preview-dev 2014-06-02 00:32:13 +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
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
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
Santos Cordon
980acb9bd6 Add necessary APIs to support conference calling.
All APIs added as @hide to start.

Bug: 15326865
Change-Id: Iee5ce555696f48f57f925e4bd37209ace1355dfd
2014-06-01 14:17:21 -07: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
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
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
d1c86e2cb2 QuickSettings: Icon updates + BT connecting state.
Bug:15186962
Change-Id: I56de6f3cabcb36b13617d4027323a078cceb9587
2014-06-01 00:04:53 -04: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
5f640e4a86 VolumeZen: Pulse silent mode icon on disabled slider touch.
Bug:15330217
Change-Id: Icb54e5ea0466bb5fbd7e08b99e8f0dac15ded447
2014-05-31 20:17:26 -04: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
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
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
e0b9c34443 Merge "Update HUN visuals to UX spec" into lmp-preview-dev 2014-05-31 11:44:48 +00:00
Adrian Roos
5d9cc668e1 Update HUN visuals to UX spec
Adds gradient, fixes wrong padding on tablets
and adds a callback mode to swipe helper.

Bug: 15106201
Change-Id: I9c3f2d24665cb3de8e70904893f56c928b0caabb
2014-05-31 13:43:44 +02:00
Adam Powell
6a2d5e5b54 Merge "Collapse contentInsets and View margins in Toolbars" into lmp-preview-dev 2014-05-31 01:54:48 +00:00
Adam Powell
7a32401c2a Collapse contentInsets and View margins in Toolbars
As content insets are meant to help line up the edges of views with
the content in adjacent ViewGroups, collapse individual view margins
with the insets to preserve this property. Margins still define a
minimum spacing between adjacent sibling views or the edges of the
Toolbar container.

Bug 15328526

Change-Id: I786ccdbed6b40930250fa22e2a6d0376d759f2d2
2014-05-30 18:52:37 -07:00
Fabrice Di Meglio
ca37602794 Code cleaning
- fix some typos

Change-Id: Ia5a5c26e85569435715c4efb3d8740f508545b90
2014-05-30 18:20:50 -07:00
Fabrice Di Meglio
c65f78ac99 Code cleaning
- remove old path references

Change-Id: I9b8cbc9eefdc17670019c3b4afa240b622ae9ed6
2014-05-30 18:13:03 -07:00
Jorim Jaggi
d48d7a6d50 Merge "Fade scrim in unlock animation." into lmp-preview-dev 2014-05-31 01:09:19 +00:00
Eric Laurent
54b5e5bdf6 Merge "AudioManager: add audio port gain control" into lmp-preview-dev 2014-05-31 00:49:58 +00:00
Eric Laurent
8725859ee3 Merge "audio routing update listener" into lmp-preview-dev 2014-05-31 00:49:44 +00:00
Eric Laurent
a89eb2d8e5 Merge "AudioSystem: added JNI for routing extensions" into lmp-preview-dev 2014-05-31 00:49:27 +00:00
Jorim Jaggi
e29b2dbc76 Fade scrim in unlock animation.
This also introduces a startTime which gets sent from window manager
to SystemUI, which tells when the animation should start, to allow
for a more synchronized animation with fading out the scrim and
fading in the activity behind.

Bug: 15163546
Change-Id: I16212b1ef9eb76f1f98734da1d14fc5b7e626937
2014-05-31 02:48:06 +02:00
Dianne Hackborn
ba23f6da6e Merge "Fix IME animation." into lmp-preview-dev 2014-05-31 00:47:07 +00:00
Dianne Hackborn
2dcbce3185 Fix IME animation.
Change-Id: I8999c243a73dbff4ee9b06ebe199e4690286769d
2014-05-30 17:45:49 -07:00
Eric Laurent
3a24199a0f AudioManager: add audio port gain control
Implement AudioManager.setAudioPortGain() API.

Bug: 14815883.

Change-Id: Ib54bd1fd1392c474f4767a00228b0a617c51ec5e
2014-05-30 17:13:10 -07:00
Eric Laurent
700e73471d audio routing update listener
Implement audio port and audio patch
callback infrastructure for clients to receive
notifications when audio routing changes occur via the
OnAudioPortUpdateListener interface.

Bug: 14815883.

Change-Id: I32cbba64eca7369871aec235ff100de1f0c2d344
2014-05-30 17:13:10 -07:00
Eric Laurent
b69681c894 AudioSystem: added JNI for routing extensions
Bug: 14815883.

Change-Id: Ia0c0d14a8e3051a4bc0ce502b6e979135b170c97
2014-05-30 17:12:48 -07:00
Jeff Tinker
948d08dcdd Merge "Fix name error in com.android.mediadrm.signer.xml" into lmp-preview-dev 2014-05-31 00:02:59 +00:00
Dianne Hackborn
725010a83f Merge "Clean up voice API." into lmp-preview-dev 2014-05-30 23:54:11 +00:00
Vinit Deshpande
9542733481 DO NOT MERGE: Accomoditing API Review feedback for WifiScanner
cherry-picked from klp-wireless-dev
SHA1 8217e22356a8828a725ba7654cf25b05a49108fb

Main changes include

- hiding the API for LMP preview
- moved information elements to ScanResult object
- removed objects from events
- changed API names to be more consistent

Bug: 15191968
Change-Id: Ibe3907366aee85f7d56021a536ae0f9f9fb28b38
2014-05-30 16:53:31 -07:00
John Spurlock
b8a0feed04 Merge "Resurrect global actions, remove confirmation for Power off." into lmp-preview-dev 2014-05-30 23:51:13 +00:00
Jeff Sharkey
05dc18d69a Merge "Per-app media directories on external storage." into lmp-preview-dev 2014-05-30 23:47:00 +00:00
Dianne Hackborn
a2c076d540 Clean up voice API.
Add various java docs.

Switch to CharSequence where appropriate.

Add new request for canceling voice interaction.

Also update test app to follow API changes and be more better.

Change-Id: If27eeba53cf6444660adb7d37ea2ce0557c6c91f
2014-05-30 16:42:57 -07:00
Jeff Sharkey
2ee3c1e189 Per-app media directories on external storage.
This change defines per-app directories on external storage that
will be scanned and included in MediaStore.  This gives apps a way
to write content to secondary shared storage in a way that can
easily be surfaced to other apps.

Bug: 14382377
Change-Id: I4cb367c870509e76f0c2c598f01e2f699780030a
2014-05-30 16:26:45 -07:00