History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1b7f51ebc66fbb2cbe8a468790bbbfd397d66964 28-Oct-2014 Selim Cinek <cinek@google.com> Fixed a crash in the Notification expandHelper

Bug: 18004384
Change-Id: I3b8e60041c527689722591962f384ea91f4a954a
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
c503896a4d0cab029bca56cf7ac18ae182729a0a 29-Jul-2014 Jorim Jaggi <jjaggi@google.com> Fix crash in ExpandHelper

Bug: 16645584
Change-Id: Ifbcd8c88cda0a390061c162aa43d8615d1311f19
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
28c0b714ac7f6c98d63aab106447bfd1e727fae2 26-Jul-2014 Jorim Jaggi <jjaggi@google.com> Use finger velocity for ExpandHelper

Makes sure that the animation continuing the expand has the exact
same velocity as the finger started the expand. At the end of the
animation, the velocity slows nicely down (reusing logic from
FlingAnimationUtils, yay!).

Change-Id: If9a286a1a3d1bde649cf0475367a63a2188ca3c0
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
7b41467704f941b11af6aace3e40993afc7f6c6f 18-Jul-2014 John Spurlock <jspurlock@google.com> Zen mode filtering should use new usage constants.

Refactor stream-based calls to usage-based calls.

Bug:15279516
Change-Id: I3f7757d8123c14670e2ad5f8e6aa4e9803efe7ec
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
787a0af8ebba004a6f1cd3bfe8c78d851003d227 04-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix not being able to dismiss notifications with tap.

Also fixes that the go-to-shade gesture sometimes triggers the unlock
hint animation.

Bug: 14487435
Bug: 15421928
Change-Id: Ie7e01c81a397b9b1a03baed82c1270ba4e7eb799
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
1408eb5a58d669933c701e347fd3498ceab70f3c 02-Jun-2014 Selim Cinek <cinek@google.com> Changed the overscroll and expanding behaviour.

Only the first selected element will be expanded, no subsequent children.
Afterwards, overscrolling is performed.
This improves overscroll consistency a lot and people don't accidentally
expand unwanted notifications, just the one they wanted to.
If the users primary intent is overscrolling (i.e if he drags on a card
which is already expanded), then we allow him to go to the quick settings.

Bug: 14487435
Bug: 15181651
Change-Id: I978cc4e06ae85c2ca69e15a149cb85ac54b2ef35
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.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/ExpandHelper.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/ExpandHelper.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/ExpandHelper.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/ExpandHelper.java
b6d85ebfe4f9f5d3b7d7ab7b6123af02a0deb516 28-Mar-2014 Selim Cinek <cinek@google.com> Enabled the new notification shade and improved expanding logic

Made the NotificationStackScroller now the default and only shade.
When the notification shade is expanded, the NotificationStackScroller
now also expands revealing the notifications.

Change-Id: If989ed848f684b3ac4e687d9642289db4599553b
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
de3b1a2b2d3056cb7caa5cdaac51fc9d80e1e3c5 31-Mar-2014 Chris Wren <cwren@android.com> add a null check around scrollAdapter access

Bug: 13727213
Change-Id: Ia92c06b66fc4712a758bf813c30f543b08546a80
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
fab078b01fbad026f006744016272327f7ab116b 27-Mar-2014 Selim Cinek <cinek@google.com> Improved expansion logic of NotificationStackScroller

Expansion of a notification with a single finger is now possible
if the NotificationStackScroller has not started scrolling yet.

Change-Id: I96b622632b448915526dd08cc2e4771d404b096f
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
f9e1a0b369740e11ea1ed4f141ffb936fc1a6cdb 20-Mar-2014 John Spurlock <jspurlock@google.com> Annotate framework vibrate calls with stream hints.

Migrate existing framework usages of Vibrator.vibrate to use
the new overload with an explicit stream hint. This prevents
them from being blocked by rules targeting the unspecified stream.

For calls that pass the existing appops check in VibrateService,
pass streamHint down to the input device vibrator so we don't lose
the signal, but leave it up to InputManager to decide what to do
with it - currently unused.

Change-Id: I65c944e4010edea29a412bf57d8d7d3b8098b746
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.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/ExpandHelper.java
209bede6b9edb9171e5bee4077b48e35004a37b4 17-Jul-2013 John Spurlock <jspurlock@google.com> Remove trailing whitespace from system ui.

Baseline existing .java files, no excuses going forward.

Change-Id: I4bd0f25bbda6f2ec832e34ef5c70d4830bf07f99
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
de84f0e77ea2bf713d15c290264059a413c2486a 12-Jun-2013 John Spurlock <jspurlock@google.com> Organize the imports in systemui.

To follow android conventions, more importantly to remove the
unused.

Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
cd686b5b6d4166b510df8e32138479a9559bc117 05-Jun-2013 John Spurlock <jspurlock@google.com> Migrate systemui Slog calls to Log

Change-Id: Ib6734c85960f06fed646599565b8eeba26b9e98e
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
ac47ff70c322614ff2ca9ad82fe41338daf55877 23-Oct-2012 Daniel Sandler <dsandler@android.com> Reset ExpandHelper when the panel is collapsed.

Fixes a rather unpleasant bug in which the ExpandHelper
could get locked in "expanding" mode if the panel was closed
(for example, with the back button) while you were in the
middle of an expand gesture. In this situation ExpandHelper
would hungrily eat all future touch events destined for the
notification panel, making it impossible to click or even
clear any notifications.

