History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
73cf02a0783e3857cae21fece9c292abcc9e1409 17-Jun-2016 Selim Cinek <cinek@google.com> Fixed a bug where the expanded layout would flash

When the heads up disappeared from the shade, it's layout would
switch to the expanded state. We're now delaying this until
the animation is done.

Change-Id: I6c5c970f6b471fb10b197922dfea520b07c84abc
Fixes: 29318819
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
e9bad242f38bebadae481a22b647cc153f093070 15-Jun-2016 Selim Cinek <cinek@google.com> Added dismiss, expand, and collapse accessibility actions

Fixes: 20343017
Fixes: 29368014
Change-Id: Ib571242aac04c67aea2f3c3ce76139eaedc1f3f1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
599be34e6e3274e97512f3970a0d6edddedb8eb4 13-Jun-2016 Adrian Roos <roosa@google.com> Improve action bar transition

Improves the transition of the action bar between
the collapsed and expanded states.

Bug: 28935363
Change-Id: I89efe95aa045d04bab4208a001f82cb69b38fce5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
0789ee09080f8db98349a4a5dd9e0a43da8c675f 01-Jun-2016 Adrian Roos <roosa@google.com> Fix DirectReply bug when reapply fails

RemoteInputView failed to notice updates where the
reapply failed, causing it to reopen upon success.

Change-Id: I4fdd4d3240da6e38878d281fbf8c654ee9a682c3
Fixes: 29057180
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
0d7dbb0f282afb43ec2a6a81789379749b2ab054 01-Jun-2016 Mady Mellor <madym@google.com> Merge "Adds alpha to dimmed backgrounds" into nyc-dev
06fe24341cd07cee044527cab61345355802fa54 27-May-2016 Adrian Roos <roosa@google.com> Merge "Notification: Fix bug with sliding action list" into nyc-dev
4f401f24c79c26a0554331bf13948e402c611015 27-May-2016 Selim Cinek <cinek@google.com> Merge "Fixed a few memory leaks in SystemUI" into nyc-dev
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/NotificationContentView.java
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/NotificationContentView.java
bb73e9c65a2e03f50c29def64d564fb29dc946ce 26-May-2016 Adrian Roos <roosa@google.com> Notification: Fix bug with sliding action list

Fixes a bug where the action bar was not where it
was supposed to be if the expanded notification
was smaller than the collapsed + action height.

Bug: 28767094
Change-Id: I30c0ae430d4d5f9e88a02f5143094e90cf31b620
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
6088cf67e8895b5ae09e8d99d57f9ae9279a2470 25-May-2016 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the expand button was invisible" into nyc-dev
5f56d85552a5fbbf67ddafd05ab1103b64538a10 25-May-2016 Selim Cinek <cinek@google.com> Fixed a bug where the expand button was invisible

Since the view wasn't layouted yet it was layouting it wrongly

Change-Id: I62fcdde1eda457bab74765a290865b1749b08dac
Fixes: 28869354
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
a9c0d3ff19461b0384ac4a586cd67e2084193604 24-May-2016 Adrian Roos <roosa@google.com> Merge "Fix janky swiping with RemoteInputViews" into nyc-dev
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/NotificationContentView.java
d009ab1e2a57648cac9de93912964e2a36ae1762 21-May-2016 Adrian Roos <roosa@google.com> Fix janky swiping with RemoteInputViews

Change-Id: Ie0f525b886c41fdd0f3ef7cc7efb525ed08f3560
Fixes: 28885122
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
fe03504cf1904a955bd8bbcd26f9121d754f5fc0 11-May-2016 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the content wasn't transforming in a group" into nyc-dev
6ac3fa8ebde529f4bc9d90bc2ac73bcd8634a494 10-May-2016 Selim Cinek <cinek@google.com> Fixed a bug where the content wasn't transforming in a group

Too many booleans.

Change-Id: I1451484b1abcae3880448db60cff18ad97e9505f
Fixes: 28677158
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
181385ce33c83a249087a1cff65870dfe120aae8 05-May-2016 Adrian Roos <roosa@google.com> Keep RemoteInputView visible when focused

