7873 Commits

Author SHA1 Message Date
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
Jorim Jaggi
8f72e8967b Merge "NotificationRowLayout shall rest in its grave." 2014-04-30 13:53:02 +00:00
Jorim Jaggi
59c77fee17 NotificationRowLayout shall rest in its grave.
Long live the stack scroller. Also removed some other unused classes.

Change-Id: Iff126a0e74e13caadb6426d5e0e76ba800489d3f
2014-04-30 15:45:25 +02:00
Jorim Jaggi
8c1a44b62f Layout notifications on top and introduce artifical margin
This allows for animating the notifications between the different
states. So we can nicely switch between Keyguard and full shade,
and make the stack smaller when going to quick settings.

Change-Id: I768dc7cd8f4dc0197365a5befebad24086816a8d
2014-04-30 15:25:56 +02:00
Michael Wright
1e67bcec50 am 263c36a1: am ade631ee: Merge "NULL previous background bitmap upon changing wallpaper"
* commit '263c36a144a66d30dd51abd7ca0120480e449aa5':
  NULL previous background bitmap upon changing wallpaper
2014-04-30 01:24:32 +00:00
Michael Wright
263c36a144 am ade631ee: Merge "NULL previous background bitmap upon changing wallpaper"
* commit 'ade631eed0df228e343f2a00db653058ff588846':
  NULL previous background bitmap upon changing wallpaper
2014-04-30 01:22:05 +00:00
Michael Wright
bba434af67 am 10884694: am 357c75e7: Merge "Add missing character combinations for international layouts"
* commit '108846942f4296fa12b09dd70d60a21c69deace2':
  Add missing character combinations for international layouts
2014-04-30 01:19:56 +00:00
Michael Wright
ade631eed0 Merge "NULL previous background bitmap upon changing wallpaper" 2014-04-30 01:19:10 +00:00
Michael Wright
108846942f am 357c75e7: Merge "Add missing character combinations for international layouts"
* commit '357c75e74760933f05ff89352ee86dd540633782':
  Add missing character combinations for international layouts
2014-04-30 00:07:11 +00:00
Bill Yi
293513a59d Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEAD 2014-04-29 16:07:29 -07:00
Selim Cinek
0377b796d0 Merge "Introduced basic animations for the new notifications." 2014-04-29 22:03:17 +00:00
Selim Cinek
572bbd42a4 Introduced basic animations for the new notifications.
Animations between two different states of the notification stack scroller
are now possible.

Bug: 14081264
Change-Id: I2b8e964095f71766feac5a76c4e3b85d22648d35
2014-04-30 00:01:06 +02:00
Jorim Jaggi
9f5957989e Merge "Prevent expanded notifications on lockscreen." 2014-04-29 21:23:03 +00:00
Jorim Jaggi
dce3c4cca5 Prevent expanded notifications on lockscreen.
Change-Id: I9a0ffca823883cfed75d0e093f5a4364b20008b3
2014-04-29 23:20:12 +02:00
Baligh Uddin
d1cf53e002 Merge "Import translations. DO NOT MERGE" 2014-04-29 21:02:37 +00:00
Baligh Uddin
b2776bf7a4 Merge "Import translations. DO NOT MERGE" 2014-04-29 21:02:32 +00:00
Jorim Jaggi
707eb8bab9 Merge "Remove "speedbump" to expand notification with one finger." 2014-04-29 20:52:34 +00:00
Jorim Jaggi
7f2d87c006 Remove "speedbump" to expand notification with one finger.
Change-Id: I16b2493142adc277a3cb11ab9a88040aab6e3f47
2014-04-29 22:49:48 +02:00