History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ffaf07fed04dfdaa4f28eebb7345a286752ebbf0 21-Sep-2016 Winson <winsonc@google.com> Fixing index bounds exception when TaskViews are added while dismissing.

Bug: 31518216
Change-Id: I749aa45f54d80d524f069922ac09d2f781c87f86
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
f00098805c2af4dc7abc51fe7a5e77b04a5fb0fe 01-Jun-2016 Winson <winsonc@google.com> Fixing several issues with accessibility

- Only reset the focused task if the task that we removed actually had
accessibility focus.
- Only reset the focused task on scroll if we are not in touch
exploration mode
- Ensure the focused view has accessibility focus when entering recents
in touch exploration mode
- Instead of using the focused task, query for the accessibility focused
task view when setting the focused task in response to the scroll
gesture. In addition, use this accessibility focused task to
determine whether we need to add the accessibility actions
- No longer explicitly requesting accessibility focus on view focus
- Removing some unused code

Bug: 29046351
Change-Id: I5701a408bd919e47990f0d2fc6e4686eb9530d8e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
61560f065a334343d9c552796e1c702f4dfb664b 03-May-2016 Winson <winsonc@google.com> Fixes several animation issues related to a dismissing task.

- Previously we did not properly cancel the animations when the user
interacted with the stack while a task was being dismissed. Now, on
touch down, we only cancel the non-dismissing tasks, and in doing so,
set their task override if there is a dismissing task (so that the
stack can scroll correctly), and update the surrounding task views
if the dismiss update comes from the currently dismissing task.
(or in other words, the surrounding task animations will only be a
function of the current task being dismissed)

Bug: 28448670
Change-Id: If7b8ed3f1fe342114ae0f6dd9dbff0d48204f31e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
aa0dea7a4a5b0861bc040e3f5db633a272146fb7 28-Apr-2016 Winson <winsonc@google.com> Pipe the dismiss button logic through the touch handler.

- This ensures that we perform the same dismiss animation when
dismissing via the button or via swipe.

Bug: 28443410
Change-Id: I309c38253e9c2dc78a5882dc663eec84a11619dd
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
eca47ef813c49c8d8cee2cdc93c296bbc59ed73b 22-Apr-2016 Winson <winsonc@google.com> Fixing issue with swipe-dismiss animation clobbering home animation.

- Finish all dismiss animations when a dismiss-to-home animation is
started, and prevent lingering deferred layout animation requests
from running as they will be overwritten anyways.

Bug: 28287904
Change-Id: Ie40c66c0f25705b56f6808607d2b7b8ae4e5a112
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
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/recents/views/TaskStackViewTouchHandler.java
d2a030613154e2007d9816e090c39e9726e7adba 15-Apr-2016 Winson <winsonc@google.com> Adding desired undocking animation.

- Separating task binding from task data updating
- Removing unused parameters

Bug: 27154882
Change-Id: Ia970597d57857a74b5d008e91a93703d8fb70c1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
da8d2285e59fc57361308a3c59b32b9dd7d406aa 12-Apr-2016 Winson <winsonc@google.com> Fixing issue with scrolling tasks upwards

- When scrolling the stack away from the task overrides, we should
actually lock the stack scroll and instead apply the changes in scroll
to the override tasks.

Bug: 27376567
Change-Id: Idd1874ab0f6f5eb273bf6e9623b84277961f4291
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
3b6ba1ab144c53752841869627a1b9f6d357c404 22-Mar-2016 Winson <winsonc@google.com> Adding clear-all button.

Change-Id: Ife637438b191c4a5004f3c6551bc75691e8e426b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
f8597b2aef7c52f8bbf3715f42b33f70cee0b81e 24-Mar-2016 Winson <winsonc@google.com> Tweaking scroll-to-launch task animation.

- Always scroll so that the launch task is focused

Change-Id: I84516d0799ad0b308cfa458f4ce79c82acc48f51
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
59924fe0d9136cf349759bea1e06b661603f95fe 17-Mar-2016 Winson <winsonc@google.com> Iterating on stack layout

