History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eb3fc3d5407d6a15343133912fa74d86d322bac0 15-Sep-2017 Selim Cinek <cinek@google.com> Fixes an issue where the guts could disappear

Because it was too big to fit on the screen, a
notification could be dropped.

Change-Id: I73e57ef18ac55ca076e6b76408d9bd9d91a78b9d
Fixes: 64735432
Test: manual, longpress last notification, trigger layout.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
77af296764e65448e49f2e920f44103f004e7a0c 26-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Revert "Support keyboard long-press on notifications"" into oc-mr1-dev
464d0d9b1de2a8c881c7d5d41fe7c0f5c0f5d28e 26-Aug-2017 Selim Cinek <cinek@google.com> Revert "Support keyboard long-press on notifications"

This reverts commit 2ca798932ea2945184df1c5500b5b9f08af9af55.

Fixes: 65061056
Change-Id: I88bcb549b9e76958d280625a96796791b6f29060
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d499ae5a853937fba88196e418f9cfa1b2f583ce 25-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Not hinting anymore when in power saver" into oc-mr1-dev
e64f52a1e414394e6da6af65e02886a9ac6804c8 24-Aug-2017 Selim Cinek <cinek@google.com> Not hinting anymore when in power saver

The hint animation wasn't working when on power-saver,
so we just turn it off.

Test: hint while battery saver is on, observe no jump
Change-Id: Ib19dc3378bb4cb0c4b9b81504a0ce6b579b6feee
Fixes: 64279711
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
2ca798932ea2945184df1c5500b5b9f08af9af55 18-Aug-2017 Geoffrey Pitsch <gpitsch@google.com> Support keyboard long-press on notifications

ExpandableNotificationRow now handles long-clicks for keyboard support.
SwipeHelper calls performLongClick to trigger the listener on the row.
Now that the View listens to long clicks, SwipeHelper cancels
long-presses on the View when it see touch down events, so the event
doesn't get duped in the touch case.

Bug: 34840327
Test: manual
Change-Id: Ibeb93507781443d6b2dac209afd889b1d8d54aeb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0dbe7df15e2efe1c713c00a4ae9c3ef0ff97df6f 27-Jul-2017 Adrian Roos <roosa@google.com> Merge "AOD: Fix wakeup transition jank" into oc-dr1-dev
am: 6efe486397

Change-Id: I016efc215fa8fcf66a814f7cdf25a8ae0cc13e75
51465ea3b667a4123baf7eebb8f590aeaec2aafe 27-Jul-2017 Adrian Roos <roosa@google.com> AOD: Fix wakeup transition jank

No longer do the upwards animation from AOD1, because there is a fade in instead now.

Also, because the DozeService gets finished when waking up, we were disallowing
animations again. Instead, we now ignore disallowing animations while waking up.

Also don't cancel the NotificationPanelView wakeup animation when another identical
request comes in.

Also adds tracing for various SystemUI states.

Bug: 63531607
Test: Wake up from AOD1. Ensure there is no jank or flicker
Change-Id: I383ffa320f28ac4bf5432e4f4f5c06372717f66f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c863ce56e99059db94da72a0535605be1812bb07 17-Jul-2017 Esteban Talavera <etalavera@google.com> Merge "Enforce policy for camera gesture in keyguard" into oc-dr1-dev am: daa1539a5e
am: 1f439e4bc7

Change-Id: I99b1d51c154bcda4121fd818ec17a3c90431443d
40f8b999aed314ed3bbb381b446460cc5c3bafa7 14-Jul-2017 Esteban Talavera <etalavera@google.com> Enforce policy for camera gesture in keyguard

If the admin has disabled the camera for secure
keyguards, in addition to removing the bottom-right hand
corner camera button do not allow the camera to be opened
via the camera gesture either.

Bug: 63334090
Test: Manually tested launching the camera on secure and non-secure keyguard and non-keyguard, both via camera icon and gesture
Change-Id: I104688eaad719528376e2851f837d5956a6a1169
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
93cbb969d7af775ab44a5592a9ec8639380a18ed 07-Jul-2017 Jason Monk <jmonk@google.com> Merge "Fix keyguard visibilities after reinflate" into oc-dr1-dev am: ec43e485e7
am: cd7cf4ae21

Change-Id: Iea50be087694d9bcc3bc307c67512dd0d206f39e
ec43e485e74a6eec952fb8246185c395ead80344 07-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix keyguard visibilities after reinflate" into oc-dr1-dev
bd9745afd506f7b8c7e3c74b200304a9ce641889 06-Jul-2017 Jason Monk <jmonk@google.com> Fix keyguard visibilities after reinflate

Test: visual
Change-Id: Ic51c5f318dbf1582bc662f361e3c18dcb33b7137
Fixes: 62588134
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
639a8ace5e75bb23967b7ecffbf34b46146dff0b 06-Jul-2017 Selim Cinek <cinek@google.com> Merge "Fixed an issue where the lockscreen could be all white" into oc-dr1-dev am: f96da7ee6f
am: ab95597f85

Change-Id: I2a2c3731c2494a7059c8795148920a42dc978025
f96da7ee6f6acd834680d188e7a34b02faf07233 06-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixed an issue where the lockscreen could be all white" into oc-dr1-dev
c5fec9a51645d1fde645c2579063522770294556 05-Jul-2017 Selim Cinek <cinek@google.com> Fixed an issue where the lockscreen could be all white

Especially with always on, this was always triggered when
swiping for voice assist and then locking.

Test: swipe to voice assist with aod, lock with power button
Change-Id: I8a55f08307578e510a30bb97cebff5de8b3a11fa
Fixes: 62995674
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0758f62d2bcccbd250a921d845732247e9215f9d 30-Jun-2017 Adrian Roos <roosa@google.com> Merge "AOD: Ensure dark amount is set after reinflating" into oc-dr1-dev am: 70c4a61033
am: 0b6effae02

Change-Id: I77bbe452014f7d6c29cc34de4553b9c6b8bc7d8e
add293eedbe00f06fb84292c455261e06c534b57 30-Jun-2017 Adrian Roos <roosa@google.com> AOD: Ensure dark amount is set after reinflating

Change-Id: I04437fb282db4bbbe81a3bf5267d081f19b49cae
Fixes: 62970437
Test: change wallpaper while device is on AOD, ensure date is not visible
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
54daefe3aa8dcdee149ce95fd4f8ecf60632c9f1 08-Apr-2017 Anthony Chen <ajchen@google.com> Use custom QS fragment for auto use-case.

Use a custom QS fragment if the UI mode is car. This fragment disables
the quick settings row and expansion. Remove the config options that
used to have disabled this in the phone QSFragment.

To accomplish this, introduce a new QSFooter interface. The old
QSFooter.java now implements this.

Test: boot on phone and Android Auto headunit
Bug: 33210494
Change-Id: I5accc2d27d6725380ca5e271d332a03991c9419b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
dc747bd82e6bbc28e7991341d3e6f23121989830 02-Jun-2017 Adrian Roos <roosa@google.com> AOD: Move clock to prevent burn in

Change-Id: I4d14aac0a379266b3bdef0a588575017ad345c4d
Merged-In: I4d14aac0a379266b3bdef0a588575017ad345c4d
Fixes: 35850027
Test: Enable AOD, observe that clock slightly moves every minute
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4fc6de844399ba574b220dc47addfde287953d48 02-Jun-2017 Adrian Roos <roosa@google.com> AOD: Move clock to prevent burn in

Change-Id: I4d14aac0a379266b3bdef0a588575017ad345c4d
Fixes: 35850027
Test: Enable AOD, observe that clock slightly moves every minute
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
987f1937a0231a2b6d09bf7c3bbb7df9de04d6b4 14-May-2017 Lucas Dupin <dupin@google.com> Change keyguard theme when wallpaper colors change

Bug: 38163994
Bug: 37014702
Bug: 62053168
Test: visual
Change-Id: I5a2da4ef2ad6fc1dab71588f2d0f5bd207731900
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
76d38e72c5822377340a1b3360888c91acf86de4 14-May-2017 Lucas Dupin <dupin@google.com> Themeable keyguard clock

Bug: 37014702
Test: change wallpaper to light/dark, look at the clock on the keyguard
Change-Id: I7e222401dfa0e3ac8be6635f45a4f517dd5509d9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8d4e99fe8b97360b824aeefbf96b840d7aadcc9a 26-May-2017 Adrian Roos <roosa@google.com> AmbientIndication: Move into container

This allows fixing the following bugs:
- ambient indication should be hidden outside keyguard
- ambient indication should animate with the unlock hint
- ambient indication should fade out when unlocking

Fixes: 38289189
Test: observe that the things above are working correctly
Change-Id: I34aff69bb5621a3f12c25e87eac6a89c8c7e2165
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
2775a1d82d7382095b1197c4e055f139285b84f4 26-May-2017 Jason Monk <jmonk@google.com> Merge "Fix up the QS gutter" into oc-dev am: 78ee090f78
am: f4968f3c98

Change-Id: I9b7d99aa2b519c8c9629dbec32d22c906f0456f7
4de5d3c03dfc49a1cdf7f9e9a0676c36987cea06 24-May-2017 Jason Monk <jmonk@google.com> Fix up the QS gutter

- Don't show when collapsed, show divider instead
- Don't show when no notifications
- Animate between states while expanding/collapsing
- Other visual cleanup

Test: visual
Change-Id: I923c963fa70d63601b6a181299b04c5fc49922bb
Fixes: 38199857
Fixes: 38483355
Fixes: 38409326
Fixes: 38417776
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5c0a17ce9aa0040ca3862a8502eb5c00643eb3c9 25-May-2017 Adrian Roos <roosa@google.com> Merge "AOD: Fix wakeAndUnlockPulsing transition" into oc-dev am: 838e365581
am: e90d58ed09

Change-Id: I93ab6feaf0b4fd36fa80fdc48878a5c71df70e26
88e61aad090a05e482e8f007cb5d92bcb338a2c1 24-May-2017 Adrian Roos <roosa@google.com> AOD: Fix wakeAndUnlockPulsing transition

Change-Id: Ia5d999f1756050a972f986357d563703abce7172
Fixes: 37878458
Test: Double-tap to trigger Ambient Display, use fingerprint to unlock. Verify transition is Buttery Smooth
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
91d199a391ca4ae5779a9234b87696cfb9a0c583 15-May-2017 Jonathan Solnit <jsolnit@google.com> Merge "Add camera lift trigger to GestureLauncherService"
a41381660c960844658b6d16f4b6539d7edf56c8 11-May-2017 Jonathan Solnit <jsolnit@google.com> Add camera lift trigger to GestureLauncherService

Add registration for the camera lift trigger sensor and handling for its
events to GestureLauncherService

Test: Confirmed camera launches on lift gesture if setting is enabled
(and other pieces are in place)
Change-Id: Ibfad2040409d86af2d019e2ce97ab546bef9ba78
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3603bb073e4af05b5ba58edbbd9c8888fa42a4a7 12-May-2017 Selim Cinek <cinek@google.com> Merge "Don't flash colors when hinting" into oc-dev am: 275e0582c3
am: 8a7b5d5807

Change-Id: I6070e62da134660885721011ac77a0027ba8420c
275e0582c33f40e3019a82cf93021ad6f072fab5 12-May-2017 Selim Cinek <cinek@google.com> Merge "Don't flash colors when hinting" into oc-dev
cd9c540f38f50fecba3fbb8e7fc21c83d1ec45fd 12-May-2017 Adrian Roos <roosa@google.com> Merge "Merge "AOD: Fix wakeup animation duration" into oc-dev am: 34480d2ce0" into oc-dev-plus-aosp
am: f7f39c90bd

Change-Id: I865c86ea152bad569fd303bd82f186ed491b3bd6
48c8cd41c615875b95cccce38019498460ed7541 11-May-2017 Adrian Roos <roosa@google.com> AOD: Fix wakeup animation duration

Wakeup animation duration was introduced in one CL, but was not
visible to the other CL, now that both CLs have been merged fix up
the duration.

Fixes: 34716110
Test: Trigger Ambient Display, turn on device, observe that both the clock and panel animation take the same time.
Change-Id: I310ba9c5be2e6ddd4fdf0a793eadb687e100aacd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
307f2d1530c5c03b5c128b12deaf026ceafeae28 11-May-2017 Adrian Roos <roosa@google.com> Merge "AOD: Anchor clock at a third of the height" into oc-dev am: 2af0676b2d
am: 65b4bb8cc2

Change-Id: I3b00e784eb3d264ba6543cd86a477773d6ed0435
ec29d34e0ba54e50fc3110c137a3197c92ba1a5f 06-May-2017 Selim Cinek <cinek@google.com> Don't flash colors when hinting

We're not flashing the colors anymore while hinting.
This also fixes a bug where the background wasn't
transforming properly when the last view was colorized.

Fixes: 37924486
Fixes: 36413876
Test: hint on lockscreen while the last notification is colorized
Change-Id: Ic9c4bf3c65e5d688ba43d71fb2843ebb7855c4f1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
52414e31cd2e6388ce542f8c5819807c7b8ba7f6 28-Apr-2017 Adrian Roos <roosa@google.com> AOD: Anchor clock at a third of the height

Change-Id: Ie9074be76f23f9c353e38b515fd5a3cd9702696d
Fixes: 37646086
Test: Trigger AOD, observe that clock does not shift in response to notifications.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
522ec7f05b086bfa29e5b9109569c6c66c291fa4 09-May-2017 Mady Mellor <madym@google.com> Merge "Don't commit snooze on horizontal swipes or when its in its expanded state" into oc-dev am: 5ddf88dfe6
am: 0efd4ee719

Change-Id: Ib46bee991ccf218ee89e96f8d7e3e913be0099a5
5ddf88dfe650a6adc2b86a99d0792b9f024b0ad9 09-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't commit snooze on horizontal swipes or when its in its expanded state" into oc-dev
2c2f0e27d1055fe79693b5ff4bbf7bd907073ade 03-May-2017 Selim Cinek <cinek@google.com> Handling the touch better when the screen turns off

Previously we were only cancelling touches when
showing keyguard, but this is not enough, since
a user might be touching it while on the keyguard
(e.g with falsing)

Fixes: 37287962
Fixes: 36416066
Fixes: 37696557
Test: manual, turn of screen while interacting
Change-Id: I572ade2380986ef087468dff721b1d1dfa7a48ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
48a92a5dbbf98d9f0235554e2bea3c969f7f2cee 03-May-2017 Selim Cinek <cinek@google.com> Handling the touch better when the screen turns off

Previously we were only cancelling touches when
showing keyguard, but this is not enough, since
a user might be touching it while on the keyguard
(e.g with falsing)

Fixes: 37287962
Fixes: 36416066
Fixes: 37696557
Test: manual, turn of screen while interacting
Merged-In: I572ade2380986ef087468dff721b1d1dfa7a48ab
Change-Id: I572ade2380986ef087468dff721b1d1dfa7a48ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c2dbe49bdcd487cb18bc97f5d4942224f64e8540 30-Mar-2017 Mady Mellor <madym@google.com> Don't commit snooze on horizontal swipes or when its in its expanded state

- Previously any touch outside of the snooze menu would commit the action
(similar to how notification info gets reset) now only touches that
aren't horizontal swipes will commit the action (if you snooze multiple
in a row, it's jarring for the snooze item to disappear when you hit
'down' on the next notification)
- Tracks expanded state of snooze menu
- Rather than commiting (i.e. snoozing) upon outside action when the
menu is expanded it collapses the menu, upon next outside action snooze
is commited

Test: manual / runtest systemui
Bug: 37253059
Change-Id: Ie0383fb8de49efe1b1bf0ed75d60cf75864f0210
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8c08a357f076d1645dbc265482df09fd68df11d5 01-May-2017 Lucas Dupin <dupin@google.com> Fade clock when pulling QS down

Bug: 37013527
Test: visual - pull QS on lock screen
Change-Id: I23fa477675ef15ac0fd190973ac885de7b2e0117
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
04d1ea759db3ec18fe0961cb339e20742c1fad2d 21-Apr-2017 Anthony Chen <ajchen@google.com> Allow the width of the notification panel to be adjusted separately from
the quick settings panel.

Also, introduce the option to allow the clipping that the panel by
default does to be disabled. This allows the items in the panel to be
swiped beyond the edges of the panel.

Test: booted up on AAE headunit and Angler device.
Change-Id: I8d8f501f98fea5c1c85541099df4ca34d10fc648
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0b0841885286919ab7ff659e411b345a9d1fba06 21-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Ambient Indication: Add supporting infrastructure"
75fa9648ec9d11d8a0cb64a9a7e22c249906b132 18-Apr-2017 Adrian Roos <roosa@google.com> Ambient Indication: Add supporting infrastructure

Adds a stub for inflating the ambient indication. Also
adds some logic to the panel view to avoid the
indication by showing fewer notification while it's
there.

Bug: 36777988
Test: m SystemUI
Change-Id: Ifee218860a7561d77edf0f71a17e02c975132597
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
feb411dd4992fa5fe3187ba0d648216033bb3c09 20-Apr-2017 Anthony Chen <ajchen@google.com> Merge "Allow notification shelf to be toggled off."
df5501b0cc0e9a1a53ae42acb4a2974605034acf 15-Apr-2017 Selim Cinek <cinek@google.com> Adapted the interpolator when using fingerprint

When using fingerprint and when launching without touch
we are now using a different interpolator.

Test: unlock with fingerprint, unlock after double-tap, observe different interpolator
Change-Id: If1b63340759089cdf55820d59b6dcce2ca8bed6d
Fixes: 37311479
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
9e05d46e0fc60b858a4ef21a9a26e2065fadbb94 07-Apr-2017 Anthony Chen <ajchen@google.com> Allow notification shelf to be toggled off.

Android auto's notifications UX does not have a notification shelf. Add
a config that hides the shelf.

Ideally, the shelf should be conditionally created, but it is closely
coupled through system UI. This change would require a larger refactor,
so just allow it to be hidden for now.

Also, update some areas that looked at the height of the notification
shelf. If it has a visibility of GONE, then don't grab the height.

Test: booted up phone and Android Auto headunit to verify
Bug: 33210494
Change-Id: I66b1eb956838e26bf695da01dab9ba5349ee321e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
51efddbd3bb304de2dd47fa8cd1114ac555958bb 05-Apr-2017 Alan Viverette <alanv@google.com> Remove unnecessary casts on calls to findViewById

Just frameworks/ this time. More paths to come.

Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d83e9999f73f479da14e716c825da4dbf169b657 16-Mar-2017 Adrian Roos <roosa@google.com> AOD: update AOD2 views to spec

- Increase notification header size
- Dim clock in AOD2
- Hide shelf in AOD2

Bug: 30876804
Test: manual
Change-Id: I272ff54bd0dbed0ae4271c922f62304401651fc9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
e5b770e47d44a40d412c7d42010b2cf67920d9e3 04-Mar-2017 Jason Monk <jmonk@google.com> Updated QS UI

- Adds footer to QS which contains the date/alarm info
and all touch targets (settings, edit, etc.)
- Swaps out emergency + carrier text on cell tile for a
standard CarrierText from lock screen in the header
to make the header only contain status info.
- Add dividing line
- Work on animations

Test: runtest systemui
Change-Id: I97dfea1b1ea7006b53eb61ac3a1f942c64dd282d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
24176c3376775d78a7cd35f7d80c2c3f1b4ccdab 02-Mar-2017 Selim Cinek <cinek@google.com> Animating the statusbar icons now when closing

On the keyguard the statusbaricons would not animate
in if there were no notifications. We can't just magically
appear them in that case but need to animate them.

Change-Id: Ie009b2c351b7a45f9219ddc1114be79477ea692b
Fixes: 33652041
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
34e8f75b6828f5a7c7531b7114e3d2cc09c0f493 22-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "AOD: Enable double tap in AOD"
8008bd1a2150b017753ef7406f3d1bb660b7ca22 22-Feb-2017 Adrian Roos <roosa@google.com> AOD: Enable double tap in AOD