Scrolls the NotificationStackScrollLayout in response to movement
to ensure that the focused view stays visible. Also makes sure that
the action list is always aligned at the bottom of the notification
to avoid jank during this scrolling when the height changes.

Fixes: 28193862
Fixes: 26919632
Change-Id: I911a873367fe26eafd9fae4bca4e693d0827eba7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
4ad13b334057dc541168d4ffdaf61a63b5fb6864 05-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixed a flickering when expanding and the notifications updates" into nyc-dev
e85788710a6bff2004ec4d8eb2ddf747a040ee82 04-May-2016 Selim Cinek <cinek@google.com> Fixed a flickering when expanding and the notifications updates

Change-Id: Idda8f5cfc61c3c561963eb3ccfffece9fbf5cde3
Fixes: 28557444
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
74610328f3298e53200b2588728a8acd7ba35be1 28-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix contrast enforcement for RemoteInputView" into nyc-dev
25ea5b8586169b1bc95f346ddebfea7f70b21de3 28-Apr-2016 Adrian Roos <roosa@google.com> Fix contrast enforcement for RemoteInputView

Previously, the disabled color was used for the contrast
calculations, which resulted in too dark RemoteInputView
backgrounds.

Change-Id: I99e8b2fa64a22a59fdc5d1be8a6aff5af3523a27
Fixes: 28429720
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
589fd3e47f1fa2e8038ae81e345f12b34d0f13d7 27-Apr-2016 Selim Cinek <cinek@google.com> Fixed a crash when the transformed view was updated while dragging

The transformed view could get updated during the transition
leading to a crash sometimes. We're now handling this better and
make sure the correct values are set.

Change-Id: I1a311cb7c108afeec0fc1c92eb3359c622db7b87
Fixes: 27922191
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
4c1fcc892e802840e3daad8be9eedb2eb1887ef8 31-Mar-2016 Adrian Roos <roosa@google.com> Fix remote input view clobbering

- If a notification is updated, make sure that the focus
is kept even when the change cannot be applied inline.
- Make sure to update the pending intent to match one
of the new actions in case the old one is no longer
valid, and to prevent sending text to the wrong action
unintentionally.
- Keep focus when switching between heads-up and expanded.
- Prevent the action container from becoming transiently
gone during reapplying.

Fixes: 27357771
Change-Id: Ie9f49935827f6efb15b73f8d686f0c110448456a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
1ba41d1a223a29c36a7d04a035a9c21db2dd5d77 22-Apr-2016 Selim Cinek <cinek@google.com> Fixed a bug where notifications could overlap

If the expanded child was smaller then the collapsed one
the UI could get very weird. We're now measuring the expanded
version at least as big as the collapsed one.

Change-Id: Ibb99c4926121b2affcc181071b5e439f23c8e4f2
Fixes: 28318145
Fixes: 28015447
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
7d1c63e66a2e19bf32249f52c56e563eae4c6819 22-Apr-2016 Selim Cinek <cinek@google.com> Fixed a bug where the icon of children could be colored

Change-Id: I12e577de648f8b1734521ffe713f0168f714572a
Fixes: 28320187
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
8ea2d5f72d8a5e0c68344496ed0b082772874954 21-Apr-2016 Selim Cinek <cinek@google.com> Fixed a crash when the heads up content view was null

Change-Id: I02c47eb0f4bcc3620103882e34b079aa83790a44
Fixes: 28301534
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
38b5ec9f081e60e860dcd7a7701d20ce06261133 12-Apr-2016 Jorim Jaggi <jjaggi@google.com> Fix some serious pre draw listener leaks

These were responsible for a huuge memory leak, and probably also
responsible for some significant amount of jank when using the
device for a while.

Bug: 26400906
Change-Id: Ie4140998ad288583c6a4137954fab4fe9a6f2cf7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
567e845d99840a6e556595739a15e16132eb2f1e 24-Mar-2016 Selim Cinek <cinek@google.com> Fixed a bug where the minHeight of groups was inaccurate

