History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/ExpandableNotificationRow.java
a37774f098a5204947ff4b4787c4b753bb9016db 11-Nov-2014 Selim Cinek <cinek@google.com> Fixed a bug where the clearable flag was set inconsistently

This could lead to undismissable notifications.

Bug: 17758698
Change-Id: I60ccbe24686c5b8bc46bfb52e590cef71ed7a190
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.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/ExpandableNotificationRow.java
b9144cea5184c90534db75b47e3818a688e64d5b 31-Oct-2014 Chris Wren <cwren@android.com> Merge "Clear the initialized flag when resetting the height." into lmp-mr1-dev
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/ExpandableNotificationRow.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/ExpandableNotificationRow.java
6a3959be8b935e5e4c3846c89dcea1a29479cd09 10-Oct-2014 Christoph Studer <chstuder@google.com> SysUI: Reset ExpandableNotiRow.mActualHeight on reset()

Fixes a bug where the wrong layout was selected for expanded
notifications on update.

Bug: 17740662
Change-Id: I1adf329d82069e4d4b6c94cdbbea8e1646bc5b32
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
8353e76a9996e40540eb928e700e0bedaf6a1063 11-Sep-2014 Jorim Jaggi <jjaggi@google.com> Merge "Don't use layers when fading between public/private layout" into lmp-dev
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/ExpandableNotificationRow.java
b1cd3c1945499721d7d1ce57bdda67695ffe936b 08-Sep-2014 Jorim Jaggi <jjaggi@google.com> Inflate guts only when needed

This saves us a ton of views.

Bug: 17346296
Change-Id: I3eafd6703d19704dc8b108c1034266f38cf77f7b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
6e28a678c7f9fe2cae5a51bfdbab3071a2d8d0ba 05-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug where the notifications could overlap when reset

This is because we did not receive a layout request even though
the notification was updated.

Bug: 17357688
Change-Id: Ie6295d07f4c00ec014b17671ad646261c4bb7e0f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.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/ExpandableNotificationRow.java
7196de79588d8a19f4d70e6bddf730494ff4e5dd 01-Sep-2014 Selim Cinek <cinek@google.com> Merge "Fixed several bugs where the dismissview was not reachable." into lmp-dev
d2319fbe6a53ac4c38ca02e4d8e32da86ed0994b 01-Sep-2014 Selim Cinek <cinek@google.com> Fixed several bugs where the dismissview was not reachable.

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

Bug: 17096130
Change-Id: I0f4a05187f31eef5cbbe364bfceb8806b5092cdf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
024ca598dd4b38b389251c138f4ef9882d4b68b0 01-Sep-2014 Selim Cinek <cinek@google.com> Notification guts have now the actualHeight of the notifications

Before it just had the height of the notification leading to bugs
in cornercases during animations and swiping.
Also updated to colors to use system colors.

Bug: 17333457
Change-Id: I00d87820595a789006632c582e8c35759a61969d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.java
059a49f8345f4717f48bab21dd04a7af8f9d27ad 13-Aug-2014 Selim Cinek <cinek@google.com> Merge "Reset the notification expanded states on screen off" into lmp-dev
ccd14fbcfe613eae71f0e00c39f38e5125749389 12-Aug-2014 Selim Cinek <cinek@google.com> Reset the notification expanded states on screen off

To avoid having expanded notifications sticking around

Bug: 16005498
Change-Id: Ib5b184fa7eb67ada85305e7ca4afad68a1514327
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.java
78403d79739605511ea88b653564d81d7bf4bbba 28-Jul-2014 Chris Wren <cwren@android.com> Add a log and statistics for notification expansion.

Bug: 16618854
Change-Id: I501f396fa495e1e55a27d7d0b65aac66495418c1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.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/ExpandableNotificationRow.java
0d3e62f3e07a69f21c1b1dfa2c8c0fb8b6c95655 14-Jul-2014 Dan Sandler <dsandler@android.com> Prevent dismissing autoredacted private notifications.

Bug: 16295169
Change-Id: Ic1a13ae1a501ae4a5633ef9c84c59ff13543eb1b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.java
7d447726e2cb9fae80db417012039828daab8fe7 10-Jun-2014 Selim Cinek <cinek@google.com> Fixed an issue where holes in the notification shade could appear.