Bug: 30876804
Test: Enable AOD; turn off phone, double tap; receive notification, double tap outside notification; on lockscreen, tap shade, should still bounce
Change-Id: Ifb32461432f64c333b3a86a29b5ac51dfc27a43d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
160bf4cbac1d4c8d8c22b6dbcd8c2421d61541b0 21-Feb-2017 Selim Cinek <cinek@google.com> Merge "Making the notification always center horizonally"
9e87cba5a9c688d21de574c26efba6a148df2ee4 17-Feb-2017 Selim Cinek <cinek@google.com> Making the notification always center horizonally

The notification panel always center horizontal, since
it could lead to an offcenter notification sometimes.
Also applying the gravity correctly.

Change-Id: I2056dae0dfc1e4625e7903511464dc3edd8ac3f5
Fixes: 27566718
Test: rotate, observe HUN location after rotation
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
91ba307d9bbd1b9c62feb1bea1d8035d11572d72 14-Feb-2017 Adrian Roos <roosa@google.com> AOD: Show fingerprint error messages

Change-Id: I6570bffed1632b5e42ad5f82f7e0ab6192e04e1d
Fixes: 34902351
Test: Enable fingerprint, get notification on Ambient Display, try to unlock with wrong finger. Verify that the fingerprint not recognized message shows
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b3f0849c3edfdb9f48c7171199467944457bc527 02-Feb-2017 Anthony Chen <ajchen@google.com> Merge "Refactor notification to allow for overlay by Android Auto."
27a52fa86bd279407575192fc9842b6a54624cfb 01-Feb-2017 Chris Wren <cwren@android.com> port status bar logs to Tron V2

Bug: 33303260
Test: runtest --path frameworks/base/core/tests/coretests/src/com/android/internal/logging/legacy/ && runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone
Change-Id: I7746b846247e930617f0b440217635e71ed58bb5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3cb3ad9998b478845538604c3ee3635a31642185 01-Dec-2016 Anthony Chen <ajchen@google.com> Refactor notification to allow for overlay by Android Auto.

Android Auto requires different styling for notifications. In
particular:

- Background of scrim to be a different color
- Notification shade should always be full width
- No quick settings
- User switcher always visible
- Card styling, such as rounded corners and more spacing between items.
- Notification shade to be triggered from a button on the navigation
bar.

Refactored different areas of the framework to allow for this. This
mostly means extending notification code and overriding methods where
appropriate.

Test: manually tested
Bug: 33487455
Change-Id: Ifcea70e121c1cbbeb057bb6ce8d351336ae41554
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
adb520570f350758dc83052c38240621f769b33d 27-Jan-2017 Adrian Roos <roosa@google.com> Merge "AOD: Prevent KeyguardAffordanceViews from triggering in doze"
8c6aea6469f384002d266ecdcafbd0017f27e544 26-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "SysUI: Fix typo in NotificationPanelView"
2a6ea9c2a1b52b0386270ec73e1e6d6a9b614a34 26-Jan-2017 Jason Monk <jmonk@google.com> Delete BaseStatusBar

It is a relic of a more complex time, but has passed out of all
knowledge for too long.

Test: manual testing on phones and TV
Change-Id: I62a15d9413ea4bda3ac82bf6f7d22c096e2c1cdc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
2a31841e3d025ee8b22b70fefea5dfc4e9e89d74 25-Jan-2017 Adrian Roos <roosa@google.com> AOD: Prevent KeyguardAffordanceViews from triggering in doze

Fixes a bug where the the affordances on the keyguard could
be triggered on Ambient Display even though they were invisible.

Fixes: 34707183
Test: Enter Ambient Display, drag from bottom right corner. Nothing should happen.
Change-Id: I2deab6d006b645670038d7f658fb0361618b3a91
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
e31f30e946465dca24b264ddbd3a83565faeae8e 25-Jan-2017 Adrian Roos <roosa@google.com> SysUI: Fix typo in NotificationPanelView

Test: mmm frameworks/base/packages/SystemUI
Change-Id: I8c792382418ea814cc9e4688e50815b05058809f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
64f13a56a404748bfea590a002663f991192da71 18-Jan-2017 Adrian Roos <roosa@google.com> Merge changes Ib6de3aa3,Idc46d1b2,I889e3864,I9a50ee57,I411f08ae, ...

* changes:
AOD: Use heads-up state instead of buzzBeepBlinked
AOD: Do not animate shelf icons when changing ambientness
AOD: Show ambient versions of notifications
AoD: Reposition shelf under clock
AoD: Adjust shelf, only show top notification
AoD: Adjust clock layout
c934c4349f688da2b4b2a1cbc4419bc9db4d9f9a 13-Jan-2017 Adrian Roos <roosa@google.com> AoD: Reposition shelf under clock

Bug: 30876804
Test: manual
Change-Id: I9a50ee57d7acef1af866968e67feac7803801a02
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
49fa016a98cef9940c883b3f620a0e90537a204e 11-Jan-2017 Jason Monk <jmonk@google.com> Move navigation bar logic to its own class

Start hacking away at PhoneStatusBar by trying to pull out
as much NavigationBar logic as possible.

Test: runtest systemui
Change-Id: I23b904428be31b91f0747fd60c9f6e0dd323eb44
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
2411f764e196b16f4aedd40733e9e4e9fda7162a 28-Dec-2016 Selim Cinek <cinek@google.com> Using a different interpolator when unlocking to an app

On the lockscreen when unlocking to an app without security
/ when trusted, we use a different interpolator not to break
the animation in between.

Change-Id: Iedf3172ff281e82e02f0859101198cb2f7ffe265
Fixes: 33652632
Fixes: 33652041
Test: unlock without security
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
593ee2084919a44936decd12e624625c18401347 28-Dec-2016 Selim Cinek <cinek@google.com> Adapted the shade closing interpolator

The current interpolator wasn't working well
and was accelerating too much in certain cases.
We now finetuned those animations.

The animation has a slight acceleration to it for
slow swipes.

Test: close / open panel
Bug: 33652632
Fixes: 33652505
Change-Id: I62aa349b128dee9872b50b2af0ef419755ef7127
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
fcff4c6412e6438e842cafde53e50a9065b3815f 27-Dec-2016 Selim Cinek <cinek@google.com> Fixed the appearing of the statusbar icons

The statusbar icons are now correctly appearing
in case there are no notifications instead of just
jumping.

This also fixed the general case, where the icons wouldn't
fade correctly in landscape

Change-Id: I38c6970b7663a8654a27555c2230e68de81a6da8
Test: observe fading of statusbar icons with and without notifications
Bug: 33652489
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a7d4f82c05f1c6ea5dd92a4871711d380b01100a 06-Dec-2016 Selim Cinek <cinek@google.com> Introduced the visual stability manager

Notifications used to roam around and reorder whenever
they wished. Those little beasts must be tamed, hence
a new visual stability manager is introduced that
dictates the terms of their interplay.

Test: manual: add heads-up and see if they correctly appear
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/notification/VisualStabilityManagerTest.java
Bug: 32442500
Change-Id: I8d7596fa7c14e0df68459a77d445f618d517ad51
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d5ab645f467255191c513adc0a5b2830b4e00cad 09-Dec-2016 Selim Cinek <cinek@google.com> Only doing the icon animations now when expanding slowly

Previously the animation was too distrating when expanding
fast.

Test: add notification, expand fast, observe no animations
Change-Id: I11658368b49094368886c64028c210a1dc95d938
Fixes: 33458094
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
378053af93b10162f72f91619208ff2c92e11f4c 08-Dec-2016 Selim Cinek <cinek@google.com> Enforcing padding on the bottom of the keyguard

When calculating the maximum padding, we need to require
some padding such that the indication text isn't overlapped

Test: add 6 notifications on sailfish, see no overlap
Bug: 32437839
Change-Id: I25effa3e971d4a0bfaef70615c8a6e29c906a6ed
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1f8c21c116a8e436c1484968ff1644ad9bdaa96e 28-Nov-2016 Selim Cinek <cinek@google.com> Fixed a bug with the maximum number of notifications

The shelf size was accounted for twice.

Test: add notifications, observe overflow behavior on lockscreen
Bug: 32437839
Change-Id: I2c372243cbc4fcd9223715f398f3ec233b87f9db
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
db16737031091160a3a7d080ac44ce2836402d74 18-Nov-2016 Selim Cinek <cinek@google.com> Fully removed the bottom stack

Moved the ambient notifications into the shelf
instead of having them behave with their own
physics. Previously the ambient notifications
were stuck in the old world behind the shelf,
but this doesn't make sense anymore.

This also fixed a bug where the notifications were
wrongly positioned on the lockscreen since the shelf
counted as a view that wasn't gone.

Test: add low-priority notifications, observe scrolling
Bug: 32437839
Change-Id: I3921ea9f80a06f1b6330315423b012174269ac8e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
cafa87f91da77cd2bc7f4a18bd12f6b71df23b5c 27-Oct-2016 Selim Cinek <cinek@google.com> Made heads up work again

Heads up notifications were completely broken before
with the shelf, but work better now.

Test: Add heads-up observe that it's visible
Bug: 32437839
Change-Id: I9ac08f4ea54a912efd53bb849b3223f534b76915
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
48ff9b48335b6a22795f798ff07c9a6d83078c1c 10-Nov-2016 Selim Cinek <cinek@google.com> Improved the transition into the statusbar

When expanding, the shelf now transforms into
the statusbar, providing a more seemless transition.

This also modifies the panel peeking:
previously the panel was always peeking right after a tap timeout
which would take the panel away from the users finger.
The panel is now only peeking when the user clicked on the bar instead.

Test: Add some notification and collapse the panel. Observe nicer transition
Bug: 32437839
Change-Id: I772f6684e1cee2004e9b366d203a5c5188af4a93
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0242fbb9fdd7db0398a197d0e63d20dcac7cd916 19-Oct-2016 Selim Cinek <cinek@google.com> Adapted the icon transformation into the shelf

The transformation is now more refined.

Test: Add notifications, scroll
Bug: 32437839
Change-Id: I2d553b2305fae508d2eb94ca4cee18faa41815a1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
281c202784fe6eecab4cc535461f1b12c85b2cc0 14-Oct-2016 Selim Cinek <cinek@google.com> Introduced the Notification shelf

Started the implementation of a new notification
scrolling model that dynamically transforms notifications
into a new icon shelf.

Test: Add notifications, scroll!
Bug: 32437839
Change-Id: Ic28cc1c82f2cda2ffa7a312648903b5bc2408820
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
7a9528845341a65e427757046ac4b99698ac1263 15-Nov-2016 Jason Monk <jmonk@google.com> Protect against crash in fragment startup race

Because fragments can be hard.

Change-Id: I1eec2caf3729beaac2d36a97ba7cff422e546f44
Fixes: 32881893
Test: Look at device, verify no sysui crash dialog
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
f4e019aaad6f9da3165e8f35966299c43d5cfebf 03-Nov-2016 Jason Monk <jmonk@google.com> Plugin fragment support

Allows fragments to be easily switched over to plugins and a provides
a convenient base class for plugins to use that makes sure the layout
inflater and context point at the plugin's and not sysui's.

Bug: 32609190
Test: runtest systemui

Change-Id: I6503947e980f66ddcd826f6ca9a92b591ce0eb1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0ceef211875515c2a7531f9baeae46339e700f3a 02-Nov-2016 Jason Monk <jmonk@google.com> Move QS to a fragment

There is now a bit too much of the view/layout logic touching the
fragment, but sort out that later and get something over to fragments
for now.

Bug: 32609190
Test: Manual
Change-Id: Icf677f4a70e6b92892a0fc27a0e673940ebc7a73
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
fe762344f4475a3a336bb46aef2d59c1fabf32ab 13-Oct-2016 Jorim Jaggi <jjaggi@google.com> The big keyguard transition refactor (1/n)

The heart of this change are two things:
1) Instead of using the force hide mechanism to hide windows behind
Keyguard, we actually make the activities invisible in activity manager.
2) When Keyguard is going away, we change the visibilities in activity
manager and run an app transition.

At the very core we move the responsibility of hiding activities to
ActivityStack, which checks whether Keyguard is showing, and then
hides all non-show-when-locked activities. For that, we need to check
whether any window of an activity has SHOW_WHEN_LOCKED set. We
introduce a callback from WM -> AM in case these Keyguard flags have
changed.

Furthermore, we decide whether to occlude Keyguard in KeyguardController,
which just checks whether the top activity has SHOW_WHEN_LOCKED set. When
this state changes, we prepare an occlude/unocclude app transition, and
in PWM we just inform the Keyguard about the animation so SysUI can play
along this animations in a mostly synchronized manner.

Since we now use an app transition when unlocking the phone, we get
lockscreen launch animations for free - window manager automatically
waits until the activity is drawn, or directly executes the transition
if there is nothing to animate. Thus, we can remove all the infrastructure
around "waitingForActivityDrawn".

The logic to show/hide non-app windows is moved to policy, and we add the
ability to run animations on non-app windows when executing an app
transition.

Test:
1) runtest frameworks-services -c com.android.server.wm.AppTransitionTests
2) Manually test unlocking Keyguard:
2a) Without security
2b) With security
2c) With security but trusted
2d) Portrait while activity behind is in landscape
3) Test launching things from Keyguard
3a) Without security
3b) With security
3c) Launch camera without security
3d) Launch camera with security
3e) Launch camera with securtiy and trusted
3f) Launch voice affordance
4) Set no notifications on lockscreen, drag down, make sure you get
the correct animation
5) Test clicking "emergency" on bouncer
5b) Test "Emergency info" on emergency dialer
5c) Test clicking edit button on emergency info, should show pattern on
Keyguard

Bug: 32057734
Change-Id: Icada03cca74d6a612c1f988845f4d4f601087558
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
519779eea040e4808b9f1a07e399008b89368d28 12-Oct-2016 Jorim Jaggi <jjaggi@google.com> Only reset fling velocity if opposite direction

Test: Go to lockscreen, open QS, close QS with a really weird touch
and check whether velocity matches finger speed tracking

Change-Id: Ib738cb428cdf177a1387a9dd4c79d094502325bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
bd1660d07685db20a8278f6496c27ab2d09b8737 11-Oct-2016 Selim Cinek <cinek@google.com> Fixed a bug where the header would flicker weirdly when replying am: 5f2ca6b1a1 am: b92a21d688
am: cd8c71a8d1

Change-Id: Iec9b7ad1013824187a24ad66c0f54011869009fd
5f2ca6b1a1f739583e4ea9f3d3dfd22931d793e0 07-Oct-2016 Selim Cinek <cinek@google.com> Fixed a bug where the header would flicker weirdly when replying

Also fixed a bug where the header could stay on the lockscreen.

Change-Id: Icad3d0db7b95745bd640b20750b9f0eba383d798
Fixes: 31469380
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
90f6279f42351ea651cde67ab070599aea4094ce 07-Oct-2016 Jorim Jaggi <jjaggi@google.com> Merge commit '2a30b7600992d136f63b26aa28204e8e97730e10' into HEAD

Change-Id: Ibcd5bab971c82a551623d226e4490b39d32fa8c0
dadafd4109c69f088893e72551d50a3cc04d085e 30-Sep-2016 Jorim Jaggi <jjaggi@google.com> Reload state when user unlocks

Test: Unlock freshly booted non-FBE device, make sure the transition
is fast as well as the icons have the correct state

Change-Id: I6427427d16edeceb0f410be0b88de601a3dffdb4
Fixes: 31203310
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d5e1033d8c865fa2fd35b1f7fee2c81d9b47f1bf 30-Sep-2016 Selim Cinek <cinek@google.com> Fixed a few bugs regarding big notification groups am: bc243a9627 am: 209fb7fca9
am: 2ddba164d3

Change-Id: I87064ec11a121c71a8c844102c3a7b49a80302a2
bc243a962702cfa6fa9cdc56356e996a77acd307 28-Sep-2016 Selim Cinek <cinek@google.com> Fixed a few bugs regarding big notification groups

The overscrolling was listening to the paddingOverflow
which didn't make sense. Also, we need to update the
top padding if the height of the first element changes.

This also fixes several cases where the notification size was
wrong when the quick settings panel was expanded.
It also fixes some flickering regarding the TopPaddingoverflow
which was going rogue in a few cases.
The transition from the locked shade is thereby also improved.

Change-Id: I703ea27879b325c02a15fdacee3b58f5ef78fd20
Fixes: 30801139
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
46767b77c004a3541c614f8e21d6a871dd148e54 18-Aug-2016 Jason Monk <jmonk@google.com> Extract plugin interface for QS

Users must implement the QSContainer interface to be returned by
a ViewProvider plugin. The QSContainer must contain a
BaseStatusBarHeader and have the id of quick_settings_container.

Test: Manual
Change-Id: Ibfaa835cad20855a530e4ae142d8a2aeba4a277b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4231c7194df146ff1d211ae0e04a80803461cd4b 12-Aug-2016 Jason Monk <jmonk@google.com> Start listening on notifications/QS panels on expansion started am: b5ece9a9d6 am: 81d51c5da9
am: dcd90a1cba

Change-Id: Ibbe3de7bd6e79952d1450d76f87810dac60e48af
81d51c5da9926c856e5051415a4fd3e263eb38f5 12-Aug-2016 Jason Monk <jmonk@google.com> Start listening on notifications/QS panels on expansion started
am: b5ece9a9d6

Change-Id: I948930f17c1d0e08ba3d33ea5db48e3071b2fe03
de214f40cfb2d929ed6be9e2b636328238f5ae9c 12-Aug-2016 Jason Monk <jmonk@google.com> Merge "Start listening on notifications/QS panels on expansion started" into nyc-mr1-dev
c2fe7f727957900a91f1d537f2103c17eea101d6 08-Aug-2016 Selim Cinek <cinek@google.com> resolve merge conflicts of 72722d6 to master

Change-Id: I5b6fe90f52573cd9c7f7259df653b7e095858794
ac755cb44fce8db964360c31a4fc8b7e699c8292 08-Aug-2016 Selim Cinek <cinek@google.com> Fixed a bug where the notification would fade out in a ugly way
am: a981d083f9

Change-Id: I736cfbbaec37e28817e3e40d0d09133dc4070acd
5a3e33a82a36d22a39f0efd743b259256c9fad54 08-Aug-2016 Selim Cinek <cinek@google.com> Merge changes Idc4c2c14,Ibea016c6,I49ab58c3,Id911d405,I0f17dc5f, ... into nyc-mr1-dev

* changes:
Improved the transition when clicking on the last notification
Fixed a bug that could lead to an empty notification
Removed contentDescriptions that hindered accessibility usability
Fixes a bug where setting a null bigLargeIcon would not clear it
Fixed the transition of the background of the notifications
Fixed a bug where the notification would fade out in a ugly way
678d7d576ed18167153a863af495c4bf8730b9a9 04-Aug-2016 Selim Cinek <cinek@google.com> Loading the camera preview correctly with direct boot am: 5f1450229b am: 987b787dcb
am: b06960e240

Change-Id: I6f480128257906bf99536ee86abf3ac6240a1a8e
987b787dcbcc1f4a69d914c759bb3a3e266d4cf1 04-Aug-2016 Selim Cinek <cinek@google.com> Loading the camera preview correctly with direct boot
am: 5f1450229b

Change-Id: I1b5c069b34c2fd23acb2b5adf598a6e7b8db3a1f
100165056ef020fd9474fe07eb5a0a9b7d3c63b7 04-Aug-2016 Selim Cinek <cinek@google.com> Merge "Loading the camera preview correctly with direct boot" into nyc-mr1-dev
a981d083f9df38d7393b47f38dc7d6b6273565f6 03-Aug-2016 Selim Cinek <cinek@google.com> Fixed a bug where the notification would fade out in a ugly way

