History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
98e8f7ac5e75a47abaa0061aab343b9f06770258 13-Jan-2015 Winson Chung <winsonc@google.com> DO NOT MERGE. Ensure screen pinning UI appears immediately after setting changes.

Fixes an issue where the screen pinning UI in the Overview space would
not appear on the first load after changing the setting, this was because
the updated flag was not read before the tasks were preloaded prior to
entering the Overview space.

Bug: 18986736
Change-Id: I50dc9ff6d369fb3f2593f2bf2c1dc4608878820f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
bc571a980704dc767838935e83c6aed231c406e9 20-Nov-2014 Winson Chung <winsonc@google.com> Reset the task stack instead of the view when Recents is hidden. (Bug. 18436876, Bug. 18394126, Bug. 18432310)

This will remove the need for having all the null checks in TaskStackView.
We also remove the check when launching tasks (the fail case is worse
when the activity fails to load). And the CL also fix the header focus
animation, and an issue with tasks not getting laid out when the stack is
set again.

Change-Id: I9b4cd50d76f72ba3d16dd1b8e2d9bbf9f1f24d2b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
04400672962d2e12132f9465928cbf7615c147c4 17-Oct-2014 Winson Chung <winsonc@google.com> Ensuring that user-specific Recent tasks are removed. (Bug 18036610)

- Also ensuring that the package event logic support multiple task stacks.

Change-Id: Ib08ab70dba1d3f9e5aa0a92f3c5e5382567c96ba
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
a4ccb86ddc8f9f486aee25fb836f4aff97bf7679 23-Aug-2014 Winson Chung <winsonc@google.com> Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)

- Reverting changes to the existing thumbnail transition to prevent breaking applications
that currently depend on that transition. As a result, we need to create a new, hidden,
aspect-scaled thumbnail transition, and instead use that thumbnail to animate the
recents header so that we don't have to wait to do that inside the Recents activity.

In order for this to work, we also have to ensure that the thumbnail surface destruction
is synchronized with the application that is currently closing (when going down to
recents) or opening (when coming back up). The current thumbnail is destroyed when the
animation ends, but that can be at least 1 frame before the surface for the animating
window is destroyed. We change this by deferring destruction of this thumbnail window
to the animation that is being closed.

Especially on the way up, not having to wait for us to hide the header before doing the
transition up can save us the duration of that first animation (> 100ms).

