History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2086710f58032d8ea2dfd7b6e514954d4aab498f 10-Dec-2014 Selim Cinek <cinek@google.com> Fixed a bug where the empty shade and dismiss views would animate

This lead to an ugly flash when turning the screen off and on again.
Bug: 18657280

Change-Id: I5ca572239639bf3c95c106ba193a268e0256df38
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
2a5e452f4f70d2dd717946dd50486cc66ea4cc43 24-Nov-2014 Jorim Jaggi <jjaggi@google.com> Animate notifs depending on touch when exiting doze mode

When exiting doze mode during pulsing and the reason for the wakeup
is a touch event, we calculate the delay of the animations to animate
the notification from black/white to color depending on the point
where the touch happened to wake up the screen.

Bug: 18146441
Change-Id: Ica76b235d629acfc2b09b5f56027c688502f89d8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
4e857f4ef0357e05806819d0488a73a12208fe8f 17-Nov-2014 Jorim Jaggi <jjaggi@google.com> Fade notifications when exiting dozing

Bug: 18146441
Change-Id: Ifa0cbb8157c65768c3a0c584166ca88c3016b730
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
89444a380d85f8961a4a900734590571375b4f3f 12-Nov-2014 Selim Cinek <cinek@google.com> Merge "Solved notification overlay issue once and for all" into lmp-mr1-dev
f336f4c13ad3be15e2b44266cd786685975425f2 12-Nov-2014 Selim Cinek <cinek@google.com> Solved notification overlay issue once and for all

But...
Once and for all!

Bug: 18314177
Change-Id: I484bea7d9f183d749fcdfba899d40292245f353d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
7d5f374dda06edbd7931d3faaacb75feab48b005 07-Nov-2014 Selim Cinek <cinek@google.com> Improved the dismiss all animation

Added an AVD to the icon and changed the order
to be from bottom to the top.

Bug: 17903685
Bug: 17007783
Change-Id: Ia1509e2d4e02c87782285e05b7b7fb6a11854f95
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
af2442e9e53d1a77856e3151ba8b2cd08da81828 31-Oct-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug that the panel was not closable in the locked shade" into lmp-mr1-dev
43d991ef8a23f7d43f3b4f539eaa613436c8acdb 31-Oct-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug when tapping in the empty space of the notification panel" into lmp-mr1-dev
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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
12cf9e5159ee19e2335e436241a7bc6d5eb10bee 29-Oct-2014 Christoph Studer <chstuder@google.com> SysUI: Never log GONE notifications as visible

Bug: 18170453
Change-Id: I58a3990b481889fe4a1370e1eaa88058df53079d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
51ae05d92047049250ddbfd6c4998cb7cbca017d 09-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug that the icon was not animating anymore when updating.

Bug: 16043845
Change-Id: I0cdb1ee5ddefd4404cd9a6cab61baf1b281a457b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
cab4a60c485872848fc0fa3e65baaeb06d21a7d8 03-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug where notification icons where not animating

Bug: 16043845
Change-Id: I23217d90803fd247f6d1b4d2aea056deb5749c15
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
abdc5a078242e6842a4b3fa62db3e385fcacfa56 02-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug in the notification touch selection.

This lead to the wrong notification being selected and
therefore the longpress listener would not be triggered.
Also added some logging for cases where the longpress
listener would not fire.

Bug: 17332879
Change-Id: I9a5cd9bfe3108ca3e366711d34d1e218f1d520cf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
d9acca5c8ee648a3b67050b28f85214dbad1aeda 01-Sep-2014 Selim Cinek <cinek@google.com> Stabilized the animation when going back from the locked shade

Now, independant of the notifications the shade correctly animates
back from the shade locked when clicking on the bottom.

Bug: 17345758
Change-Id: I40f6cc65d4ceb4357f648192287c08acddffdcd9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
d2319fbe6a53ac4c38ca02e4d8e32da86ed0994b 01-Sep-2014 Selim Cinek <cinek@google.com> Fixed several bugs where the dismissview was not reachable.

Also fixes a bug where the maxExpandHeight was not correctly updated
and where notifications were wrongfully generated.
Finally it fixes an issue where initially the height of the panel was
not correct.

Bug: 17096130
Change-Id: I0f4a05187f31eef5cbbe364bfceb8806b5092cdf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
c0f4c0132148c2a9cca20077a7d73fdb2e9b5541 25-Aug-2014 Selim Cinek <cinek@google.com> Fixed a bug where the clipRect was not correctly reset

