7993 Commits

Author SHA1 Message Date
Jorim Jaggi
fd4235f268 Merge "Fix overly huge PanelView." 2014-05-06 13:24:20 +00:00
Jorim Jaggi
3b23999954 Fix overly huge PanelView.
Bug: 14489968
Change-Id: Ibdc820348eb7d045ffb5ad07093ac86e5ff7abb0
2014-05-06 14:53:04 +02:00
Jorim Jaggi
dba6ca00c3 Merge "Implement phone affordance on lockscreen." 2014-05-06 12:10:53 +00:00
Jorim Jaggi
97b63c4112 Implement phone affordance on lockscreen.
Refactor the camera affordance into a reusable view. This change
also swaps the asset for the camera affordance.

Bug: 14488709
Change-Id: I0633614f6a1ea81faa37923f748af3c635e64a52
2014-05-06 13:56:44 +02:00
Winson Chung
98596c92a3 Merge "Exposing the API to support widgets in Recents." 2014-05-05 23:59:29 +00:00
Winson Chung
da5b84c8d3 Exposing the API to support widgets in Recents.
Change-Id: I2d53f226dbc328f0dbda7006eac647c6468c6b36
2014-05-05 14:33:44 -07:00
Christoph Studer
983ce97a5d Merge changes Iffd15e95,Id2db95ec
* changes:
  Log notification clicks
  Add userId to StatusBarNotification key
2014-05-05 19:04:57 +00:00
Jason Monk
f593c9d728 Merge "Add null check on navigation bar visibility" 2014-05-05 18:14:27 +00:00
John Spurlock
efc1a289c6 Cleanup logspam.
Change-Id: I21b39458147e911da3ab7a260c13abf7ec4eea5d
2014-05-05 08:43:08 -04:00
Winson Chung
f7bca430d9 Adding ability to load a search widget into Recents.
Change-Id: Ie17d9b9a47c979774b39a37e87f75d9dadc79ad9
2014-05-02 18:45:40 -07:00
Winson Chung
f5e22e71cb Incorporating theme colors into task views.
Change-Id: Ie7166d78dacabe4bff7afdade2d1da9d0651e403
2014-05-02 18:35:35 -07:00
Dianne Hackborn
d83a096f29 Bump up priority of system receiving BOOT_COMPLETED.
Change-Id: I5166f88f11f781914312e867cb653c8ecbefa705
2014-05-02 16:29:10 -07:00
Jorim Jaggi
c1cf1aec53 Never close Keyguard automatically.
Also make the bouncer less translucent, so it looks better when
a user double-clicks on a notification (because it is now shown
behind, so we need more background protection).

Bug: 14059777
Change-Id: I2538b0e04ddc25c25a03c65c8a5bd7855720bbf2
2014-05-02 23:25:21 +02:00
Jason Monk
1e68fb3c38 Add null check on navigation bar visibility
When there are hardware keys getNavigationBarView() returns null,
this just checks before setting the visibility.

Bug: 14491311
Change-Id: I2ea8b62b1dfe05ca09636870b37dff184730369e
2014-05-02 16:06:20 -04:00
Jorim Jaggi
774d4a6c78 Merge "Fix padding for SIM pin entry." 2014-05-02 20:03:54 +00:00
Jorim Jaggi
412cc7049f Fix padding for SIM pin entry.
Bug: 14224920
Change-Id: Icd8bf48a5946adeef9bfc6b00e4522c7fa3e56c3
2014-05-02 21:10:13 +02:00
Jorim Jaggi
00ebdfe8ba Filter touch events in ExpandableView.
Because the actual height is the different as the laid out one, we
need to filter the touch events here.

Change-Id: I6abd3fb0fffe275c2b83e7c48df1dd866499a28c
2014-05-02 17:29:56 +02: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
John Spurlock
ef5693bb73 Add additional display information to conditions.
Change-Id: Ic9a7cb29b573af84185371099e7ae220906cc89c
2014-05-02 00:07:35 -04:00
Jeff Brown
fb0448ab4b resolved conflicts for merge of 4f8cd188 to master
Change-Id: I148cd616cd14d834915978aa2dc3f9e27188dbd3
2014-05-01 18:19:31 -07: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
140ffc783c Clean up some terminology related to interactive state.
Change-Id: Ife4445685a5314dea64332a3490fa8dd3ffd89a2
2014-05-01 15:22:27 -07:00
Selim Cinek
319bdc4542 Opimized the number of calls to updateChildren.
Improved the performance by batching multiple calls to updateChildren
to a single call on preDraw.

