History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bd707492a2ef3641a9e9a64ef72b3b031dac0bb6 11-May-2017 Mady Mellor <madym@google.com> Check for false touches when determining if the notif menu should be shown

If it's a false touch don't show the menu.

Test: manual: try swiping things away on the lockscreen (fast + long)
try showing notification menu on the lockscreen
Bug: 38208094

Change-Id: I16ceedd90a5fbc80156a9495d6cfd6fa02771886
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
aa94a61c56b8f493fe77fe52b09d0439e7889bc7 27-Apr-2017 Mady Mellor <madym@google.com> Merge "Improve swipe to show notification menu gesture" into oc-dev
7a5b2b6d382cd8f9a081989ceab7a63ce9eee4d0 15-Apr-2017 Mady Mellor <madym@google.com> Fix issue where the notification could snap to the menu while its invisible

1) If the snap back animation is cancelled, the menu shouldn't be reset
because it hasn't actually been snapped back -- this could happen when
the menu was being shown and then the icon alpha would get set to 0
resulting in notification snapped to menu but no menu visible
2) Cancel the callback to fade the menu in on dismiss to match original
behavior before refactor of NMR

Test: manual - no clear repro steps for this, I could get it by
violently moving a notification back and forth, with this patch
I haven't been able to repro it.
Bug: 37320279
Change-Id: I4eea37e3c454e7324d0e295b0ec2fe022d219253
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
5574425c32c75825004471434e0cd2fccdd4e5c0 10-Apr-2017 Mady Mellor <madym@google.com> Improve swipe to show notification menu gesture

- Increases minimum velocity for dismiss (100->500 dp/sec)
- Increases minimum distance for dismiss (40->60% of notification width)
- Alters logic when menu was already showing and notification
gets moved (if it doesn't move enough sticks to menu, else it looks
for dismiss or snap back into position)
- Changes swipe helper so that the dismiss direction takes the
translation into account

Test: manual / had some people play with the gesture
Bug: 28693375
Change-Id: Ibe4c51627a78b9c3b7d889cf7e06a63da7113072
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
95d743c38c919dd500d9dcacf9f998500d403d9e 10-Jan-2017 Mady Mellor <madym@google.com> Add plugin interfaces to control notification menu / swipe behavior

1) Updates the notification menu plugin to do more:
- The plugin can now supply the view it wants to display behind a
notification as the menu
- Touch interaction (i.e. notification translating on top) is piped
through to the plugin so it can update the view behind the notification

2) Makes NotificationMenuRow an implementor of the plugin which moves
a bunch of that logic out of NotificationStackScroller

Test: runtest systemui
Change-Id: I8723b96c195ff7311317d5523418cfcbe2a79b52
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
04d7a0fca0c2d7c1bb08fbcc0301fcf0cdc7838f 25-Jan-2017 Mady Mellor <madym@google.com> Add snooze to notification menu row

Moves the snooze plugin code into system UI.
Does not include assistant suggestions.

Test: manual
Change-Id: Ie2c51d65381530c9a72cd8a871efdbf0d63da490
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
761cde1173cdfbc058034ffb10283e5507ed0ed4 10-Jan-2017 Mady Mellor <madym@google.com> Rename notification settings icon row / gear to notification menu row

Test: manual
Change-Id: I3a84c5ea180bd1e53495c5a44a93fa1982056174
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
43c2cd1a4071e152e9f4aa9044b03a29cd5ada31 13-Dec-2016 Mady Mellor <madym@google.com> Create + implement plugin for NotificationSettingsIconRow

This will allow plugins to supply additional menu options to the
menu "behind" a notification.

This CL does not include behavior for when one of these new menu
items is tapped, this will be added in a separate CL.

Test: manual
Change-Id: I322f9f39d33b043bd23dcbede5dd15e6afa73fc1
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
904a39ca92f7e616d400a8733b3970b8828da072 25-Apr-2016 Mady Mellor <madym@google.com> Merge "Fix gear being covered on notification update" into nyc-dev
bde852dbf5ba8c423da85aedfe6012ca67ee497c 16-Apr-2016 Winson <winsonc@google.com> Making the dismiss animation feel smoother.