- Tweaking initial layout to show more of the next task
- Bounding the width of the stack to the smallest display edge length
- Fixing issue where the screen pinning button was not shown when
entering recents from home, and the task view clip state was not
restored correctly for tasks in front of the launch task.
- Fixing issue where there was no alpha during the transition to/from
home
- Refactoring and removing unused dimens, and moved remaining layout
calculation logic out of RecentsConfiguration.
- Fixing small regression in finding task anchor scroll points. This
caused tasks to be animated strangely when swiping to dismiss and
the task had an override task progress.
- Fixing several regressions in drag and drop due to override progresses

Change-Id: I1eac1dcea19e502bc7fe6362011b38977e3f3d6d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
12cb920ebacaba0b70535b1a0a98c4c18ad04a94 05-Mar-2016 Winson <winsonc@google.com> Preventing users from over scrolling too far.

- Also tweaking the second part of the unfocused curve to make it more
linear to touch.

Bug: 27478701
Bug: 27376567

Change-Id: If187ea333579221ef24986d8d37d0606e50ab7bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
e693aafe0511c2a7ffc571b22abeefba44046225 01-Mar-2016 Winson <winsonc@google.com> Disabling timer

- Disabling the timer by default
- Adding flag to enable/disable paging (disabled by default). When
disabled, the second tap will just launch the next task.
- Updating the initial state to put tasks at specific points on the
curve. This allows us to allocate specific space for the front most
tasks, as well as the tasks behind it.
- Removing hardware layer config (no devices targeting N depend on it)
- Fixing issue with the header not having the final dim applied when
transitioning into recents.
- Fixing issue where the stack range would not be reloaded after docking
or undocking a task.

Bug: 27409035

Change-Id: I13a03fba2b1a770f15d0033d43ef4c28415041c9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
66474134a7dfaf2e63946e2d021dc162365f3a90 24-Feb-2016 Winson <winsonc@google.com> Improving transition from paging to stack.

- When we start scrolling, project the tasks onto the unfocused curve,
then reduce the offsets from the projected task indices back to the
normal indices as you scroll. This doesn’t give you a perfect result,
especially when scrolling in the same direction as the tasks are
offset, but is better than what we have now.

Change-Id: I055b08257fe1427e00e26ffa02f261cf51a8a2e0
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.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/recents/views/TaskStackViewTouchHandler.java
23b0d3f66e8280c8638d8b0954edc0409d14de7f 16-Feb-2016 Winson <winsonc@google.com> Better focus handling after dismissing task/scrolling.

- When there is no focused task, focus the next task closest to the
stack scroll in the focus direction.
- Fixing small regression where no task would focus when alt-tabbing
because the index was out of bounds.

Change-Id: I2555c9340f40affc371f52d51d88af0eeda53b2e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
1499150478b2836a7d2549129ccaed005b24bc06 16-Feb-2016 Winson <winsonc@google.com> Tweaking stack shadows and layout.

- Properly setting view outline alpha
- Ensuring that dismissing while in focused state will return to
non-focused state
- Fixing mis-calculation with bottom stack area

Change-Id: I281b7707421ffde4225180c63c7d40bf325f7f72
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
680888123db816ad0c5f082d1e9b3f9b756bc7b6 13-Feb-2016 Winson <winsonc@google.com> Minor tweaks

- Initializing to focused state when going into Recents
- Dimming the front-most tasks to highlight the focused task
- Fixing wrong call to resize in the LruCache

Change-Id: I41833a9dc59a9bdf4a94b698e4800c1019bceb01
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
1bcf3c4742da5a1d9c04c73efac5c2418142c262 10-Feb-2016 Winson <winsonc@google.com> Moving dim calculation into the stack layout.

- This simplifies code and also prepares the code for dimming certain
tasks when focused.
- Ensuring that cancelling transitions will completely remove all
listeners in a given animation.

Change-Id: I77050d94097f9af404250c287522d83c146cfb25
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
231bc9c54a48921f9c6a1ae187969c9bfe9d121f 09-Feb-2016 Winson <winsonc@google.com> Adding view debug annotations to simplifying debugging state.