Also cleaned up the methods names a bit and fixed some small
bugs in border cases where the algorithm was using the wrong
sizes.

Bug: 24866646
Change-Id: I6622814f8cec3fe143234e349030a19e3dc11353
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
9b95f615c45b2dac053aa45d881f6a4b3c301342 23-Mar-2016 Adrian Roos <roosa@google.com> Merge "Ensure notification color contrast" into nyc-dev
4ff3b120ff8a788e3afeb266d18caf072f0b8ffb 01-Feb-2016 Adrian Roos <roosa@google.com> Ensure notification color contrast

Ensure we have at least 3:1 contrast for the
action buttons. Also ensures that the inline
reply box background has 4.5:1 contrast to white.

Further modifies the color of the inline reply
background to satisfy a 4.5:1 contrast ratio for
the entered text.

Bug: 26831312
Change-Id: If42b1c99d1adee547d0a583c1a69c48ef7287c23
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
c897bd3e91ed442b0f32c3a5b9918e9e580b62b1 19-Mar-2016 Selim Cinek <cinek@google.com> Introduced a number indicating more children in a group

Bug: 25376106
Change-Id: I97dc60c4fea599c668c9e74e11b7d693fd78589b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
0bd8a4b29bf92a901855d889c53186383dd2c5e7 15-Mar-2016 Adrian Roos <roosa@google.com> Copy/Paste on RemoteInputView

Also fixes a bug where the remote input view stays focused
when the inline settings open.

Also prevents sharing from contexts that are not activities,
and prevents text processing when the device is not provisioned.

Bug: 27633360
Change-Id: I8b6e7f661bd873d88e7e2460d043c2aa5f849516
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.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/NotificationContentView.java
e81b82ba252582753cb87ba424c82028b6e490ec 04-Mar-2016 Selim Cinek <cinek@google.com> Fixed a group bug with a single expanded child

On the lockscreen the child wasn't expanded visually
when expanding the group.

Bug: 27419554
Change-Id: I5f191216d8736657099aa1a40ccc4a331b317d67
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
51d94917c7dc53845701702bfd63f102a3a2dbc8 03-Mar-2016 Selim Cinek <cinek@google.com> Fixed a bug where the notification content could become empty

This was caused by legacy code which set the actual height, which
in turn set the contentview to collapsed. If that happend during
an animation, the view could become blank.

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

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

Bug: 27402534
Bug: 18434284
Change-Id: I31afa199d38d94e74fd45500c2236ffdb51d989d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
b88b98477ae725092c27dfe52f7fca3d4f29913e 26-Feb-2016 Selim Cinek <cinek@google.com> Fixed a bug where notifications could stay dark

The check whether dark changed was always done
on the notification itself, ignoring that the
contentviews actually also have a check whether it
changed, leading to potential problems that this state
became out of date. In addition did we assume that whenever
an update comes in the text becomes normal, which is
not true for an inline update. This hopefully fixes things once
and for all! I said once and for all!

Bug: 27147160
Change-Id: Idd68be8da0f648cf79102544b038065618c1d0ff
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
42357e030c095867b95e2e8a718649587c5ebf52 25-Feb-2016 Selim Cinek <cinek@google.com> Make group expanding nicer

The group expanding now follows the finger.

Bug: 19437552
Change-Id: If85557bb75ea2f2e560cb28d62a06c217187c9c3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
8f2f6a67fad7aed720e33a6629cb65d368ebfb80 24-Feb-2016 Selim Cinek <cinek@google.com> Transforming notifications now based on the user dragging

The animation is not a canned animation anymore but base on
the finger movement of the user.

Bug: 19437552
Change-Id: I0f81ac2ff05a92673e3f3b9b72a5c2de238890d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
0934bd9942c6fe848faf9f007546a7ba0ce4978e 19-Feb-2016 Selim Cinek <cinek@google.com> Fixed a bug where the dozemode was incorrectly applied

This could lead to invisible white text.

