• Home
  • History
  • Annotate
  • only in /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
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
otificationStackScrollLayout.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
nimationFilter.java
otificationStackScrollLayout.java
tackStateAnimator.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
otificationStackScrollLayout.java
4e857f4ef0357e05806819d0488a73a12208fe8f 17-Nov-2014 Jorim Jaggi <jjaggi@google.com> Fade notifications when exiting dozing

Bug: 18146441
Change-Id: Ifa0cbb8157c65768c3a0c584166ca88c3016b730
nimationFilter.java
otificationStackScrollLayout.java
tackScrollState.java
tackStateAnimator.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
otificationStackScrollLayout.java
tackStateAnimator.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
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.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
104078c8ba7504376f77ab7ea7f183d2250d323d 31-Oct-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Never log GONE notifications as visible" 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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
c5baa3eb0893cb764e7810f8c68e89b04653df86 29-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug with notification clipping

The clip rect was not correctly set for a view which
was fading out leading to some overdraw.
It also fixes a bug where the alpha was not applied when
made invisible.

Bug: 16077953
Change-Id: I4c26aee88c5c87147df31ec7fb413bc63cd2625c
tackScrollAlgorithm.java
tackScrollState.java
tackStateAnimator.java
12cf9e5159ee19e2335e436241a7bc6d5eb10bee 29-Oct-2014 Christoph Studer <chstuder@google.com> SysUI: Never log GONE notifications as visible

Bug: 18170453
Change-Id: I58a3990b481889fe4a1370e1eaa88058df53079d
otificationStackScrollLayout.java
tackScrollState.java
02af41efe54eb2cc8fde7311e4cf5f0e5ff2373c 14-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug when double tapping a notification in the normal shade

This fixes that sometimes holes where created when grabbing the panel while
closing the shade (eg. double tapping) or the notifications did not disappear.
It could also happen when using the clear all button.

Bug: 17969040
Bug: 17899136
Bug: 17961295
Bug: 17551216
Change-Id: Id7aa37bbcbae504039f90686e2bc364d18685205
tackScrollAlgorithm.java
tackStateAnimator.java
34cf5c4bfc7c4918b8155c47eb905782902016d6 26-Sep-2014 Selim Cinek <cinek@google.com> Increased the falsing threshold when woken up by touch

Bug: 17649103
Change-Id: Iea4736a761a1108e7832aa62cc2060ea0bd89376
otificationStackScrollLayout.java
9d25c97ea0e39e8bc7d4b9d16747e78961df6bde 11-Sep-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the drag down animation was behaving wrong" into lmp-dev
cfc91cf2648cdaa2268e70ebfeed421ed86a6221 10-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug where the drag down animation was behaving wrong

Since we actually only need to animate the yCoordinate in
the drag down motion, some clipping artefacts were left
in certain cases.

Bug: 17345758
Change-Id: I659a64b7ae5c7abcfa04c20347ec56a2d5f4f75c
tackStateAnimator.java
a9dddfb011c1e5f7610eaeb0956f65e3b080aa0a 09-Sep-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug that the icon was not animating anymore when updating." into lmp-dev
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
otificationStackScrollLayout.java
33b5f783afb9b6c20f675fa345a3d533f94c9ac2 09-Sep-2014 Jorim Jaggi <jjaggi@google.com> Merge "Do not dim the non-activated notifications on lockscreen" into lmp-dev
4538cee46d3aa91c85a453049d2b2284b799c66a 09-Sep-2014 Jorim Jaggi <jjaggi@google.com> Do not dim the non-activated notifications on lockscreen

This fixes a lot of jank when showing all cards by tapping the more
card, because this lead to layer trashing in every frame (the
background was updated as well as the overall alpha for the card).

Bug: 17419967
Change-Id: Ib39af6eaab26409eedff72c921e9aa1ede31b830
tackScrollAlgorithm.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
otificationStackScrollLayout.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
mbientState.java
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
tackStateAnimator.java
cab4a60c485872848fc0fa3e65baaeb06d21a7d8 03-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug where notification icons where not animating

Bug: 16043845
Change-Id: I23217d90803fd247f6d1b4d2aea056deb5749c15
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
tackStateAnimator.java
95ed59283bd25fb363d13c000a7408bcafb5e93e 28-Aug-2014 Selim Cinek <cinek@google.com> Fixed a bug where notifications could remain in the overlay.

This led to notifications being visible even though they should
have been removed