We now reset the cliprect of the notifications when the
view is removed from the scroller.

Bug: 17187780
Change-Id: Ifa5af0683186380f54dcb169a21d2ab41ceb98a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
0e41dea0b36f270a7cd22749c50a91b90f3373b5 25-Aug-2014 Selim Cinek <cinek@google.com> Fixed a bug where animations were generated when closed.

Bug: 17248206
Change-Id: I4376e1eede125ade71c09b2c1cd6ae64ad617230
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
afd7f117b3cb7711f2b54ff919aca0aa6a6b4da8 15-Aug-2014 Selim Cinek <cinek@google.com> Merge "Fixed several bugs with the notification shade" into lmp-dev
31094df5c6e3cb3a4a4faacb091e35eea1f6a5de 14-Aug-2014 Selim Cinek <cinek@google.com> Fixed several bugs with the notification shade

Cleaned up the code around mMaxPanelHeight of the
PanelView which could lead to flickering during
peeking.
Changed the panel opening logic to account for lag
when we need to wait for a layout, which could lead
to inconsistent animations.
Fixed a bug where holes could appear in the shade
when notifications were updating.
This also improved the general updating behaviour
which is now done in a nicer animation.

Bug: 15942322
Bug: 15861506
Bug: 15168335
Change-Id: Ifd7ce51bea6b5e39c9b76fd0d766a7d2c42bf7a4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
f7fc6f75822bd4baa9dbd9f8610b963de239af76 13-Aug-2014 Selim Cinek <cinek@google.com> Merge "Reuse existing TouchHelpers on rotation" into lmp-dev
d7c1fae12ef0b31c225ef130e6b06445b5af53a9 13-Aug-2014 Jorim Jaggi <jjaggi@google.com> Don't scale notifications on Keyguard for devices < xxhdpi

Bug: 16824061
Change-Id: Iccccebcd17357764aef325df0cd220508fcf7403
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
1cf41c14aae685a76af0a140e5bf2563a8372e1c 12-Aug-2014 Selim Cinek <cinek@google.com> Reuse existing TouchHelpers on rotation

Recreating them caused some bugs when touching during
the rotation. Currently there is no need to recreate them.

Bug: 15598792
Change-Id: I7255bd0102427e6847b63ce7f6346248aaa4054f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
28f0e5932944d9abc4b6879b1d05523e9341c385 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Edge swipes should also dismiss notifications

To prevent falsing with phone/camera affordance.

Bug: 16571057
Change-Id: I5da5efc5529af8211357b556f1db4858e8775e05
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
f641174eb9a41c9d340e350624533b36e265402f 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Revert "Clean up hiden notifications on Keyguard handling"

This reverts commit d9267cae958b572b715d22a4905b18749a369c9f.

Too much performance regression - need to figure out something else.

Change-Id: I2d399add74402e1c036235ec095a053a6d5b828e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
62a7c831d54d0a552f059e70176ccf7ac77e57f4 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Clean up hiden notifications on Keyguard handling

Change-Id: Ifeabfdd1ed8c11b0796cc79bba81752518921be3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
ff9c9c473f9cf4e273c9cfeeb595c5870d1053b8 01-Aug-2014 Jorim Jaggi <jjaggi@google.com> Faster timings when a notification comes out from more card

Change-Id: I1cc759aa8a2c235c4ca1962b41a406480b4277b2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
ae44128776410abd11bd06ae700db9cc4606a773 01-Aug-2014 Jorim Jaggi <jjaggi@google.com> Animate public/private notification layouts

This change move the boolean whether we hide sensitive contents into
AmbientState, which makes it consistent with the other stack states
and allows for a orchestrated transition between public/private
layouts. We need this transition when going into the full shade.

Bug: 16291973
Change-Id: I379a6119b5b73eca900a4a2ba9d5ec95b293e487
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
8b73006a36b3000a9847534dcb01a2e7066e9d93 31-Jul-2014 Jorim Jaggi <jjaggi@google.com> Clean up speedbump handling when going to SHADE_LOCKED

Bug: 16291973
Change-Id: Ibaa127709ff7a1a001402bd958016998e2bd23bf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
60d07c597c3f996deb3f2743466fe5279ca15e8d 31-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement timings for go-to-full-shade transition.