When redaction was turned on, holes could appear.

Bug: 15107339
Change-Id: I8c2830caaa78f03c8ccada1a7160f73c906365d7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.java
dce3c4cca5d4df4cc49c1a9f0537e2fecdbc45d2 29-Apr-2014 Jorim Jaggi <jjaggi@google.com> Prevent expanded notifications on lockscreen.

Change-Id: I9a0ffca823883cfed75d0e093f5a4364b20008b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.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/ExpandableNotificationRow.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/ExpandableNotificationRow.java
b6e0e1228bfd38f5ba971194afc5c31d99980fa1 23-Apr-2014 Selim Cinek <cinek@google.com> Fixed a bug where holes could occur in the new shade.

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

Bug: 14080722
Change-Id: Ia10f9dd95f917d492411aec1da4ae0fc4d8f33d5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.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/ExpandableNotificationRow.java
c5dc0d0cce373fbf292e13633c114a431d747167 15-Apr-2014 Jorim Jaggi <jjaggi@google.com> Zoom notifications on lockscreen after tapping.

For the double tap interaction, this change introduces a new cue
that the notifications must be double-tapped: With the first tap,
the tapped notifications gets larger and the others fade out a bit.

Change-Id: Ib48ff0291aee1a5ec083b9e7ed1021bc420514cf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
4673985b752f88434f7aeb726e3a2b8010efdb70 15-Apr-2014 Jorim Jaggi <jjaggi@google.com> Set background of legacy custom notifications views to dark.

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

Change-Id: I03881da30db8189005d50812e5528ed07cebd437
1685e634fb0b14033bd436af8d7174436699ffec 08-Apr-2014 Selim Cinek <cinek@google.com> Further improved NotificationStackScroller

The top card is now collapsed during the pulldown of
the notification shade and expanded during the transition.
The scrollstate is also reset once the shade is closed.

Change-Id: Ibf17eef1f338d674c545e5bf55261e60db62b2ce
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
251957d76e57eb6e5f8068b37346144e10e586a4 09-Apr-2014 Jorim Jaggi <jjaggi@google.com> Double tap interaction for notifications on lockscreen.

This change also uses a different background for notifications on the
lockscreen and moves the background drawable from the templates to
SystemUI.

Bug: 13635952
Change-Id: Icf09178065aa7fc0472adef70342d637fbcca785
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
a5e0f415d351ad1a9c0ffde8d93df91a2384591f 23-Jan-2014 Dan Sandler <dsandler@android.com> SystemUI support for notification visibility.

In this implementation, DISABLE_NOTIFICATION_TICKER (which was never
really used on its own and can be safely subsumed by
DISABLE_NOTIFICATION_ICONS) is now DISABLE_PRIVATE_NOTIFICATIONS;
when this SystemUI bit is set by the keyguard, SystemUI knows to switch
its presentation into "public" mode, in which
VISIBILITY_PRIVATE notifications are replaced with their
publicVersion's contentView (or a placeholder view,
synthesized by SystemUI, that leaks no additional
information about the notification). VISIBILITY_SECRET
notifications are suppressed altogether in this mode.

This behavior is enabled but not activated by default. To
turn it on, run:

$ adb shell settings put secure lock_screen_allow_notifications 1

and restart SystemUI.

Change-Id: Id660bef7737580e16a83f60567c22b53ee81c602
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
51c7510e493680b4aca1ed7695b35c52d2cd63ff 17-Jul-2013 Chris Wren <cwren@android.com> allow rich notifications in the heads up.

new shouldInterrupt logic: screen on, not locked, not dreaming, and
priority above HIGH and noisy, or has fullscreen intent
draft of API allowing devs to give hints about head up display

reuse inflateViews()
add an expand helper to the heads up space
move some things into Entry for reuse

don't allow touches in first second
delay decay if touched
make decay time a resource

add a custom viewgroup for notification rows to get view management
out of the NotificationData class.

Change-Id: I36464f110cfa0dabc3f35db7db6c35c27e8ee2ba
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java