Bug: 17295716
Change-Id: I05a243d5c9ca359d1f5ca29a7535935d6e61a4d6
tackStateAnimator.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
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
0e41dea0b36f270a7cd22749c50a91b90f3373b5 25-Aug-2014 Selim Cinek <cinek@google.com> Fixed a bug where animations were generated when closed.

Bug: 17248206
Change-Id: I4376e1eede125ade71c09b2c1cd6ae64ad617230
otificationStackScrollLayout.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
otificationStackScrollLayout.java
tackScrollAlgorithm.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
otificationStackScrollLayout.java
tackScrollAlgorithm.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
otificationStackScrollLayout.java
4581cf820637301dffa7dab0d59d92929b19e9c1 12-Aug-2014 Selim Cinek <cinek@google.com> Fixed a jump in the stack scroller algorithm

The bottom stack jumped slightly when scrolling in landscape.

Bug: 16954513
Change-Id: I11ed9074cf5286b01f4f57ce37b4476c2ee9cd7e
tackScrollAlgorithm.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
otificationStackScrollLayout.java
tackScrollAlgorithm.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
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
62a7c831d54d0a552f059e70176ccf7ac77e57f4 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Clean up hiden notifications on Keyguard handling

Change-Id: Ifeabfdd1ed8c11b0796cc79bba81752518921be3
otificationStackScrollLayout.java
a2052ea218386877e6d5d2136483a62b2b31f774 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Empty notification shade state.

Bug: 16483230
Change-Id: I7953a7954cae12124146f462ed8c0dc44769a38f
otificationStackScrollLayout.java
tackScrollState.java
ff9c9c473f9cf4e273c9cfeeb595c5870d1053b8 01-Aug-2014 Jorim Jaggi <jjaggi@google.com> Faster timings when a notification comes out from more card

Change-Id: I1cc759aa8a2c235c4ca1962b41a406480b4277b2
otificationStackScrollLayout.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
mbientState.java
nimationFilter.java
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
tackStateAnimator.java
dbc3dce886cb7abba23a9f18e60d0f5af5c93226 01-Aug-2014 Jorim Jaggi <jjaggi@google.com> Handle go to full shade motion for redacted case

Bug: 16291973
Change-Id: Idc5ea93548e17ef9cd2d7c36416b293950554703
otificationStackScrollLayout.java
tackStateAnimator.java
8b73006a36b3000a9847534dcb01a2e7066e9d93 31-Jul-2014 Jorim Jaggi <jjaggi@google.com> Clean up speedbump handling when going to SHADE_LOCKED

Bug: 16291973
Change-Id: Ibaa127709ff7a1a001402bd958016998e2bd23bf
otificationStackScrollLayout.java
tackScrollState.java
tackStateAnimator.java
60d07c597c3f996deb3f2743466fe5279ca15e8d 31-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement timings for go-to-full-shade transition.

Change-Id: Ib7c0f65b7e2565a6c30b9962e9f81547537b408a
nimationFilter.java
otificationStackScrollLayout.java
tackStateAnimator.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
tackScrollState.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
tackScrollState.java
tackStateAnimator.java
3107cfacd34ded2508ab03c896e1ce894de0c795 22-Jul-2014 Selim Cinek <cinek@google.com> Fixed a bug with low priotity notification coloring

When there where only low priority notifications, the topmost
notification was not colored correctly.

Bug: 16197778
Change-Id: I9fe8da79cfa78a3b94a3107c9e1af83b859a093e
tackScrollAlgorithm.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
otificationStackScrollLayout.java
362dd6d632f0eb63de4edf4a6eec281342391d9f 09-Jul-2014 Jorim Jaggi <jjaggi@google.com> Add glyph rerasterization hack for SystemUI.

Change-Id: I39d84e981b828b501801349d7a5e70a089b5f14e
tackScrollAlgorithm.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
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
ad3e5afdd2dad5ae9144db1cdadd968ba6f306b1 04-Jul-2014 Selim Cinek <cinek@google.com> Fixed some logic in the stack scroller algorithm

Also made the top stack slow down a little bit smaller, such that
the speedbump doesn't jump anymore when entering it.

Bug: 15022817
Change-Id: I66c3123a043c66fd9f8aaef50e5ffade4bc17989
tackScrollAlgorithm.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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
341d182100fcf6e44bb9b96ade3dead5ae82a439 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Disable flexy straw when in QS

Change-Id: Ic6c7834512c3cc96e3e6956008727312ea1f2423
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
3d2b94bf8e32640e57573ebb17911b1db9440231 02-Jul-2014 Selim Cinek <cinek@google.com> Made notifications below speedbump grey.

Also fixed a small scrimming bug where headsup where
scrimmed.