Bug: 7330828
Change-Id: I9c493db5e8fd8ef1aca53f77820780d60fa4e5a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
cea520747f344204a78db9d3f7f1abe3f695f49f 11-Oct-2012 Chris Wren <cwren@android.com> resolve conflicting assumptions from the merge.

Bug: 7300843
Change-Id: I5894fba34550d1b98f6cbe5ca808820b70e19819
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
4377d1494cab30ab299f6065cf6857df7367db3b 11-Sep-2012 Daniel Sandler <dsandler@android.com> Port unmerged notification changes from jb-dev to jb-mr1-dev

Bug 7150006

Single finger notification expansion.

If you liked these changes...

Change Ie4e79aa5
Change I8a6f8606
Change I824937e9
Change I957b6d50

You'll love this one!

Conflicts:
packages/SystemUI/res/values/config.xml
packages/SystemUI/res/values/dimens.xml

Fix notification gestures.

Broken by recent changes to ScaleGestureDetector, which we
were using incorrectly.

Conflicts:
packages/SystemUI/res/values/config.xml
packages/SystemUI/res/values/dimens.xml

Change-Id: Ie534c5b2d320296531a36a9b1c22f9dd6901e0b8
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
3ddab0dcc1039137f05a28ff86477601a223a0fa 02-Aug-2012 Chris Wren <cwren@android.com> Don't allow the status bar to collapse things we're touching.

Bug: 6538918
Change-Id: Ie4e79aa593ac2097d0e6402f84816df934160687
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
86d00fb40ae5cd01ce5a2e228e6de777eae6dee8 01-Aug-2012 Chris Wren <cwren@android.com> Venetian blinds policy for one-finger notification expansion.

Bug: 6538918
Change-Id: I8a6f860684b2477571f69eb4a79a5c106251b1a8
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
e46647d28467ee9e88aafe2951a5736f494235da 20-Jun-2012 Chris Wren <cwren@android.com> disable debug mode on ExpandHelper

Change-Id: I97520643d754e29ea295d868cbbb79b76ef74f3a
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
3c148f106f6625ce247a2c7211682c3a1df89bc9 19-Jun-2012 Chris Wren <cwren@android.com> One-finger notificaiton open: pop the next item too.

Bug: 6538918
Change-Id: I957b6d50220c57b588b43825767f24ecee862754
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
b4e2c48b4d75e7d68209412152011441fb6deda3 15-Jun-2012 Chris Wren <cwren@android.com> open notifications near the top with a single finger.

Bug: 6538918
Change-Id: I824937e9acd8f20449c31f8d83dbd90ecbb75ef0
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
7a1a406b24c235ce59c13126d20cfb101c4e2777 18-Jun-2012 Daniel Sandler <dsandler@android.com> Turn off debug logs.

Also switch to Slog, which is more appropriate for framework
logging.

Bug: 6684167
Change-Id: I829de86702a9952ce42ec9967c8d493529253426
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
9b2cd15f0fed990f532f35590c2a2896b90dc7fc 11-Jun-2012 Chris Wren <cwren@android.com> Invert the sense of the two-figner direction on tablets.

Bug: 6506376
Change-Id: Ife336c6695608f14554e18e32ea35f118d7f12e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
8900e631940fdffe7b941b56dc0f17e55345441e 25-May-2012 Romain Guy <romainguy@google.com> Tale of status bar on crespo, part 3
Bug #6541079

The vanished shall not be forgotten.

Change-Id: If01a53d8c203ef82e54d0b440063a8dbebe7b14a
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
5de6e94e36e2adbdd4ebfb5c1903c23c9ea3c388 16-May-2012 Chris Wren <cwren@android.com> Allow pinch gestures to spill over into the shade header.

Bug: 6430396
Change-Id: I62c242f11f47c5e6fff25c31716465b3e777d4ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
8fd12657e353a4a6f6d875a0d86850426fec00e8 10-May-2012 Chris Wren <cwren@android.com> Auto-expand the top notification.

Bug: 6455789
Change-Id: Ia455f204544ad0c41ace77ea3ece6e0d3d3110d9
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
89139d74b27305a29ca082c75d94dcbed5f84625 07-May-2012 Chris Wren <cwren@android.com> Allow more kinds of two-finger gestures to open and close notificaitons.
Also make sure glow always animates to zero when set to zero.

Bug: 6430737
Bug: 6423826
Change-Id: I1ebeb6c0012ac17a942901bfd22e579393348584
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
ba925e8ecd9decff5701001a0190042d6797942d 20-Apr-2012 Chris Wren <cwren@android.com> animate the notification glows in and out

Change-Id: I9d43f01dcae9a896fc981e35434001e916bcf21b
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
80a76276dc9440ffad30dc4c820eb7d65f4df368 18-Apr-2012 Chris Wren <cwren@android.com> Add visual feedback for notification expandability.

Change-Id: I0b82a465a126a6d0ec6cf6af87dc56817765b995
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java
6a858c347f4d4e5db4c8f00d5e285967631b71ca 12-Mar-2012 Daniel Sandler <dsandler@android.com> Gestures for expanding notifications.

Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
/frameworks/base/packages/SystemUI/src/com/android/systemui/ExpandHelper.java