Change-Id: I0bc41004688ba1180420051264d72e793a1309b2
Fixes: 30555660
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8d7213f0b7e52b3994ef09bec2d0e150249affcc 03-Aug-2016 Doris Ling <dling@google.com> Add metrics logging for fingerprint swipe for notification panel. am: 3c00afba0b am: ed1c7ba70e
am: 53c39ff132

Change-Id: Ia0e2926f96bb2d6e1003b3c0f453b4980e986675
5f1450229bb8a827c4e6d4ed6dbc2de6e31aabff 03-Aug-2016 Selim Cinek <cinek@google.com> Loading the camera preview correctly with direct boot

With direct boot the camera preview could be loaded in a wrong
state when the device was started. This ensures that it's reloaded
more often and should always be up to date and also fixes the
bug that the camera preview couldn't be loaded initially.

Change-Id: Ib43e322a9d6ef05d8519ebc85f4509441829e528
Fixes: 30420861
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3c00afba0b24adfb1678188650e8e60705be7a33 20-Jul-2016 Doris Ling <dling@google.com> Add metrics logging for fingerprint swipe for notification panel.

Add metrics log when fingerprint swipe to expand/collapse notification
panel is handled, and increment the notification and quick setting open
count correspondingly.

Bug: 29257528
Change-Id: Ic24c6463a4400711874602157e2fcadc7f0f6da6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b5ece9a9d6add01b7a0c392372ff8ba061fcb7e7 22-Apr-2016 Jason Monk <jmonk@google.com> Start listening on notifications/QS panels on expansion started

Now that there are QS tiles in the header, they need to be in the
listening state as soon as the expansion starts so they can be
up to date by the time the user sees them.

Change-Id: I80550d2885bd86afce3ea1595d441e65298d4d7c
Fixes: 30041004
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b585b3f059f9e2b666dfe051369f62a3cf96b59f 15-Jul-2016 Selim Cinek <cinek@google.com> Merge \\"Fixed a bug where the header was positioned wrong\\" into nyc-mr1-dev am: b1008221f9
am: c489f0bf06

Change-Id: I227c36c3384a08d395b58b146be9b7070072ff60
94c2d82f4f8c2f44c3de2611115dbd3d3d4c7464 14-Jul-2016 Selim Cinek <cinek@google.com> Fixed a bug where the header was positioned wrong

Also cleaned up some logic about the translation

Change-Id: I6bfcb36ac27d8d6280e8ffea62b597d3bc705121
Fixes: 29880654
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
f0db3158fb9990e50389e31004309239aaec5624 23-Jun-2016 Jim Miller <jaggies@google.com> Merge \\"Enable fingerprint sensor navigation to invoke QuickSettings - rename \\"FP_NAV\\" to more generic \\"SYSTEM_NAVIGATION\\"\\" into nyc-mr1-dev am: 0520091641
am: 0a7efa1e47

Change-Id: Id8de76d28e581f5a4fa448dd48dc33870d81b538
07e0384a4e931bc94550c108ddd9b9514100161e 23-Jun-2016 Jim Miller <jaggies@google.com> Enable fingerprint sensor navigation to invoke QuickSettings
- rename "FP_NAV" to more generic "SYSTEM_NAVIGATION"

Fixes bug 28869612

Change-Id: I321240ee54506633d63a29e987b8d8638c652391
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d6298fd3dd8bdf06c07e6423fd38e9c275234b5d 27-May-2016 Muyuan Li <muyuanli@google.com> sysui: refactor for extensibility.

Bug: 28942127
Change-Id: I2f61127a3c4843c22e15a4c6de1d78f165023b27
(cherry picked from commit fbc83b9837e383513eeae90d35fbc50eebeb06b3)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5dbe4afebe543ef57c64c4da0ea97a67910c898f 02-Jun-2016 Jason Monk <jmonk@google.com> Merge "QS: Fix single expanded frame from layout" into nyc-dev am: 4215ae0100 am: 023b338111
am: e5b5c11743

* commit 'e5b5c11743f53d70dda78d7fd4f8a728a3c1bc3c':
QS: Fix single expanded frame from layout

Change-Id: If4e5828a662d2d326e447f31f36ecea5a6280a19
f50e88227d30c96e33b6bdb9863f8f15a0f8ae42 01-Jun-2016 Jason Monk <jmonk@google.com> QS: Fix single expanded frame from layout

During animation it was resetting the QS expansion on layout which
made a frame of fully expanded appear.

Bug: 28008271
Change-Id: I6ac44cb918bdf53da0653332eabf0f4e96779cff
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4af162a066202385f3c11a2ea854a6341d5c80c1 25-May-2016 Jason Monk <jmonk@google.com> Merge "QS: Fix QS touch breaking" into nyc-dev am: 8fd8a4fde8 am: 2d202facb4
am: 9f3eecb2e1

* commit '9f3eecb2e1519102fdb6b15ea86f194efe61fbd7':
QS: Fix QS touch breaking

Change-Id: I635dc3c6fa41ff14aa80f0dcd066289751c00070
d075b21a85d0806ce37f75943c32799bea2befe3 25-May-2016 Jason Monk <jmonk@google.com> QS: Fix QS touch breaking

Seems not all of the QS container logic was inside the inflate
callback.

Change-Id: I78a8b40d1c181f5dac7127a5b5d20d45ae0f333e
Fixes: 28177371
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
72a691d5092edf18cd905519423ac55e96b72a6e 23-May-2016 Selim Cinek <cinek@google.com> Merge "Fixed a flashing when the affordances were launched" into nyc-dev am: a56e732c01 am: bdfa6d9fcf
am: 9a18887ecf

* commit '9a18887ecf803bb40e1c032b3b2096c2e66d3f95':
Fixed a flashing when the affordances were launched

Change-Id: If57609120976df4db1b9b58c48d2a304c878071d
07304f52243d405a0ad79abb3cf49f889a2c2907 20-May-2016 Selim Cinek <cinek@google.com> Fixed a flashing when the affordances were launched

Because we can't draw it as source in that case.

Change-Id: I14039959a5fedbc57358e2e343a3d0d185dcec17
Fixes: 28735933
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
10b889de7d0c9271e3fb47c87a8ed140bee9c271 12-May-2016 The Android Automerger <android-build-merger@google.com> stephenli Manually merge commit '68fffa5'

* commit '68fffa5': (23 commits)
Fix smallest width configuration calculation
docs: DoDS, wearable reference docs
Switch the default text selection handles to Material style.
docs: Noted minor API changes in release notes
docs: added "billions" doc in Distribute>Essentials
Remove wear design pages redirecting to design/wear
correct the support library redirects to redirect whole path
Stop saving ActionMenuItemView state.
Fix iterator double-advance in ContentObserverController
TIF: Remove the uniqueness check for track ID from notifyTracksChanged
Update and add attributes to the JavaDoc for VectorDrawable
Use Q=100 JPEG instead of PNG for wallpaper display
Fix issue #28400000: Settings memory UI still showing z-ram...
docs: Updated support library revision history for 23.4.0
docs: Updates to notifications for DP3
docs: Added emoji section to api overview.
Fixed a bug where the QS was animating wrong when closing
Fix KeyguardManager.isSecure() to observe work profile
cherrypick from mnc-docs docs: Updated APK Signature Scheme v2 doc.
Docs: Added new Whitelist feature to Data Saver for DP3
...
92bce83443d6cf80681d9749b844be0d7bd5bbb2 11-May-2016 Jiaquan He <hejq@google.com> Set mStatusBarState in NotificationPanelView protected.

Change-Id: I0a8f0070a71b647923e2521ba7bbcaddd9b8e402
(cherry picked from commit 7a8aef9a33819983c2bec821984cc396b813c44a)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
f91de686014b662e961b0b04e656a7782c3e6525 11-May-2016 Selim Cinek <cinek@google.com> Fixed a bug where the QS was animating wrong when closing

Because the overscroll flag was still set the animation could
be wrong.

Change-Id: I52adf744c92723590297844bbefef8ecf5c8d737
Fixes: 28511835
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d2944c59f9783e10fef46384b07f08a5447471ce 11-May-2016 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the positioning on the lockscreen was wrong" into nyc-dev am: 549a822331 am: 6b6a0e7773
am: 0b62228803

* commit '0b6222880326578d607bb3717c72c6e613db8dd9':
Fixed a bug where the positioning on the lockscreen was wrong

Change-Id: I3947de939098a30dd2230e2ff755c3f12acf81dd
fa760d46369f1ee7baedd174cc8f973594c52970 10-May-2016 Selim Cinek <cinek@google.com> Fixed a bug where the positioning on the lockscreen was wrong

Because of a circular dependancy of calculating the notification
heights and setting them to GONE, the views could be laid out in a
wrong fashion. Another issue was that ambient notifications would
still be taken into account as well as removed notifications.

This also lead to a bug where the removal of notifications could
lead to unnecessary add animations when swiping them away.

Change-Id: If9ad81237a520b14dc6851df3af52406d192a7a7
Fixes: 28441832
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0e9f538480073a37f8a566a44ae264f8321bead6 28-Apr-2016 Muyuan Li <muyuanli@google.com> sysui: refactor for extensibility.

Extended QSDetail / QSTile to control the behavior with
header / footer.

Bug: 28169547
Change-Id: Ice7d5fc16a0e9080a5c842295abe87bc1e2d71be
(cherry picked from commit dbdcb44b7fa49931fc506535a4cc02c20085bca5)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
ee5d630459f0f292ad0e3ac1f8002f90897857fc 23-Apr-2016 Felipe Leme <felipeal@google.com> Added a 'deferred' parameter on executeRunnableDismissingKeyguard().

OnDismissAction() should return true only when the dismiss should be
deferred, but the annonymous class on
executeRunnableDismissingKeyguard() was always return true, which was
cause a janky timeout when the runnable didn't launch an activity.

BUG: 28303552

Change-Id: I1f9e299102d6cebba44794c026a69cf43ea06990
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
9b1fdff2e70e695a0104dbc63fc26e434dc7f188 21-Apr-2016 Clara Bayarri <clarabayarri@google.com> Reinflate QS view on Locale configuration change

The existing DensityContainer already did this for density changes,
repurposed it to handle other Configuration changes. Also renamed
to AutoReinflateContainer.

Bug: 27952059
Change-Id: Ieb572abcbafe49aec73b16e1bcb8c294011afdd3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
6a70b884df72aaccf49d785fe362951e25bae1e5 20-Apr-2016 Adrian Roos <roosa@google.com> Don't do anti-falsing on locked shade

The user has already passed the keyguard test by
dragging down. We're not doing anti falsing at this
point and doing it on the affordance was triggering
a crash on debuggable builds (and not working at all
on regular builds).

Change-Id: Icaf81e8e2a38503851c7b5699a0f5a3d363dac19
Fixes: 28154836
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4fe4a409bca01e16c807f3f76633afc1d9797e2a 31-Mar-2016 Muyuan Li <muyuanli@google.com> sysui: refactor for extensibility.

1. Refactored container height calculation out of updateBottom of QSContainer;

2. Added a method in QSContainer to return min expansion height.

Bug: 27929808
Change-Id: I5a6d04ffb225bccfc56fa5f4ab98d330ed763a8c
(cherry picked from commit 9e874950195d6b76a64e28c236e8d109d551281f)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
05ceda5ccc794b7d7a3b1330f1dbab3c016e6973 30-Mar-2016 Jason Monk <jmonk@google.com> Merge "QS: Only allow clicking in the expand button" into nyc-dev
f7d9c49223c4f2fd8a498160914d41801e6b10ea 29-Mar-2016 Jason Monk <jmonk@google.com> QS: Only allow clicking in the expand button

Also ditch the header BG so the panel can feel like one surface, as
a result need to set some clip bounds on the QSPanel to avoid some
collisions between the header and QS.

Bug: 27881430
Change-Id: Ia78c5b8a7a90bd02b97fa448efa06fc056f624ef
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
85686d6ef65e17f970a0be27492a21a577d6bbe8 29-Mar-2016 Jason Monk <jmonk@google.com> Fix QS expand on tablets

Fix the way NotificationPanelView checks the X bounds of QS intercepts
since the translation is now on the density container, it should be
the source of truth for x and width.

Bug: 27865453
Change-Id: Id698a63563ed99a509a68386f289e6f28302e1e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
39c98e652fd3e0e3ea3a334d60ba6ee979985978 16-Mar-2016 Jason Monk <jmonk@google.com> QS edit drag and drop accessibility

Bug: 27667843
Change-Id: Ief0980af25d855942b0565e5a9bfcc0d266bdbe0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5969004032d5d1afe497403daafae34bc887c926 24-Mar-2016 Muyuan Li <muyuanli@google.com> sysui: refactor for extensibility

Make mQsExpansionEnabled protected in NotficationPanelView.

Bug: 27836776
Change-Id: I35479e990607d6801effd3fa64fd3ffb1f9503dd
(cherry picked from commit 8af5736425d60641268943fe4d7e23a2b7d99c8a)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
53f8e7d5de0ff1672070c3cb38391f58dc58c2fb 25-Mar-2016 Selim Cinek <cinek@google.com> Fixed a bug with the number of notifications visible on lockscreen

It also accounted for invisible groups.

Bug: 24866646
Change-Id: I97de1468bdaaafbdbe69de5d1599555d5cf8f3f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5153d4ac95bc128ecf634d09b9e647cd20e70a65 22-Mar-2016 Adrian Roos <roosa@google.com> Scroll to remote input view

Bug: 27668960
Fixes: 27668960
Change-Id: Ie8f7858257922362b289ea4e4e22e689e1405e58
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
845b3b9036f25be27fe7e7ce93d309fc3b7c2279 10-Mar-2016 Jason Monk <jmonk@google.com> Fix weird QS Edit bug

Turns out code is best written while looking at it. Don't set the
layout params on the density container to layout params from another
view. Firstly its not fair to the density container or the qs container.
Secondly it makes the notification panel jealous and it starts eating
all the touches it can find.

Bug: 27586350
Change-Id: I2f8a7c23eda4625cc65390da1e854e5033b179a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a97776abdeb20250040c0036256ae8bd0943f5c4 09-Mar-2016 Jason Monk <jmonk@google.com> Actually fix the QS anim curves

Also fix the gravity of the panel in landscape

Bug: 27201532
Change-Id: I56b33fb142afdabd9461177f15434a7d78b9f8bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5025f42203808d25650ed55d49f498ed3427493a 08-Mar-2016 Jason Monk <jmonk@google.com> Fix QS translation on tablets

Now that QS sits inside a density container, the density container
should be translated rather than the qs container.

Bug: 27474427
Change-Id: Ia516f1927362cdffe6f906fca1d7ce583542d002
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8b9d67fb636a89fe6537e7affb9d01a75f263d93 02-Mar-2016 Jason Monk <jmonk@google.com> Move QS Edit into QSContainer

This will let it play nicely with heads up.

- Move to QS Container.
- QS Edit is always full height (some layout hacks to do this)
- Always draw QS customizer on top when animating
- Block all panel scrolling while QS edit is open (all touches
go to editing)
- Instantaneously change the height of the QS container at
start/end of animation as needed

Bug: 26969293
Change-Id: Iedc6f5aaf659dcc6750972eae5f69cc0cd2df844
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d1ad9ab3121cb54387c5d2b71b48708dcaed5c43 02-Mar-2016 Selim Cinek <cinek@google.com> Adjusted the behavior when expanding the notification panel

The topmost notification is now not collapsed anymore but slides in
expanded from the top. Therefore it's layout doesn't need to animate
anymore. This also cleans up a lot of code in the algorithm which was
depending on this resizing which isn't needed anymore.
In order to have that transition working perfectly, the padding when
collapsing a card is now the same as the slowdown length.
Also improved the logic when notification contents are allowed to
animate and when not.
Also fixed a bug where the top notification was cut off when QS was
expanded.

Bug: 27402534
Bug: 18434284
Change-Id: I31afa199d38d94e74fd45500c2236ffdb51d989d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
46dbfb475fe0d1644f27f78e35735ba32c92225b 25-Feb-2016 Jason Monk <jmonk@google.com> Handle density changes in QS

Bug: 26845796
Change-Id: Icc783c9d706382e553df49f699aaf44aac943d18
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
84e6de77788602bbd8dbb0b96c58c4254cb54b5b 23-Feb-2016 Selim Cinek <cinek@google.com> Fixed a bug where QS could fling up even when collapsing

We previously changed the touch logic to always fling even when
the panel is fully expanded, but that lad to an issue when it didn't
even start to expand.

Bug: 26255211
Change-Id: I8c991a0a19b49eb405b8efc2d69baf29c709b363
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5da713599f4e83c99b5c52291c967c813350e669 22-Feb-2016 Xiaohui Chen <xiaohuic@google.com> sysui: refactor for extensibility

Bug: 27098035
Change-Id: I9ce480a5995f354ad45b6f13112cfa1ab49934cd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
ac83d196658d6cf197ddc0324d750e4ad49ca765 17-Feb-2016 Xiaohui Chen <xiaohuic@google.com> Merge "sysui: refactor in notification panel view" into nyc-dev
377e7ad8dc0562c6f445594288e451c377824e4c 16-Feb-2016 Jason Monk <jmonk@google.com> Move detail panel to its own thing

Move pieces of the detail panel from the header and QSPanel to be
in a single container to make the enter/exit be handled better
and code cleaner.

Change-Id: Id1e79b96830ee50051e340fb09ecde537a64e516
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
9528f43e481e6daf07e1b66aa0740982b3b08903 13-Feb-2016 Xiaohui Chen <xiaohuic@google.com> sysui: refactor in notification panel view

Bug: 27100861

Change-Id: If143c4508defeeb54dbed805b998aa6bc3b3709c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
16ac3774e394d50600079697ea867a3c847ebd95 10-Feb-2016 Jason Monk <jmonk@google.com> Fix QS input handling

Remove the observable scroll view and put the qs container in its
place. Also update the NotificationStackScrollerLayout to be aware
of the container and not eat up its touches as scroll events.

Change-Id: I8a56254bf8e76a7cdd63bd637a974c1f3aa49482
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
e1be342615db772ff11d369150349dbd874076f1 09-Feb-2016 Jason Monk <jmonk@google.com> Extract QS animations to QSContainer

Move some of the logic for QS animations into QSContainer with a
stable interface for NotificationPanelView to call.

This also moves the QSPanel out of the scroll container and up
to live in with the header (QSContainer is the parent of both
the header and the QSPanel now).

Change-Id: I618e363ccca2be9197a4a75256e0b7841ca2c61c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
ea4a19f1aa27ba4b9fc4ec0af1d19b4177f801df 04-Feb-2016 Jorim Jaggi <jjaggi@google.com> When long pressing recents and already docked, undock

Bug: 26771328
Change-Id: I1fe12181cd80fd948e4184be6a8790c77bfe9e45
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
f43491f8f25db4e9967a22aa17add94436b12cf5 01-Feb-2016 Xiaohui Chen <xiaohuic@google.com> sysui: small refactor

Bug: 26161831
Change-Id: I020176d49cb12c7f7b56ad6eb1221e678312f798
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
cacc604115f1c05d700e5cd4fef7b0ac2bacb629 22-Jan-2016 Selim Cinek <cinek@google.com> Fixed the divider height to be at least 1px high

Also adapted the children divider to be consistent

Change-Id: I158167f70e9e0bc9e251785078a4b271720919c5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c18010f6720f606003cde3cd376ddacaca30f6e5 20-Jan-2016 Selim Cinek <cinek@google.com> Refactored the interpolators to use only one single instance

Previously many objects parsed their own interpolators leading
to memory and computational overhead.
This is now unified into a single Static class.

Change-Id: I0537aca0e6dad10a7ffd52ba64b7356b0c5e4672
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
587cbf30a7be07b502ab78b21c9f4e24370f8fce 19-Jan-2016 Selim Cinek <cinek@google.com> Remove the scale animation from the lockscreen

With fullbleed notifications don't scale anymore when clicked.