Bug: 15408642
Change-Id: I8319ccb001a1d654af055276de3c64ae388a7e47
tackScrollAlgorithm.java
tackScrollState.java
tackStateAnimator.java
697178b1244533adb0ffb3325c0a27a1fde6eaca 02-Jul-2014 Selim Cinek <cinek@google.com> Refactored the notification backgrounds

The background now only uses one specific drawable and emulating
the legacy behaviour by tinting. Notification backrounds are now
also a ripple drawable, giving feedback on click.

Bug: 15837646
Change-Id: Ia3b7dafebe2439cc56ed258264ef33b5b07faa69
tackScrollAlgorithm.java
c640fafbcd7ba513130dcbf5762adbd77a9ced88 02-Jul-2014 Jorim Jaggi <jjaggi@google.com> Merge "Start expanding QS directly when overscrolling to it."
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
otificationStackScrollLayout.java
tackStateAnimator.java
1e2b2ba4b39e4d2fceb355347f6eaf51b76819be 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix clipping of notifications on lockscreen."
2e34ec3cbbe595b646bd7f319fb369a37191847f 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Fix clipping of notifications on lockscreen.

Bug: 15942321
Change-Id: I5838c24987de9ed4d1df550df408536271b047f1
tackScrollAlgorithm.java
tackScrollState.java
5dfb86bb09a1c5eebd6522426c94b92c02154779 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fixed a bug on the notification appear animation"
fa129db84a2985f81eac4c51204180b00122b632 01-Jul-2014 Selim Cinek <cinek@google.com> Fixed a bug on the notification appear animation

On the lockscreen the dimmed state was animated before when added
leading to a white flash of the background.

Change-Id: I78047c2d7be2f4b85a25a1bdefacbc944f775b53
tackStateAnimator.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
otificationStackScrollLayout.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
mbientState.java
nimationFilter.java
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
tackStateAnimator.java
89faff1dac023643eb275e8ad0c062b06987ba4d 20-Jun-2014 Selim Cinek <cinek@google.com> Closing the QS when tapping on the notifications now.

Bug: 15394230
Change-Id: Ib9f750db69529afc0d56685fb88a13d183b0d3d5
otificationStackScrollLayout.java
f54090e9bb23e9ed1b4d9e500d856f80d2fbe775 18-Jun-2014 Selim Cinek <cinek@google.com> Scrimming the notifications when QS is open.

Bug: 15394230
Change-Id: I4234bde0259ef296db73a43f69a765dbde5ddacd
mbientState.java
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
tackStateAnimator.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
otificationStackScrollLayout.java
4e456bee15e56e7cc09b62591613f0a794f077e3 12-Jun-2014 Selim Cinek <cinek@google.com> Fixed that the top card casts a shadow on the second

Bug: 15531609
Bug: 15381356
Change-Id: I0a85e43ac9c4330349fa46b3f00f7c0cf231520f
tackScrollAlgorithm.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
e299793343e6f169a110afb047414b48eef96550 12-Jun-2014 Selim Cinek <cinek@google.com> Fixed the calculation of the clipTopAmount which lead to holes.

The clipTopAmount was calculated with a cached value and not the
calculated one which could lead to weird holes in the shade.

Bug: 15588355
Change-Id: I281858e5b955c8846af8ab63e58211091559621b
tackScrollAlgorithm.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
otificationStackScrollLayout.java
tackScrollState.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
mbientState.java
otificationStackScrollLayout.java
429b1ab5cbd0e776c8b9f1d41d502db9d2dc5b44 10-Jun-2014 Selim Cinek <cinek@google.com> Merge "Fixed an issue where holes in the notification shade could appear." into lmp-preview-dev
295609a9a58a367e7b54f3c777c218954606154b 10-Jun-2014 Selim Cinek <cinek@google.com> Merge "Delayed the highlighting of the statusbar header on drag down." into lmp-preview-dev
32b5f7a0e8257f7eb265ef61ed22c1936d175690 10-Jun-2014 Selim Cinek <cinek@google.com> Merge "Added card elevation when card is clicked on the lockscreen" into lmp-preview-dev
7d447726e2cb9fae80db417012039828daab8fe7 10-Jun-2014 Selim Cinek <cinek@google.com> Fixed an issue where holes in the notification shade could appear.

When redaction was turned on, holes could appear.

Bug: 15107339
Change-Id: I8c2830caaa78f03c8ccada1a7160f73c906365d7
tackScrollAlgorithm.java
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
otificationStackScrollLayout.java
b89de4ec490c2c47a7aebf2caa4c9cdd5ed1010b 10-Jun-2014 Selim Cinek <cinek@google.com> Added card elevation when card is clicked on the lockscreen

