History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
751ced6c9d21fa863310d6c9efe0b91a892f558a 21-Jun-2017 Selim Cinek <cinek@google.com> Fixed a a11y regression to click notifications

Test: add notification, try clicking it on the lockscreen with talkback
Change-Id: I27dd75cab6bfdff3f534c31ebfb4df7a43129a6d
Fixes: 62767220
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
275e0582c33f40e3019a82cf93021ad6f072fab5 12-May-2017 Selim Cinek <cinek@google.com> Merge "Don't flash colors when hinting" into oc-dev
28f90c78b213fb436b243126e8bc10c4f554bd1c 09-May-2017 Adrian Roos <roosa@google.com> AOD: Update wakeup animation

Fixes several issues with the wakeup transition.

Bug: 34716110
Test: Trigger ambient display, press power button
Change-Id: I1fa6e0be13c80a84356a8826ed18e9477bf2aba2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
ec29d34e0ba54e50fc3110c137a3197c92ba1a5f 06-May-2017 Selim Cinek <cinek@google.com> Don't flash colors when hinting

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

Fixes: 37924486
Fixes: 36413876
Test: hint on lockscreen while the last notification is colorized
Change-Id: Ic9c4bf3c65e5d688ba43d71fb2843ebb7855c4f1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
ac5f02749a595d39711beb4a1defb01949eb548a 03-May-2017 Selim Cinek <cinek@google.com> Fixed the contrast for low-priority notifications

The low priority notifications had their contrast calculated
against the white background and weren't satisfying
our contrast requirements.
This also aligns the case where the app had no colors better,
and ensures that it's actually using the secondary text
color there.

Test: existing tests pass
Change-Id: Ic11e9d06783e60998f35e0eb7f6f29fb1d86c7df
Fixes: 37444266
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
63edaf2a2c8fc1aeb71f05cbeb9a49e6b9534062 25-Apr-2017 Selim Cinek <cinek@google.com> Make music notifications not dimmable

For contrast requirements and for the image effect
to work properly, music notifications should not be
dimmable.

Test: add music notification, look at lockscreen
Fixes: 36561228
Merged-In: I58313e1828c64d34737390ad03e1deef078a7059
Change-Id: I58313e1828c64d34737390ad03e1deef078a7059
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
51efddbd3bb304de2dd47fa8cd1114ac555958bb 05-Apr-2017 Alan Viverette <alanv@google.com> Remove unnecessary casts on calls to findViewById

Just frameworks/ this time. More paths to come.

Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
1a48babb5ed30e8a3eb9645355d6455b21041406 18-Feb-2017 Selim Cinek <cinek@google.com> Move the inflation away from the statusbar

Since the notifications need to inflate more dynamically
based on their own state, the inflation is moved away
from the statusbar.
This also improves the apply inplace logic, that was
reinflating all views even if only a single notification
layout was changed.

Test: runtest systemui
Bug: 35125708
Change-Id: I42a33065ab60b7c45ca979ae2d7baa1518bf92b7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
28a0de9c5ee66a90e35f9e2d0e5ab0af8676546b 21-Feb-2017 Adrian Roos <roosa@google.com> Shade: Factor out DoubleTapHelper

Factors DoubleTapHelper out of ActivatableNotificationView, such that the
same logic can be reused for the StatusBarWindowView.

Bug: 30876804
Test: have a notification, lock phone, interact with notifications on the lockscreen
Change-Id: I4f3a43859d81677d5168424874b106bbfdea0be5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
99104836083738f9e5e73ab4170879d91de6ba67 25-Jan-2017 Selim Cinek <cinek@google.com> Further improved the coloring optimization

Fixes a few follow up bugs from the colorized
notification CL.

This also allows media notifications with a media
session to be colorized by default.

Test: existing tests pass
Bug: 34469375
Change-Id: I36348591a84fcd39d103d0ae3f64720f2fca2cf2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
f868efedd5d3a2a0d5b385104a580cbd7f54a63a 01-Feb-2017 Selim Cinek <cinek@google.com> Fixed the background for low-priority legacy notifications