Bug: 27147160
Change-Id: I1196c251c795a7e271545405fb3936bcbb84cb19
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
34eda5ed70863320e41b6860a550ba6a4248c652 19-Feb-2016 Selim Cinek <cinek@google.com> Fixed a clicking bug on the lockscreen

Parts of custom notficications were not singeclickable

Bug: 27247884
Change-Id: I7c52500a77929059b24e8119f50492e0f1399401
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
f619ffccd77c20702d45bd2bd63b626e41b08018 17-Feb-2016 Selim Cinek <cinek@google.com> Adapted the measuring of notification content view

We are now measuring all notifications content views
with AT_MOST but with an upperboundary. This allows us
to put custom views inside our normal views and still not
blow up the small size. Also adapted the dimens not to
clamp the templates

Bug: 24866646
Change-Id: If9053d84a9d91e6bc9964f64b170e3c3260a807d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
a40915077f8b210eeb7875944b3e824546f0f7cb 12-Feb-2016 Selim Cinek <cinek@google.com> Fixed animation jank in notification groups

When group children are animating from single line to expanded,
the animation was jarring.

Change-Id: I4b248b2f59a842befaa0f5d5440c55f140584da2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
de33a4ad5696173942dca363339027c892927e8d 12-Feb-2016 Selim Cinek <cinek@google.com> Fixed a bug where the single line view would be invisible

When updating a child notification, the single line view was
removed leading to invisible group children.

Bug: 27137268
Change-Id: Id9e6ce2ae081ec746118f4367644ea8843d51f10
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
cb445686d731aa2819c6bf8d0b7f3bb749942de9 30-Jan-2016 Selim Cinek <cinek@google.com> RTL for NotificationHeader now working correctly.

Change-Id: Id5c3a303044a7fa6ff59f056fd0709eb7c4df887
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
6ecc810ca203dfe3d00f76c28a89dfb68cef9ef2 27-Jan-2016 Selim Cinek <cinek@google.com> Fixed a bug with the media notication template

The image could overlap with the buttons due to
the specced way. This is now fixed.

Change-Id: I346467d48b5f8337d09af4b20e5cdfcd41e12b81
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
19ba7050c3aaf47f431d33341de7399df776f559 28-Jan-2016 Selim Cinek <cinek@google.com> Fixed that notification content were sometimes not readable

Because dark was only called on the visible view.

Change-Id: I4c9a00e7fcc29c107432fc7f0c61bc095c2e77a0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
ca85ef85379d918f476a58d84b1529d640297629 16-Jan-2016 Selim Cinek <cinek@google.com> Removed round rect clipping for notifications and qs

Change-Id: I82459dabb2b41e414d46b624eeb6dae5773acc66
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
fa0a2d3d90fdde14784ec6351a0798bc21c2f126 14-Jan-2016 Selim Cinek <cinek@google.com> The notification content now switches earlier

The notification content visible is now based on the intrinsic
height of the view and not just the actual height anymore.
This allows notifications to switch earlier when clicking on
the collapse button.

Change-Id: Icdf4ea50a7b1bbb78bd57a9f1c3eea25cf9c8d7c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
30e387ddcef1f65485daaba7bea267d6d8ceeb18 12-Jan-2016 Selim Cinek <cinek@google.com> Fixed a bug where the dozemode wasn't working correctly

There where 2 different issues which could lead to the dozemode
not working correctly:
1. The new workarabout where we show the expanded notification
if it has the same size as the collapsed, requires that dozemode
is also called on the right notification
2. When the children were not layed out yet, this calculation could be
wrong and the wrong child was selected, leading to the same issue.

Bug: 26459664
Change-Id: Ib67dcaf2ba9b8b9a1bfa5ece5b7d6c4dff677939
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
0ffbda62e55ad390e05e6c3ff52e1378e420285c 01-Jan-2016 Selim Cinek <cinek@google.com> Continued the template switch implementation