Change-Id: If90955f44be55ff09208998214bc1bb47f93a872
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
05e46ca8f3d24cf333e745c8cebb420b2996e9ea 06-Feb-2016 Winson <winsonc@google.com> Updating paging animation to spec.

- To handle the specific animation spec, we just animate the views
manually instead of animating the stack scroll (like how we do when
swiping to dismiss)
- Fixing a regression in settings the initial focused index when
alt-tabbing
- Minor tweak to make the front most task smaller when in the initial
non-paging mode

Change-Id: Ic5fd54500fd8ce8284c7aaeddb102b2291bcecac

Signed-off-by: Winson <winsonc@google.com>
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
423295222c356e6d2b2d79e94d6a097abbc1a5d9 05-Feb-2016 Winson <winsonc@google.com> Adding logging for timeout and other features.

Change-Id: Ife9fca1a2ced08c6cbd38ab55d9ea878928de439

Signed-off-by: Winson <winsonc@google.com>
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
9bbd2861ad0c44ff95463090b303f131b118a2bd 03-Feb-2016 Winson <winsonc@google.com> Fixing issue with task animating from 0,0.

- When we get all the initial task transforms when swiping to dismiss,
the tasks that are not visible at the original scroll position but are
in the final position are not initialized correctly. Instead when
getting the current transforms for all tasks, always calculate their
transforms regardless of whether they are currently visible or not.
- This revealed another issue where on snap-back, a task that was
visible at the new scroll and not at the old scroll was not getting
removed until the next update (which would cause a task view to linger
if you press home for example).

Bug: 26964326
Change-Id: I4db9cd1b072d3841351c2e84b219ca224a3045f9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
be8e696a1f40a61c52a74022f4f084fdc0600f90 01-Feb-2016 Winson <winsonc@google.com> Allow animation controls for each animated property.

- Using onDrawForeground() instead of dispatchDraw()

Change-Id: Iae107a1ba14250f8c496264c60a29edc76df88e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.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/recents/views/TaskStackViewTouchHandler.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/recents/views/TaskStackViewTouchHandler.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/recents/views/TaskStackViewTouchHandler.java
671e8f91aae080dc66a0136ce1fc1c1ae0a90db4 12-Jan-2016 Winson <winsonc@google.com> Removing custom swipe helper.

Change-Id: Ic28ab343f86ab6f80d8c0409a3218513bd8880af
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
5500390a006f2bbea565068234774a36cea076c0 12-Jan-2016 Winson <winsonc@google.com> Reducing numerous extraneous allocations.

Change-Id: Icca49f12a9e0be08eb6d4dbbbf2fd5994a3a25a5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
dc8de848201f64542ad87940cfaa7a5e3d1343ad 07-Jan-2016 Winson <winsonc@google.com> Cleaning up imports and dead code.

Change-Id: Ie59fa7fc7c69eb375792c9227295d75c4672e802
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
f24f21695f5609d06402cf61e3500d408b99bdcb 05-Jan-2016 Winson <winsonc@google.com> Refactoring and unifying TaskView animations.

- Adding notion of a TaskViewAnimation to animate a TaskView to a
specific TaskViewTransform
- Refactoring task view enter/exit/launch/delete animations into
a separate class so that we can improve them easier
- Removing individual TaskView view property animations in favor
of using the existing TaskStackView stack animation. This ensures that
we don't have to add separate logic when animating TaskViews. It is
all handled by the TaskStackView now.
- Breaking down the TaskStackView synchronize method into binding
TaskViews and updating them to transforms. This allows us to
synchronously update in many cases and is cleaner than the many
request* calls.

Change-Id: Ib26793568a14e837e6782358155f21158a133992
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
ef06413afce31800dc8dfee65e5f89bb610f192a 05-Jan-2016 Winson <winsonc@google.com> Moving more callbacks to animated events.

- In preparation for the animation refactoring, this CL just moves the
enter/exit callbacks that route though RecentsView into events that
the task stack can handle directly.