The background color could be calculated wrong in case we
Had a legacy notification with a dark background.

Test: install legacy custom notification with background, observe
Change-Id: Ie2a8ba4012f30719c05115f51bfddbdc8e33e551
Fixes: 34856700
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
500263a9bc4f833e3897597d692e09d33af2240d 23-Jan-2017 Adrian Roos <roosa@google.com> AOD: Delay wakeup until interaction with notification

Instead of immediately waking upon touching the screen, the
wakeup now happens when interacting with the notification.

Also adds feedback for the first tap of the double tap gesture
on the content view.

Bug: 30876804
Fixes: 34498705
Fixes: 34500641
Fixes: 34500802
Test: manual
Change-Id: I75ea86a6009dd7efab480738584c96bb8743b2ba
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
c681346ad69f02dda5b1294b65824d01cbdbc899 14-Jan-2017 Selim Cinek <cinek@google.com> Fixed the interactivness of the shelf on the keyguard

The shelf could still be double-tapped on the lock screen.

Test: manual, tap on bottom part of last notification on lockscreen
Change-Id: Ic5ceb729e28095b90e96da85acd3da3d65110ccf
Fixes: 33766648
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
fb6ee6d60c5106447cf3c373b9969fbeb354719a 29-Dec-2016 Selim Cinek <cinek@google.com> Improved the performance of the shelf / scrim

We are now caching the light status bar state and
are only reevaluating it if it changed / alpha changed.
Similarly, we now cache the background color for the
scrim, since that usually doesn't even change
in the shade, only on the lockscreen with transparency.

Change-Id: I417bf8286b8ccdfcfb143e8ea365b01c2b348be7
Test: runtest systemui-jank -c android.platform.systemui.tests.jank.SystemUiJankTests -m testNotificationListPull_manyNotifications
Bug: 33252359
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
ae1bbbb329525d4d5652be218e1ced258306bff9 14-Dec-2016 Selim Cinek <cinek@google.com> Only requiring 2 taps for accessibility on lock screen

On the lock screen we were requiring two double taps
in order to unlock to a notification, which seems excessive
especially since talkback do their own falsing already.

Test: add notification with talkback on, try double tap
Test: add notification without talkback, existing logic still works
Bug: 32945599
Change-Id: I07e0e4299140644f62d311d8db25ec25ff138fde
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
e67e2a28ed3c824910d7f5247d4802fd513608dd 08-Dec-2016 Selim Cinek <cinek@google.com> Merge changes I25effa3e,Ibb58d1aa,I92454a1b,I878d20a8,I21037b40, ...

* changes:
Enforcing padding on the bottom of the keyguard
Fixes that notifications were sometimes clipped on the lockscreen
Don't reset the velocity when flinging down just because of falsing
Don't do icon animations if we are scrolling fast
Don't translate the notification content while scrolling
Fixed the scrim drawing in seascape
Placed the overflow indicator perfectly in the collapsed center
Improved the low priority behavior with the shelf
Improved the performance of the notification shelf
Fixed a bug where heads up notifications had no icon
Added possibility to use canned animation for icons
65d418ec8957fb1af03a8cc68aed90744a5848ff 30-Nov-2016 Selim Cinek <cinek@google.com> Improved the performance of the notification shelf

The shelf had a few inefficiencies that were adding up
when calculating the positions.

Test: runtest systemui-jank -c android.platform.systemui.tests.jank.SystemUiJankTests -m testNotificationListPull_manyNotifications
Bug: 32437839
Change-Id: Iac08a7c364a924f1d0c14258461383b431f0542b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
1381047f42bece8a1221093e1fdff8ec5d66df16 01-Dec-2016 Adrian Roos <roosa@google.com> Merge "Lockscreen: Restrict double taps to prevent falsing"
f9bba0b0dd104e0427eb4f96881ba7c43a98b626 19-Nov-2016 Selim Cinek <cinek@google.com> Adapted the shelf color when transitioning

The shelf now changes colors correctly when
transitioning between low and high-priority
notifications.

