129831 Commits

Author SHA1 Message Date
Jeff Davidson
4cd4110f20 Merge "API for network cache subsystems." 2014-05-02 15:33:36 +00:00
Jorim Jaggi
59b5a356b8 Epic performance fix during animation.
Change-Id: I0a5627543a048cc5348f482ea3407676c9b42126
2014-05-02 16:46:02 +02:00
Jorim Jaggi
9cbadd3c08 Always use algorithm to set the children height.
This makes possible to animate between different children heights
between the states.

Change-Id: I5d74814a84c7ff5406481c3ab0553530ee20997b
2014-05-02 16:15:42 +02:00
Jorim Jaggi
98fb09c2b2 Fix animation play time, animation and alpha.
Change-Id: Ib5f0a7880473930da3db70fcbd8c4e620f267cf8
2014-05-02 16:15:12 +02:00
Jorim Jaggi
864347ae94 Update panel height when stack scroller padding is updated.
Change-Id: Ib894c084fb2b78f7227fda33559079ad4f7cbb55
2014-05-02 16:14:59 +02:00
Jorim Jaggi
0dd6881ea4 Introduce animation for changing top margin.
Change-Id: I7f77a1c69efc2dca3e5a37e7d6fc497ae487ec46
2014-05-02 16:14:49 +02:00
Jorim Jaggi
4222d9a7fb Change interaction for dragging down to full shade.
Starts expanding the card if it is expandable. If it's not, we
rubberband the expansion a lot. After the threshold has been reached,
we scale all the notifications up and make it fully white and opaque.

Change-Id: I9ecd020ca263b0f84e87fd6ab2332519ac5e9984
2014-05-02 16:14:38 +02:00
Jorim Jaggi
ecbab3662d Introduce SHADE_LOCKED as a special state for the shade.
This state can be either reached by tapping the more card or dragging
down on any card. In this state, the shade is fully interactive, but
the phone is stil locked. This state can only be enterred if
redaction is off but security is on. If redaction is on, we will show
the bouncer instead and go to the normal shade.

Bug: 14161523
Change-Id: I95ca0991745ffc11ed1028581e3da15265c12ae5
2014-05-02 16:14:26 +02:00
Jason Monk
434bdf50b3 Merge "Add IME Switcher icon to Navigation Bar" 2014-05-02 14:04:52 +00:00
Jason Monk
f1ff209523 Add IME Switcher icon to Navigation Bar
Adds button in the same location as the menu button and overrides
it when present.  The setNavigationHintIconHints lets it know when
the button should be shown.

Bug: 14257632
Change-Id: Ia80de7fd2390cd8b083e37cbe58b7ee53555e619
2014-05-02 09:39:41 -04:00
Christoph Studer
27364bc212 Merge "Fix notification visibility reporting" 2014-05-02 12:32:27 +00:00
Christoph Studer
037e34c823 Fix notification visibility reporting
Require the screen to be on for visibility reporting.

Change-Id: I600e2fa2861bddd41ab9f9f0f381d8b1c4946afa
2014-05-02 12:25:35 +02:00
Selim Cinek
97f1b8572f Merge "Removed always running preDrawListener" 2014-05-02 10:16:06 +00:00
Selim Cinek
1f553cfcf2 Removed always running preDrawListener
Replaced a always running preDrawListener with one which is just posted on
demand.

Change-Id: Ie7667302d848fe4a109c04dc91376f0b44d3acd3
2014-05-02 12:01:36 +02:00
Jungshik Jang
13353dbc74 Merge "Fix unmatched jni method name." 2014-05-02 04:50:51 +00:00
Jungshik Jang
97babdc92b Fix unmatched jni method name.
It breaks systemserver

Change-Id: Iecc5600d64a273c4bbf51bd8fd779a79a3dab107
2014-05-02 13:21:15 +09:00
John Spurlock
ef5693bb73 Add additional display information to conditions.
Change-Id: Ic9a7cb29b573af84185371099e7ae220906cc89c
2014-05-02 00:07:35 -04:00
Jungshik Jang
3f74ab0ee0 Implement logical address allocation logic for HDMI CEC.
Logical address in CEC is to distinguish each logical device from others.
In order to allocate logical address for new device, CEC sends
<Polling Message> to CEC bus. <Polling Message> is a CEC message
which has the same address for both source and destination without
body frame. (10bits).
CEC allows one and more logical address for a device type.
For example, there are 3 logical address defined for recorder device(1, 2, 9).
Among logical address candidates for the given device type, CEC scans
first the previous logical address (preferred logical address) of device.
If a device has not been allocated any logical address, preferred address
will be 15 (Unregistered), which means scan address from the minimum address
number of type. For example for recorder device, it starts from 1.
If no devices acks to the <Polling Message> during scan, it will be the
logical address of the device.
Since logical address is determined by a series of sending <Polling Message>
it happens in IO thread with separate allocate logical address message
instead of individual sendCommand message.