Change-Id: Ib7c0f65b7e2565a6c30b9962e9f81547537b408a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
4247a5c16237705c470b4dd7378a657c5f7b6d51 23-Jul-2014 Dan Sandler <dsandler@android.com> Notification inspector.

When longpressing a notification, instead of popping up a
menu we now replace the notification's view with an
inspector showing the app name and icon inline, along with a
proper app info button.

Bug: 15892646
Change-Id: I905e2fd5c9ea5cbbaccabd633f4b8257227a10bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
eceda3d83814e20cabddc4f0755d475fa2f3d8ff 21-Jul-2014 Dan Sandler <dsandler@android.com> Reintroduced the clear all button

A new text button is added to the bottom of the notification list
enabling the user to clear all notifications.

Bug: 14826666
Change-Id: I34dcccb59346798cca321bc1a19252b00e7c5689
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
2c5baca5eddb7c886d5e5f2bd9400eb064d07770 11-Jul-2014 Jorim Jaggi <jjaggi@google.com> Fix panel height when only one notification is shown

Also fix the place holder height for the stack when QS is expanded.

Change-Id: Ia28373c21b5d2155e735425d5657dde2dec49c6d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
f7a14c0add4c4578d0ac359b794fe6c9a3f18b9b 07-Jul-2014 Selim Cinek <cinek@google.com> Avoid overlap if expanding in the bottom stack

We are now scrolling slightly upwards if an expanding / collapsing
motion goes into the bottom stack to avoid overlapping with the
card above.

Bug: 15167388
Change-Id: I7a3ca3d80de0178de28e16b3cabe4b7ef35d933a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
d7c4e004eec2a1426ef46bac439e01de09f74849 04-Jul-2014 Selim Cinek <cinek@google.com> Fixed a bug when swiping out notifications when scrolled.

Sometimes the scrollview was scrolled too far.

Change-Id: If84cafde26853b4647dfb3ad767bca516468bbe7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
d83771ee46076d74fa7284a5a5867bc9b0ce20be 04-Jul-2014 Selim Cinek <cinek@google.com> Fixed a visual stack collapsing bug

When the stack is collapsed, the second card is padded slightly
to appear as if it was in the bottom stack.

Bug: 15169254
Change-Id: I9e9418dc057ffec01c7f56358ec60bac477497a4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
4fe3e475eaeb88ec8f0bb580ee765ceefe13bcbc 03-Jul-2014 Selim Cinek <cinek@google.com> Fixed bugs in the stack scroller

- A hole could occur when collapsing and expanding in the same touch
- The second card was not correctly resized if the stack was scrolled

Bug: 15996450
Change-Id: Ie779ed5d63b8c55d490c459955bafbc583bfce97
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
341d182100fcf6e44bb9b96ade3dead5ae82a439 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Disable flexy straw when in QS

Change-Id: Ic6c7834512c3cc96e3e6956008727312ea1f2423
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
bf370992508c55d1f2493923bdc1834a0710e4ba 17-Jun-2014 John Spurlock <jspurlock@google.com> Create a basic doze dream in SystemUI.

The doze dream is not configured by default.

When configured, the doze dream does not show anything by default.
It teases a dark version of the keyguard (showing only the time
and notifications) when a notification arrives or significant motion
is detected.

Bug:15863249
Change-Id: Icfceb054d35d6fd4d9178eda7480e2464873ca4b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
aebc0cd5960e177ff6d58908b6ee536b8a177cdd 17-Jun-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug with overscrolling on the bottom."
fed1ab62223980cebbea8a9148a695159389169f 17-Jun-2014 Selim Cinek <cinek@google.com> Fixed a bug with overscrolling on the bottom.

When overscrolling on the buttom, we now take the normal rubberband
factor again.

Change-Id: I615c84ee925b69d1ee995a56ffb2e4291c18c43d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
48e746c3c8356e0cb962da63aa35f0f7412f521f 17-Jun-2014 Selim Cinek <cinek@google.com> Fixed a bug in the scrolling logic

When the user overflung to go to the quicksettings panel the
scroll logic remained active and was not reset.

Change-Id: Iab733f3525d5465c5dc583559d0acbc350274171
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
220bf5cf9a6de83f1aecdcd62c56739b2f16a91f 14-Jun-2014 Jorim Jaggi <jjaggi@google.com> Bigger clock.