Change-Id: I75fadb5e6ccb7f12ca8fc1cb9459c6d9576f4abd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
33d4614dfe2b9f89f653210b8609fca4f27c7fe9 16-Jan-2016 Selim Cinek <cinek@google.com> Removed notification top padding

Moving more to fullbleed

Change-Id: I28e52963315bbec37819a355dc3f198431e9daee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
ddcd201b39bb5538984b3baa523cc1fc2969b41b 06-Jan-2016 Xiaohui Chen <xiaohuic@google.com> sysui: remove some dead code

Change-Id: I77f16798971e1984fc4be058f626a1730b8c0c89
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3e88137c6fac46454658119645df8214f4dd1609 11-Dec-2015 Selim Cinek <cinek@google.com> Fixed that notification stacks could overlap weirdly

When a child got really big the stacks could weirdly
overlap making parts of a notification unreadable.
This is now fixed.

Bug: 26127189
Change-Id: Icbe9063d8f9ad5ec27934643c8977e375addd07c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
deba7a42ed9fdde9017f2b627fc5f63a31a82c4b 08-Dec-2015 Jason Monk <jmonk@google.com> Make the new QS the new QS

Some UI updates to the header, then make the new QS the default
state for everyone.

Change-Id: I82b6bebb0b21a5c9eb926cb1a761cac340a293df
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
9c952df9d40c7b6bd5a104de0f6251335d900059 02-Oct-2015 Blazej Magnowski <johnasselta@google.com> FalsingManager Quick settings fix

Added a falsing check with FalsingManager in the case when quick
settings are fully expanded without flinging.

Change-Id: I2af07b5732f98bd45471ee33c51273a63b42b87e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
816c8e4735f975f4d8bffa1a5a37be6557424ea3 19-Nov-2015 Selim Cinek <cinek@google.com> Legacy custom views now get properly layed out again

Since the minheight grew, all notifications grew.
Legacy custom notifications need to stay the same
height though.

Change-Id: I469c448014c3d3c31526466d06a60ac44838b274
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5f71bee3a83fa9465f03dcd1108c038f0339e3c5 18-Nov-2015 Selim Cinek <cinek@google.com> Determining the number of keyguard notifications dynamically

Instead of having a fixed number, we are now calculating the number
dynamically based on the available notifications.
This is necessary since notifications might have different sizes now.

Change-Id: I0cbe9b1c5fd731a89c242202846f42bec3fc57eb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c34befb3197d1ef11f15863dc90f5ac675690c84 07-Oct-2015 Jason Monk <jmonk@google.com> Quick prototype of new header