Bug: 27154882
Change-Id: Idbabfe396bc75b598861fd12b78c846f08243a90
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
86889c2d21f4e6c26c7e07a477a9e5c398d5d059 19-Apr-2016 Mady Mellor <madym@google.com> Fix gear being covered on notification update

If a notification is updated to be non clearable but is in the middle of
being dismissed then it is snapped back into place. Part of the ways to
check if it was being dismissed is by checking the translation of the
notification.

In the case that the notification was translated to display the gear, then
when it was updated it would be snapped back over the gear. This CL fixes
this issue by snapping back to the gear instead of 0 in this situation.

Bug: 28019486
Change-Id: Ic6c4c29b0adee15d7b358fcdbc8446e8a4cd9f82
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
9c2c49634f0d457c1ab79772d3e817df629933df 05-Apr-2016 Mady Mellor <madym@google.com> Fix dismiss all clipping for tablet / landscape

Shouldn't animate the whole view, use the translatable views so that
they get clipped on tablet / landscape.

Additionally this changes the behavior in the case where the gear
might be showing, previously that would hide prior to the dismiss
all animation, UX prefers this to just have the notification cover
the gear and slide away or the gear fade away depending on the side
it's showing.

Bug: 28006639
Change-Id: I43027cb29410496de5b6e09c4a0c57a69484295c
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
5ba429c40aa4f895f8f5d668f3549d55ee1979f6 05-Apr-2016 Mady Mellor <madym@google.com> Merge "Fix slow dismiss animation" into nyc-dev
dc6c97df483fb353ff6e18eb9ed59870c1101be8 31-Mar-2016 Mady Mellor <madym@google.com> Fix slow dismiss animation

An accelerated interpolator is used for dismissing when the
the velocity = 0 which can occur with dismiss all or if the
noti is swiped far enough but not fast enough.

There is no duration specified when the noti is swiped far
enough, and the velocity passed in is 0 so the default
duration is used without taking into account the velocity.

This CL alters the code to pass in the velocity so that a
duration is calculated.

Bug: 27864379
Change-Id: Ifac04bb8d1b714c040102fef035d55737c844157
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
197823da52a44422890667e21c17c28ab76e64b7 24-Mar-2016 Selim Cinek <cinek@google.com> Fixed a bug where longpress was not possible in landscape

The clause used there was using a reused value of a motion event
and therefore not trigger, even if it should have.
Also added a clause which this was actually used for to remove
the long press callback when using the inline settings slider.

Bug: 27352426
Change-Id: I9c432eeb354d7d5e72b375cfc5ead9e04a4e6c81
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
30637e41c9497576fa644c5ac0bf0864d3a52c5f 02-Mar-2016 dongwan0605.kim <dongwan0605.kim@lge.com> Fix to snap notification view back when not clearable while updating

When a notification is being removed by swiping action,
actual removing will be performed after the swiping animation ends.
And also, it is same when removing notifications with <Clear all> button.
The actual removing will be performed after collapsing of status bar.
But before actual removing, the notification flags can be updated
to not clearable, and then the notification view can be remain
out of display by X-translation animation.

Therefore, fix to snap the notification view back when updating
if it is not clearable and need to be come back.

Change-Id: I005a9a8ac82bb513a47b5b8afc430bbe4880b52e
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
3a5e8dd820ec6e85121857a03fe9c6a081455f43 12-Mar-2016 Mady Mellor <madym@google.com> Revert "Revert "Improve interaction around showing / hiding the gear behind notifications""

This reverts commit 88eca2aa0e707c06731fc273af4e6181ad743c3c.

It additionally fixes an issue with notification scrolling after gear is displayed
by indicating that the user is no longer swiping by calling onDragCancelled

Change-Id: Ieba0cea35bba9c383d8b5fdca08cb5ff083666c3
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
45eef7dbca244444e0ca48e32865256b58d40180 12-Mar-2016 Mady Mellor <madym@google.com> Merge "Revert "Improve interaction around showing / hiding the gear behind notifications"" into nyc-dev
88eca2aa0e707c06731fc273af4e6181ad743c3c 12-Mar-2016 Mady Mellor <madym@google.com> Revert "Improve interaction around showing / hiding the gear behind notifications"

This reverts commit 273ed107f1d414571a01bf8ebd9c9ffa942d9e11.

