History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f1614a6ec2d972c1a975777d7998615c8ed4d142 27-May-2016 Selim Cinek <cinek@google.com> Fixed a few memory leaks in SystemUI

Fist of all we made the statemap a weak hashmap in order never
to leak any views anymore.

Another leak could occur because predrawlisteners were added twice
but removal only removes one. A view was then leaked in case it was detached
before predraw.

Also fixed a leak when transforming the header because a state wasn't
nulled.

Change-Id: I2573a506c307196ef60c905dc823ea8a95e91a16
Fixes: 28945863
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
b0a824687f56b6950338aad169d8d837f8ed657b 01-May-2016 Mady Mellor <madym@google.com> Children should have backgrounds

To add a background to children of a group, a couple of things
are changed when a group is in the expanded state:
- The parent's shadow + background is removed
- The group header is given a background and elevation
- The children are elevated to cast a shadow and have backgrounds
- When it's fully expanded the dividers won't be shown
- There's extra height added to the parent so that the child
may cast the bottom shadow of the group
- As the children move into the bottom stack the last visible
one alters its height and the ones below it are hidden
to achieve the clipping effect

Fixes: 27591195
Fixes: 28655641
Change-Id: I0484308843e9b8bc10391387e54de07973a48f7d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
c128f227872e0ab9b9976fca1eb7475e94bb4bfe 26-Apr-2016 Mady Mellor <madym@google.com> Ensure background is shown behind gear when notifications overlap

Uses clipTopAmount to achieve this and removes clipTopOptimization.

Bug: 27310381
Change-Id: I14da1eb062a0d7751b16bfc401d70de7981e9c07
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
277a8aa409def1a35eb662c974b91c0f133926aa 22-Jan-2016 Selim Cinek <cinek@google.com> Replacing alpha with shadowAlpha

Change-Id: I1fc75e395321d77fb959dd3e8ce520bd8378cfeb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
4fd5dfc1c3c356c62db329b2c1ccc00e3e75dabc 20-Jan-2016 Selim Cinek <cinek@google.com> Removed the visual speedbump

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

With fullbleed notifications don't scale anymore when clicked.

Change-Id: I75fadb5e6ccb7f12ca8fc1cb9459c6d9576f4abd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
83bc78338437a460076a4b5778ded38440ac3501 22-Oct-2015 Selim Cinek <cinek@google.com> Changed the appearance of notification bundles

Children now show up as one line notifications even
if the summary is not expanded. The childrenContainer
shows a summary if there are some which don't fit
in there currently.

Bug: 24866646
Change-Id: I0cfae9342722c9f8941f51704618190cfe4e76b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
a89904223770a43d4c2e5ecd26400ed8f1db68df 13-Jun-2015 Jorim Jaggi <jjaggi@google.com> Merge "Fix dark mode for custom views" into mnc-dev
021eee53e52c880a529ece28a3a9edb3cd0776b7 12-Jun-2015 Jorim Jaggi <jjaggi@google.com> Fix dark mode for custom views

Bug: 20847909
Change-Id: I9f5c6cf2d0fa4e632ce654660050a48c76bc671b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
2cd45dfba6a9105a305ea20b110ba5ac078a9dc6 10-Jun-2015 Selim Cinek <cinek@google.com> Enabled appear and dissappear animations for the overflow card

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

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

Bug: 15869874
Bug: 15188947
Change-Id: I6c733d6f8e8a04f85036182f82d3e945c6feb5bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
a272dfed9a4f31d8245099c0d99a73e79b90670c 20-Feb-2015 Selim Cinek <cinek@google.com> Improved the logic for notification clipping

Views are now still clipped during animations
but just on the right size.

Change-Id: I25e7d6dd67c9fcdb3a2c743048f9e83c840d837e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
b036ca4de8e93d83bcdc093fbf8f096dc18a810d 20-Feb-2015 Selim Cinek <cinek@google.com> Made stack scroller animation and apply logic reusable

Change-Id: I5d513dfc91b2a041ccefaa65074a64d1f211ec4a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.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/StackScrollState.java
104078c8ba7504376f77ab7ea7f183d2250d323d 31-Oct-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Never log GONE notifications as visible" into lmp-mr1-dev
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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.java
2e34ec3cbbe595b646bd7f319fb369a37191847f 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Fix clipping of notifications on lockscreen.

Bug: 15942321
Change-Id: I5838c24987de9ed4d1df550df408536271b047f1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.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/StackScrollState.java