- Has first 4 quick tiles shown in collapsed mode
- Shows date + settings gear in expanded mode
- Still has a few gaps (alarms probably don't work)
- Fix issue with placement of cell data type indicator

Change-Id: I629798b96f4f088fde47c7b67feea304dcc8450c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0e1101d58ffc86f2515b4f9aba8d9d31f921199b 07-Oct-2015 Jason Monk <jmonk@google.com> Extract out interface for StatusBarHeader

This will allow side by side experimentation with new headers without
breaking everything accidentally.

Change-Id: I9eb4d310f8927c997b83e65dad301f4ab08f618a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c8433b60a777863967f46de1bbbc92ff0336b2e1 25-Sep-2015 Blazej Magnowski <johnasselta@google.com> Merge "Integration into other unlock mechanisms"
6dc59b48c040cf6871d7ff6d8e5242b1a5ddd032 23-Sep-2015 Blazej Magnowski <johnasselta@google.com> Integration into other unlock mechanisms

Replaces all the older falsing thresholds unless the
HumanInteractionClassifier is disabled.

Change-Id: Idfc3cb1b6bc0bbdbc792cd75499f0c3b4f1b7142
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
fc832e3ef270d7c271520a99ffa2f84e82f0b855 25-Sep-2015 Jorim Jaggi <jjaggi@google.com> resolved conflicts for c594e935 to master

Change-Id: Ifaf8c6c2b80e5284e027278f5ff0437202439cf0
40aa8811bc817293d7400c14fa60350d2350d29f 23-Sep-2015 Jorim Jaggi <jjaggi@google.com> Deliver camera launch source for analytics

Bug: 24304031
Change-Id: I606bccf4b62b651e17c6e6d9472648deeab703da
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0e2ffbd48bbedf47deb7f6aed96bd07e2fc96f53 10-Sep-2015 Blazej Magnowski <johnasselta@google.com> Add FalsingManager and Classifier to SystemUI

Adds the possibility to analyze and classify touch and sensor events as
human or false touches.

Change-Id: I5079c02406d532fea38ca2d302e8606effae0696
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4608d877d09e6f0a17a0eb1cbb38e82178be3cff 09-Sep-2015 Selim Cinek <cinek@google.com> resolved conflicts for 09fd58fd to master

Change-Id: Icac7e81259d5269afe72eeadd7d761fc8d3af93e
edf47486507f5edad1d1d8e6091b9a82f9e56930 02-Sep-2015 Selim Cinek <cinek@google.com> Removed the secure camera launcher

With Android M, the system correctly handles camera arbitration
and therefore the secure camera launcher was only adding delay.

Bug: 23713450
Change-Id: Icd5e7883f3560bfd0c9b5f7bd93675847949469b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
6a87aed346563980ac29f441125ab0073086f363 01-Sep-2015 Zhentao Sun <robinvane@google.com> am eaed8313: am 0a247995: am aa06c808: am 363c694a: Merge "Don\'t launch the camera if it already in foreground." into mnc-dr-dev

* commit 'eaed83137cd06312f96b2fc5c22de4c1e94e39ca':
Don't launch the camera if it already in foreground.
04f974082e4faca48409c84aa12ed96baf47b4b5 27-Aug-2015 Zhentao Sun <robinvane@google.com> Don't launch the camera if it already in foreground.

b/23431496. This change will not launch the Intent if the target app of
this Intent is already running in the foreground.

Change-Id: Ic8c99cf3312a2ead12dbdb94825181aed934e9f0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
143c93d49f7f9691ad37b8b036731b76f2171241 26-Aug-2015 Selim Cinek <cinek@google.com> resolved conflicts for merge of f1935575 to master

Change-Id: Ic18619bd5a81ae5172eef41bda0f8e473b6bda3f
372d1bdd54fe977c71bdaae895687c76ac35202a 14-Aug-2015 Selim Cinek <cinek@google.com> Launching the camera now from systemUI including animations

The GestureLaunchService now informs systemUI that a launch
has been requested and the systemUI, depending on its state
will launch the Camera in the correct mode, including
animations.

Bug: 22957192
Bug: 22958025
Change-Id: I815437c8bd33638245ac61a750f64af74fe3e1e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c3866bf81f70c91e2af942554eaf9b9c8e5fc078 22-Aug-2015 Blazej Magnowski <johnasselta@google.com> Merge "System to track touch and sensor events before unlocking the phone"
7232332dc963c2ce55dda1a3a0367080d5494503 24-Jul-2015 Blazej Magnowski <johnasselta@google.com> System to track touch and sensor events before unlocking the phone

Added a new component which tracks touch and sensor events and
also events like showing the bouncer tapping a notification and
others. The collection is enabled when the screen is turned on and
is disabled after the phone is unlocked. The data is saved in a
protobuf file in internal storage in a directory called
"good_touches". There is also an option to collect events which
end with the screen turning off. These are saved in the
"bad_touches" file. Everything is hidden behind the
ENABLE_ANALYTICS flag which is set by default to false and can be
turned on only if Build.IS_DEBUGGABLE is true. Also
behind the ENFORCE_BOUNCER flag the class shows the bouncer before
expanding a notification, showing quick settings or launching an
affordance from one of the bottom corners.

Change-Id: Iaeae0fb7a0d9c707daf7a270201fa5b1cd84c74a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0eb6586beff3974361257e22ca421ba5fb25b19b 20-Aug-2015 Jorim Jaggi <jjaggi@google.com> am a0d57270: am e46b5b48: am a2737bee: am 1fa7384a: Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev

* commit 'a0d5727078bdb47f19613b9c73e5d973281609f5':
Fix jank in wake-and-unlock while pulsing
Don't call authenticate immediately after getting valid fingerprint
909788500bbe54b14017be3c1f2b4fee7945c63d 19-Aug-2015 Jorim Jaggi <jjaggi@google.com> Fix jank in wake-and-unlock while pulsing

- Don't hide keyguard after the animation is done, because this
would cause a measure in the middle of the fade animation.
- Don't use a layer for the notification panel in this case - we
don't need it and it only adds latency.
- Speed up the whole thing a bit because the animation is now
smoother.

Bug: 23225107
Change-Id: Ie8264c4d0e62bd6a78227e04b9900b4348ddd649
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
23999bffafb1de67dc03141b0214aa5f2919ebc8 14-Aug-2015 Jorim Jaggi <jjaggi@google.com> am 05b9dc9f: am c74a43bb: am 4fb3e9b3: am 50ff3afb: Start pulse fading exactly when screen is turned on

* commit '05b9dc9fb5ed4b41a5eb44335dd8307171e771ba':
Start pulse fading exactly when screen is turned on
50ff3afb01f2ac4a93dba418a71d54ad8adeba9d 13-Aug-2015 Jorim Jaggi <jjaggi@google.com> Start pulse fading exactly when screen is turned on

Bug: 23163299
Change-Id: I0f6d5dbfa02e455292e06a4f8f69ab68e9da2b6b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a393249c3d3d7efad844affade9287202d81e841 14-Aug-2015 Jorim Jaggi <jjaggi@google.com> am a5d38f87: am bafc9eeb: am 7453a0aa: am 587488e0: am 81eeef58: Merge "Update time when turning on screen, in addition to waking up" into mnc-dev

* commit 'a5d38f8782a4fdfeed3c762d775ab470639c056e':
Update time when turning on screen, in addition to waking up
9373911d41c133fce80b8ecf6e688204f2c667e7 14-Aug-2015 Jorim Jaggi <jjaggi@google.com> Update time when turning on screen, in addition to waking up

When in ambient display mode, we didn't get a callback to
onStartedWakingUp, thus the time was never refreshed. Since
broadcasts are disabled in this low-power state, we need to refresh
the clock manually before turning on the screen, because we can't
rely on the broadcasts to be delivered.

Bug: 23171638
Change-Id: I249f4195a14995f7c1467e73ac2aa400b871f80e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
39a742f5eeba4972f82233a415ac9da0bcee9f8e 31-Jul-2015 Selim Cinek <cinek@google.com> am 617a2d7c: am 6cb78ad5: am 73168821: am 5b5d9129: am b9f30b26: Merge "The heads up now correctly dissapears when clicking" into mnc-dev

* commit '617a2d7ca7045b7acfb16541ea22a808b5d147c9':
The heads up now correctly dissapears when clicking
0fccc729fd3b19a62efd90ae13b207faa3d1e8bb 30-Jul-2015 Selim Cinek <cinek@google.com> The heads up now correctly dissapears when clicking

Bug: 22729955
Change-Id: I977b36823bf936baab527f932b1e5576241f4d71
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
28441dceba0cc18878780a8e54e07c6d8a6fd3e1 30-Jul-2015 Jorim Jaggi <jjaggi@google.com> am 25e8a02e: am 8e116bef: am cd6e8015: am 8e43c3e7: am 26aa04c3: Fix state weirdness in the panel

* commit '25e8a02e7005c080decd7b6119e03d8ab7f58c4f':
Fix state weirdness in the panel
26aa04c3c4d16ab7bf47d414fac697721e5843cd 29-Jul-2015 Jorim Jaggi <jjaggi@google.com> Fix state weirdness in the panel

When QS was open while the we started with expansion, we
immediately notified about expansion finsihed again, which led to all
kinds of weird states. The change that introduced these bugs was to
fix another bug in which onExpandingFinished was not call. Make sure
to call in exactly that case and no other case to not risk
regressions.

Bug: 22806817
Bug: 22807359
Bug: 22807372
Change-Id: Id7daf37ef4a772f724971bf79c61084ff4279f31
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
16478a8d5cc48ce0c2a18e38ce553e404a6cc153 27-Jul-2015 Jorim Jaggi <jjaggi@google.com> am 7eec4216: am 04f61ee8: am f040100c: am 6a601960: am 9e49b5d6: Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-dev

* commit '7eec421639a6d71f1f5cf1ee066766731d94955b':
Move PIN/Pattern appear animation to RenderThread (1/2)
9e49b5d679672ea4a64382f9a36663c73603961b 27-Jul-2015 Jorim Jaggi <jjaggi@google.com> Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-dev
b91f0febca7653766a20340e12d7395e05208f5d 24-Jul-2015 Jorim Jaggi <jjaggi@google.com> am 48692f6e: am dd0b42d4: am c7dea8b3: am 9c956384: am 1d071ce9: Make sure expandingFinished gets called when going into QS

* commit '48692f6e196ea0f39335509f84e43f3f414247d4':
Make sure expandingFinished gets called when going into QS
1d071ce9b1810fbcf231fd17c4cb5621e68ff419 22-Jul-2015 Jorim Jaggi <jjaggi@google.com> Make sure expandingFinished gets called when going into QS

Bug: 22351040
Bug: 22306637
Change-Id: I8d1f9fb400b328753bd8444bf3b4a744ad23a53a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
613f55fbbb23249d7c65e3f1fe8c943c4459b41a 17-Jul-2015 Jorim Jaggi <jjaggi@google.com> Move PIN/Pattern appear animation to RenderThread (1/2)

Bug: 22205322
Change-Id: I253f20a397ab89cb78254338a0254619232d7300
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
554a3eaeea96facaf0d5966e2b0d1a70eb24996f 17-Jul-2015 Mady Mellor <madym@google.com> am 5c58890c: am faeaa0ce: am b44cc17d: am 9629f637: am 9c98b859: Merge "Update stylus gesture to access quick settings to use the new buttons" into mnc-dev

* commit '5c58890cea4449c9460f15984d37e6d0ff0adfc4':
Update stylus gesture to access quick settings to use the new buttons
9c98b859fd6aee74f23b66fccbd3bf2436efcdb9 17-Jul-2015 Mady Mellor <madym@google.com> Merge "Update stylus gesture to access quick settings to use the new buttons" into mnc-dev
8d3fea15b80ac4fab7abe7a7a07c6368166de5e1 10-Jul-2015 Oren Blasberg <orenb@google.com> Smoothly animate notification pane if opened via keyboard.

Animation would be slow and then 'jump' to the finished state if opened
with Meta-n. This was caused by the panel view calculating the height of
the notification shade based on a pre-expansion value.

The fix uses instantExpand instead of expand (which we no longer need);
the former sets up proper state such that the height of the window is
properly determined prior to the fling height being determined. We just
add an animate option to instantExpand so we can reliably animate open
from a closed starting state.

Bug: 22359801

Change-Id: I8a3a96041a65299ca985010d43bd4aa12827c8fa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
9fa3c56486dd9ea9a5622bd636de6f0f18b56f32 03-Jul-2015 Chris Wren <cwren@android.com> am 0002b3ba: am f1cc651b: am c58d1695: Merge changes from topic \'tron\' into mnc-dev

* commit '0002b3bab2e96c3c54b286cbea6bada14c6a91ae':
remove double count of panel open
report notification load on panel reveal
c58d1695307923c8074f5803a0e01cda1869d231 01-Jul-2015 Chris Wren <cwren@android.com> Merge changes from topic 'tron' into mnc-dev

* changes:
remove double count of panel open
report notification load on panel reveal
0d093ecbb00004847e4ca1ee759554e39c362d8e 01-Jul-2015 Jorim Jaggi <jjaggi@google.com> am c1f08a3c: am c10585c4: am e4b840d6: Fix overexpand panel motion

* commit 'c1f08a3c8499565972f012ced12a74b6a16a73c7':
Fix overexpand panel motion
32238a60faf44f9625c8e5c1f8b178b6a0a9ef0f 01-Jul-2015 Jorim Jaggi <jjaggi@google.com> am f915990f: am f794711f: am e4f1a202: Fix Keyguard header animation from SHADE_LOCKED -> Keyguard

* commit 'f915990f1e2d2817aba51d3c1182b2e948a522ff':
Fix Keyguard header animation from SHADE_LOCKED -> Keyguard
e4b840d63d8334dc1af113a890c2e9d067bb9139 01-Jul-2015 Jorim Jaggi <jjaggi@google.com> Fix overexpand panel motion

Expanding was already set to false when we decided which QS
overscroll animation to run. We can't change the order of expanding
finished/tracking finished because of another bug. Instead, let the
stack scroller know about tracking state and combine both of them.

Bug: 21705230
Change-Id: I041ff1fabc6c939c233528f9d08d804ead64bbab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
e4f1a202d8cc817eca3c4dbf4f448ba11f596f42 30-Jun-2015 Jorim Jaggi <jjaggi@google.com> Fix Keyguard header animation from SHADE_LOCKED -> Keyguard

Bug: 22128249
Change-Id: I36dbecc41e66922987c1b753d62bde27cb3b17be
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
afa6185a8134c329ddb459c6b1302f6696a621fd 30-Jun-2015 Chris Wren <cwren@android.com> remove double count of panel open

Bug: 22199112
Change-Id: I6f7d6851a7091513ce84a3950eb5bdcc1a333f43
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b7f368ad1fcf554b734df964644c20f491a08578 24-Jun-2015 Chris Wren <cwren@android.com> am 4114a8ee: am f249c3ee: am ccba036d: Merge "don\'t clear notification effects in response to peeks" into mnc-dev

* commit '4114a8ee01e1a0495c02db7d703572cdb19b27d5':
don't clear notification effects in response to peeks
1689594851a6dd985cff69913e7f4bc548062808 23-Jun-2015 Chris Wren <cwren@android.com> don't clear notification effects in response to peeks

When the heads up appears it generates a visibility event for the panel.
This always clears the notification effects (buzz, beep, blink).
If we suppress that for heads up notifications, we never get another chance.
So we add a new call when we open the shade from the heads up to catch this case.

Bug: 20947591
Change-Id: I233e5346617ca2fce7851bd85154c838849df8f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
002d5406bbdfabf6fe85837793582491d595df1b 18-Jun-2015 Selim Cinek <cinek@google.com> am 4089f144: am cdfe2ef6: am d6efd00a: Merge "Canceling expand animations as well when starting QS expansion" into mnc-dev

* commit '4089f14478a0c796b57eabeba9268347915b8823':
Canceling expand animations as well when starting QS expansion
831941fdd9a800e2838ef60193134763867a333e 18-Jun-2015 Selim Cinek <cinek@google.com> Canceling expand animations as well when starting QS expansion

Bug: 21764741
Change-Id: I065a03e7d594459d8c271d3bd7eb104ac2065b01
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
95a7f58e776d13eafc1ed79d9213443c7ed4c0fa 17-Jun-2015 Selim Cinek <cinek@google.com> am 97905f56: am e45c8a3a: am 6857ffc9: Merge "Fixed a jump with the panel scrim" into mnc-dev

* commit '97905f56082c8e247ced4565d18739241178c294':
Fixed a jump with the panel scrim
6857ffc940bc204269de4ae2a1937794f254286a 17-Jun-2015 Selim Cinek <cinek@google.com> Merge "Fixed a jump with the panel scrim" into mnc-dev
3d395c69fa67732ceb2c045d03ea81efa3710afa 17-Jun-2015 Selim Cinek <cinek@google.com> Fixed a jump with the panel scrim

Bug: 21764980
Change-Id: Ib09aa025143025178a9e21390f3a06b37a067e3e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
e7f6bd0964b706e21ca327aa9465829d8078f557 16-Jun-2015 Selim Cinek <cinek@google.com> am 6bd2eb9b: am b4d9e24f: am 89285039: Merge "Fixed a bug where the statusbar was still visible while dozing" into mnc-dev

* commit '6bd2eb9b117eeef9d6cbee9bf196aedd72eb9692':
Fixed a bug where the statusbar was still visible while dozing
892850396c21db891df784c0e1bb78115feee908 16-Jun-2015 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the statusbar was still visible while dozing" into mnc-dev
8f2d767f4ef7ac610264b24a34df6bf5c2c4fa05 16-Jun-2015 Selim Cinek <cinek@google.com> Fixed a bug where the statusbar was still visible while dozing

Bug: 18903923
Change-Id: I9c0c85e40ff7e7be2e9c4122fe5786de3649426c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
cb5226ad9066f2dd0f8454922d766bde87b467bc 16-Jun-2015 Adrian Roos <roosa@google.com> am e99695ee: am 5f6e00d8: am 2bfe9651: Merge "Fix unnecessairy announcements when collapsing shade" into mnc-dev

* commit 'e99695eeff75d4101869f318dfd0462b93fa8d3a':
Fix unnecessairy announcements when collapsing shade
54d031bf032b93a6a27968d601d04eca41598c95 16-Jun-2015 Adrian Roos <roosa@google.com> Fix unnecessairy announcements when collapsing shade

Bug: 20171694
Change-Id: Iec73098e2f778dac4a920a717385139952017330
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a507979f6d75e74ac653cfcbd52e5d5f3b7335b6 11-Jun-2015 Selim Cinek <cinek@google.com> am bf8f4b8c: am 1baf17d5: am 059271ec: Merge "Reseting scrollposition to 0 when going to keyguard" into mnc-dev

* commit 'bf8f4b8c6091a8b035d41fb34bedcdfc3c12ec7a':
Reseting scrollposition to 0 when going to keyguard
18dc187294621fa6c472f5df121b57451efd4bd2 11-Jun-2015 Adrian Roos <roosa@google.com> am f2f35e9e: am 8cfe17db: am 377ab9f2: Merge "Hide keyguard status bar view when alpha is zero" into mnc-dev

* commit 'f2f35e9e4e006072031eb3ba6fb7d3783206822f':
Hide keyguard status bar view when alpha is zero
5227c640e24963e899c0e264b9c81b813bb466e4 11-Jun-2015 Adrian Roos <roosa@google.com> am 904ec11e: am 0a6ebfe3: am 76430b42: Merge changes from topic \'sup-a11y\' into mnc-dev

* commit '904ec11ef00b8e0d670a2c7216a76c66e11ce59a':
Make keyguard indication an a11y live view
Hide keyguard status view from a11y when QS expanded
Hide keyguard bottom area from a11y when alpha is zero
Remove unusable a11y focusable area from pattern unlock
Hide StatusBarWindowView from a11y when bouncer is up
059271ec2945e146b88dfb1e5c4a1e564d757ddf 11-Jun-2015 Selim Cinek <cinek@google.com> Merge "Reseting scrollposition to 0 when going to keyguard" into mnc-dev
454e3f1b6384114eb1710fced86e545754d8695d 11-Jun-2015 Adrian Roos <roosa@google.com> Hide keyguard status bar view when alpha is zero

Bug: 21614747
Change-Id: Ie61f284ef791fa6dbadfea9ba1df595de1e2cba2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b24e0a90fde332b102c9787f590a94900467340c 10-Jun-2015 Selim Cinek <cinek@google.com> Reseting scrollposition to 0 when going to keyguard

This avoids some jank when going to the keyguard from
the locked shade.

Change-Id: I21dcd8a7cbb2aa98659061d29670b2663f1e7fc9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
14410b0aed464d0f3922436dd2be116871dc3029 10-Jun-2015 Adrian Roos <roosa@google.com> Hide keyguard bottom area from a11y when alpha is zero

Bug: 20535583
Bug: 20343910
Change-Id: I1557e3b1acd8cab028673bbcb7cd54b068c4b48a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
f05bbf49fb42bfa002d8fcec4afb4da9767a59cc 09-Jun-2015 Jorim Jaggi <jjaggi@google.com> am 3a19067e: am b02f8500: am 46ac19f3: Use better interpolator when clicking on QS header

* commit '3a19067efd50cdaf0d9f76f38b392f82bb9fc49c':
Use better interpolator when clicking on QS header
d3dadc9e8eb80961e52b052c7916cd71881ea856 09-Jun-2015 Jorim Jaggi <jjaggi@google.com> am 951b18f4: am 085c8dd9: am 7b5e6c88: Merge "Only doze when not occluded" into mnc-dev

* commit '951b18f437596c8ceae9987be5c863c385fcc524':
Only doze when not occluded
46ac19f32c4a37eb9cf6777b041fb2fa40ba33e3 06-Jun-2015 Jorim Jaggi <jjaggi@google.com> Use better interpolator when clicking on QS header

This interpolator feels nicer when the reason why it animates comes
from a touch.

Change-Id: Ie13466c092e9546f8a8c5fdca589b35f78cde88c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
839697006511afa61ecd07747523180b513b9b70 05-Jun-2015 Jorim Jaggi <jjaggi@google.com> Only doze when not occluded

This fixes a bug where an activity could have been started on top of
the lockscreen while dozing already. In that case, we would execute a
pulse and reveal the fully colored activity that is occluding the
Keyguard

Bug: 19465785
Change-Id: I9533390e13f11424a20a107005d60050a460e333
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
188b3b628a2f45da05d157330e838cbf5496b0db 08-Jun-2015 Jorim Jaggi <jjaggi@google.com> am 35049981: am e7f4d006: am 0e0942d5: Hide top and bottom bar while dozing

* commit '35049981f069e86d277b8c9773d50a2320ec6749':
Hide top and bottom bar while dozing
0e0942d55d62e820ecdc2c7ec25b02fca169fa79 05-Jun-2015 Jorim Jaggi <jjaggi@google.com> Hide top and bottom bar while dozing

Bug: 18903923
Change-Id: I7b222f9dd168101084f3ee4cbbe6f9495818eab4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
11a8d67fbbaae0c55e1b3269d89d03cac0f3729d 04-Jun-2015 Selim Cinek <cinek@google.com> am 5b910fb9: am 7abc6452: am cb9400aa: Enabled expansion and dragging down when QS is expanded

* commit '5b910fb900a891bce9b0ab1079bf3e95de7c51ac':
Enabled expansion and dragging down when QS is expanded
a67422785ca4d04a347a4de55034942bea92a8dd 04-Jun-2015 Selim Cinek <cinek@google.com> am b3122be8: am 6172f3cc: am bbc580b0: Fixed layer trashing when opening / closing the shade

* commit 'b3122be8c802da060f652feac014aa08260335e5':
Fixed layer trashing when opening / closing the shade
0e6483c6649e552f61df822781ecab42bca56b88 04-Jun-2015 Selim Cinek <cinek@google.com> am 863ca80e: am dd574b3f: am 04fb2587: Fixed the touch handling when QS was open

* commit '863ca80ec9cb67c33c788d126405b58aa1558006':
Fixed the touch handling when QS was open
cb9400aa23b81f12d8af198187fc799d6bcf164a 03-Jun-2015 Selim Cinek <cinek@google.com> Enabled expansion and dragging down when QS is expanded

Previously going to the full shade and expanding notifications
where disabled when QS was expanded even though there was enough
space to allow it. This is now allowed again in order to have
a consistent experience.

Bug: 19712809
Change-Id: Ie756d9c3fbf9dc2e60a05d02f0f4cc5dd6c7ebe0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
bbc580b0bf557aee265b3126cdfc78e7b5834ad5 03-Jun-2015 Selim Cinek <cinek@google.com> Fixed layer trashing when opening / closing the shade

Bug: 21445574
Change-Id: I67ed5f28581a366a4fa7fdc6355371c1fdd0dac3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
04fb25871d77ecdffaa03989d8b85c26715fff84 02-Jun-2015 Selim Cinek <cinek@google.com> Fixed the touch handling when QS was open

When QS was open, the panel could not always be correctly
scrolled.

Bug: 21525300
Change-Id: If18878d08d20254d9d822d80a295163703d897aa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4bb01f1b1118a6da93b5d62a53d5ac98ae94c1f4 03-Jun-2015 Jorim Jaggi <jjaggi@google.com> am ecfeefb4: am f7f90276: am 7d01d2c6: Merge "Fix API review: Camera prewarm" into mnc-dev

* commit 'ecfeefb483a7a7ab33aae22ae85ccbdaa3a68522':
Fix API review: Camera prewarm
lock device orientation during app compatibility test
Fix reconfigure & setPremult alpha handling
Unflip TextureView getBitmap readback
Handle error states when refreshing accessibility node
d944986fbdb3d45fab9ae4120af76ca4f6b0909c 29-May-2015 Jorim Jaggi <jjaggi@google.com> Fix API review: Camera prewarm

Let the intent receiver of a camea launch intent declare a prewarm
service instead of sending broadcasts.

Bug: 21347653
Change-Id: I11e31aad4f788ad90eb46a661b819d3e808ddb51
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
25d85b06afbe7074f8c4e82d6aabe1cf915e4274 30-May-2015 Jorim Jaggi <jjaggi@google.com> Merge "Don't open QS on first notification pull down"
3a4bc79d5a266a167fb42db5124d5bf9128f372b 27-May-2015 Mady Mellor <madym@google.com> Update stylus gesture to access quick settings to use the new buttons

In M+ BUTTON_STYLUS_PRIMARY/SECONDARY should be used to recognize stylus
button events, this CL updates the usage to open quick settings.

It also enables similar mouse button + drag events to open QS.

Bug: 21148238
Change-Id: I8a47eb9c3d5e2016e039ec52d881b36f3a4480fa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
79d79c455beecf7a70460575ab21d9bf49767e2c 22-May-2015 Selim Cinek <cinek@google.com> The heads up now have a margin on top and don't stick to the edge

Bug: 21337754
Change-Id: I199bc0732df62eadc2458db12a7c1059da988020
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4a21a7fab6c0cca2c668650969e9af50c9c5068e 19-May-2015 Selim Cinek <cinek@google.com> Fixed Focusability issues with heads up

The panel was focusable when a heads up came in which
lead to several bugs. Sometimes the user was not able to
type anymore and focus listeners fired.

Bug: 21153703
Bug: 20892889
Change-Id: Iab86e651ef827767225ca092bb2c1e3fe1ddf385
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
15445a652bfca60d67fc95df8c80f529f8e42979 11-May-2015 Mady Mellor <madym@google.com> Merge "Provide a way for a stylus to access the quick settings menu" into mnc-dev
9260cb7ffe0845d229a8cfe948b4ba30fe32127b 06-May-2015 Chris Wren <cwren@android.com> Merge "count panel open method" into mnc-dev
49f06f5f0d514d32da184f82fc08f58ade81df99 01-May-2015 Chris Wren <cwren@android.com> count panel open method

open panel
open with two fingers
open via peek
pull down to open QS
tap to open QS

Bug: 20262922
Change-Id: I7eaa8a6de75867035c64a3ac939cec86daaab913
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
e70d6535237d2e6f03adcd0bdc11e45ea714dc97 25-Apr-2015 Selim Cinek <cinek@google.com> The voice assist may now be launched above the lockscreen

A possibility was introduced to launch voice assist over
the lockscreen using the left keyguard affordance.

Change-Id: Ic4618d24256b65441a50d77d0ef59b0ec99b6ead
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
aaf32f69d69a966700acea5fdaa7dce95637cef5 02-May-2015 Mady Mellor <madym@google.com> Provide a way for a stylus to access the quick settings menu

You can access quick settings with a 2 finger drag, this change allows a
stylus to access quick settings using press either stylus button + drag.

Bug: 19916487
Change-Id: I3887f12980fc1be3d5a966ad8cc67abe93545a2a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b351db7239ee1c0cb9561f92efc19d4e95eba367 30-Apr-2015 John Spurlock <jspurlock@google.com> Merge "Volume: dismiss volume UI to avoid HUNs." into mnc-dev
b349af573121cc659d775696066a13ed7101c308 29-Apr-2015 John Spurlock <jspurlock@google.com> Volume: dismiss volume UI to avoid HUNs.

Also include headsUp in the name of the pinned callback
method.

Internal version of AOSP proposal:
https://android-review.googlesource.com/147502

Change-Id: I8fe14bd7d65b2d3564cb1e2869d7ffbbac89e80d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
19be9d31c834f7703a4584eba84bbf4d22027a93 29-Apr-2015 Xiyuan Xia <xiyuan@google.com> Merge "Update bottom area alpha when stack height changes" into mnc-dev
b3a6f1e96d0df9df312b23da50059f464ef7c4c8 29-Apr-2015 Xiyuan Xia <xiyuan@google.com> Update bottom area alpha when stack height changes

Bottom area alpha depends on stack scroller's notification top Y
which depends on stack translation which changes when stack height
changes. Thus the bottom area alpha needs to be updated when stack
height changes.

Bug: 20457060
Change-Id: Ibcc95c830a83737732aa15147cd82d21f2ee9161
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
684a442b812a5e95d813700ffa2fd17ca72048a7 16-Apr-2015 Selim Cinek <cinek@google.com> Follow up CL for heads up notification refactoring

Change-Id: Iaf286dfd30a86d3d7d6dd947d3c10ac9eb8c2b1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
9db71054b83a650f3478c9335634b611ddaf53bf 25-Apr-2015 Selim Cinek <cinek@google.com> Improve the falsing logic for unlock motion

Bug: 20563134
Change-Id: I628829915ad2cc7f1df5d0c971def44f6eacdae4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a47f4d7c4d0cdd85558d422adc4e2aedcd3aeeb1 23-Apr-2015 Jorim Jaggi <jjaggi@google.com> Merge "Position panel dynamically when expanding"
6d4a27fb7fbe6c9d26ca583780fc3fcc34e0c6bd 21-Apr-2015 Jorim Jaggi <jjaggi@google.com> Position panel dynamically when expanding

Bug: 17125022
Change-Id: Ia39aa40c27958a6ba4eb183522d22bfad958fe5e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
6746c28b812446e847fbfec0f54025558584e70a 22-Apr-2015 Selim Cinek <cinek@google.com> Improved the usablility of the lockscreen affordances

Bug: 19563694
Change-Id: I47c24eae432ae168f6a3eaaed57fbcc59a411f8a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
f3b3bee12994a24b60bd447dede9e8791151fcc9 16-Apr-2015 Jorim Jaggi <jjaggi@google.com> Speedup unlock when authenticating with fingerprint

Change-Id: Ib76ff7a2a42cf6fc77848ef799c2a13b77cfebb2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d8535869933dfc0e5f0478e3e8f05aed5094a3a5 15-Apr-2015 Selim Cinek <cinek@google.com> Finishing up heads up changes

Fixed a bug where the QS could be expanded when collapsed.
More refactorings, removed todos

Change-Id: I6dea262456c529d7f4a8a4a6a4fdc0e46597bafe
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
aac932591d7aa05bae61d2b47ed7647f35da0001 15-Apr-2015 Selim Cinek <cinek@google.com> Added the heads up scrim back

Also fixed a bug where the notification panel would
keep a hardware layer.
Also improved the interal structure of the HeadsUpManager

Change-Id: I635e4a89b0a32573c26515cc3e65e142d77593ec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1f3f544f21cab3728f749ab66cd6859e9dfcf389 11-Apr-2015 Selim Cinek <cinek@google.com> Fixed more heads up bugs

Change-Id: Ibfb6656deb3bc588fc9292a672a5e4d4d1de4d23
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d2281151ee18f5fd530bc062c59b3f77082317bf 10-Apr-2015 Selim Cinek <cinek@google.com> More Heads Up bug fixes

Heads-up now has the correct height while expanding
and collapsing the shade.
Fading out while collapsing the shade was restored.
Fixed a bug where translation was not correctly replaced
with paddingOffset.

Change-Id: I9f1b28856b3ca52543460e7ddde84a1a7eb79cf2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a59ecc3401de0c4bf1e13665158f54669f22d06c 07-Apr-2015 Selim Cinek <cinek@google.com> Handling a few more border cases with HUNs

Also does sorting correctly now.
The status bar now allows touches below when a
heads-up is on.
Also fixes a few flashes when a heads up was
dismissed or appeared.

Change-Id: I4d90a07333ad2e5ea2a13704cdc9d9184716681a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b8f09cf5533d458868a335ce334e4880b2b0788d 17-Mar-2015 Selim Cinek <cinek@google.com> Integrate Heads-up notifications into the shade

Change-Id: I4ca0fb4e76e7c974490538c168da0564fe97e0ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
27c9b7435083c5620bddefa0cce6a056863b4801 09-Apr-2015 Jorim Jaggi <jjaggi@google.com> Keyguard FP UX update

- Add scanning and error states to UI.
- Do not delay dismissing the panel when authenticating via
fingerprint.

Change-Id: I82e71c554c56e53ddf0677dca3e6909f7cedd59d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a86790bf23a98ede5fc0c29b996a5229e08181cd 03-Apr-2015 Jorim Jaggi <jjaggi@google.com> Add Camera prewarm intent.

Also adds a test app for testing this intent. In addition, the secure
camera gets launched in the background to fix jank while sending the
intent.

Bug: 20016619
Change-Id: I7bb7e22ddaf5dc67fc09b9e63e5f3d10fe8e3ee4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b5605e58cb8080c8c887b1885336b707596c8094 20-Feb-2015 Selim Cinek <cinek@google.com> Enable surfacing of notification children

Yo Dawg, I herd you like notifications, so I put a
notification in your notification so you can be
interrupted while you are being interrupted.

Bug: 15869874
Bug: 15188947
Change-Id: I6c733d6f8e8a04f85036182f82d3e945c6feb5bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
bd28a85bdb37cd4ee3a59202dda6722fd341ca94 10-Feb-2015 Jason Monk <jmonk@google.com> Don't open QS on first notification pull down

QS height sometimes gets set before mQsMaxHeight is populated,
so a QS height of 0 gets interpreted as open. Add a check to
handle this case.

Bug: 19051528
Change-Id: Ic01bcc356993ab70b3abf4a0e4d12c940c05294e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4c99d0da472cedaafb9087dd16382400169eb04c 02-Feb-2015 Jorim Jaggi <jjaggi@google.com> Merge "Show status bar header in SHADE_LOCKED"
84183103f4a9222ddbe22c7289f9627c74892d53 30-Jan-2015 Jason Monk <jmonk@google.com> Fix expandSettingsPanel status bar call automerge: 3c68ca2 automerge: f388249
automerge: 734219d

* commit '734219d9c22cbab2549d1d43d077e9e8e089730c':
Fix expandSettingsPanel status bar call
3c68ca2feab6d3cd09c297ddc2e77af67694feec 30-Jan-2015 Jason Monk <jmonk@google.com> Fix expandSettingsPanel status bar call

Use the same mechanism as the two finger gesture to get it to open
correctly.

Bug: 19196800
Change-Id: I952e14d3ccd796889ed54cb98c017542a25f28c9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1cf6e101263e17c9469c12b4befe36280c109de0 20-Jan-2015 Jorim Jaggi <jjaggi@google.com> Show status bar header in SHADE_LOCKED

Makes SHADE_LOCKED more consistent with SHADE in order to avoid
confusion about this special state. Add animations between these
states for smooth transitions.

Bug: 17446409
Change-Id: I410f0ac255abd0f453b77f42c948e814c5dfd838
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
61e13698a85f89f441c833648ddf81b961ef9628 15-Jan-2015 Christoph Studer <chstuder@google.com> am 4d5e761a: am a80da9d0: am b018399a: SysUI: Log lockscreen gestures

* commit '4d5e761a34c73a700757ade349e9a05b3335f617':
SysUI: Log lockscreen gestures
b018399a3a2762e95126acbe14397eca15bad772 22-Dec-2014 Christoph Studer <chstuder@google.com> SysUI: Log lockscreen gestures

Log the following lockscreen gestures:
* Swipe up to unlock
* Swipe down to enter full shade
* Tap in empty area (causing unlock hint)
* Swipe to camera
* Swipe to dialer
* Tap on lock to lock device
* Tap on notification, activating it

For swipe gestures, includes length and velocity where available.

Bug: 18767135
Change-Id: Ib2c535e3a9d2b378f5a2a0a00c2be3fd916554ac
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a54956a0bc611b1e9b3914edc7a604b59688f6b7 08-Jan-2015 Alan Viverette <alanv@google.com> Fix accessibility delegation

Ensures that delegate code is run last. Previously, calling the super
method from an accessibility delegate set on a widget would only run
code in the widget's parent. Next, the delegate code would run. Finally,
the widget's code would run. As a result, the widget code would override
any data supplied by the delegate.

By moving all overridden code to internal methods, we ensure that the
call chain for super includes the widget's parent code followed by the
widget's code. The delegate code will always run last.

BUG: 17641433
Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8bc983efc439c321c8f548d384d807c31daf9180 10-Dec-2014 Jorim Jaggi <jjaggi@google.com> Improve transition when going to Wifi/BT detail panel

Animate the height change of the lower QS panel when going into
Wifi/BT or any other panel which is higher than the default size.

Bug: 18665311
Change-Id: Ic1d1f19183cf6b502d6b623388b315ed6e0a3c9f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
826730aeb98040cd01c9b5f0656c8b9036bc07de 08-Dec-2014 Jorim Jaggi <jjaggi@google.com> Fix SysUI when an app started from the affordances crashes

- Fix infinite recursion in this case.
- If the app crashes, we are waiting for either setOccluded or
hideKeyguard to be called. However, neither of these gets called
in this case, so we recover from it by adding a timeout of 5
seconds.

Bug: 18652789
Change-Id: Ib9a043f5692a8578703df1db08e1a6b9dcfbc742
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
58bef33499ee317a95a25bf520dddabc68ccee9a 21-Nov-2014 Jorim Jaggi <jjaggi@google.com> Fix quick settings on Keyguard

- Fix that quick settings couldn't be scrolled nor closed on Keyguard
if scrolling was needed.
- Fix jumping in unlock motion when closing both panel and QS
- Fix invalid panel height when closing both QS and panel

Bug: 18481668
Change-Id: Ifd12e29bbc64f72f0dc13b43e36b1a57df7524fa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
048af1f727dc81a6450e004391d072599ac449ee 11-Nov-2014 Jorim Jaggi <jjaggi@google.com> Fix doze jank by removing a fullscreen layer of overdraw

Move all doze related stuff into DozeScrimController, and combine
both alpha values from the regular ScrimController and
DozeScrimController before applying it to a view. Move the black
background from NotificationPanelView to DozeScrimController, which
saves a fullscreen layer of overdraw during the transition.

Bug: 18238168
Change-Id: Ifb133bf4a0f8255f5c2f5e205509af339cac8c8f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
aea80f40d8dc55b7de5b3d0efe78f63eeb7c2745 10-Nov-2014 Jorim Jaggi <jjaggi@google.com> Cancel lockscreen/shade gestures when orientation changes

Bug: 18293929
Change-Id: Ifbf91c42fa9e68aa688ca4c390fcc24a358212a9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0a8182227249df6d8a76e19886f762b80a046e76 10-Nov-2014 Jorim Jaggi <jjaggi@google.com> Fix Keyguard affordances for RTL

Bug: 17328362
Change-Id: Ic7d7a5a0d721390064493cf753348b89b7bac7e1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
6fd88022c286730b6f17917dff2d9dd2d74bbfee 04-Nov-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix jump in two-finger expand motion with no notifications" into lmp-mr1-dev
0cce70c9faf64171c466ec8441b0ca026f6a2703 04-Nov-2014 Jorim Jaggi <jjaggi@google.com> Fix jump in two-finger expand motion with no notifications

Bug: 18185048
Change-Id: Ib54789e45b7b68a5fc9d6056cb53de23b2be3260
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0bc4917c1904b9b20071f4474052a109fbb5b782 03-Nov-2014 Jorim Jaggi <jjaggi@google.com> Always update quick settings header translation in onLayout

Bug: 16887664
Change-Id: Ida110877d63c74d38d80a627621320cda26c97a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
06a0c3a4459de084ecf8f1a8920edf36c41ac164 29-Oct-2014 Jorim Jaggi <jjaggi@google.com> Implement nice transition for unlocking while QS is open

Also allow to swipe from the very bottom on Keyguard to close both
QS and notifications, to have the same behavior like in the normal
shade.

Bug: 18167287
Change-Id: I2150ac5834efe1061ca8c8d32815a481c0796c97
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
ab1dc954b2b97b59f868c96921f2daabc3336034 30-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug that the panel was not closable in the locked shade

This happened when draging on the active lock icon.

Bug: 18185875
Change-Id: I27917fad000bc89f37b82fc8be978d867356904e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3a9c10a2861404f1be9f06a3a54ae18803c81d1d 28-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug when tapping in the empty space of the notification panel

This happens often when tapping in the dismissView area.
Also fixed a bug where the decor views and the speedbump where swipable.

Bug: 18031244
Change-Id: I2c9685e068420c21032affb3aa58f7d53183ff52
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
16423aa0c6d1f5a8e9abd294d876933d44361fbc 28-Oct-2014 Jorim Jaggi <jjaggi@google.com> Improve doze transitions

This change animates the status bar and the bottom area when exiting
doze mode from touch. We also prevent all animations when exiting
from other means, i.e. usually when the power button is pressed, so
we don't have a distracting animation there. In addition, this also
optimizes the scrim animations a bit in terms of interpolation and
duration to make the experience smoother and cleans up some logic.

Bug: 18146441
Bug: 17717584
Change-Id: I495ce480c25de24b6433adebdfe923b637d98f66
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
2d1ef3012c98c07877816f3587514cca98609550 24-Oct-2014 Adrian Roos <roosa@google.com> Close keyguard user switcher on tap outside

Also closes when tapping the current user.
Also fixes a bug, where the background alpha was
not properly initialized. And while we're at it,
fixes a bug where the user switcher was closable
in simple mode by extending quick settings.

Bug: 17691134
Change-Id: I5444fe42a8a2887ab012ef6cbdcc57ba81a8c1c2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
74558c3a5980e50a1bdb099fe8a31d9eeb804e20 17-Oct-2014 Adrian Roos <roosa@google.com> Set the right expanded state

Fixes an issue where the QS panel thought it was expanded
because it used the status bar header expansion state.

Bug: 17364798
Change-Id: I2db574f63f584d5533e2515d1d32f1fbd08bdc66
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5e08e6957d1ada027ee93a0c8f745a9f8b89bb60 04-Oct-2014 Jorim Jaggi <jjaggi@google.com> Fix blank Keyguard #4

When we were fading out the preview for phone/camera to crossfade to
the real application, it might have been that showKeyguard was
called in the middle of this transition. This change makes sure that
we cancel this animation when showing the keyguard.

Bug: 17439581
Change-Id: I89cacf7ecf43d37ea979418b976390272510a09d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d7912d2f106053bf4965d137b436e0b5b863f184 30-Sep-2014 Jorim Jaggi <jjaggi@google.com> Don't play hint animations when dozing

Bug: 17718416
Change-Id: I2c27b4ea479ee46612eb5284a2c872d03dc52ab0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1fdd65e204c65f149ca537786a771a3e4351c0ba 26-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug where the QS could get stuck

Bug: 17655858
Change-Id: I099b07504617670101b10bcbaf9fcb42cee23a1c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
34cf5c4bfc7c4918b8155c47eb905782902016d6 26-Sep-2014 Selim Cinek <cinek@google.com> Increased the falsing threshold when woken up by touch

Bug: 17649103
Change-Id: Iea4736a761a1108e7832aa62cc2060ea0bd89376
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
cf5d3c98d1da0b1cfd4976a6962e7244490bdc8d 21-Sep-2014 John Spurlock <jspurlock@google.com> Doze: Ensure a doze reset happens after leaving keyguard.

Bug:17536133
Change-Id: Ibc88a7f2c1a51656676fe62d4de8ab3ec4dd4081
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
88619b129594d674c9264ac573389c6e7e957b53 11-Sep-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the notifications and the clock could jump" into lmp-dev
0c85e8676eaf95be41fbfb2ab0cd28ce7f2b05fa 10-Sep-2014 Jorim Jaggi <jjaggi@google.com> Fix QS interception on tablets

Only intercept when touching on the panel and not on the left or
right of the panel. Fixes a bug where the user couldn't dismiss the
panel by tapping outside.

Bug: 17437547
Change-Id: Ice484a301683fa2df1f2a21f13977023b48189f4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
237a70153baeb1976189ef6d7db268b625aa3088 10-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug where the notifications and the clock could jump

When the QS panel was expanded, the Notifications and the
clock were not positioned, leading to a jump on the next
layout when any notification came in or was swiped out.

Bug: 17315258
Change-Id: I19276054e8c0a364a452d2041c1c4af858ba32b7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8b12f22bc1f654d0afe1a5588ed3667428b305c8 09-Sep-2014 John Spurlock <jspurlock@google.com> Doze: Wake up on touch, fade between states.

- When dozing, the first motion event triggers a wake up.
- Fade the backgrounds to ease the transition out of doze.

Bug:17167296
Change-Id: I5615ca0839dfa3ed2cf3001baf407c707f0676d5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
cb2b6737ae6db2384cfad6cae68211d669946c52 05-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug with the anti-falsing logic with dismissing

Bug: 15433087
Change-Id: I48b96c1b8e081d6790d4cd9f5866f699b64e61fc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
12a6782d61dbefd5ba0bb286372936f957849637 05-Sep-2014 Jorim Jaggi <jjaggi@google.com> Don't update notification layer when collapsing the panel

This change makes sure that we don't update the hardware for the
notification layer when we collapse or expand the panel. It does so
by starting the fading when the panel is more collapsed.

Bug: 17287256
Change-Id: I35dc35494d71d816b7e6c5821b769847aaa183b0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
06c19ea00190e69496be048758101f84f3bc43ad 05-Sep-2014 Jorim Jaggi <jjaggi@google.com> Remove the scrimming of notifications

Not really needed anymore and adds a lot of overdraw. Let's get rid
of it.

Bug: 17287256
Bug: 17346296
Change-Id: I319596f7059b6ed0d3d7a578d3c786921001f4b5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d9df4217237f9bc2ffb130d162afd4e90de5179c 03-Sep-2014 Selim Cinek <cinek@google.com> Merge "Tuned anti-falsing thresholds on the lockscreen" into lmp-dev
5386fb337d3f2bd9b0ea673b5f60483246e5d0cd 03-Sep-2014 Selim Cinek <cinek@google.com> Tuned anti-falsing thresholds on the lockscreen

Also added logic to provide nicer animations when falsing.
In addition adapted the clock scale slightly if dragging
in the void.

Bug: 15433087
Change-Id: I4d8eb26cc81d22647ef4d2eca1e69b4994a7f1e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d09def75110ea9833e3985ce33a878a471a8a0dc 02-Sep-2014 Jorim Jaggi <jjaggi@google.com> Fix outdated time when turning on screen

Force a synchronous update of the clock view when turning on the
screen. Also wait for the Keyguard window to be drawn when turning
on the screen.

Bug: 16904617
Change-Id: I38f78a38cfe35ccd067cd420d2bad626bd955ad6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
06d551ac62c2f2fbaff43c83e327070428d28cd3 02-Sep-2014 Jorim Jaggi <jjaggi@google.com> Use separate icon group for signal/battery in QS header

This reverts the terrible hack that reattaches the system icons when
expanding QS. This primarily fixes that the alpha of the icons was
wrong when closing the shade, but also fixes flickering when expanding
the shade.

Bug: 17338013
Change-Id: Ifcbe03eca43ed7639059734e23d740c1b8a7a9de
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
19c8c708f16546fc75ae12659aa190f5e3dfbb52 25-Aug-2014 Selim Cinek <cinek@google.com> Added anti-falsing logic to the keyguard.

Newly enforcing a threshold for the following cases:
Unlocking, Dismissing Notifications, Swiping Down Quick settings.
Also increased the affordance threshold slightly.

Bug: 15433087
Change-Id: I723346dedf9ae0e3f8b103182992ab572fc394b9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1d49ec9f416edec68db7df30ae0476d1942f65a6 25-Aug-2014 Jorim Jaggi <jjaggi@google.com> Fix jumping animation when using two-finger expand

Also fixes other minor issues with the panel expansion.

Bug: 17250134
Change-Id: I70ee5410bad10ff71f6d868005bf6274ef881e95
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
e32010ac6120278fea41e49b9832af79b1b5463e 20-Aug-2014 Selim Cinek <cinek@google.com> Fixed focusing order for the notification panel and QS

Also fixed multiple bugs regarding focusability, where
some elements were focusable even though invisible.
The buttons, QS-tiles, QS-detail buttons, QS Header
icons and other elements now have the correct focusability
state.
The rect indicating accessibility focus is now also
correct for dual label tiles, instead of just the whole
button.
Also fixes an ordering issue where notifications were above
the camera circle when launching.
In addition the focus order of the notifications now work
correctly.

Bug: 15569922
Bug: 15682123
Bug: 17159249
Bug: 15690386
Change-Id: Ie9f7ae73397b41ce2e9a4060699301fdef3a0d01
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
909cb49a10a3f958317063bf2cefd79fb1186183 20-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix QS expansion weirdness #2" into lmp-dev
b7a3303f807ee01bbe405f4153a2285e55c0b6e3 20-Aug-2014 Jorim Jaggi <jjaggi@google.com> Fix QS expansion weirdness #2

Bug: 17138703
Bug: 17047680
Change-Id: I4058d9a2e349c4a52ab167638471a1eb11753380
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
fe9c0a58aa8e63931e45b540158f101a2a398153 20-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Don't allow to scroll to QS if not provisioned" into lmp-dev
18bd04fdfed1c3c2a0289561b218831efed3f7ab 15-Aug-2014 Jorim Jaggi <jjaggi@google.com> Don't allow to scroll to QS if not provisioned

Bug: 15593900
Change-Id: I54ae38f7f2c82e26b859ba7b7b3a5e096e18289e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
90c946583d98162cc261f051e836ba84605a70a2 18-Aug-2014 Selim Cinek <cinek@google.com> Properly announcing the shade state for accessibility

When we are entering / leaving quicksettings, accessible
users are now informed about the state change.
Also fixed a bug where the lockscreen was called notification
shade.

Bug: 15696654
Change-Id: I39d8ad3367c424ec5f9a3795be46d4785a19bbee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3afddce73ee82f096e86fbdeb3b412964ca56166 14-Aug-2014 Jorim Jaggi <jjaggi@google.com> Hide icons on Keyguard when QS is open

Bug: 16794381
Change-Id: Ic8525bb5e8882bd37bf63d29be60d4cc8f40b26a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
11c071a5506727e0845201a1c9dcba5782ece4ba 14-Aug-2014 Jorim Jaggi <jjaggi@google.com> Fix QS expansion weirdness

- Fix that the clock/avatar could get too large.
- Fix QS collapsing when on Keyguard and scroll view is scrolled
- Fix that clock/avatar didn't grow after a layout when expanding
- Fix flicker in header when overexpanding the panel
- Fix flicker from QS panel when it changes size
- Fix that scroll view still was scrolled after collapsing QS

Bug: 16869692
Bug: 16894194
Change-Id: Ic0f89ab860979db4d0438007b4d0d044d3e8c4ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8599a3358077d800e94000d5956a912205eec51b 14-Aug-2014 Jorim Jaggi <jjaggi@google.com> Fix listening states for two-finger and fast-double swipe

Bug: 16655660
Change-Id: I46d826edc901e08eb1513fe87de2f63228581617
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8de4311c51229efbe2f2d0afbf298982c5cadd96 11-Aug-2014 Jorim Jaggi <jjaggi@google.com> Lockscreen launch animations

- Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was
used for two different things: Dismiss keyguard from somewhere else
(not really necessary anymore), wait to actually dismiss keyguard
after the window behind is drawn. Instead, introduce
keyguardWaitingForActivityDrawn(), and change the semantics where
necessary.
- Make wallpaper_close_enter consistent with task_open_enter and the
Keyguard launch animation.
- Close the panel even on lockscreen when launching a notification.
- Block notification shade updates during the collapsing motion so
notification don't play the disappear animation immediately after
having launched a notification.

Bug: 15991916

Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3afd00e9f2b55a21ca378d6e520d24283dbb62e0 11-Aug-2014 Selim Cinek <cinek@google.com> Fixed a bug in the notification stack algorithm

Bad holes could occur when a notification was at the same time in
the top and the bottom stack. This also improves the landscape /
smallscreen interaction with the shade.

Bug: 16715133
Change-Id: Icbb4d080e658f4ddbd39b7d08652ca5311a47978
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a5e211b1f2a8d055b369dadc464dc5d5bc3dd9c1 11-Aug-2014 Selim Cinek <cinek@google.com> Fixed an animation bug with inline view updates

The height is now updated in an animated fashion.

Bug: 16947659
Change-Id: I4e89e6ca78f8d3c0f1e6f7eb61134a394c6d7d73
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
bceed060f0090a4f86418c4515128d5ec8ebdd4a 11-Aug-2014 John Spurlock <jspurlock@google.com> QS: Fix some QS layout issues.

- Make the tile list configurable for testing.
- Support an external tile backed by a sticky broadcast intent.
- Ensure tiles clean up properly when no longer needed.

Bug:16818269
Bug:16822505
Change-Id: Ie24f878aae0d19c7f1feca4c519d10667023bef3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
98f8530af3bb8636b7b173443c90686c485205d6 07-Aug-2014 Jorim Jaggi <jjaggi@google.com> Animations for Keyguard user switcher.

Bug: 15757197
Change-Id: Ia3fcc0f771cea37fc2d57181d859373c423954a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
e2a8c53f3fdc5c31b58491c7212f8a294db8dbc6 07-Aug-2014 Dan Sandler <dsandler@android.com> Merge "Link to new app notification settings from the inspector." into lmp-dev
e9a4e90db6e7493e84084197361da7140817265b 31-Jul-2014 Dan Sandler <dsandler@android.com> Link to new app notification settings from the inspector.

Also hide the inspector whenever the keyguard changes state,
to make sure we don't leave any notification guts lying
around when you turn the screen on and off or unlock.

Bug: 16208321
Change-Id: I47cf6a0cb82e765eb6b50984972f57616b534ed3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
bf1899e64c0fbb0fa211d883134012299fe79f41 07-Aug-2014 Jorim Jaggi <jjaggi@google.com> BG protection for user switcher on Keyguard.

Also fixes the position.

Bug: 15757197
Bug: 15545213
Change-Id: I9fab98652ab1ccad4e02d5cfa17b212a72a0a0b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3f14df5c9df0028f78d930d03d512d969236f0bc 07-Aug-2014 John Spurlock <jspurlock@google.com> Merge "Common shade width across devices." into lmp-dev
7e6809ad643fa4a70cfb647191731c68f07789cd 06-Aug-2014 John Spurlock <jspurlock@google.com> Common shade width across devices.

Use 400dp as the visual width of the shade across all devices
and orientations, except small device portrait.

Since the width is now dynamic across orientations, update the
necessary views in SystemUI on rotate.

Remove obsolete styles + resources.

Set max QS columns to 3 on all devices, due to the newer shade
width.

Bug:16825515
Change-Id: Iff171549a79bc318a4d585a2d9ea2af9bc686922
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
793a3d1643462bfe4b5746bd4b1f188becf1cc93 06-Aug-2014 Brian Colonna <bcolonna@google.com> Merge "Bug 16147163: Secure camera can now be launched with FUL running" into lmp-dev
d45c6d4f403a90031411651d57448a1e08309bbf 02-Aug-2014 Brian Colonna <bcolonna@google.com> Bug 16147163: Secure camera can now be launched with FUL running

This change introduces a class that handles launching the secure camera even
when other apps may be using the camera hardware. It does this by sending out
a broadcast telling apps to stop using the camera as soon as the user begins to
swipe to use the secure camera. It then waits until either the camera is
available or a timeout period has expired before it fires off the intent to
start the secure camera.

Secure camera apps can indicate (via their meta-data) that they will instead
handle the responsibility of waiting for the camera to be available. In this
case, the new class still handles sending out the broadcast telling other apps
to close the camera, but it fires off the intent to start the secure camera
before the camera hardware is available. This is optimal because some of the
time spent closing the camera can happen in parallel with the time spent
starting the secure camera app. Since we can't depend on third-party apps to
wait for camera availability, the default is for us to wait for the camera to
be available before firing off the intent. However, our first party app is
able to take the optimized approach.

Change-Id: I1eaed94875e8f50018cffab25aa1e9b21d85f25b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
e0640dd5240078538ae66879b358f13fbc293dcf 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Allow closing the whole panel when QS is open

If the user drags below the notifications, we close everything. Only
implemented for the SHADE, and not on Keyguard because of
time constraints.

Bug: 15414856
Change-Id: I4cf656484bc1217d552211c2bfdd7598eb52dad7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
dd5b88684d61abb8ba762ef21c9658481795c2c1 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Navbar scrim when in QS

Bug: 16644711
Change-Id: I91d823671919068500a29878f3dfe9b481000a58
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a2052ea218386877e6d5d2136483a62b2b31f774 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Empty notification shade state.

Bug: 16483230
Change-Id: I7953a7954cae12124146f462ed8c0dc44769a38f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d54da8a0c86c4214084b359fe97eebb111951553 04-Aug-2014 John Spurlock <jspurlock@google.com> Doze: coordinate keyguard status bar visibility.

Play nice with recent NotificationPanelView changes that
also drive its visibility.

Bug: 15863249
Change-Id: I60021f415089d5508af7fe9ec792a2871a52910d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
dbc3dce886cb7abba23a9f18e60d0f5af5c93226 01-Aug-2014 Jorim Jaggi <jjaggi@google.com> Handle go to full shade motion for redacted case

Bug: 16291973
Change-Id: Idc5ea93548e17ef9cd2d7c36416b293950554703
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
f7ae44258fdcb452119936dff449c2d99fd8ece8 01-Aug-2014 John Spurlock <jspurlock@google.com> QS: Back button closes detail (if showing)

Bug:16649931
Change-Id: I9748a0793e6a71d833f7c7f884c189e16cccb8f9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
6ff837a95b864cebb80626f33bd17151f58043e1 31-Jul-2014 Jorim Jaggi <jjaggi@google.com> Animate clock when going to SHADE_LOCKED or SHADE

Bug: 16291973
Change-Id: Idf2fa7bd26800be4df38d99993533069120e7075
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
61d37f6d1c755263cbc4d9732d9d960e5bf8503d 30-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement nice QS expansion transition in Keyguard

Bug: 16010455
Bug: 15192264
Change-Id: I764652e73ea8e87ad12b9241e038bff843a0a221
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4538027dedbe7ebfc884ca35d20522a2a21a42d4 30-Jul-2014 Jorim Jaggi <jjaggi@google.com> Factor out keyguard components of StatusBarHeaderView

Make the header on keyguard a separate view, and move all Keyguard
components from StatusBarHeader into KeyguardHeaderView.

Change-Id: I1e2400d5c91898df3824fd8f27b10750d576a62c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c8db24bc32034accf1eb614c8d68bb80b41ae73f 25-Jul-2014 Christoph Studer <chstuder@google.com> SysUI: Display group children when no summary is present

Also move common notification filtering into NotificationData
such that clients won't have to do it themselves anymore.

Probably also fixes a couple of multi-user issues.

Bug: 16302692
Bug: 16224431
Change-Id: Ic3c11cd1a224044486f5544e068ca5297d30c521
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
90e0df291f0be8f84cad3b1a8834a60ddf7d352e 30-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement nice header transition when opening QS

Bug: 15192264
Change-Id: Id7d67d6067882982e2ca195e257dfa1b73db2cf6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5ad92c52781bf69f7e06c38c834421eecd943a23 28-Jul-2014 Jorim Jaggi <jjaggi@google.com> Optimize alpha handling for stack scroller

Use a layer when an alpha is set. Currently, this breaks shadows
when alpha != 1f, however, b/15860114 will fix this.

Change-Id: I094d5896a5433ba9a0ecc17549ef2944f6b7881e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4b04a3a1649018e7f0fe11136d0b012a9eeb44ea 28-Jul-2014 Jorim Jaggi <jjaggi@google.com> Clear all notifications improvements

- Fix a bug with visibility.
- Improve fling behavior such that the shade open animation still
looks like that we are decelerating towards the last card.

Change-Id: I1ad167ce0001ff6850f49e819bab944943fa529d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
48bc36af053885daf091bcca6d99411e0438ba83 25-Jul-2014 Jorim Jaggi <jjaggi@google.com> Handle cases for going to SHADE_LOCKED

- When the user drags down in the empty (not on a notification), we
scale up the clock in the interaction.
- If there are no notifications at all, we stay in KEYGUARD and let
the clock spring back.
- Rubberbanding is different for the case when there are no
notifications or only low-priority notifications, to indicate what
the user can expect when they lift his finger.

Bug: 16216907
Change-Id: I69d6552c96ef9e3d0d0b526bbd232d68bef47960
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b6cdcbc66b4b862f83afde85b8e7109b6450b15e 25-Jul-2014 Jorim Jaggi <jjaggi@google.com> Preview layouts for phone/camera affordance.

Bug: 15126905
Change-Id: I72cbb90718e6add22a7c579a647f9f405793961a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
baa23274596246d03741457701ac515a73aa8818 08-Jul-2014 Selim Cinek <cinek@google.com> Implemented new camera affordance

Also fixed a bug in the touch logic where you could close the shade / hint
after going to the camera / phone.

Bug: 15126905
Change-Id: Iadfde56cb68f4048868eedec6bd3456f55823cd9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1ef80fe5905a19cf92f073163c187a96287335e4 14-Jul-2014 Adrian Roos <roosa@google.com> Make user switcher appear inside the QS panel

Bug: 15545213
Change-Id: I0f15214a7474ae5303c3af0b7ef6f6a11be572b8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1e2554b99719c95f8c4acdfc170e0d07f2815ed2 10-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement two-finger pull down to QS.

Bug: 14590707
Change-Id: I7f88a5b26e88c79e19d4e6c7f4cc8277ffcb2d57
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3f48f46d7e9073edbc4d8613a6dd4d68a37a11b6 08-Jul-2014 Jorim Jaggi <jjaggi@google.com> Update QS header to spec

- Move brightness slider down.
- Make clock bigger when expanded.
- Show date in collapsed state.
- Change size of avatar depending on collapsed/expanded.

Bug: 15865202
Bug: 15381387
Change-Id: I7894edae495b5a2d12b4fe4637a9aa3fd2e58963
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
853b070f19801058182ac1172d7c21c7651253c8 05-Jul-2014 Jorim Jaggi <jjaggi@google.com> Add % for battery in expanded QS; make it clickable

Also removes the "xx minutes until full" label in expanded QS.

Bug: 15392950
Bug: 15863237
Change-Id: I41e85a9ffeb3cba31b58769f8faee9147a3b031e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
ad46ffef4b88e533cc2e67f132b74d1b90df72df 04-Jul-2014 Jorim Jaggi <jjaggi@google.com> Fix blinking bug when no notifications on lockscreen.

Bug: 16044775
Change-Id: Ia8b23e8ce93194d86eb4cb809f44f8caa277550e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b572e4c77711a6a92b244f1b9edbf13710481184 04-Jul-2014 Jorim Jaggi <jjaggi@google.com> Merge "Clean up user activity handling"
b690f0d5023fcf144f2701058d5a6f88d66cc97a 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Clean up user activity handling

- Only call userActivity in down touch event
- Use normal timeout when QS is open
- Clean up old code regarding user activity in Keyguard

Change-Id: I968eeed33fef44def37b68eb1ddc63f1a531ab35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
bd00310041932ba41c96ae565e9bbfa78733aef9 04-Jul-2014 Jorim Jaggi <jjaggi@google.com> Pressing back when QS is open only collapses QS

Bug: 15856079
Change-Id: Ic4853cbb6569ecbd779d470e0b6911199e6bf09b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
540454259d7768804a262031289b307e3b0f42ab 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Quick settings improvements

- Remove hole in landscape when no notifications are shown.
- Start intercepting touch events directly when already flinging.
- Fix jump in top panel when collapsing QS in landscape.

Change-Id: If2da5215ee20ea1b0d3a0f88f32c8f5b0dd147da
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
563062569ca6e7816f99b01a243eb4c9f58b6a1b 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Reenable touches to notifications in expanded QS

Revert "Closing the QS when tapping on the notifications now."
This reverts commit 3bb0bb8817690728a40edd3f8f665b09907a451b.

Revert "Disabled touch interaction when in Quick settings."
This reverts commit 5cd19bc6a4fac0513bb285fdaf08b1d19c87f4ae.

Also, shuffle order of notifications and quick settings such that
scrolling still works and delegate touches from stack scroller to
the scroll view for expanded QS panel.

In addition, make the panel close transition work when QS is expanded
and scrolled.

Last but not least, decrease scrim amount so the notifications still
look 100% interactive.

Change-Id: I17710e078cff84bcdf303c22986a31135dae2aee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
30c305ce6283ce1380ad91ef0d221696b32d5a6b 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement nice motion for collapsing panel while QS open

Also remove the delay for actions which close the panel. Delaying is
no longer necessary as you still see the touch feedback when the
panel is closed.

Change-Id: I0dffae6998fc41b1590cb182667323f40be3a7d5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
037c149ef03749b64203207e7a5e3acdd8d33391 02-Jul-2014 Jorim Jaggi <jjaggi@google.com> Merge "Implement ability to fling to QS in empty space"
dc96d6310c6e13077a563b80f190550d87e95ff9 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement ability to fling to QS in empty space

Bug: 16009808
Change-Id: I0af174a4d97202dae767e4ae56f43599dbee4e05
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
475b21dfe517ec04f435f6b02f4a53083d040db4 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Start expanding QS directly when overscrolling to it.

This removes the janky transition from scrolling to flinging.

Change-Id: I691ac94ec06af7f7431ad162e07c21d2c753e99c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c640fafbcd7ba513130dcbf5762adbd77a9ced88 02-Jul-2014 Jorim Jaggi <jjaggi@google.com> Merge "Start expanding QS directly when overscrolling to it."
e65e310fc979fa708d7469d01e42188174e47cf8 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Fix occasional jank when going to QS.

We change the listening state of the QS panel before the user
actually navigates there and when the animations are probably
not running (after expanding the panel).

Change-Id: Iad48b3459e7db09c423f6983a9fec17ec0088050
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b472b347b51f84489217bb5d9c3beeeda1e4e626 30-Jun-2014 Jorim Jaggi <jjaggi@google.com> Improve peek behavior and fix a few bugs in PanelView

- A single tap on the bar peeks and then dismisses it a again.
- Wait for the peek until the layout has happened.
- Add logic to only peek if user is not flinging.
- Fix a few bugs with panel holes (onExpandingStarted/Finished not
called correctly.

Bug: 15856091
Bug: 15407838
Bug: 15942322

Change-Id: I1aedf9d01bc8db3d7fed7cea6e341b0be18a8bd9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
2580a976ec93a01ed00fae51364ad872bc591d95 25-Jun-2014 Jorim Jaggi <jjaggi@google.com> Improve motion when expanding/collapsing status bar.

- Don't fade the whole panel anymore.
- Parallax effect for QS header translation, fade on keyguard.
- Improve fling curve for dismissing the panel.
- Improve peeking behavior.

Bug: 14804452
Bug: 15407838
Change-Id: I34b7bcd457cb8a037e0bb06e9802ec66d2b39b73
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
605f1902023d3c372769cbeb97840c87b910164b 25-Jun-2014 Jorim Jaggi <jjaggi@google.com> Keep a mirror of the system icons while expanding the panel

Because the icons are shown in two different places at the same time
(in the QS header and the status bar), we introduce a mirror view
which does nothing except draw the contents of the other view to
draw it at both locations during the animation.

Bug: 15407838
Change-Id: I82edc8b4fb7347fa8dadfb81762d22796d37fa3c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1f75d030ab2c7650ed7b7b0e595cbbfc3074f92d 25-Jun-2014 John Spurlock <jspurlock@google.com> Merge "SystemUI garbage collection."
0557c3f0e0a1e92e6b205a3ad6da3a0f75700c3d 25-Jun-2014 John Spurlock <jspurlock@google.com> SystemUI garbage collection.

Remove obsolete pieces from PhoneStatusBar + NotificationPanelView

Change-Id: Ib6b2d6f1a4e7c4aeaab775f928a74abdfe2b4168
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
dbbf45e79affa3e29b0f376719d297fe9c1f8a37 25-Jun-2014 Jorim Jaggi <jjaggi@google.com> Attempt to fix infinite recursion.

When collapsing a panel without animating, it might be that an
overscroll animating was still running, and thus expandedHeight != 0
even if we set expandedFraction manually to 0, which sets the state
to STATE_OPEN again and tries to close it in an infinite loop.

Bug: 15721600
Change-Id: I14e0ee43fb4a47286d618cc97581d4e4a98fb2a2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
f99d0007646781b99a63bc0d2103a45f0f72e724 13-Jun-2014 Selim Cinek <cinek@google.com> Improve unlock motion further.

Bug: 15244051
Change-Id: I6f567ff327695ec6ece56748cd300b8103715811
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
89faff1dac023643eb275e8ad0c062b06987ba4d 20-Jun-2014 Selim Cinek <cinek@google.com> Closing the QS when tapping on the notifications now.

Bug: 15394230
Change-Id: Ib9f750db69529afc0d56685fb88a13d183b0d3d5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
f54090e9bb23e9ed1b4d9e500d856f80d2fbe775 18-Jun-2014 Selim Cinek <cinek@google.com> Scrimming the notifications when QS is open.

Bug: 15394230
Change-Id: I4234bde0259ef296db73a43f69a765dbde5ddacd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b688bf7ceb0b3a02ad761d98940b6afc01b5e399 17-Jun-2014 Selim Cinek <cinek@google.com> Fixed a bug where the device could not be unlocked.

When the Notifications could be scrolled, the shade could not
be closed.

Bug: 15643474
Change-Id: I59b9f55c0290da7683ce7fd40effc4b5413e4267
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a27b004ca034a6ef86191952f118285909f84ff9 14-Jun-2014 Jorim Jaggi <jjaggi@google.com> Revert "Introduced fading views for the camera interaction on the lockscreen."

This reverts commit 4f963c1b557010bf453af500b00f36b68988f8e2.

Change-Id: I8c7df9d115be1b89b57fb9c9bb2a12b4c1d45520
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1aed97366501ad1b3df30d0d6685a7c6d8bf9210 11-Jun-2014 Selim Cinek <cinek@google.com> Introduced fading views for the camera interaction on the lockscreen.

Bug: 15126905
Change-Id: I82b0050a4216873d9cd191b32d1e5bf6871acbd6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
47c85a3525dcd0bbd3168632830e8ab491d18462 05-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix PanelView over expanding behavior.

Fixes a bug that the panel height was wrongly calculated and lagging
one frame behind. Also fixes the animation when overscrolling and
then flinging the panel to collapse. In addition, the logic to handle
the over expanding is much cleaner and calculated in an absolut
manner (before, it was relative an really complicated to understand).

Bug: 14487435
Change-Id: If8dbb3e063ef63f51f6dac0ae5bf276480514103
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
aa402d513a124f80b7bf3528ae8c7017e7876ad5 04-Jun-2014 Selim Cinek <cinek@google.com> Simplified maxPanelHeight logic.

Bug: 14487435
Change-Id: If171758a3143b24d7a1443c4761890670d03e49a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
758afb14976cabf2f6d7be4760cd3d4963070251 04-Jun-2014 Selim Cinek <cinek@google.com> Fixed panel top padding animation regression

Bug: 14487435
Change-Id: I50a56d2a3bdbcbce078e96bdb9b9d9f4249b937e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
151037c5b8056478ba5e768016722bd64975b9a0 04-Jun-2014 Selim Cinek <cinek@google.com> Fixed flickering in panel overscroll

Bug: 14487435
Change-Id: Id4fe18231397a1bbce42c5baba0b2c4cad955c56
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5158d82340b6e222da1b9254c5b9667c600e002e 04-Jun-2014 Selim Cinek <cinek@google.com> Disabled touch interaction when in Quick settings.

Bug: 15308429
Change-Id: I7379b7e3d7145033ff733cef9a336e41793ab103
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1408eb5a58d669933c701e347fd3498ceab70f3c 02-Jun-2014 Selim Cinek <cinek@google.com> Changed the overscroll and expanding behaviour.

Only the first selected element will be expanded, no subsequent children.
Afterwards, overscrolling is performed.
This improves overscroll consistency a lot and people don't accidentally
expand unwanted notifications, just the one they wanted to.
If the users primary intent is overscrolling (i.e if he drags on a card
which is already expanded), then we allow him to go to the quick settings.

Bug: 14487435
Bug: 15181651
Change-Id: I978cc4e06ae85c2ca69e15a149cb85ac54b2ef35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a52c68772da2bac5a4f1e701fcfa9efacf87136a 03-Jun-2014 Jorim Jaggi <jjaggi@google.com> Merge "Animate unlock icon while unlocking." into lmp-preview-dev
4327e2fbcd68ec022a8d365bbe171dbc3cb97c65 03-Jun-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix fake status bar not visible in SHADE_LOCKED state." into lmp-preview-dev
a1b1c7a44a4b081fa8211c952917f22793f935b3 03-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix fake status bar not visible in SHADE_LOCKED state.

Bug: 15393127
Change-Id: I535b275acd3070121c03425bd8d7c768f0a995f2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8dd95e03f8555c278217bac7e4faef865b1850a7 03-Jun-2014 Jorim Jaggi <jjaggi@google.com> Animate unlock icon while unlocking.

When the user reaches the threshold such that the gesture is accepted
as an unlock, the icon scales a bit and gets fully opaque. When the
user flings, it gets even larger and fades out.

Bug: 15163546
Change-Id: Icd963aa8f7268712f239b204cdfa61ebc2baf4d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
93a2bb2063fdbca9f844202f0eca12330605511b 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Improve hint animations.

Show the hint text longer so that users have enough time to read it,
also "highlight" the corresponding icon by making it fully opaque
during the gesture.

Bug: 15189049
Change-Id: Ie0429752b63bae41bb6992778ebb3bd5678f9676
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b3f0a2ff000ca2481f95ee8f7d7b487e33b87eca 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Hint for phone and camera.

Bug: 15189049
Bug: 15126962
Change-Id: Ie28fc8202ace4af56542201d168572ef6ad78d19
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
282a615263a808f7887a2d8c56726946e252a60f 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Hide phone/camera affordance when unlocking.

Bug: 15163546
Change-Id: If9f3e270bb3f5473abd687061a0c3f6faf2bf3b0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
457cc356089c61317b4c29a3e83f5fc47edb68be 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Hide header when notifications collide with it on Keyguard.

Bug: 15163546
Change-Id: If4f39786916df75537959a8104823353c475448f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
9012958742c7a66b37ba5f2196f9086bb1980e6b 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Implement unlock hint.

Before, users didn't have any clue how to unlock their phone. Now
they have. Also, a tap now dismisses the notification shade in the
unlocked state.

Bug: 14080971
Bug: 15189435
Bug: 15282191
Bug: 15126962

Change-Id: I779344b043b4415809dd98217b7cb9ff6d57fa3e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
290600a08d0b7df691d6140b5557d795cd0581de 30-May-2014 Jorim Jaggi <jjaggi@google.com> Overscroll header when expanding the panel.

Bug: 14486987
Change-Id: I563aabf273328d733d7452af7f54db28934df9d9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
bc3a5e946989701f05ea28d596f8710e011887be 30-May-2014 John Spurlock <jspurlock@google.com> QuickSettings: Fix flash when expanding panel.

Bug:15186962
Change-Id: Ib42776989d687f8873f7bd3c2567c31a23e0490f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
303170e5c29648872517f2eefda97147411c2074 30-May-2014 John Spurlock <jspurlock@google.com> Merge "QuickSettings: Maintain tile panel Y in detail mode." into lmp-preview-dev
3e04cc8c9bcb6daa8f5336934a88dc6c4fdd5221 30-May-2014 John Spurlock <jspurlock@google.com> QuickSettings: Maintain tile panel Y in detail mode.

Hide the brightness slider to reduce visual clutter.
Stabilize the tile panel further by preventing it from
shrinking to less than the tiles height.

Bug:15341870
Change-Id: I785ff9c13f8489e86e3bdc8dde45ebd39f9a1413
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
a02fe523cc9642a085bd4ae56436b2c0f23fe7a2 30-May-2014 Selim Cinek <cinek@google.com> Reduced overexpansion when expanding the panel

Bug: 14486987
Change-Id: Ic1546e1661e3afe842b044abf636421d2620bddd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5729d090ab44228ff342a10b4ec0552741371501 29-May-2014 John Spurlock <jspurlock@google.com> QuickSettings: Hide the expanded header in detail mode.

When a tile's detail panel is showing, hide the header
panel above - giving it more real estate.

Bug:15315490
Change-Id: I8aac0ec0eae5dad7393e334107b6aeac76f54545
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
2684d5e7d7f0b698c631f27b099760fae33e84ba 29-May-2014 John Spurlock <jspurlock@google.com> QuickSettings: Basic content-resizing for detail panel.

Also remove toggle from zen tile + fix bottom padding.

Bug:15315490
Change-Id: Ib839b9280ce60d2f51e4c0c46e41a7743e7ec8f6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3c4635c19997748e0b21453f3462e347905534e0 29-May-2014 Selim Cinek <cinek@google.com> Fixed a bug where the user was unable to pull down statusbar.

When going to the phone or camera from the lockscreen, touches
where blocked and the statusbar could not be pulled down anymore.

Bug: 15308821
Bug: 15126905
Change-Id: Ic9563346f6a466cb5ada3f4af518fabcd650e9b9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4c6969a512cd70831249ec1d07691f16fe5465f5 26-May-2014 Selim Cinek <cinek@google.com> Implemented basic camera and phone affordance.

The phone and the camera can now be accessed when swiping anywhere
on the background of the keyguard in the corresponding direction.

Bug: 15126905
Change-Id: If5551078676275764d5b7ddbca6e71cf008a1904
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
2fbad7b6a724cf0a5b98b66fe639d58f5ab10af3 26-May-2014 Jorim Jaggi <jjaggi@google.com> Show bouncer immediately when MOTION_UP is received

Bug: 15163546
Change-Id: Ie50905b78352e54298cb7e0e3f13152e6c2becd0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5b5cbd13d8474db1176d50a4c3b3476026c006a7 26-May-2014 Jorim Jaggi <jjaggi@google.com> Merge "Make QS panel peek below the header." into lmp-preview-dev
f62f2bbcf2edec636700f80f5f279cce7ebad95b 25-May-2014 Jorim Jaggi <jjaggi@google.com> Make QS panel peek below the header.

Bug: 15210059

Change-Id: I84e45092b3c9c397da8b458dbaa136fd52e665a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
24120a5ccf79f6f4844916121bcc1fbad0b7691b 26-May-2014 Selim Cinek <cinek@google.com> Introduced overscrolling for the panel expansion

Notifications now overscroll in a rubberbandy motion when expanding.

Bug: 14486987
Change-Id: I5ad47027adab10d6996e70f489e8c2550220e224
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
5bfee4986a9cd5146eb30a2bddcb201f79728d6c 24-May-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix intercept logic in NotificationPanelView." into lmp-preview-dev
ce50b8199ccba2348abe405d05db028e0566806d 24-May-2014 Jorim Jaggi <jjaggi@google.com> Fix intercept logic in NotificationPanelView.

We need to make sure that we only block the disallow intercept
request when interacting with the ScrollView. In the past, we also
blocked the disallow intercept request for the brightness slider, for
example.

Bug: 15169261
Change-Id: I02dd1e399a527509d631fdde54249d57748b20f2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d08f91fa679d3045436e993b6073d86d8f9b26fe 23-May-2014 John Spurlock <jspurlock@google.com> QS: Reset user activity timeout on the lockscreen.

If the quick settings panel changes, call userActivity to
delay the screen timeout.

Bug:15166195
Change-Id: Ie32fb39c5a975d9cf0d80d7fdf711177028a6b5c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8efa6dde2b4f2cdbf046b87b7366404c3cc46219 19-May-2014 Selim Cinek <cinek@google.com> Improved the animation logic of the stack scroller.

Newly introduced appear and disappear animations when in the shade.
Also introduced individual child delays such that notifications
appear in a slightly more appealing quantum way.
Also fixed a racecondition, such that added notifications already
have their final visibility state when they are added to the scroller.

Bug: 14081264
Change-Id: I18f5c57c2206f8e05996253981f540e97521e102
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
7d16bb1e32fc61f3f26e72b8a36fb332073ead75 22-May-2014 Jorim Jaggi <jjaggi@google.com> DO NOT MERGE Move clock and top padding while dismissing Keyguard.

Such translation. Much alpha. Very parallax. Wow.

Bug: 15163546
Change-Id: Id419acced94083cf6cd7abebbcf1d5a08439b0a7
(cherry picked from commit c42bdc3ba9493efe68b9ed39fbd55c84ba175185)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
9cd731a013cca45807b2ae1ed19cecc53311a5c6 22-May-2014 Jorim Jaggi <jjaggi@google.com> Fix weird state with QS expansion.

Bug: 15147023
Change-Id: Ief32ee756e22b330e0fb63b0dab64aa83ffb9124
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1d480695df31f1c328473f32d5007cea6a03b6e0 20-May-2014 Jorim Jaggi <jjaggi@google.com> Change fling behavior of PanelView.

Change-Id: Ie700be6b1ef48350601ce6bc7fe60579fddae098
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
75c95044a8c5c073d30dcc9bd21157939f161043 16-May-2014 Jorim Jaggi <jjaggi@google.com> Animate clock position on Keyguard.

Also disable animations when on Keyguard and screen is turned off.

Change-Id: Iec031ab336357194b5d387bc0aad00a702a8ef54
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
069cd03740312159faf24a01910ff1daeae93131 15-May-2014 Jorim Jaggi <jjaggi@google.com> Position clock and notifications dynamically.

The positioning is dependant on how many notifications are currently
showing. This makes sure that the lockscreen always looks balanced
and harmonic.

Bug: 14592994
Change-Id: Ic647b887dd23e6cc5ecd07d70f279ff2f218f4ca
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c27437b7fd04e682ae2abdf0727a99bf5c6e409d 14-May-2014 Selim Cinek <cinek@google.com> Implemented visual speed-bump for notifications.

The separation between the important and the less important
notifications has now a visual representation.

Bug: 14607473
Change-Id: I8baa0a08924ec041be2884a2834139477313ab40
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
9dbbca879ecab36c4bb0982c1499b30a33228aed 15-May-2014 Selim Cinek <cinek@google.com> Fix not being able to pull down status bar.

Bug: 14648079
Change-Id: Id3dbf0b781d5d4777f013804a3877df3347a38fa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
af8d6c44f06d2f8baac2c5774a9efdae3fc36797 07-May-2014 John Spurlock <jspurlock@google.com> New quick settings implementation.

Bug:14133785
Change-Id: I7f57f8e7ebcc3e1a06fa5204f477470f14299e1f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
c9a52ab01faf7428b44e760becbfb4c157eb9042 12-May-2014 Jorim Jaggi <jjaggi@google.com> Fix weird state when flinging with open quick settings.

Change-Id: Ib590eb091f8b5cae218824cf1d4c4ee78377b016
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
87cd5e71ec087e191b8baaa8913a878f92d4e10d 12-May-2014 Jorim Jaggi <jjaggi@google.com> Improve quick settings fling/expand animation.

Change-Id: I507970ad2d22712a140f2107b62e689c2f3d7d6e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
fc1a824ec1453a84d9c53837df4ab93eca591a5f 12-May-2014 Jorim Jaggi <jjaggi@google.com> Directly start to collapse QS when overscrolling.

Change-Id: I33ec42fd0fe7344c269e31e9798e036e8a0532a0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
bc5f496e470e64917367abf6730e68ace6def88e 12-May-2014 Jorim Jaggi <jjaggi@google.com> Fix QuickSettings header state on Keyguard.

It was in a weird state before when expanded. Now it is much better.

Change-Id: I17555b77c70720b6ead512e4ef61a62cc3a73318
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
13c1b1ff36960272073959de35212a7bae3cfae6 11-May-2014 Jorim Jaggi <jjaggi@google.com> Implement settings affordance in header.

Also, the status icons are hidden when quick settings is expanded,
except for the battey indicator.

Change-Id: I6fb130c7eb73445b2ec2fdf9a9f3ec181d98033d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
3d878be53d033365318733b84b764cd5b4e6357a 10-May-2014 Jorim Jaggi <jjaggi@google.com> Implement new multi-user affordance.

Change-Id: I6d7e6cc9893bc7d4fd87431e8e364500af42f107
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0d74eeb9ec7ffe30d5c825bf7a3af96a53e2683d 09-May-2014 Jorim Jaggi <jjaggi@google.com> Reparent status bar icons into header when expanded.

This change moves the status bar icons into the quick settings header
when the status bar is expanded. Also, the universal header is now
showing on the Keyguard.

Change-Id: Ib91f7e0b8de9f852676a11b500c4419183db1b90
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
bff1f071f300e4f99da0fd2bd567ce5f840e5f91 09-May-2014 Jorim Jaggi <jjaggi@google.com> Remove expansion and clear button.

...

Change-Id: I965317ba221092f970dc9324dd538a7bde5c0642
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d7daab7b9e33cd56f2692b9ebea87ef21290c1ea 06-May-2014 Jorim Jaggi <jjaggi@google.com> New layout structure for the expanded status bar.

This also includes a new (very WIP) interaction to get to quick
settings, with clumping the cards and a scrollable container with
the cards and the bottom QS part in it.

Change-Id: Ib073bb0174cddcf60347a5e3bb474fb3b6385bcf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
98fb09c2b2dbf57803a8737ee7b73cf167721312 01-May-2014 Jorim Jaggi <jjaggi@google.com> Fix animation play time, animation and alpha.

Change-Id: Ib5f0a7880473930da3db70fcbd8c4e620f267cf8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
0dd6881ea481c855976214807c17595b34a2920a 01-May-2014 Jorim Jaggi <jjaggi@google.com> Introduce animation for changing top margin.

Change-Id: I7f77a1c69efc2dca3e5a37e7d6fc497ae487ec46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
ecbab3662d4474bbb45477939aaa167eb883212b 23-Apr-2014 Jorim Jaggi <jjaggi@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
8c1a44b62f82c956cbe4aa0809cbdf255d0fae1f 29-Apr-2014 Jorim Jaggi <jjaggi@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
be565dfc1c17b7ddafa9753851b8f82849fd3f42 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Refactored the layout of a notifications

Notifications now consist of ExpandableViews instead of SizeAdaptiveLayouts
to avoid layout passes during the resizing. The StackScrollAlgorithm and its
States are also refactored in order to support the new behaviour. In addition,
the generation of the outline is moved to the notification views instead of
the container which contains them.

Change-Id: I1ac1292a6520f5951610039bfa204c204be9d640
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
f0b06c773867610d747d2063e74f13c12e3595c4 18-Apr-2014 John Spurlock <jspurlock@google.com> Quick settings bug fixes.

- Fix issue where notifications were positioned offscreen after
quick screen toggle.
- Better QS scrim hiding, use existing layout transition.
- Don't allow a reposition if the settings animation is currently
running.
- Delay chevron animation during toggle to avoid drawing over each
other.
- Keep the screen on while the user is poking around with QS on
the keyguard.
- Cap the QS expansion to the bottom of the status view on keyguard.

Change-Id: Ib63874d0c6a33db81923080f25cb8f208e614faf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
73203ebf976c403e40deabc15beb5ef01ac20cb0 15-Apr-2014 John Spurlock <jspurlock@google.com> Interim quick settings update.

Make existing QS panel available via pulldown from header
(or keyguard status view on keyguard), update the affordances
as a hint.

Don't allow QS to scroll, cap to max rows.

Add scrim over panel to indicate that this is purely temporary.

Bug:14081801
Bug:14059974
Change-Id: I166033975cbc44b91f45ee70ea5c7540390670dd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
1685e634fb0b14033bd436af8d7174436699ffec 08-Apr-2014 Selim Cinek <cinek@google.com> Further improved NotificationStackScroller

The top card is now collapsed during the pulldown of
the notification shade and expanded during the transition.
The scrollstate is also reset once the shade is closed.

Change-Id: Ibf17eef1f338d674c545e5bf55261e60db62b2ce
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
b6d85ebfe4f9f5d3b7d7ab7b6123af02a0deb516 28-Mar-2014 Selim Cinek <cinek@google.com> Enabled the new notification shade and improved expanding logic

Made the NotificationStackScroller now the default and only shade.
When the notification shade is expanded, the NotificationStackScroller
now also expands revealing the notifications.

Change-Id: If989ed848f684b3ac4e687d9642289db4599553b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
d389ff7d8930473cead3bd1b7b63c2fe5f6b51f1 12-Mar-2014 John Spurlock <jspurlock@google.com> Move zen-mode systemui affordance to quick settings.

Remove the gesture-based invocation from the notifcation
panel, create a new QS tile to display current state.

Clicking the tile reveals an interstitial dialog for
confirmation of mode changes.

Change-Id: I6760ce3f097d5dcfd0af5177287dbf4ff632b47e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
de547008d110fc4a23ee5ff6ae6ebba4788cd4bb 28-Feb-2014 John Spurlock <jspurlock@google.com> Wire up SystemUI zen mode config to new settings panel.

Change-Id: I949b31be0b31c02ab736799f9080601fb0fd79d1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
e677d7113f6627161653f686b6381d2eef4d502f 13-Feb-2014 John Spurlock <jspurlock@google.com> Introduce zen mode.

- New global zen mode setting with three values:
ZEN_MODE_OFF, ZEN_MODE_LIMITED, ZEN_MODE_FULL
- Status bar icon (on lhs) when in _LIMITED / _FULL
- Rules are hardcoded for now:
_LIMITED = intercept all notifications except calls/alarms
_FULL = intercept everything
- UI affordance in shade to set mode
- Only one exit condition: "Until you delete this"
- Intercepted notifications:
- appear darker in the shade
- do not cause sound/vibration
- do not fire fullScreenIntents
- do not contribute an icon to the status bar

Change-Id: Ic36c95982b483432006bf9dab102a31370382aa9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
cd686b5b6d4166b510df8e32138479a9559bc117 05-Jun-2013 John Spurlock <jspurlock@google.com> Migrate systemui Slog calls to Log

Change-Id: Ib6734c85960f06fed646599565b8eeba26b9e98e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
23b0a4e90554cc47f5ec1cef6b15ce0e32bb1ff2 29-Apr-2013 Casey Burkhardt <caseyburkhardt@google.com> Properly populates AccessibilityEvents for notification and quick settings shades

Previously, our method of announcing the expansion of the notification shade
and quick notification shade relied on populating a contentDescription
attribute on the highest-level container. This behavior is incorrect as it
causes accessibility services to infer importance and assign the view
accessibility focus. This change adds descriptive text to the
AccessibilityEvent fired when the shade opens without modifying the
container's description.

Bug: 8699624
Change-Id: Id909b60d63cdec96c307dea2624b0651ab4f1f36
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
64161ccb2f3341ebe1675e38a999250c7967d0ad 17-Dec-2012 Chris Wren <cwren@android.com> add logging to debug panel touches.

Turn on gesture recorder.
Add events to the Event Log.

Bug:7686690
Change-Id: I53b7d43f5bdc002360e305182597765f3c430b11
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
076324ae191469737afa5bbec577a718f3a31886 30-Nov-2012 Daniel Sandler <dsandler@android.com> Fix rounding error when drawing panel handles.

Bug: 7649037
Change-Id: If8d9fa5f3852729207c31c95cfd68ef54ff47d7d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
2017a056624e747ac91f8203728960a27da0b95a 17-Oct-2012 Daniel Sandler <dsandler@android.com> You can only use the 2-finger shortcut when opening the panel.

Bug: 7348917
Change-Id: I585c57f5eede72801fe1547d774c75256a0824b0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
040c2e4ace25a45bc701821da4fa786e6dd75ead 17-Oct-2012 Daniel Sandler <dsandler@android.com> For Matias.

<3, dsandler.

Bug: 7348917
Change-Id: I193a94ab82a9e59068c95624c2e8d375543f71f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
bac221ff0b9e1406f95f23c9a5c3b580ece10eab 04-Oct-2012 Casey Burkhardt <caseyburkhardt@google.com> Accessibility enhancements within quick settings and notification shade.

Change-Id: I377c389abe3ce2285a620e60f4c8de4727f4f5c9
Bug: 7229886
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
151f00d8f06e207038125f227b42f06a25d5e0a0 03-Oct-2012 Daniel Sandler <dsandler@android.com> Disable statusbar pulldown gesture tracking.

Bug: 7164602
Change-Id: Ie6569a7a8a9f462e844ef3088098c3256653f630
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
13522a2e40730a0703fd7f185b7fb9be8ae37ab6 27-Sep-2012 Daniel Sandler <dsandler@android.com> Fix panel handles on large screens.

Bug: 7171620
Change-Id: If8445210fe654aa0b8ba508f4e6f93ad6d4fca14
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
4d179dc6ccf3eb118767e94b803484abe9552537 22-Aug-2012 Chet Haase <chet@google.com> Fix animation of notification handle bar when panel changes height

The notification panel uses LayoutTransition to animate changes to
the list of notifications. This works for the items themselves as
items are added or removed; the new/old items animate in/out and the
existing items animate to make or remove space.

But the handle at the bottom of the list (the gray translucent line) does
not play well with these changes. For example, when an item is swiped away
the handle snaps into its new location before the rest of the items have
finished animating.

The problem comes from a constraint of LayoutTransition; it handles changes
to the container it operates on, and to the parent hierarchy all the way up
to the root. However, it cannot animate changes to siblings of the parents.
So when the list resizes due to item changes, the handle (which is in a sibling
of the list) does not animate this change, but just reacts instantly.

The fix is to draw the handle not as a view itself, but rather as part of the
parent container of the list. So as the list animates a resize, the container will
also animate, and any graphics in the container will animate along with it.
No matter what size the container of the list is, the line will be drawn at
the bottom of it.

Issue #7024902 Notification panel animation incorrect when swiping notification out

Change-Id: Ifc412cb6bcdc6ead35993b0320364a2a95a16e11
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
cf591db04914d8ceadd982451b325bd8c4817086 15-Aug-2012 Daniel Sandler <dsandler@android.com> Confine the quick settings trigger to the right third of the status bar.

Pulling down anywhere on the status bar when a panel is
already showing will switch to the other panel.

Also adjust gesture recorder output to track the settings
panel and annotate it separately.

Change-Id: I0ca3b395b5f2c6c8767237126bce26d0e8c9b8c0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
08d05e3d1d6ade6924266296033981a96b47d5fb 08-Aug-2012 Daniel Sandler <dsandler@android.com> New status bar capable of multiple sliding panels.

There are some visual glitches but almost everything should
be put back pretty much where it was.

Change-Id: I2f9b0591d44599b07bd83f03c4e09e6dd98e1448
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java