Change-Id: I5f4d2c2dfa2bd965abd2ea2ec385639deb4511f9
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
e11936725e6227c98f356572cbfd512f16b98c3b 11-Mar-2016 Mady Mellor <madym@google.com> Merge "Improve interaction around showing / hiding the gear behind notifications" into nyc-dev
287963146c96a4cd2772cfee829ac4a4a03c1ff7 08-Mar-2016 Mady Mellor <madym@google.com> Use FlingAnimationUtils for dismissing a notification

Addressing comment in ag/877913 PS6

Adds FlingAnimationUtils to SwipeHelper for dismissing notification
so that it may better follow a user's finger. This is not used
when a dismiss all is called (i.e. useAcceleration is requested).

Additionally alters dismiss behavior to accelerate out if velocity
was 0.

Change-Id: Ia7dc15d64e8427d5cfbdee3f4e48ccd60f5b0b36
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
273ed107f1d414571a01bf8ebd9c9ffa942d9e11 04-Mar-2016 Mady Mellor <madym@google.com> Improve interaction around showing / hiding the gear behind notifications

If the gesture on the notification was not considered a dismiss gesture
the code always check if the notification had moved enough to display
the gear.

This causes some undesirable behavior:
- For unclearable notifications the gear would *always* be shown
- Even if the velocity of the gesture was enough to be a dismiss it
may have failed other requirements and then the gear would be
shown

This CL alters NotificationSwipeHelper to take into account the
velocity of the gesture, and if it was great enough to be a dismiss
but wasn't (unclearable, didn't meet other requirements) it'll just
snap the notification back into place.

Additionally this CL alters the behavior so that if the gear is
visible and the notification is swiped in the direction of the gear
it *won't* dismiss the notification but rather cover the gear. If
a dismiss gesture is made in the opposite direction of the gear, the
notification will still be dismissed.

Bug: 27378399
Bug: 27319053
Bug: 27335353

Change-Id: I0849eecc71f2c6722e811d284534c2ea29b1b8aa
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
34958fa272c9216db4002546c3efad692b3d7775 23-Feb-2016 Mady Mellor <madym@google.com> Fix inline controls from being swipeable

Currently you can swipe / translate inline controls, this
should not be possible. This CL fixes that.

Bug: 22451710
Change-Id: I3e048dce7df6d44ce80ee79bd449973bde0bc222
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
4b80b1025f82fa7becc8e126bfa4aea39affcf65 22-Jan-2016 Mady Mellor <madym@google.com> Initial implementation of dismiss gesture + inline settings icon

- Added a view to display / control the gear behind the noti
- Updated SwipeHelper to hide / show the gear based on the gesture
- Only one notification or notification group can show the gear
at a time

Couple of things left to do that will come in a follow up CL:
- Animation (to / from inline controls, fading gear based on movement)
- For children in a group there needs to be a grey background

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

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
9b0a2c921a9268b89f3e72866b0f011749454c71 27-Jan-2016 Jorim Jaggi <jjaggi@google.com> Improve dismiss/scrolling handling in recents

Make sure to only enter dismiss mode if xDiff is bigger than yDiff,
and only start scrolling if yDiff is bigger than xDiff.

Change-Id: Id898752ff7a08df549e234678aed0dad074b202d
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.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/SwipeHelper.java
8aa9959413a06c3d2ff75e0c7be9e3cb7ac7cd2e 20-Jan-2016 Winson <winsonc@google.com> Starting the dismiss animation in parallel with the gesture.

- Introduces notion of ignored tasks for the purposes of layout in
TaskStackView. This can be used during drag and drop, and while
dismissing to calculate the state of the stack without the task that
the user is currently interacting with.
- Fixing minor layout issue when the front/back task transforms are
improperly calculated when there is a single task
- Fixing minor issue when the anchor task is calculated incorrectly when
dismissing task views

Change-Id: I1eb0864a52e53562e4d573a6ed4f8a5a1615aff9
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
c5fd350522d9269e6239af818f7261a6ead51570 19-Jan-2016 Winson <winsonc@google.com> Removing extraneous calls.

- Removing calls to ensureCapacity, which was causing reallocations when
using a temporary set with multiple uses.
- Fixing issue with update callback not being called when immediately
updating a TaskView’s transform
- Adding utility methods in preparation for refactoring code