Test: manual, add low-prio notification
Bug: 32437839
Change-Id: Iab51f3f1b1b2f446b1c00c80ecabcc4b00b0064a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
db16737031091160a3a7d080ac44ce2836402d74 18-Nov-2016 Selim Cinek <cinek@google.com> Fully removed the bottom stack

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

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

Test: add low-priority notifications, observe scrolling
Bug: 32437839
Change-Id: I3921ea9f80a06f1b6330315423b012174269ac8e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
a686b2c9a91e2e6276676e5730339f7630e2f927 26-Oct-2016 Selim Cinek <cinek@google.com> Fixed the transformation into the shelf

The transformation was based on the intrinsic height but that doesn't
work since it can suddenly jump, i.e when swiping away the top notification.

Test: Add tall notifications, swipe top one away, observe no jumping.
Bug: 32437839
Change-Id: I68f83e167f73ca6c87a5838000b11029214e4ca3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
0cfbef45f037efe966a5f57af63a328f6fd5d989 10-Nov-2016 Selim Cinek <cinek@google.com> Refactored the stack animation logic

Animations are now also applicable to normal views
and are more modularly applied to specific stack
view states.

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

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

Test: Add notifications, scroll!
Bug: 32437839
Change-Id: Ic28cc1c82f2cda2ffa7a312648903b5bc2408820
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
9f0b002ecfe68508354f9c023a09cf360666df9e 10-Nov-2016 Adrian Roos <roosa@google.com> Lockscreen: Restrict double taps to prevent falsing

Further restricts the second tap on ActivateableNotificationView
such that it must occur no further than 0.2in from the first tap.

Bug: 32766052
Change-Id: I033c1abc64c815d519153ced23ac9751471b1d05
Test: Tap notification on lockscreen. Verify that second touch is only accepted near the first tap
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
3334a182a66ec05e6c87b3c98210a28ee51c835f 23-Sep-2016 Selim Cinek <cinek@google.com> Fixed a bug where the dimmed background could be invisible

Test: Notification group with 2 children on shade locked. Swipe 1 away and go to lockscreen
Change-Id: If7c3a55e220579eb27036f31d59b222371d2bf8e
Fixes: 31524202
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
aa3901a5ee68a7256663daa88be92a5faa267c23 05-Aug-2016 Selim Cinek <cinek@google.com> Fixed a bug that could lead to an empty notification

With sensitive notifications, notification groups could
become empty.

Change-Id: Ibea016c64287d1952db136e038372b778d8febc2
Fixes: 30641080
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
7baaa9e82bebc6b3e7735828dbf67340eebc5821 22-Jul-2016 Selim Cinek <cinek@google.com> Fixed a bug where the fade in from dark would not work properly

Change-Id: Idd0b38b40b06806c727d8e033847a0da0b51f55e
Fixes: 30224123
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
c7d65b4e9c784a8235424c30620bacd54cc0892e 04-May-2016 Mady Mellor <madym@google.com> Adds alpha to dimmed backgrounds

If you're on the lock screen and a child background needs
to be shown (e.g. custom background and user expanding) the
background should fade in from 0 alpha otherwise looks odd
visually.

Bug: 27591195
Change-Id: I1f46831fd8b46eca5b54e7bd964af35752c4fa2f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
3ac081786f589fd4ffedf5d2702c9d31d0a37e57 09-Mar-2016 Selim Cinek <cinek@google.com> Fixed an bug with the notification backgrounds

Notifications could suddenly have the wrong alpha and have therefore the background shadows shining through. This also cleans up the background updating logic
having a single place where their visibilities are updated.
It also fixes the shadow alpha after dragging down on the lockscreen.

Bug: 27314863
Change-Id: I5cb7937c5d2fc89cb7ef2f00d57d704349fd4f94
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
c317933a91b1d33cc4af9b7c6218b9ce675d05ea 04-Mar-2016 Selim Cinek <cinek@google.com> Fixed fading and dozemode for custom notifications

The custom notifications were fading really ugly when they
had a dark background like media notifications, because
it was fading from dark to dark.
Now this background is shared for both custom views which also
reduces overdraw for them.

In addition does the doze mode now work much nicer because we're
only fading them to greyscale instead of inverting.
This also fixed an issue where legacy custom notifications with
a dark background were colorful during doze.