Also fixes a bug where notifications would be wrongly padded
on Keyguard after rotating the screen.

Bug: 15244051
Change-Id: I2418692c3d2ffdd5fe642361f2924629bf9a75eb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
1e119db1a376e4eb889ad447df4b229871b02b17 11-Jun-2014 Selim Cinek <cinek@google.com> Changed the visual appearance of the speedbump view.

The colorfulldots are replaced by a simple line to avoid
catching too much attention.

Bug: 15188625
Change-Id: I41be50dcc61d495f3bc88e4731388f770fda83d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
a32ab60bb020df1d89fadfa14eb8600242786bf2 11-Jun-2014 Selim Cinek <cinek@google.com> Fixed a racecondition which could lead to invisible backgrounds

Notification backgrounds could become invisible when doubletapping
a permanent notification.

Bug: 15545215
Change-Id: I799439a368701042b39ca47bcac6fcce281349a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
295609a9a58a367e7b54f3c777c218954606154b 10-Jun-2014 Selim Cinek <cinek@google.com> Merge "Delayed the highlighting of the statusbar header on drag down." into lmp-preview-dev
c0ce82daa4715822e2a37e53df7c34f157a96517 10-Jun-2014 Selim Cinek <cinek@google.com> Delayed the highlighting of the statusbar header on drag down.

Also delayed the highlighing of buttons inside notifications.

Bug: 15184882
Change-Id: Ic3af7ec7c41232ac7f8ecfa4700659b1ca293894
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
aef92efb1032b4ad2628a45f494d0e03357960ac 06-Jun-2014 Selim Cinek <cinek@google.com> When dragging down on the lockscreen, the lowest card could jump.

Bug: 15203895
Change-Id: I1a0a5a236490f12dba93700685be049d723b5339
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
159ffdbf0018d14222e2b378f69efbe739244d43 04-Jun-2014 Selim Cinek <cinek@google.com> Fixed an animation bug

Reposition animations were generated even if the shade is closed
or animations are disabled.

Bug: 15181880
Change-Id: I278278862f4b4837fe164ce2b769d9d50fa50ced
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
56109b0c9bfe6c1e416763fbe5c8affa367c84fd 04-Jun-2014 Selim Cinek <cinek@google.com> Fixed that app-info longpress was lost on configuration changes.

Bug:14189139
Change-Id: I14d73085ac8fe79ffa97a72c675b4b7df6324719
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
5d9cc668e16abf1306d82218cd3da29e28a454ae 28-May-2014 Adrian Roos <roosa@google.com> Update HUN visuals to UX spec

Adds gradient, fixes wrong padding on tablets
and adds a callback mode to swipe helper.

Bug: 15106201
Change-Id: I9c3f2d24665cb3de8e70904893f56c928b0caabb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
708a6c120da6750d281195ef15a240a5627efed4 28-May-2014 Selim Cinek <cinek@google.com> Introduced animations for the clipTopAmount of notifications.

Bug: 14081264
Change-Id: I09ca8161807d9dea7ca118601ddff9a28c373de5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
4195dd0ec6fa9750c285f972b541703bfd275ac9 19-May-2014 Selim Cinek <cinek@google.com> Fixed overScroll bugs in new notification shade.

In certain situations the overscroll did not work, this is now fixed.
Also sometimes the overscroll could jump when flinging and we are
already overscrolled.

Change-Id: I20741f5c88028bf7b63c3db86266f8a68341fa62
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
ba819628023041c2c8be61c8ce67e24c05afb07f 13-May-2014 Selim Cinek <cinek@google.com> Adapted the minimum velocity amount needed to perform an overscroll

Change-Id: I4dfe36e0eae3647631e21782f2b2ece56260a82a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
8d9ff9c2c66bc1d3b92eb6992d58599ff80ed6dc 12-May-2014 Selim Cinek <cinek@google.com> Introduced overscrolling for the new notifications

Implemented basic support for overscrolling of the new
notifications.

Change-Id: Ie1c43a4f5efbd025614c33bcb8c03a4238fada75
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
a5eaa6034dd48fab0f5a232c09ebed35f359963e 12-May-2014 Selim Cinek <cinek@google.com> Improved stack scroll range logic and more card background bug

Change-Id: Id3e6dfc4de09c6853ea1973b287880ac5f32b40b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
34c0a8d72aee1867cf7b6d04531c7faec76ab473 12-May-2014 Selim Cinek <cinek@google.com> Improved the notification stack logic further