Change-Id: If62c3751ed6af15092a34435df08bb4d627536ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
671e8f91aae080dc66a0136ce1fc1c1ae0a90db4 12-Jan-2016 Winson <winsonc@google.com> Removing custom swipe helper.

Change-Id: Ic28ab343f86ab6f80d8c0409a3218513bd8880af
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
ead00aac154f76abfc9739d76b100597b3e42d96 07-Dec-2015 Julia Reynolds <juliacr@google.com> Add importance to notification guts.

Note: the guts are still trucated to the height of the notification.
The slider initially shows the importance of the individual notification,
but changing the slider changes the importance for the whole group
of notifications.

Bug: 22451710

Change-Id: Id6de3aaace2bdb88a8cc5db517002dc7f0e349ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
6dc59b48c040cf6871d7ff6d8e5242b1a5ddd032 23-Sep-2015 Blazej Magnowski <johnasselta@google.com> Integration into other unlock mechanisms

Replaces all the older falsing thresholds unless the
HumanInteractionClassifier is disabled.

Change-Id: Idfc3cb1b6bc0bbdbc792cd75499f0c3b4f1b7142
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
aea80f40d8dc55b7de5b3d0efe78f63eeb7c2745 10-Nov-2014 Jorim Jaggi <jjaggi@google.com> Cancel lockscreen/shade gestures when orientation changes

Bug: 18293929
Change-Id: Ifbf91c42fa9e68aa688ca4c390fcc24a358212a9
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
1d59af45f699f11ee559c38698369fd6d159e87a 30-Oct-2014 Selim Cinek <cinek@google.com> Mirrored clear all animation for RTL

Also automirrored the icon.

Bug: 18173905
Change-Id: I510efaf18b89a676959d72ad1b9e9a8edd417e60
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
34cf5c4bfc7c4918b8155c47eb905782902016d6 26-Sep-2014 Selim Cinek <cinek@google.com> Increased the falsing threshold when woken up by touch

Bug: 17649103
Change-Id: Iea4736a761a1108e7832aa62cc2060ea0bd89376
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
19c8c708f16546fc75ae12659aa190f5e3dfbb52 25-Aug-2014 Selim Cinek <cinek@google.com> Added anti-falsing logic to the keyguard.

Newly enforcing a threshold for the following cases:
Unlocking, Dismissing Notifications, Swiping Down Quick settings.
Also increased the affordance threshold slightly.

Bug: 15433087
Change-Id: I723346dedf9ae0e3f8b103182992ab572fc394b9
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
28f0e5932944d9abc4b6879b1d05523e9341c385 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Edge swipes should also dismiss notifications

To prevent falsing with phone/camera affordance.

Bug: 16571057
Change-Id: I5da5efc5529af8211357b556f1db4858e8775e05
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
4247a5c16237705c470b4dd7378a657c5f7b6d51 23-Jul-2014 Dan Sandler <dsandler@android.com> Notification inspector.

When longpressing a notification, instead of popping up a
menu we now replace the notification's view with an
inspector showing the app name and icon inline, along with a
proper app info button.

Bug: 15892646
Change-Id: I905e2fd5c9ea5cbbaccabd633f4b8257227a10bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
eceda3d83814e20cabddc4f0755d475fa2f3d8ff 21-Jul-2014 Dan Sandler <dsandler@android.com> Reintroduced the clear all button

A new text button is added to the bottom of the notification list
enabling the user to clear all notifications.

Bug: 14826666
Change-Id: I34dcccb59346798cca321bc1a19252b00e7c5689
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
5d9cc668e16abf1306d82218cd3da29e28a454ae 28-May-2014 Adrian Roos <roosa@google.com> Update HUN visuals to UX spec

Adds gradient, fixes wrong padding on tablets
and adds a callback mode to swipe helper.

Bug: 15106201
Change-Id: I9c3f2d24665cb3de8e70904893f56c928b0caabb
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
de61fd7822ea15fb691405c1aae472caa58e83ba 26-May-2014 Adrian Roos <roosa@google.com> Implement HUN visuals: shadows and translucency