Change-Id: I90f602c5486e1781129225a73dbf97af29477479
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
40149bfe8cd677d9a05e6c62d03e63a434be24f9 03-Dec-2015 Winson <winsonc@google.com> Fixing jump when second finger touches the stack.

Change-Id: I91536ce49d04bc13cbd54f230139592d1d3a3cf1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
8b1871d74137d7e36ba0fed5608772f51f62015b 20-Nov-2015 Winson <winsonc@google.com> Adding tuner params for paging and full screen thumbnails.

- Adding “focused” stack state to support paging
- Changing the paging to match UX spec (only auto-page after the first
tap)
- Removing old header focus animation

Change-Id: Id72825b8a1b1c0a2238ee184a6695b13c1d8cb1c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
1b58561f66a9453754b1b419296899fdc08b4c93 06-Nov-2015 Winson <winsonc@google.com> Fixing up some more focus edge cases.

- Disallow touch while alt-tabbing
- Allow keyboard to focus tab while scrolling
- Cleaning up some old classes that aren’t really being used

Change-Id: Ibabea093afb711b07f398677d25735421b7c7e53
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
a5e6b36034fa66549dd71601a86397381c6bf02b 03-Nov-2015 Winson <winsonc@google.com> Updating freeform layout to be static at the top of recents.

Change-Id: I5118d03c115080e05447d325097419b9a1c6f8b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
36a5a2c7003ef8157f276b411c3fda47ad2f75e3 30-Oct-2015 Winson <winsonc@google.com> Initial layout/behaviour for freeform workspace.

Change-Id: Idc878862747d0d726cbf10be9893c48736673d0e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
23afcae84422ac7c9687b17a6193f74264361303 28-Oct-2015 Winson <winsonc@google.com> Fixing touch handling on resized tasks.

- Simplify touch handling just by keeping everything in screen space,
and just map to the curve proportionally to the arc length. This
makes the movement much closer to that of other lists, and prevents
the issue of touches at the top of the stack scrolling along the
curve faster than at other places (and when Recents is resized, this
becomes more of an issue).
- Add basic functionality (disabled) for freeform task workspaces.


Change-Id: Ib3a8ce2caa1437cfc09eaa5b36aff310e29e35f5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
0d14d4da91c3d8b1221269712d5abf43a7cf9f31 27-Oct-2015 Winson <winsonc@google.com> Refactoring the focus state to be independent of view focus.

- This allows us to ensure that a task is always focused in the stack,
which simplified focus logic, and allows us to unify the accessibility
focus and normal view focus handling.
- Refactoring some focus actions to events
- Adding flags to experiment with fast-toggle.

Change-Id: I5623f2a5584994033f1ebf1760b55e8bd019944b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
412e18058dc2cd5779d2451fce7fd74631f9e237 21-Oct-2015 Winson <winsonc@google.com> Additional refactoring interface between component and activity.

- Removing broadcasts for communicating with the Recents activity from
the component in favor of using events.

Change-Id: I2ddfde911bd1fd1b2d63bb84a0e7f0338f955df6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
190fe3bf88388fcb109af64571e3baa0d01f1c37 20-Oct-2015 Winson <winsonc@google.com> Refactoring secondary user recents logic.

- Removing old broadcasts in favor of direct aidl interface between
system and secondary users. Also moving user specific implementation
into RecentsImpl, allowing Recents to handle proxying between users.

Change-Id: I4bd5ef1d1ee47309b7c754f50a5e8b2e2aab988f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
c89d516e094b83c52fb209aadbbf2d69ca90e17a 14-Oct-2015 Winson <winsonc@google.com> Fixing merge conflict from DR to master.

Change-Id: Id76602204dffa2745534e8290a14e407de639c0b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
1723305878621eaa6d18cc59eacd3c69d99c25bb 14-Oct-2015 Winson Chung <winsonc@google.com> am f3eb33f4: am 1c36cfd2: am d8fed39f: am c7a873e3: Merge "Ensure we update the active pointer id on pointer up/down." into mnc-dr-dev