Change-Id: I86fa52f2e13d319127dcd44b98304aa3cc3c7e9e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
4ffd63611a0d516c9988b37e9c06e6f8390c2a2f 29-Dec-2015 Selim Cinek <cinek@google.com> Changed the transformation from when switching notification views

Change-Id: I2af3c2f36787d208be7745dabae96903df256156
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
98be3f375b9109e821631df03785cdcd9a3fa104 18-Dec-2015 Selim Cinek <cinek@google.com> Fixed that the expandButton was sometimes visible when it shouldnt

This happened when the collapsed height had the same height as the
expanded one.

Bug: 26185377
Change-Id: I9c37a8239cc87bf2192f48bc008700faf4afb5d9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
860b6dac964d3aa1818133c767eb825c8153a594 17-Dec-2015 Selim Cinek <cinek@google.com> Measuring the notifications at wrap_content height now

The notifications are now measured at wrap_content such
that the layout still looks good even if the text
was ommited instead of arbitrarily making it bigger.
This also fixes some small rounding issues where the
expanded notification was just a pixel bigger than
the collapsed version.

Bug: 26185377
Change-Id: Ie3339ff75680ab512446605055304576e058f588
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
d84a5930cca7add37e7e23305538d29959daf199 15-Dec-2015 Selim Cinek <cinek@google.com> Fixed the redacted layout for groups

Also fixed a bug where the guts didn't have the
right size and in general cleaned up the intrinsic
height. The guts also animate nicely and the position
of their animation starts on the finger.

Change-Id: I62447dd77ace36161740dfdf3d18103524e2eb21
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
b88b1a1dbde3364cd92d6a69a41ef2d4e2877294 10-Dec-2015 Adrian Roos <roosa@google.com> Move RemoteInputView inflation to ContentView

Bug: 22452379
Change-Id: Ieed64f7fa0b0bd742ca8a7746e8baf03ca837e1c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
77019c72332cb31dd1cb713ea4c66e267e6cbf39 09-Dec-2015 Selim Cinek <cinek@google.com> Fixed a bug where the heads up had the wrong size

Change-Id: I05bc0e68bf4b9f786b9f0cb4466bba002a0fc4d4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
9c7712d45ccec56a80873a83e56a83f810624b43 09-Dec-2015 Selim Cinek <cinek@google.com> Added darkmode for notification groups

Somewhere in the dark a dim shimmer of light appeared

Change-Id: I9de970d4f5b8bb3c3d99f34af7f411f62ff2e094
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
7b83639c34cb8b52f915099973e0892c5fbfd674 05-Dec-2015 Selim Cinek <cinek@google.com> Changed the appearance of the notification children

Some further tuning to the layout

Change-Id: Ifb3797e9982d718a30954adb9e1901eb2a1fa75d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
ea4bef7386ca6c6260f292bf006d16a99b93f698 03-Dec-2015 Selim Cinek <cinek@google.com> Removed duplicate content from group notification header

Previously the headers all had duplicate content, which is
now optimized to look visually more appealing.

Change-Id: I38ed8db1985fd8a9470888e1b7e1e6b0f2e23b19
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
c93546ed73467714fa528d4c026b2269aef90ec4 02-Dec-2015 Adrian Roos <roosa@google.com> Merge "More inline reply goodness"
777ef5688f188a5717b74d604bb7213b1b66386d 02-Dec-2015 Adrian Roos <roosa@google.com> More inline reply goodness

- Use expanded view instead of HUN when possible
- Remember partial replies
- Back properly closes IME without closing shade
- Fix broken reorder animation

Bug: 22452379
Change-Id: Idb6ca8aed27cfb1f3d9b46f59e148b1b3b112fa7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
8fc93c90839e5d9dd52bca9dd97c198c0fe68af1 24-Nov-2015 Selim Cinek <cinek@google.com> Cleaned up the updating of notifications

Some states were not correctly updated which could lead to
small bugs when the update was not in-place.

Change-Id: If133029acf65a9af8d297314fee5f1cd9e2015bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
eaa29ca6ff7a4c21a0729118d0e7c38750b9c93e 23-Nov-2015 Selim Cinek <cinek@google.com> Migrated the systemUI based notification header