Bug: 15106201
Change-Id: I718e3d36355d0f58abc3daadb8c6a9d554f29bec
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.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/SwipeHelper.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/SwipeHelper.java
499293f096ef3182ef39e42cc06284501022b5cf 06-Mar-2013 Michael Jurka <mikejurka@google.com> Improve swipe performance in Recents
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
67b03701b633c293fd960435cd97fc0835e44568 15-Feb-2013 Michael Jurka <mikejurka@google.com> Fix one cause of slow scrolling in Recents

Bug: 8208782

Change-Id: I8153001d1cea0c01f929d3091a722fed842038fa
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
7f3b379e995651a6ff76d02dddca87b3acdc157e 27-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6706369: Sometimes the "App info" popup shows...

...even though I don't long press

When you start scrolling from a point between two notification
items, only the first down goes to SwipeHelper.onInterceptTouchEvent(),
and the following events go to SwipeHelper.onTouchEvent(). However
when we call SwipeHelper.onTouchEvent(), we immediately bail if we are
not in the drag state, so we never clear the pending long press event.

Bug: 6706369
Change-Id: Icc46fba62fe7ee334d8d62ac39195d7c3aeff705
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
491d3a9bfab844bf8587545bb1cdab76d2cd4b96 16-May-2012 Daniel Sandler <dsandler@android.com> Fix longpress handler in notifications.

Bug: 6452142
Change-Id: Iaa8e189cd1536f2826d5fe3721ead9bc33397711
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
469e96e206f8df44b32ce393f8d19f0cae730030 04-May-2012 Daniel Sandler <dsandler@android.com> Close notification blame popups when the panel disappears.

Also be sure to cancel the longpress listeners when things
change.

Finally, increase the longpress timeout to 1.5x normal
longpress.

Bug: 6441520
Change-Id: Icea4d2a5c98a9a51a15f0762454de9e5cd454c50
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
f7a1956b06faeb6025fdea331f81d66edda58b3c 04-Apr-2012 Daniel Sandler <dsandler@android.com> Long-press a notification to find out who sent it.

Bug: 5547401
Change-Id: I8d5d73723b3f03f5b0f8717faaca826b1530df7a
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.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/SwipeHelper.java
4eaa983f253d0215d4de777edd8616318610ea22 01-Mar-2012 Michael Jurka <mikejurka@google.com> Fix alpha when swiping recents on tablets

When you swipe to dismiss a recent item on a
tablet, fade the item to 0 alpha

Also, create common interface for Recents-specific
methods for Recents[Horizontal/Vertical]ScrollView

Bug: 5953654

Change-Id: I0a72b49b3cfae0607b42dbf8f6d4da9898d7e491
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
2db72fce6cfc0081583b9726ad80a7d95e064891 24-Feb-2012 Michael Jurka <mikejurka@google.com> Fix blip after notifications are swiped

Bug #6035662

Change-Id: I7f0274c9011247d0fd5ef09a05b7630eda0ca77f
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
99a9655b9333c3bff6e462b12baa56a5fcd4cb20 28-Jan-2012 Michael Jurka <mikejurka@google.com> Making recents faster

Improving load time by:
- using window animation for fade-in and not
waiting to create HW layer
- starting loading of thumbnails/icons earlier
- only initially creating views for the first
screenful of items
- recycling views

Change-Id: I529b1085fe35d81aaafeb7433ccaed8e0537f01c
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
2f2022afa1eb85018368398bd150e9575fc099c9 11-Oct-2011 Chet Haase <chet@google.com> Make notification panel delete-all animation smoother

Making the notfication delete-all animation smoother by carefully
choreographing the various parts of it. The problem with the previous
animation was that there was simply too much going on at the
same time, causing things like layout and recreating display-lists
in the middle of animations that became choppy as a result. This
approach swipes all items off quickly, then scrolls the shade up to the
top, making both sets of animations smoother as a result.

Fixes #5431207: Notification delete-all should be smoother

Change-Id: Iefe8ab5d661e05adcd10379dab85227d17904450
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
f1c8adc9ae4a3f8619da2f9942d026c2bc411882 13-Sep-2011 Michael Jurka <mikejurka@google.com> Merge "Bug fixes in Recents"
0e8063a3b447e1aa5cc3171db42f735b3b6ae78e 10-Sep-2011 Michael Jurka <mikejurka@google.com> Bug fixes in Recents