Along with this, updated ADDR_FREE_USE(14) to ADDR_SPECIFIC_USE(14)
which is revised name on HDMI 1.4.

Change-Id: Ic96dcdbe4aaa3789cfed0352a88ca75369335a98
2014-05-02 10:50:08 +09:00
Jeff Brown
8822d4befd Merge "resolved conflicts for merge of 4f8cd188 to master" 2014-05-02 01:21:57 +00:00
Jungshik Jang
71beb20903 Merge "Implement add/remove device info api for Hdmi Cec device." 2014-05-02 01:19:35 +00:00
Jeff Brown
fb0448ab4b resolved conflicts for merge of 4f8cd188 to master
Change-Id: I148cd616cd14d834915978aa2dc3f9e27188dbd3
2014-05-01 18:19:31 -07:00
Jungshik Jang
7d9a843af8 Implement add/remove device info api for Hdmi Cec device.
In order to manage info of all cec devices connected hdmi bus,
HdmiCecController should have data structure for them.
This change includes two major pieces.

1. HdmiCecDeviceInfo
 It's data structure containing basic device information such as
 logical address, physicall address, device type and vendor id.
 It will not be available to thirdparty but some system component
 like TIF needs this to update device information connected to
 its hdmi ports.

2. Managing device list in HdmiCecController.
 HdmiCecController is a host to manage all CEC device.
 and we need to have logic add or remove as well as get it.
 All cec devices are managed as sparsearray which uses logical address as key.

This change introduces internal api and the later change will have logic
to call these apis.

Change-Id: Idc2f189ac0bffe904e011ced0ac991f16da07db1
2014-05-02 10:15:38 +09:00
Alan Viverette
e4739ba259 Merge "Support for list selector ripple during arrow movement & drag" 2014-05-02 01:01:49 +00:00
Deepanshu Gupta
5fc37e7924 Merge "Support actionProviderClass attribute for menus." 2014-05-02 00:56:11 +00:00
Jungshik Jang
615d1337fc Merge "Implement native send and receive logic for HdmiCecController." 2014-05-02 00:32:44 +00:00
Alan Viverette
de39939794 Support for list selector ripple during arrow movement & drag
BUG: 14231774
BUG: 14230395
Change-Id: I23efbc88c3f05b3f323e47bcb34f55ff70ad6828
2014-05-01 17:20:55 -07:00
Eric Laurent
27e12e7292 Merge "fix AudioTrack and AudioRecord JNI" 2014-05-01 23:49:51 +00:00
Jeff Brown
4f8cd18880 am 7f6ab17d: Merge "Clean up some terminology related to interactive state." into klp-modular-dev
* commit '7f6ab17d414726868563105cd995b37dd519320b':
  Clean up some terminology related to interactive state.
2014-05-01 23:29:13 +00:00
Jeff Brown
7f6ab17d41 Merge "Clean up some terminology related to interactive state." into klp-modular-dev 2014-05-01 23:25:11 +00:00
Deepanshu Gupta
1f5e678c08 Support actionProviderClass attribute for menus.
The change adds support for view cookies for actionProviderClasses (for
example, ShareActionProvider) in the action bar menus.

This also provides a more robust search for the overflowMenuButton.

Change-Id: I316c8b9a69e2e337b41ba0fe4e61af9fe850f750
2014-05-01 16:24:24 -07:00
Selim Gurun
b94d412848 am 1bf2bed1: (-s ours) am e1a56162: (-s ours) am 83a538e4: (-s ours) Merge "DO NOT MERGE Add DrawGlInfo kModeProcessNoContext"
* commit '1bf2bed1507872dbc5cdefef6f6d3e5a7f83daa2':
  DO NOT MERGE Add DrawGlInfo kModeProcessNoContext
2014-05-01 23:04:59 +00:00
Selim Gurun
1bf2bed150 am e1a56162: (-s ours) am 83a538e4: (-s ours) Merge "DO NOT MERGE Add DrawGlInfo kModeProcessNoContext"
* commit 'e1a561620dd18dd71b65faafe5d2fad45794c80a':
  DO NOT MERGE Add DrawGlInfo kModeProcessNoContext