* commit 'f3eb33f437948118a9b08767f18b76f6f83ca52d':
Ensure we update the active pointer id on pointer up/down.
c14a11e88241cb0b75f98a9af2c4061d14e1b4a6 13-Oct-2015 Winson <winsonc@google.com> Ensure we update the active pointer id on pointer up/down.

Bug: 24841350
Change-Id: Id5d91ee8adbb638caf66976d701cfbc0befaca04
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
88f00ab1df35928ad0aa0c64f75ecad88d86096c 06-Oct-2015 Winson <winsonc@google.com> Cleaning up stack layout.

- Refactoring the layout to remove unused (and confusing) variables,
reducing the number of calculations when updating min/max bounds, and
allow more accurate tracking of stack positions (for attached views).
- Tweaking the transform for single-task stacks so that they behave
better.
- Removing old, unused dismiss-all ui.

Change-Id: I8ec3bf062b0451543bd8a297aa810405f68c84cb
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
2536c7ed446203ea12b38cf05a88e603f8d1b768 02-Oct-2015 Winson <winsonc@google.com> Refactoring several TaskView callbacks.

- Moving header bar event handling to TaskViewHeader
- Removing several proxy callbacks from RecentsView

Change-Id: I7dc99a7b580c1beaa93216d2b29c94246b35ec5d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
35f3050959e43bf378f9a0adcaef13729206c7e4 28-Sep-2015 Winson <winsonc@google.com> Moving resources out of ResourceConfiguration.

- We can no longer make assumptions about the ability to
get resources for the RecentsActivity before the activity
is launched (the configuration of the launched activity
can differ than the current configuration if a window
is docked). As such, we reduce RecentsConfiguration
to the set of values that are context agnostic, or can
be calculated directly given an application context.
This ensures that we will continue to be able to compute
the target task bounds given any context.

Change-Id: I423c90635eb294aa2d78a6f56771b98ee2b9d5e4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
147ecaf3ba5d72872e8ff324aa32c0d228ada7f5 17-Sep-2015 Winson <winsonc@google.com> Ensure RecentsActivity is resizeable.

- Removing old code related to multi-stack layouts.

Change-Id: Ib9b820d2a65ff15e9cd8e5255e3e858b611e5aa9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
fce23748c49e0c303efd72296dcdba13b099f622 31-Jul-2015 Winson Chung <winsonc@google.com> Ensuring that we don't try to use and propagate null activity labels.

- Also fixes issue with tapping outside bounds not working to dismiss recents

Bug: 21774486
Bug: 22241587
Change-Id: Ib50f6fece8fb150929a1f8cdb01b8e8fe7b665cd
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
5c9f4b90bf56b242467f0b5b4d2c7c5b71e6a777 26-Jun-2015 Winson Chung <winsonc@google.com> Adding metrics to overview.

Bug: 21528167
Change-Id: Ice1ce892682aa4599b9a689b47af373780897548
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
83ea6f71ebf666cbf708280425cb43490ab989c9 17-Jun-2015 Winson Chung <winsonc@google.com> Fixing a few accessibility issues.

- Fixing issue with accessibility focus being incorrect when animating from home
- Fixing issue with accessibility focus being reset too aggressively when the
list is scrolled
- Ensuring that recents handles forward/backwards scrolling

Bug: 19997561
Change-Id: I042666775862f4a20e8f22960e1f34e45fc5664e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
4bd79b7556177a3d52d43916f8dd52c44017048a 17-Mar-2015 James Cook <jamescook@google.com> Recents: Tapping on background returns to launcher

Conceptually the area outside the recents task stack looks like a
"desktop". Make a non-scroll tap outside the task stack close
recents and return to the launcher.

Bug: 19271451
Change-Id: I9e639d6b5c6127bc37e1003152ef7a6fcbc2c2f3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
d16c565a607de754379fe699a4def21bd0e3de2f 27-Jan-2015 Winson Chung <winsonc@google.com> Adding some debug controls to test multi-window.

Adding some preliminary controls to mirror the currently exposed api
to create new activity stacks, resize stacks, and to move tasks
between stacks.