Previously the notification header had a seperate implementation
in SystemUI from which the platform implementation was derived.
Now that everything is in the framework, we’re migrating the
implementation for notification groups.ß

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

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

Change-Id: I469c448014c3d3c31526466d06a60ac44838b274
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
65b2e7c6cbcd41985ab007eec3a21aad75dfc983 26-Oct-2015 Selim Cinek <cinek@google.com> Update the notification templates

Most of the notification templates have been updated.
Some cases like media notifications don't yet work well
but will be fixed in a later CL.

Bug: 25376106
Change-Id: I26c366e58ebba3852cea20de6fca311bd302bb24
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.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/NotificationContentView.java
8d6440dbaba4310cb517ab2a725d75be1ef934f4 22-Oct-2015 Selim Cinek <cinek@google.com> Hiding subtext of children notifications now

If the parent header already displays the email
we don’t want to display it again in the child.

Bug: 24866646
Change-Id: I3aee62e895fef68b059a61a825eef37f0f8ad875
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
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/NotificationContentView.java
59ec304eaebf1bc4098d6feb6cca9039c8b70d3d 06-Jun-2015 Jorim Jaggi <jjaggi@google.com> Don't invert legacy notifications

Bug: 19130917
Change-Id: Id06fcf8fb11b783360a86534e024164b230e84a4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
be4116a3471184748bf6545506b59d48c720ea58 21-May-2015 Jorim Jaggi <jjaggi@google.com> Round rect clipping for notification contents

Enable round rect clipping on notifications for the following kind
of notifications:
- Big picture style.
- Big media narrow style.
- Custom notifications.

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

Change-Id: Iaf286dfd30a86d3d7d6dd947d3c10ac9eb8c2b1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
06a24ebd77aab7b97f63fdc665bfaa83b8c04f05 22-Apr-2015 Selim Cinek <cinek@google.com> Fixed a regression with collapsed notification heights

This could lead to collapsed notifications having and intrinsic
height smaller than the collapsed size and notifications
overlapping.

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

Change-Id: Ibfb6656deb3bc588fc9292a672a5e4d4d1de4d23
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
8d490d427c0b0cc321ae61987bb3cfc1c23ff930 10-Apr-2015 Selim Cinek <cinek@google.com> Treating headsUpViews now as real notification citizen

Previously headsUpViews simply were replacing the content
views, now they have their seperate space.

Change-Id: I6b094975cdfdf5e082d546dd7a0bf633335f4ef8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.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/NotificationContentView.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
dacc924a65d68e7888d8771baa14141329265ebf 08-Dec-2014 Jorim Jaggi <jjaggi@google.com> Reinspect notification for dark mode when updated

Also protect against a crash that might happen when the notification
is updated during an animation.

Bug: 18572620
Change-Id: Ifd6279df395974f7afd0c708a6c87c64de935c62
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
10ad761aa9e11f33c20e1b0fc3162973c650090f 08-Dec-2014 Jorim Jaggi <jjaggi@google.com> Update dark mode when notification is updated

When the template of a notification changes during a notification
update, we reinflate all the views but didn't update the dark mode.

Bug: 18537470
Change-Id: Iab9278adcbe3bdf39f86019e61b252db0dda7390
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
394a5d68b55ad06757270915288eaa93e6a0d89f 26-Nov-2014 Jorim Jaggi <jjaggi@google.com> Update dark mode on notifications when content is updated

When a notification was updated and we were currently in doze mode,
the views were updated but not all the color filters to make it dark
on it, so we ended up with a colored notification in doze mode.

Bug: 18537470
Change-Id: Ifde70d744a4e04e4c0d13684f3c0088f279f2d78
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
bf1960ce9c353267490d65cc1b8beacc7dd85347 20-Nov-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fade notifications when exiting dozing" into lmp-mr1-dev
7b8157ef238d4eec7698338e768a602d4182cbb7 20-Nov-2014 Selim Cinek <cinek@google.com> Fixed a bug where the notifications were not animating