2014-05-01 23:01:09 +00:00
Selim Gurun
e1a561620d am 83a538e4: (-s ours) Merge "DO NOT MERGE Add DrawGlInfo kModeProcessNoContext"
* commit '83a538e40ed8bdcda64c4bb5a448c0357b8e5e73':
  DO NOT MERGE Add DrawGlInfo kModeProcessNoContext
2014-05-01 22:57:45 +00:00
Selim Gurun
83a538e40e Merge "DO NOT MERGE Add DrawGlInfo kModeProcessNoContext" 2014-05-01 22:53:01 +00:00
Alan Viverette
85a3c8a5b7 Merge "Fix build, also always draw accessibility focus rect" 2014-05-01 22:52:28 +00:00
Bo Liu
61a7f61007 DO NOT MERGE Add DrawGlInfo kModeProcessNoContext
Change-Id: I5a515c348c058264361ca9191f8fd7f0e6ff932b
2014-05-01 15:51:41 -07:00
Vinod Krishnan
2c3e7a3486 am 8e95d988: am 5c10c3cf: Merge "DialogAlert window changes for Micro" into klp-modular-dev
* commit '8e95d9883666e2b4b1ce26b312d09ba42ae37f7a':
  DialogAlert window changes for Micro
2014-05-01 22:49:29 +00:00
Vinod Krishnan
8e95d98836 am 5c10c3cf: Merge "DialogAlert window changes for Micro" into klp-modular-dev
* commit '5c10c3cfa65ff2ad9e92ec42f3f3384fc730d253':
  DialogAlert window changes for Micro
2014-05-01 22:46:16 +00:00
Vinod Krishnan
5c10c3cfa6 Merge "DialogAlert window changes for Micro" into klp-modular-dev 2014-05-01 22:43:58 +00:00
Alan Viverette
0a7e8f9997 Fix build, also always draw accessibility focus rect
BUG: 13873026
Change-Id: Ie8c0b9d6ef10968f64fb33a89e010b9b15e93f8b
2014-05-01 15:41:13 -07:00
RoboErik
cf43d9baab Fix sdk build
Missed a doc tag.

Change-Id: Ic02c5fe83a28055bde544434c7b9f3e0c7060191
2014-05-01 15:35:40 -07:00
Jeff Brown
140ffc783c Clean up some terminology related to interactive state.
Change-Id: Ife4445685a5314dea64332a3490fa8dd3ffd89a2
2014-05-01 15:22:27 -07:00
Natalie Silvanovich
e872a2f69f Merge "Bounds Check in onPlaySoundEffect" 2014-05-01 22:03:58 +00:00
Brian Carlstrom
edfb6b6b74 am 2de2e225: am e3cceef7: am 0f7c0570: Merge "Minor cleanup of UsageStatsService"
* commit '2de2e22540441fd02e03abae5bcae8feb873b929':
  Minor cleanup of UsageStatsService
2014-05-01 21:49:03 +00:00
Alan Viverette
2f3c8d070a Merge "Load device default theme mapping from resources" 2014-05-01 21:46:24 +00:00
Brian Carlstrom
2de2e22540 am e3cceef7: am 0f7c0570: Merge "Minor cleanup of UsageStatsService"
* commit 'e3cceef7ececdac1c6df65d3f7a1557ac3ce5e3c':
  Minor cleanup of UsageStatsService
2014-05-01 21:45:38 +00:00
Amith Yamasani
334f959bf5 Merge "Deliver package broadcasts only to related profiles." 2014-05-01 21:44:08 +00:00
Alan Viverette
0810b63739 Load device default theme mapping from resources
Also adds a few missing styles and reorganizes some XML files. Makes
stackViewStyle public since it's defined in DeviceDefault.

Change-Id: I8f6a0f93410948b38619594474d60dc40ece5917
2014-05-01 14:42:56 -07:00
Brian Carlstrom
e3cceef7ec am 0f7c0570: Merge "Minor cleanup of UsageStatsService"
* commit '0f7c0570e091a284481c2406d8275d87c3786c1d':
  Minor cleanup of UsageStatsService
2014-05-01 21:41:58 +00:00
Amith Yamasani
932249db93 Deliver package broadcasts only to related profiles.
Store the listener's userhandle in a cookie and compare profile
relationships before delivering package broadcasts to a listener.

Basically, don't leave TODOs around, they'll result in bugs :)

Bug: 14436558
Change-Id: I57a21719caab6cf54b78de7be2eca3e398dc6288
2014-05-01 14:39:35 -07:00