Change-Id: I3fb51c248f53a1d4c4eb23ca9fb3a76888def1de
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
6ac8bd6198f67b64aea2258bdb5f8ed371b5bec1 08-Jan-2015 Winson Chung <winsonc@google.com> Adding dismiss-all button.

Change-Id: Iad7d5d1eddeff6af6b88a1afdf23677c8b2f3b49
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
2cf8b221fca18dbee3703388ae7970491c86ec7f 20-Jan-2015 Winson Chung <winsonc@google.com> Cherry picking recents fixes to screen pinning and visibility.

Screen pinning fix - 98e8f7ac5e75a47abaa0061aab343b9f06770258
Visibility fix - 5675f018681faefeb50c9003bc9e02cd9ce5659d

Bug 18986736, 18802531

Change-Id: Ia37dbcd4f82e80f47f9c0686ed2ad4f534f946a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
31d9837284f5a443b065420e8ebb7fbc9e91bb99 04-Dec-2014 Justin Harrison <astyrrian@google.com> Revert "Revert "Improve fling physics for recents""

This is now BC-triaged, so reverting the revert.

This reverts commit 3f7dac5a1ccf5d464070c1a067d1d50741bdbd0e.

Change-Id: Iae9ffc74a44918a83d9cd4dfb7011810c770e135
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
3f7dac5a1ccf5d464070c1a067d1d50741bdbd0e 04-Dec-2014 Justin Harrison <astyrrian@google.com> Revert "Improve fling physics for recents"

This reverts commit 00d947bda0b9a2ea133dfd7b0e445245a0e2c23c.

Change-Id: I3d6696227a381d232baed8fdbcbe34d3c4976ebe
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
00d947bda0b9a2ea133dfd7b0e445245a0e2c23c 26-Nov-2014 Jorim Jaggi <jjaggi@google.com> Improve fling physics for recents

- Don't limit swipe out velocity
- Make sure we pick up all touch events in VelocityTracker
- When already scrolling and touching again, don't reset scroll
state, so we don't wait for the touch slop again to start
scrolling (this makes it more consistent with ScrollView).

Bug: 18536759
Change-Id: I1d43c77db78beec6d0b8c949e67141a2665de892
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
606b3da71ab64e489e8f65e0b1092138dbfaf7b7 07-Oct-2014 Winson Chung <winsonc@google.com> Removing unused/dead code related to footer and screenshot transition.

Change-Id: I205de9047413d1ff2da68cdd062eeba59267b10f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
d213a1e53c7b31e9d7c072b5f0332127ed781d5a 02-Oct-2014 Winson Chung <winsonc@google.com> Adding mouse wheel support. (Bug 17323718)

Change-Id: I51bf159369983789933767813bbf8a785ff1bda3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
ebfc6981828b0699eef85c58b23a61f2cac41af3 26-Aug-2014 Winson Chung <winsonc@google.com> Additional changes to improve performance when loading Recents. (Bug 16987565)

- Ensuring that we consistently load activity icon, title and color for both full and shallow stacks
- Adding activity info caches when loading the stacks
- Should not be scaling pin icon when launching from pin
- Tweaking snap-back, over scroll, and shadows

Change-Id: I556b93562bb2c69e4c25ce787a7a34532ab706ca
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
b99b18e78e8aa9a27596c13ea05a188ab43c7e12 05-Aug-2014 Winson Chung <winsonc@google.com> Fixing scrolling regression with layout changes.

Change-Id: Ic440d147ca13bf13d7f311b6d9876e3c02d4f189
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
012ef36a6c5e9745d112c734aed916cab052558c 01-Aug-2014 Winson Chung <winson.chung@gmail.com> Updating the stack layout to use a parameterized curve.

- Fixing issue with search box not being layered on top of the task stack view (Bug 16643875)
- Fixing issue with there being no animation when dismissing recents while the stack is scrolling.

Change-Id: I990f3c527de655d62fbf8a4539dcbaed3ed422c8
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
480dd72daf927283997bdb4060091299add66832 23-Jul-2014 Winson Chung <winsonc@google.com> Fixing issue with the lock-to-app setting not being refreshed when entering recents.