Change-Id: I386edeb15ac35201d39afcac8beaa48b09245448
2014-05-01 23:09:41 +02:00
Selim Cinek
f4c1996d01 Fixed a bug when a notification was quickly added and removed.
Change-Id: Id9b1cb771a2b6d1f42b61ef40a637e15c8d8f3b7
2014-05-01 23:09:41 +02:00
Selim Cinek
b6ea9db449 Merge "Fixed a bug where the notification scroller could crash." 2014-05-01 19:31:09 +00:00
Selim Cinek
b77e315292 Fixed a bug where the notification scroller could crash.
Due to a race condition the scroller could crash in certain cases
after an animation.

Bug: 14458203
Change-Id: Idc52109550270924bae5857e581574c63452f159
2014-05-01 19:28:19 +00:00
John Spurlock
3a8557dc22 Merge "Implement long-term condition subscriptions." 2014-05-01 19:17:53 +00:00
John Spurlock
3b98b3f1f8 Implement long-term condition subscriptions.
Bind long-term conditions (like "in a meeting") to enter/exit
zen mode automatically.

Persist automatic condition subscriptions to maintain them across
reboots.

Normalize condition state binding: true => enter zen, false => exit.

Change-Id: Icba2b8b25c0a352ae8215f4c0a324e4f966c0165
2014-05-01 15:03:17 -04:00
Baligh Uddin
fc08b6008f Merge "Import translations. DO NOT MERGE" 2014-05-01 16:18:12 +00:00
Baligh Uddin
0d5bebb35d Merge "Import translations. DO NOT MERGE" 2014-05-01 16:18:06 +00:00
Selim Cinek
4a1ac84e35 Fixed several bugs regarding the state of the notifications
Fixed an issue where the last card was hidden even though there would
have been enough space to show it when it was expanded.
Also fixed an issue where the first card was not expandable when it was
the only one.
In addition the scroll range was corrected, to ensure that the last card
could always be scrolled to full visibility, which was not the case
previously when the last card was expanded.

Bug: 14376035
Change-Id: I372a55dc1fc6e381dd9aef3d631447912e3d1024
2014-05-01 17:41:47 +02:00
Winson Chung
e5c749085e Merge "Disable Filtering." 2014-05-01 00:27:32 +00:00
Winson Chung
0553e12bc9 Disable Filtering.
Change-Id: I5c3aaaead7883b639ba24b28c04c1cafec0275c4
2014-04-30 17:26:28 -07:00
Michael Wright
a810f11986 am 1e67bcec: am 263c36a1: am ade631ee: Merge "NULL previous background bitmap upon changing wallpaper"
* commit '1e67bcec505b1bfb67a83cb3d64e20c2bacf8581':
  NULL previous background bitmap upon changing wallpaper
2014-04-30 17:34:19 +00:00
Baligh Uddin
821d9a71f6 Import translations. DO NOT MERGE
Change-Id: I3f7f57ff2f80be58054ca63a878f6644a4d6e827
Auto-generated-cl: translation import
2014-04-30 10:33:27 -07:00
Michael Wright
02b4777a54 am bba434af: am 10884694: am 357c75e7: Merge "Add missing character combinations for international layouts"
* commit 'bba434af67600b1fb4a32f2c130526ad9e938f86':
  Add missing character combinations for international layouts
2014-04-30 17:33:23 +00:00
Baligh Uddin
7a25e41598 Import translations. DO NOT MERGE
Change-Id: Ia11b15d1e802b1f4fb3afbc9261487a5ab364a7f
Auto-generated-cl: translation import
2014-04-30 10:25:32 -07:00
Selim Cinek
39610545f0 Fixed a crash of the notification animation on initial startup
When no state was applied yet and an animation was started the system
could crash.

Bug: 14430331
Change-Id: Ic8a4532b73f4d70cb365975f055d6630f61e0318
2014-04-30 19:19:11 +02:00