Bug: 19437552
Change-Id: I87798da9ac11b9abfe4470b6ca53b555da3aa629
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
3322357b5045fdcc3e3b04c65219d39ce1ae441f 20-Feb-2016 Selim Cinek <cinek@google.com> Added fake shadows in order to have the shadow nicely fade in

Bug: 26743157
Change-Id: I21c51aa3175276f7edeed4b6df6b8730909b6051
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
f062580d395a8c99631c104d6aec250f961152dd 12-Feb-2016 Mady Mellor <madym@google.com> Improve touch target for the gear beneath a notification

This CL increases the touch target size of the gear beneath
a notification.

It also adds the logic:
- If the gear is displayed and the notification is touched
then the notification slides back over the gear
- If the grey background is touched rather than the gear
nothing happens

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

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.java
d35c2793a3f4986f0513c17d729bdca57086c994 21-Jan-2016 Selim Cinek <cinek@google.com> Added transparency to the notification backgrounds on the lockscreen

To achieve a decent lockscreen animation we also need to account for alpha.

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

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

Change-Id: I0537aca0e6dad10a7ffd52ba64b7356b0c5e4672
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
6183d12926a189b08cc3be8d9c78470617e63db0 15-Jan-2016 Selim Cinek <cinek@google.com> Fixed that music notifications were not clickable on lockscreen

On the lockscreen we were unintentionally disabling single clicks
on the media buttons while we only wanted to disallow it for the
notification header. This is now fixed by explicitly checking if
we are clicking on the notification header.

Bug: 26325096
Change-Id: I044f25ac3216b98c7769c31d09d19f801a437194
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
b65c6dbb2c55bc91de34b4fa325641c0aed6b601 28-Dec-2015 Selim Cinek <cinek@google.com> Fixed a bug where the overflow card appear animation would get stuck

Bug: 24547258
Change-Id: I50a9404c7b9cced0e2e1a2e39ffaaf0d8bf2dfb9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
570981d5f1bcd0e5186cc02655254a0606b6ec14 01-Dec-2015 Selim Cinek <cinek@google.com> Fixed the handling of the expand on the lockscreen

The user can now directly go to the unlockd shade
by doubletapping the expand button.

Change-Id: Id4c3c901eaa29482e7473480feee5701bbdf29af
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
a6c6bfb61ba14b0467b73082d591c834576cddf4 30-Oct-2015 Selim Cinek <cinek@google.com> Follow up CL for notification children change

The CLs of the notification children change have been
quite overlapping, so a few comments are addressed in this
change.

Bug: 24866646
Change-Id: If3cd029f5a97302fc33f3e2b6b6b147938ddcd3e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
34d93b0985063090a9bad88a1b80e1b99bae3332 22-Oct-2015 Selim Cinek <cinek@google.com> Hiding the children backgrounds now

To avoid overdraw we are now hiding
the background of the view if it has
the same color.

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

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

Change-Id: I5079c02406d532fea38ca2d302e8606effae0696
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
7232332dc963c2ce55dda1a3a0367080d5494503 24-Jul-2015 Blazej Magnowski <johnasselta@google.com> System to track touch and sensor events before unlocking the phone

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

Change-Id: Iaeae0fb7a0d9c707daf7a270201fa5b1cd84c74a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
83eb6bb5d83d3994a3750b566a2109a049ab1388 18-Aug-2015 Jorim Jaggi <jjaggi@google.com> Improve motion for wake-and-unlocking while pulsing

- Move all fingerprint related to logic in on central class in
SystemUI that knows all the state of the UI so there is exactly ONE
place in which we decide what to do when we acquire a fingerprint.
- When pulsing and we get a valid finger, we fade the contents of the
Keyguard out and fade the scrim out almost the same way as we would do
in a normal wake-and-unlock sequence.
- Hide shadows while dozing, so we don't see the artifacts when we fade
the dozed Keyguard out.