Bug: 15381356
Bug: 15181880
Change-Id: I2dd08b80d2c6b7710d2772c8880b32ab23ec42f9
tackScrollAlgorithm.java
3cb07a462be293634e6a83ea6c82f3647cd17dad 06-Jun-2014 Alan Viverette <alanv@google.com> DO NOT MERGE Material theme

BUG: 15467097
Change-Id: I15191362e104a902895418fc615892c21db64c35
tackScrollAlgorithm.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
tackStateAnimator.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
otificationStackScrollLayout.java
5158d82340b6e222da1b9254c5b9667c600e002e 04-Jun-2014 Selim Cinek <cinek@google.com> Disabled touch interaction when in Quick settings.

Bug: 15308429
Change-Id: I7379b7e3d7145033ff733cef9a336e41793ab103
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
457cc356089c61317b4c29a3e83f5fc47edb68be 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Hide header when notifications collide with it on Keyguard.

Bug: 15163546
Change-Id: If4f39786916df75537959a8104823353c475448f
otificationStackScrollLayout.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
tackStateAnimator.java
290600a08d0b7df691d6140b5557d795cd0581de 30-May-2014 Jorim Jaggi <jjaggi@google.com> Overscroll header when expanding the panel.

Bug: 14486987
Change-Id: I563aabf273328d733d7452af7f54db28934df9d9
otificationStackScrollLayout.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
otificationStackScrollLayout.java
708a6c120da6750d281195ef15a240a5627efed4 28-May-2014 Selim Cinek <cinek@google.com> Introduced animations for the clipTopAmount of notifications.

Bug: 14081264
Change-Id: I09ca8161807d9dea7ca118601ddff9a28c373de5
nimationFilter.java
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
tackStateAnimator.java
f653dba7cb672b5ebfc8403e54e74095a89d56fb 24-May-2014 Selim Cinek <cinek@google.com> Notifications where clipped incorrectly in the unlocked shade.

Previously the notification clipping did not account for the corners
of their rounded rects.

Bug: 15188616
Change-Id: If8ee1ceda0a5a43b4ab9e754804279834f93baa4
tackScrollState.java
1efb240c1a0aeca9492cf8891794712adfdb1fa7 23-May-2014 Selim Cinek <cinek@google.com> The layertype was incorrectly restored with overlapping alpha animations.

This could lead to weird clipping bugs on the lockscreen. We now simply
set its type to back to NONE after the animation.

Bug: 15186220
Change-Id: I884b6830d748309105ed62471cb8b6dee71d51fe
tackStateAnimator.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
nimationFilter.java
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
tackStateAnimator.java
1d480695df31f1c328473f32d5007cea6a03b6e0 20-May-2014 Jorim Jaggi <jjaggi@google.com> Change fling behavior of PanelView.

Change-Id: Ie700be6b1ef48350601ce6bc7fe60579fddae098
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
tackStateAnimator.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
otificationStackScrollLayout.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
mbientState.java
otificationStackScrollLayout.java
tackScrollState.java
ba819628023041c2c8be61c8ce67e24c05afb07f 13-May-2014 Selim Cinek <cinek@google.com> Adapted the minimum velocity amount needed to perform an overscroll

Change-Id: I4dfe36e0eae3647631e21782f2b2ece56260a82a
otificationStackScrollLayout.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
mbientState.java
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackStateAnimator.java
a5eaa6034dd48fab0f5a232c09ebed35f359963e 12-May-2014 Selim Cinek <cinek@google.com> Improved stack scroll range logic and more card background bug

Change-Id: Id3e6dfc4de09c6853ea1973b287880ac5f32b40b
otificationStackScrollLayout.java
b96924ddbf5283954f6f0f3af599844be1da1384 12-May-2014 Selim Cinek <cinek@google.com> Corrected top stack logic of notifications again.

Change-Id: Ibf514f6ed446574ebe0bf7cfed692197123384f3
tackScrollAlgorithm.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
otificationStackScrollLayout.java
iecewiseLinearIndentationFunctor.java
tackIndentationFunctor.java
tackScrollAlgorithm.java
8df56452cb696ebdee82df6fb255892eabf3febc 08-May-2014 Selim Cinek <cinek@google.com> Improved animation logic of the new notifications

Scrolling and other local updates work much better now when an
animation is already in place.