Bug: 18463381
Change-Id: I1064535f120dbc334a10d70b7fef232adb08a45f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.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/NotificationContentView.java
1a521f3ea841f6db9686bbec7f950a3883d075aa 03-Nov-2014 Selim Cinek <cinek@google.com> Fixed a bug that the notifications were not animating when reset

Also made sure that the touch event is never filtered when its a
heads up view.

Bug: 18188693
Change-Id: Ic5de3e36c785d2cf890936322820b739a0a1b107
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
bb3d1cf11dc76543cac368486bc42efcd21d5e54 31-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug with the notification appear animation

This happened since the switch animation was running
even when invisible. This is fixed now and only
runs when the view is actually shown.

Bug: 18168562
Change-Id: I7fa2254411d249c23cd623cdff64524729f0817c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
aa92ffb1992b6f730f918fcca27996247b4867bd 10-Sep-2014 Jorim Jaggi <jjaggi@google.com> Don't use layers when fading between public/private layout

Saves us some memory and more importantly, prevents layer trashing
and some skipped frames when building the layers.

Bug: 17287256
Bug: 16513124
Change-Id: Ief7c9a892da57bc77264de016f5118277e648f45
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
cab4a60c485872848fc0fa3e65baaeb06d21a7d8 03-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug where notification icons where not animating

Bug: 16043845
Change-Id: I23217d90803fd247f6d1b4d2aea056deb5749c15
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
c3dfd328438369793c71fe7dfa419f3abd3f7d82 27-Aug-2014 John Spurlock <jspurlock@google.com> Doze: Null check in NotificationContentView.mContractedChild.

Bug: 17247547
Change-Id: Iede5d0cd88db4e293e583f3a3c324354eb6d594e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
1bf47b91179a3ebb43dbf3fa6c21a365f595882d 27-Aug-2014 John Spurlock <jspurlock@google.com> Doze: Better handling for non-default templates.

Only apply icon-specific filters if the views are found.

Bug:17289392
Change-Id: I23d1542f8e80d8efed2330fff3f86d0e58a54b7c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
e15452bb49d2531eee3086acb4763dd125f8053a 21-Aug-2014 John Spurlock <jspurlock@google.com> Doze: Improve icon treatment when dozing.

Instead of inverting them, simply desaturate. Also, apply
a constant background to small icons and give them some
transparency.

Bug:17137319

Change-Id: Id772b4fcd9ffa461bec26b87a74302012fb27867
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
0d9f35d1d86b1022d3ebd5fc988750bf062828c0 20-Aug-2014 Jorim Jaggi <jjaggi@google.com> Fix crash when reset() gets called during an animation

Bug: 17058023
Change-Id: I2ed77b49c4daf1790e43f74a274054618e378b40
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
a7fe63190cc3f95af1830886edd80acef0c334e3 27-Jun-2014 Christoph Studer <chstuder@google.com> Inline replace notification views when layout changes

Instead of going through a full remove / add when a notification
is updated with a different layout, only re-inflate the inner views.

Bug: 15869868
Change-Id: Ie18c431e7b3e2a6209d4a9b6418b3150781a063f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
11298830114a195a149ef23633c96fb3cef5399b 24-May-2014 Jorim Jaggi <jjaggi@google.com> Fade notification contents when expanding/contracting

Bug: 15284460
Change-Id: If0f18e0b8fc9e7410cc6ef2a7976bcec49a6eb6e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
2f0df8ae038dbb873bf2e11e1e13c75cf95b0198 10-Jun-2014 Selim Cinek <cinek@google.com> Fixed several bugs with redaction.

The Notification row was in most cases directly referring to
the private layout which lead to numerous bugs.

Bug: 15107339
Bug: 15536865
Bug: 15181880
Change-Id: Id1021eb853d67db168c9471d7dacbe5265c4ba2f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.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/NotificationContentView.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/NotificationContentView.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/NotificationContentView.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/NotificationContentView.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/NotificationContentView.java