Bug: 23225107
Change-Id: I82f78e61f2530cf7d507ade80f6f0a340c082567
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
1f98c62f9a60fedd8f18bd47e3f3c4e5fcb34031 20-Jul-2015 Jorim Jaggi <jjaggi@google.com> Fix unnecessary layer creation for appear animation

Bug: 22561692
Change-Id: I9e5a52f8113d1cbb5afba61d7979770c2dddc5ed
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
560e64d3d95a17123048bebe2fb06ffe4567fb78 10-Jun-2015 Selim Cinek <cinek@google.com> Switched to round rect clipping while appearing notifications

This avoids a few out of memory crashes and in general seems
cleaner.

Change-Id: Iecb1be76fd561eb8bf2a4b650a866c62ed82ca65
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.java
4a357cd2e55293402d7172766f7f9419815fc1e8 19-Mar-2015 Alan Viverette <alanv@google.com> Replace usages of deprecated Resources.getColor() and getColorStateList()

Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.java
5058c38a3177d974c1926302d505f34e58de76c8 06-Jan-2015 Chet Haase <chet@google.com> Add backgroundColor getter to View

Change-Id: I3a75169a2e91ec712fb1db4d130089a1261fc66b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
c430a5b2e4715ff5c0768956650ee83431cc70fc 10-Dec-2014 Selim Cinek <cinek@google.com> Fixed a bug where the background could become transparent

Bug: 18700365
Change-Id: I9a246cbcadb4da5ad632dcd205ce08b5cefe7ed3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.java
310df3127aace5a82cdc107fdb1e2d6957f38bcc 31-Oct-2014 Chris Wren <cwren@android.com> Clear the initialized flag when resetting the height.

When the notification was updated within the heads up, touches were being
dropped due to an invalid actual height, after a height reset in the update code.

Bug: 18102199
Change-Id: I6c95d360452665464a868b2bc5ce4f6e104b6652
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
59d9723dd77108b83d4b0b16ca3fafdc6a66f64b 10-Oct-2014 Selim Cinek <cinek@google.com> Fixed an issue where the notification could become transparent

Bug: 17668881
Change-Id: If8389084c7696bb8d3c0155f1262ec1fe7973c44
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
f4d7fc3687e794c54ffc93b9cc7374460074e12e 26-Sep-2014 Selim Cinek <cinek@google.com> Fixed a crash with disapearing views

Bug: 17660994
Change-Id: Id957bc65f0787860019c491559c4bca242ea620e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.java
b2da91b14fb8ad15a74d171a298649e8cb6322bb 02-Sep-2014 Selim Cinek <cinek@google.com> Notifications are now selectable by the Keyboard

Also adapted the ripple colors a bit to be more visible.

Bug: 17203303
Change-Id: I7d0446d2641bcabb1e09b3af9535d88c4142e216
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
6aaf217076a947c60945bf4e18f3ea31df53a19a 25-Aug-2014 Selim Cinek <cinek@google.com> Fixed crash when tapping a notification

This was due to a reverse call of an animator.

Bug: 17253276
Change-Id: I9b27ce07c41a849925dd90e8a53834d0e86e5dde
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
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/ActivatableNotificationView.java
f4a1635060bef16b00d9dc641826b9054a1ef126 12-Aug-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug where a notification had no background" into lmp-dev
23e6acbde266cc104bffe7dff45171a1a8cb7548 12-Aug-2014 Selim Cinek <cinek@google.com> Fixed a bug where a notification had no background

When tapping on a notification and then dragging down,
the notification had no background anymore

Bug: 16191184
Change-Id: I233a45744fc39ac3fcd9f533c8427354ab384709
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.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/ActivatableNotificationView.java
22f2ee567dd1b1a42432251229bcb2f05c1c4700 29-Jul-2014 Christoph Studer <chstuder@google.com> SysUI: Reset background treatment when re-using Entries

Bug: 16220667
Change-Id: I8fd2770fa5ea554728eb8cd70ce4a6171e28ece5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
c01bd1167a1b08d59557f214ddc48cf24d3b8d0a 19-Jul-2014 John Reck <jreck@google.com> Return Animator instead of ValueAnimator