The more card is now working correctly on the lock screen, as well
as any other small cards. The slow down zone for the bottom stack
was decreased to allow for more real estate in the scrolling area.
Also improved the padding handling.

Change-Id: I4816d8a96fc365083412e46af88e740a3fc735bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
5aa045cc6bca84f5c11f1a99999546ba5e5949a5 07-May-2014 Jorim Jaggi <jjaggi@google.com> Allow different animation lengths in StackStateAnimator.

Combine them using the maximum length.

Change-Id: Idc1e6e52f7f36ed46fbfba013c23773eeed95cd6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
fe6bfa644c5287069468b1141cec7ee510a22382 07-May-2014 Jorim Jaggi <jjaggi@google.com> Only handle scroll events when over content.

This makes sure that the unlock text is always shown when tapping
the bottom area.

Bug: 14381296
Change-Id: If1729a01dab21ddf0b93e665c85fd72ed399c0fd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
d552d9d8e964c102e6832610be46cf2c041e8829 07-May-2014 Jorim Jaggi <jjaggi@google.com> Introduce AmbientState for StackScroller.

AmbientState is a global state for the algorithm of the
StackScroller. Dimmed and which child is activated was moved
into this state. Further, scale and dimmed is also a
StackScrollState and animated in StackStateAnimator.

Change-Id: Ia68131cee62b2e0005f55ea6dc400d149ec15278
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
3af00cf10660c7fdc0582dc12361c13673d0c9bb 07-May-2014 Selim Cinek <cinek@google.com> Improved notification scroller animation logic

When an animation was already running, the calculation of the
new duration was wrong. We are now also starting the animation
instantly instead of waiting for the next frame.
Also improved the scrolling performance, which was lagging behind by one frame

Change-Id: I25d6e6eedf33d94f2f90bdc39d863955c707370c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
eb973565f3efc6417ca35363e4d6c642947775d8 02-May-2014 Selim Cinek <cinek@google.com> Refactored the notification animations, improved stack scroller

Animations are now only triggered when absolutely needed.
In addition, the notifications are now not clipped anymore when starting
a drag on them and the notification below the dragged one is fadded in if
necessary.

Change-Id: I80e8b3ea8fb48505edfb3cace6176dfa00c5a659
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
9cbadd3c08a7d7dd3412743dd04aecb16c5a1595 01-May-2014 Jorim Jaggi <jjaggi@google.com> Always use algorithm to set the children height.

This makes possible to animate between different children heights
between the states.

Change-Id: I5d74814a84c7ff5406481c3ab0553530ee20997b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
864347ae94512f0f80e92fb69846d76dd4920a6b 01-May-2014 Jorim Jaggi <jjaggi@google.com> Update panel height when stack scroller padding is updated.

Change-Id: Ib894c084fb2b78f7227fda33559079ad4f7cbb55
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
4222d9a7fb87d73e1443ec1a2de9782b05741af6 23-Apr-2014 Jorim Jaggi <jjaggi@google.com> Change interaction for dragging down to full shade.

Starts expanding the card if it is expandable. If it's not, we
rubberband the expansion a lot. After the threshold has been reached,
we scale all the notifications up and make it fully white and opaque.

Change-Id: I9ecd020ca263b0f84e87fd6ab2332519ac5e9984
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
1f553cfcf286874e154f61798fb01a5be48ce911 02-May-2014 Selim Cinek <cinek@google.com> Removed always running preDrawListener

Replaced a always running preDrawListener with one which is just posted on
demand.

Change-Id: Ie7667302d848fe4a109c04dc91376f0b44d3acd3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
319bdc45421b6a2239f259a0a26a44406a4b4a9b 01-May-2014 Selim Cinek <cinek@google.com> Opimized the number of calls to updateChildren.

Improved the performance by batching multiple calls to updateChildren
to a single call on preDraw.

Change-Id: I386edeb15ac35201d39afcac8beaa48b09245448
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
f4c1996d015a3c74e00c6ef72968f90f615a4bf7 01-May-2014 Selim Cinek <cinek@google.com> Fixed a bug when a notification was quickly added and removed.

Change-Id: Id9b1cb771a2b6d1f42b61ef40a637e15c8d8f3b7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
b77e315292fb50b679df44fee5d010bbb267377a 01-May-2014 Selim Cinek <cinek@google.com> Fixed a bug where the notification scroller could crash.