Change-Id: I8236aebc18a0d7194bfe50fe2c61659caa39b04c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
7ea62ba97b4645fe0c21e9c2df73503c259db62a 23-Jul-2014 Winson Chung <winsonc@google.com> Always enable HW layers on task views. (Bug 15986310)

- Use color filter to apply dim to the task view layer
- Fixing bug where you would see a flash of the task view when animating out of Recents.
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
57eea0f78846271ea06caf075a01769eb7c1447f 19-Jul-2014 Winson Chung <winsonc@google.com> Merge "Add setting to guard the lock-to-app recents icon" into lmp-dev
56e09b42a0f1670970872bef611a8036904ad6bf 18-Jul-2014 Jason Monk <jmonk@google.com> Add setting to guard the lock-to-app recents icon

Lock-to-app (soon to be screen-pinning) will now only show up once
it has been enabled in settings.

Bug: 16378448
Change-Id: Ide333463f86310eacb7a1d8b6dc7b1aea8722713
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
3e3365babdf5b979e98afeb2544eb99421084eb7 18-Jul-2014 Winson Chung <winsonc@google.com> Fixing issue where we weren't restoring touch state on dismissed Task cards. (Bug 16322100)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
85cfec811e35025dbde54f4dc09fe0e1337c36b8 14-Jul-2014 Winson Chung <winsonc@google.com> Fixing potential crash when attemping to read null thumbnail (Bug. 16289301)

- Refactoring to remove unnecessary updates of RecentsConfiguration
- Removing unused logs

Change-Id: If427e565ab7260009ffb9be8ca45ba833c8262af
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
1f24c7e37bc794057a156a730c7e4b53b01212ed 12-Jul-2014 Winson Chung <winsonc@google.com> Initial changes to support lock-to-app on the foremost task. (Bug 16221876)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
ffa2ec664479bff6b4b61d4c349d9db2cb37ca16 04-Jul-2014 Winson Chung <winsonc@google.com> Refactoring to support groups.

- Removing RecentService, determining animations just in time
- Fixing a few issues with animations of newly picked up tasks from the pool
- Moving helper classes into sub package

Change-Id: Ie10385d1f9ca79eea918b16932f56b60e2802304
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
7aceb9a07fd3883c8f301ba93726d55494b0446e 03-Jul-2014 Winson Chung <winsonc@google.com> Bug fixes and cleanup

- Don't reinflate the search bar view every time you return to recents
- Fixing an issue where the default thumbnail was not being used when querying the thumbnail cache (thought WM still seems to not be giving us screenshots in many cases)
- Fixing an issue where an invisible header bar color was used instead of the default header bar color
- Fixing an issue where swipe-to-dismiss logic was running before the animation back into place
- Using outline clipping instead of doing it ourselves for the rounded TaskView
- Small optimization in finding the visible range
- Renaming some of the callbacks to make them more clear
- Removing some unused code
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
d7b2cb12ac90956843413c212769639044a0b6f2 27-Jun-2014 Winson Chung <winsonc@google.com> Continuing refactor of TaskStackView.

- Extracting stack and filtering logic.

Change-Id: Id794cb2e36238baa49e614bc436bf07de6680804
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
8eaeb7dc93ed71b768a2ea8d45021cca010e8263 26-Jun-2014 Winson Chung <winsonc@google.com> Fixing bug where search bar is not updated when search package is first installed.

- Fixing issue where we weren't disabling HW layers when you don't finish a swipe-to-dismiss
- Preventing tapping on a task that is currently being dismissed
- Adding a debug trigger for internal testing
- Minor refactoring

Change-Id: Id7dcc8a4b5a080402c2761cd555b8a882498ad29
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
cdbbb7e33033d7ae368aa5b7007ec2b20ebdaff1 24-Jun-2014 Winson Chung <winsonc@google.com> Refactoring RecentsActivity and TaskStackViewTouchHandler.

- Pulling out logic related to system bar scrims, and touch handlers to their own classes
- Pulling out shadow reflection code out of RecentsActivity
- Ensuring that we poke the doze trigger when scrolling
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java