- Other optimizations:
* No longer creating a new stack view on each transition to calculate the target rect
* Removing unnecessary call to get the thumbnail when transitioning up/down (the actual
window does its own animation.
* We reduced numerous system calls per task by adding a flag to ignore home-stack tasks
and caching the activity label and icon (and task description icon). These caches
follow the same eviction schemes as the thumbnail and icon cache.

- Also tweaked the touch slop for the nav bar swiping gesture to prevent conflicting with
tapping on home (Bug 17109581)

Change-Id: Ica697aad788051a9203edd9351c583e1cb038a71
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
a0e88b5013d708ac6ed6518817d83c64c87ae4b1 12-Aug-2014 Winson Chung <winsonc@google.com> Implementing Recents focus states. (Bug 16950262)

- Fixed issue with focus going to send front most task when coming from Home
- Adding shortcut to dismiss a task
- Refactoring code to get secondary overlay and affiliation color
- Throttling alt-tab key presses
- Fixing issue with slivers of the task thumbnail being visible for affiliated tasks

Change-Id: Iaafe408318646a423fd58b51bbe93dbe0f2eed99
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
b1f749906f5c27114d02ea0c3f8ce0dcea08fd3f 08-Aug-2014 Winson Chung <winsonc@google.com> Initial changes to support swiping on the nav bar to switch affiliated tasks.

- Actual sideways animations to come once they've been finalized

Bug: 16846966
Change-Id: If6d40495498197a86a98f9b03f54ced3d2baf64a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
ec396d6399c5c31d697d81e94aff459e9771b0c6 07-Aug-2014 Winson Chung <winsonc@google.com> Initial changes to add task affiliation styling. (Bug 16656169)

- Fixing issue with launch-in-background animation
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.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/model/TaskStack.java
2915b9d14876c8e63ca82415807bcfb602ebad43 28-Jul-2014 Winson Chung <winsonc@google.com> Updating lock-to-app look.

- Adding seek bars for tweaking values when in debug mode

Change-Id: I92ae7b431ee170f5d8b31f34349d51a6b7f9ddef
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
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/model/TaskStack.java
82c8c5e9872b984ba6f43b01da0c7731fd5bf762 15-Jul-2014 Winson Chung <winsonc@google.com> DO NOT MERGE Using a fixed sized ImageView to prevent unnecessary layouts.

- Preparing for task view clipping using the view outline

Change-Id: I4aae4189a759a48057f1e3729cc2a9e6d553c11e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
93748a11cba1b44edbc2e888c997533461355594 14-Jul-2014 Winson Chung <winsonc@google.com> DO NOT MERGE Fixing some regressions

- Removing some legacy code with task loading
- Ensure that doze triggers are set correctly on configuration change
- Adding WCAGv2 contrast checking for deciding which foreground color to use for labels
- Bumping up the max thumbnail cache size slightly
- Fixing case where visibility state was not correct if you toggle recents too quickly

Change-Id: I5e954890d53948547842edce3c76c34d74e180a8
(cherry picked from commit e99e1009ce49caf220aa51c044ed53ac0a3b7cc6)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.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/model/TaskStack.java
083baf99ff1228e96ede96aac88c8200c4fdc2b2 11-Jul-2014 Winson Chung <winsonc@google.com> Fixing a few potential crashes, preparing for Task affiliations framework changes.

- Deferring widget host listening to speed up startup
- Ensuring that we animate to the right task position in the stack and not just the front-most
- Removing assumption that we can only get screenshots for the most recent task
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
a433fa9c17772f563163ff7db177d091d6aebd5b 09-Jul-2014 Winson Chung <winsonc@google.com> Updating task grouping logic.

- More fixes for graphical glitches when picking up task views.

Change-Id: I93fab1c2a9cc727c68d8f8fbd506bedaf681715f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.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/model/TaskStack.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/model/TaskStack.java
11ca76a53c60a1898956614315ae929668c523d6 11-Apr-2014 Winson Chung <winsonc@google.com> Refactoring filter animation logic.

Change-Id: Ic3b57f540da8fa0d2703eef34c43ed9e54f85021
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
b44c24fb50845dfbc1f49e78085cf5e01a32067f 10-Apr-2014 Winson Chung <winsonc@google.com> Removing duplicated code in Recents

- Also disabling the animation on the first task view when animating from home
- Fixing a case where filtered and non-filtered state can be exactly the same

Change-Id: I01665391fc0b0745a89e404b12280d3d919aec83
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
c6a1623cc48581380b698ae87b43bfafb9c935ba 01-Apr-2014 Winson Chung <winsonc@google.com> Enabling filtering by base intent package.

- Toggling recents now unfilters the current stack before dismissing recents

Change-Id: Id0d240bf16bc32957ee7e5a9882a453044903d29
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
04dfe0d26b944324ee920001f40d74cff47281d6 14-Mar-2014 Winson Chung <winsonc@google.com> Simplifying memory management, use Task Keys as resource cache keys.

- Attempts to load non-topmost task thumbnails from cache
- Ensuring that we release all references to the activity from the bg loader
- Removes background loading debug flag
- Moving callbacks into their respective classes
- cleaning up some callbacks when data is loaded in the bg

Change-Id: Ibb968349d08084922d5b28e432b76a165bf20d6b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
303e1ff1fec8b240b587bb18b981247a99833aa8 08-Mar-2014 Winson Chung <winsonc@google.com> Initial changes for recents.

Change-Id: Ide2c202b4a5b25410f0f32bd0a81ccf817ede38f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java