Due to a race condition the scroller could crash in certain cases
after an animation.

Bug: 14458203
Change-Id: Idc52109550270924bae5857e581574c63452f159
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
4a1ac84e35fe5a8b1f1de01193e51da173eea99c 01-May-2014 Selim Cinek <cinek@google.com> Fixed several bugs regarding the state of the notifications

Fixed an issue where the last card was hidden even though there would
have been enough space to show it when it was expanded.
Also fixed an issue where the first card was not expandable when it was
the only one.
In addition the scroll range was corrected, to ensure that the last card
could always be scrolled to full visibility, which was not the case
previously when the last card was expanded.

Bug: 14376035
Change-Id: I372a55dc1fc6e381dd9aef3d631447912e3d1024
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
572bbd42a473980c2d59af80d378f6270ba6860a 25-Apr-2014 Selim Cinek <cinek@google.com> Introduced basic animations for the new notifications.

Animations between two different states of the notification stack scroller
are now possible.

Bug: 14081264
Change-Id: I2b8e964095f71766feac5a76c4e3b85d22648d35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
fe40f7d13bfc1faa35c9a131ce4be5104cb8f6b9 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Flatten notification hiearchy and remove glow.

Currently, the padding and the glow was inside the individual
notification. This no longer works if we want to adjust the
padding dynamically whether we are on Keyguard or not. This change
moves the padding outside of the individual notifications, and as
a side effect, removes the glow. The glow wasn't really visible with
the new layout, so it's not a breaking change. We have to discuss
with UX first what the new "glow" solution is going to be.

Change-Id: Iac16892cb3b7bb1de3001954b1428796b07950c1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
343e6e258ab6a9f647eabebaed05ce3acafd2ff1 11-Apr-2014 Selim Cinek <cinek@google.com> Avoiding intermediate states in NotificationStackScroller

The StackScrollAlgorithm was modified such that the notifications
now don't layout anymore during scrolling and therefore
intermediate states are avoided except for the first card.
Also made the top stack a bit smaller and fixed a bug where the
scrolling was not working on the very first try.

Bug: 14080821
Bug: 14081652
Change-Id: I924a9f8532486856fc2ecd88f6c10d26023a5bc3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
584a7aa62c54bcbd654a6696d4fbb56e124874e7 10-Apr-2014 Jorim Jaggi <jjaggi@google.com> resolved conflicts for merge of ff0978fd to master-lockscreen-dev

Change-Id: I03881da30db8189005d50812e5528ed07cebd437
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/stack/NotificationStackScrollLayout.java
d4a57440ca5fc8461959176475b0fcd8a6e05871 10-Apr-2014 Jorim Jaggi <jjaggi@google.com> Limit notifications on lockscreen to a maximum 4.

All the other notifications are going to be collapsed in a "n more"
card.

Bug: 13635952
Change-Id: I18471c7b18d05d27e92c49ee8214605f1a151927
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
068f5929d10a2daf93d6a0aa26e48b1185c36c98 08-Apr-2014 Christoph Studer <chstuder@google.com> Fix memory leak in NotificationStackScrollLayout

Bug: 13899792
Change-Id: I87d6c5e1f0f5052d45203df51284d828823dfd88
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.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/stack/NotificationStackScrollLayout.java
6e3ecebcec1b82fd81f6d78b8deb5c4189b6026e 01-Apr-2014 Christoph Studer <chstuder@google.com> Expose locations from NotifStackScrollLayout

Expose the position each child is rendered at from
NotificationStackScrollLayout.

Also add OnChildLocationsChangedListener interface so listeners
can be notified whenever the rendering changes.

Change-Id: Iab8706fc2c435f2ddf64d280f428ed562db94f19
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
fab078b01fbad026f006744016272327f7ab116b 27-Mar-2014 Selim Cinek <cinek@google.com> Improved expansion logic of NotificationStackScroller

Expansion of a notification with a single finger is now possible
if the NotificationStackScroller has not started scrolling yet.

Change-Id: I96b622632b448915526dd08cc2e4771d404b096f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
67b2260093774f5866f781aede52830440f4ed0e 10-Mar-2014 Selim Cinek <cinek@google.com> Initial implementation of NotificationStackScroller

Change-Id: Ida9a90ca4c9645166794afea8cf0c1d1b7afe1b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java