Change-Id: I602899bc75ae132ebb30591e723be3f00f744e18
tackStateAnimator.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
otificationStackScrollLayout.java
tackStateAnimator.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
otificationStackScrollLayout.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
mbientState.java
nimationFilter.java
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
tackStateAnimator.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
tackStateAnimator.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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
tackStateAnimator.java
59b5a356b828fe60ea2874b0680a1bf7c84809a1 02-May-2014 Jorim Jaggi <jjaggi@google.com> Epic performance fix during animation.

Change-Id: I0a5627543a048cc5348f482ea3407676c9b42126
tackStateAnimator.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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
98fb09c2b2dbf57803a8737ee7b73cf167721312 01-May-2014 Jorim Jaggi <jjaggi@google.com> Fix animation play time, animation and alpha.

Change-Id: Ib5f0a7880473930da3db70fcbd8c4e620f267cf8
otificationStackScrollLayout.java
864347ae94512f0f80e92fb69846d76dd4920a6b 01-May-2014 Jorim Jaggi <jjaggi@google.com> Update panel height when stack scroller padding is updated.

Change-Id: Ib894c084fb2b78f7227fda33559079ad4f7cbb55
otificationStackScrollLayout.java
0dd6881ea481c855976214807c17595b34a2920a 01-May-2014 Jorim Jaggi <jjaggi@google.com> Introduce animation for changing top margin.

Change-Id: I7f77a1c69efc2dca3e5a37e7d6fc497ae487ec46
otificationStackScrollLayout.java
tackStateAnimator.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
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
f4c1996d015a3c74e00c6ef72968f90f615a4bf7 01-May-2014 Selim Cinek <cinek@google.com> Fixed a bug when a notification was quickly added and removed.

Change-Id: Id9b1cb771a2b6d1f42b61ef40a637e15c8d8f3b7
otificationStackScrollLayout.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
otificationStackScrollLayout.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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
39610545f0c2714a3526bc935effe57b421542d1 30-Apr-2014 Selim Cinek <cinek@google.com> Fixed a crash of the notification animation on initial startup

When no state was applied yet and an animation was started the system
could crash.

Bug: 14430331
Change-Id: Ic8a4532b73f4d70cb365975f055d6630f61e0318
tackStateAnimator.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
otificationStackScrollLayout.java
tackScrollAlgorithm.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
otificationStackScrollLayout.java
tackScrollState.java
tackStateAnimator.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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
d3406d7a1afd2b1ff3aea216fb74e402f1795888 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Flatten notification hiearchy and remove glow."
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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
2ba5f1f4e328dc2da47363a9feda75d5fdb9a4af 28-Apr-2014 Selim Cinek <cinek@google.com> Fixed race condition regarding first child max height

The scroller could crash due to a race condition when updating
the maxheight of the first view.

Bug: 14295010
Change-Id: I911c724a26c8624e2326118e3b392ee675001bc6
tackScrollAlgorithm.java
b6e0e1228bfd38f5ba971194afc5c31d99980fa1 23-Apr-2014 Selim Cinek <cinek@google.com> Fixed a bug where holes could occur in the new shade.

When a notification was never layouted before and it was the first
child, holes could occur in the shade when dragging down, because its
maximum allowed height was wrongly calculated.

Bug: 14080722
Change-Id: Ia10f9dd95f917d492411aec1da4ae0fc4d8f33d5
tackScrollAlgorithm.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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
9f347ae27c9c9051f5130ac27fffb0e4fbef01a3 11-Apr-2014 Jorim Jaggi <jjaggi@google.com> Fix first child handling with GONE children.

Bug: 13635952
Change-Id: I970f39a2a33d957f32d3290999fd007f0d323b3b
tackScrollAlgorithm.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
otificationStackScrollLayout.java
tackScrollAlgorithm.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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.java
068f5929d10a2daf93d6a0aa26e48b1185c36c98 08-Apr-2014 Christoph Studer <chstuder@google.com> Fix memory leak in NotificationStackScrollLayout

Bug: 13899792
Change-Id: I87d6c5e1f0f5052d45203df51284d828823dfd88
otificationStackScrollLayout.java
tackScrollState.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
otificationStackScrollLayout.java
tackScrollAlgorithm.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
otificationStackScrollLayout.java
tackScrollAlgorithm.java
tackScrollState.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
otificationStackScrollLayout.java
67b2260093774f5866f781aede52830440f4ed0e 10-Mar-2014 Selim Cinek <cinek@google.com> Initial implementation of NotificationStackScroller

Change-Id: Ida9a90ca4c9645166794afea8cf0c1d1b7afe1b4
otificationStackScrollLayout.java
iecewiseLinearIndentationFunctor.java
tackIndentationFunctor.java
tackScrollAlgorithm.java
tackScrollState.java