Change-Id: I29a7cfdc7ffbb3a4d33f9e64f9d7ca791f5c947c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.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/ActivatableNotificationView.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/ActivatableNotificationView.java
3cb07a462be293634e6a83ea6c82f3647cd17dad 06-Jun-2014 Alan Viverette <alanv@google.com> DO NOT MERGE Material theme

BUG: 15467097
Change-Id: I15191362e104a902895418fc615892c21db64c35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
62f30e0bb14b38c54d5fed4771141dc5b3fb6f4b 05-Jun-2014 ztenghui <ztenghui@google.com> API Review: move the CreateRevealAnimator to ViewAnimationUtils

b/15451650

Change-Id: If270bbf757047ce7847cab457d3836d756830124
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
bcbb75ac9d73a92632e97ab990a913ede755b176 27-May-2014 Adrian Roos <roosa@google.com> Initialize background visibility of ActivatableNotificationView

Initializes the background visibilities that were previously
only set when adding the view to the scroller,
resulting in HUNs having two backgrounds.

Bug: 15106201
Change-Id: I21ef3b34c6feb0e852c9dc2c3289665cff40927e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.java
3c3c3fc38c474924629aa591c98d6dc190ed4e83 20-May-2014 Jorim Jaggi <jjaggi@google.com> Fix invisible notification backgrounds.

Bug: 15094262
Change-Id: I37eeb03a6ebb595da6793cfc95aa159662ab3990
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
24d7cfa4d6a3331708bb7b37f551b4f534b02f7c 20-May-2014 Selim Cinek <cinek@google.com> Fixed measuring and layouting of the more card and expandableviews.

Change-Id: I2848b39c6498ce9ad197ed7bad8423c74b372419
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
863834bd96bdebcf21f4c4a7d8285d4858c061e4 20-May-2014 Selim Cinek <cinek@google.com> Fixed a big with the vetobutton, circumventing double tapping.

Change-Id: Ie31d06fe4e2454cf6a3223bef75eca2c76f47b59
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
c9c00ae2fa5fb787e9f12705f8cd8de445ecde4b 20-May-2014 Selim Cinek <cinek@google.com> Fixed several bugs introduced by the new background views.

Also notifications are now limited to 4U again.
Bug: 14880580

Change-Id: I05d19981ad1bb06687bf6c994608e21ac925a759
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
a8b48e166ca037b3b0be2f4868e6b70fdba19d9d 19-May-2014 Jorim Jaggi <jjaggi@google.com> Move background from notification into a view.

This allows to run a circular clip animation for the double-tap
interaction on the lockscreen.

Change-Id: I1c36f4d250c0255fc1fd89f97f078b3f5914ee47
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
fe266a3cb37b31e0464b62a0d3c1288322b728fb 16-May-2014 Dan Sandler <dsandler@android.com> Enable tinting of notification backgrounds.

(Turns out gray text doesn't look so hot on tinted
backgrounds, so this CL switches it to alpha-black of an
equivalent intensity.)

Change-Id: Ia2b7e24b72849bd31bfbd0ce948a6c92233f2b9e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
11b7a3813901e9894a37222848c56d8ae353d38d 08-May-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix crash in ActivatableNotificationView."
bccb9123a580a1fdf5b22226eaa2be3848ec2a9a 08-May-2014 Jorim Jaggi <jjaggi@google.com> Fix crash in ActivatableNotificationView.

Change-Id: Ifc431333bcf0b0d2ade81730c9ffc935218e5cc0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.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/ActivatableNotificationView.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/ActivatableNotificationView.java
ecbab3662d4474bbb45477939aaa167eb883212b 23-Apr-2014 Jorim Jaggi <jjaggi@google.com> Introduce SHADE_LOCKED as a special state for the shade.

This state can be either reached by tapping the more card or dragging
down on any card. In this state, the shade is fully interactive, but
the phone is stil locked. This state can only be enterred if
redaction is off but security is on. If redaction is on, we will show
the bouncer instead and go to the normal shade.

Bug: 14161523
Change-Id: I95ca0991745ffc11ed1028581e3da15265c12ae5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.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/ActivatableNotificationView.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/ActivatableNotificationView.java