- Making thumbnails invisible until loaded (fixes regression)
- Speed up dismiss animation from menu
- Make the max swipe velocity greater
- Make only the thumbnail and app title long-clickable
- No more click sound when tapping outside the thumbnails to dismiss Recents
- Tweaking color of recents app label text

Change-Id: If7b6cd59e92feb0472eb3ea266733549cb9f4d4b
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
68ebcdf3fd8b98fe35ec3e0b2e91fd254fcd807f 12-Sep-2011 Jeff Brown <jeffbrown@google.com> Fix ACTION_CANCEL handling in status bar.
Bug: 5198231

Widgets always need to handle ACTION_CANCEL properly since
it can happen at any time, such as when the screen is turned
off or the screen is rotated, removed or reconfigured.

Change-Id: Ia30b14bb6f68cdde5286b4d72e69130e9fb38732
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
ccbc2f309e84e9b073e92c1bf689a4d8dab988cc 03-Sep-2011 Michael Jurka <mikejurka@google.com> Merge "Fix a NPE in Recents"
21ce2d8caeda3c9eb762a2129d37c384de718941 03-Sep-2011 Michael Jurka <mikejurka@google.com> Fix a NPE in Recents

Change-Id: I8fead3b20646e92add6acd49440db675a190baee
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
c6461ca5a0892d9b5a47649d49af69165e05b87f 02-Sep-2011 Michael Jurka <mikejurka@google.com> Fix regression: recents did not dismiss after launching apps (5252649)

also:
- when using menu to "remove from list" in landscape, animate items upward (5149577)
- dismiss recents when tapping on whitespace regions (5115883)

Change-Id: I0f38c7567281583898a49f572cf92d6c59464649
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
622a97646d316ca753c577752ac9010415e9a472 29-Aug-2011 Peter Ng <petergng@google.com> updating visuals of Recent Apps

- replacing background PNGs with 9 patches
- removing border around thumbnails by default
- when swiping thumbnails, draw a border around them
- fix callout line length
- make recents window smaller on tablets
- deleting unused assets

Change-Id: If5bb1ba0d55a6d10e36ee14274c23596f0ba73b9
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
3cd0a593937c0724d77db1e2e3995255cfae61ac 16-Aug-2011 Michael Jurka <mikejurka@google.com> Improve Recent Apps scrolling performance

- 20fps improvement using software rendering
- 10fps improvement using hardware rendering
- in sw mode, rendering recents background in the recent items themselves and using a bitmap cache to draw individual items (gives perf gains for sw mode)
- in sw and hw mode, no longer doing a fade on the recents scroll view (gives perf gains for hw mode) - instead we draw a black gradient where we would normally fade
- fading recents & notifications immediately when swiped
- removing unused code

Change-Id: I908e2a25b89c9dfbf9b8c8f3810fa43064261b33
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
96f4818ef41141649337d4dee09f837594e93d09 17-Aug-2011 Daniel Sandler <dsandler@google.com> Fix drawing artifacts on glowing navigation buttons.

Bug: 5162661
Change-Id: I49d78124cc179221492af2f7bee6adf7bfe34426
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
0761e4cd95b6968dd4b1659a766ef504d13f6d50 11-Aug-2011 Daniel Sandler <dsandler@android.com> Clean up some effects in the phone notification panel.

* Clear-all button (X) fades in and out
* "No notifications" text fades in after a few sec
* Swipe-out velocity can be much higher, dramatically
reducing perceived jankiness in clearing notifications

Bug: 5150699
Change-Id: Ic7e5254fee57724c42b6437d1c4ed8a700615208
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
a375c94fca986d76d21f8cb9a3eb29f1ef88c4a8 29-Jul-2011 Daniel Sandler <dsandler@android.com> New richly-appointed navigation buttons.

- Beautiful new touch feedback animations
- Romantic icon dimming
- Supple Corinthian leather

Bug: 4541219
Change-Id: I8c4e1ec73aba910a17001795d2b03200c5af1788
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java
07d4046ea914c999b7aaa587b7bfe81d548121f7 19-Jul-2011 Michael Jurka <mikejurka@google.com> Unifying swipe behavior for Recents and Notifications

Change-Id: Ibdbb7cc4ac2bcfcf6d6353a218b13c23caeca5b9
/frameworks/base/packages/SystemUI/src/com/android/systemui/SwipeHelper.java