History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/Task.java
bdd4b201e45ffa82dcd3b09fb9724d243c86c8d8 26-Sep-2014 Jorim Jaggi <jjaggi@google.com> Don't preload task description icons when opening recents

Bug: 17624331
Change-Id: I55a1184efd5982122f87fab99a5402336b380d7c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
a734fc1ecedb316fdf6deddc169b8b0bddab76bf 28-Aug-2014 Kenny Guy <kennyguy@google.com> Ensuring that the ActivityInfo cache accounts for the task's user id. (Bug 17314317)

Change-Id: I10bcb60abe3450f2ecfb3ee305be505e13e0be3b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.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/Task.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/Task.java
dcfa7976fa836ae90bb4a579892a18a0abf35b3c 22-Jul-2014 Winson Chung <winsonc@google.com> Intermediate refactoring to move towards in-app view transitions.

- Fixing bug where we weren't toggling to the right task when using affiliations
- Refactoring task rect calculation to allow full screen task view to be laid out for transitions
- Refactoring the view bounds animations into a separate class
- Refactoring the footer view (for lock-to-task) out of TaskView
- Refactoring some transform code out of TaskView
- Removing fullscreen overlay view
- Fixing case where extra invalidations and layouts were still happening in FixedSizeImageView
- Adding debug overlay to replace specific debug drawing code

Change-Id: Ibf98b6a0782a68cd84582203c807cece1ff3379f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.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/Task.java
ff88d7b39ebe3a0453977092a30c3b2a53a19a00 17-Jul-2014 Winson Chung <winsonc@google.com> Fixing optimization in Task loading. (Bug 16372369)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.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/Task.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/Task.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/Task.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/Task.java
6507f2e03a90244e08fb62f9b55653ba3230d0b7 26-Jun-2014 Robin Lee <rgl@google.com> Badge document activities in Recents

The activity icon provided by the app should not be used directly as
icons from activities in other profiles need to be badged.

@bug 15689369

Change-Id: Iee34d296eacc8aeba58f671e3f6b681bc9826425
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.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/model/Task.java
f1fbd77cf057e43926f9a0347692611386d09f40 25-Jun-2014 Winson Chung <winsonc@google.com> Use Task last active time to ensure we don't reload items for the cache.

Change-Id: I29206de0453f5d7d1370b27a27ef6d3594eff8e7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
743d5c95f3a107639c0ff22f099cab2624da3e27 13-Jun-2014 Winson Chung <winsonc@google.com> Clipping the task bar against the task view.

- Skipping nav bar scrim animation when animating without window transitions

Change-Id: I8652f3956971f07bb410b801bf627d51c5e987cd
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
f5e22e71cb5f8699a4312c797af068f655cbe629 03-May-2014 Winson Chung <winsonc@google.com> Incorporating theme colors into task views.

Change-Id: Ie7166d78dacabe4bff7afdade2d1da9d0651e403
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
11e41baac63a42d7ddb7ba2cab40ee55443d262f 21-Apr-2014 Winson Chung <winsonc@google.com> Overriding application icon with activity icon where available.

Change-Id: I03ee8f806b3853183db7f96e71f1684c72b79c57
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
c095ca1cb8877121f768b5b6940e4025e810d4ba 11-Apr-2014 Amith Yamasani <yamasani@google.com> Merge "Corp badging for Recents"
4f0a49e6b9ad1b00972dbe8a751263aa6c482538 10-Apr-2014 Amith Yamasani <yamasani@google.com> Corp badging for Recents

Badge apps that belong to the corp profile when shown in the recents list.

Add a userId to TaskKey to help with caching.

Bug: 11676348

Change-Id: I92c8262dce763de89497977fcc6a53899afda136
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
0d767551c55d9e594a0b944bd1926c21a344b5ae 09-Apr-2014 Winson Chung <winsonc@google.com> Allow for different rects when animating to a single task stack view and a multiple task stack view.

- Fixing regression in task bar enter animation duration
- Fixing issue with extra long titles in the task bar
- Cleaning up some constants and unused code
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
1f1cce1725a2fceee4162aec23518d42c78d6669 04-Apr-2014 Kenny Guy <kennyguy@google.com> Launch recents with the correct user.

Change-Id: I0247d6b4012f8305c84d8b3a455530d9332ed2e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
5e3e5d8945249cfeb8bd59de112be88954ba62bf 03-Apr-2014 Winson Chung <winsonc@google.com> Adding activity icon to the task view

- Also fixing issue where the activity icon was being used as the application icon to filter with
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
a10370fc2eb8eb95631592160c5f6281b9d75722 02-Apr-2014 Winson Chung <winsonc@google.com> Adding system service proxy to help test UI/performance.

Change-Id: I29851ff7b7ced0a69b041e5aa5c9070fc4ab43a5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.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/Task.java
4be0445c66f19ed985aecbc2a572f5d8c6e2553a 25-Mar-2014 Winson Chung <winsonc@google.com> Fixing issue where we were relaunching each activity from recents instead of bringing them to the front.
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
37c8d8ef855aacb074ee0b702a46dbc62b7551a2 24-Mar-2014 Winson Chung <winsonc@google.com> Moving task view layout into resource.

- Using new activity icon/labels

Change-Id: If27bf60d2df75813213e9f3095baeb03085da8f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java
4c71aefcbd7f7bef5dab1d05d5f7001aaea1b067 21-Mar-2014 Winson Chung <winsonc@google.com> Fixing crash with multiple touch pointers

- Adding support for force-reloading certain thumbnails (in prep for fix to Bug. 13587139)
- Use withLayer and withEndAction on ViewPropertyAnimator animations
- Ensuring that we close the notifications panel when we toggle recents

Change-Id: Ied2d841de42046fcb09fffb615156b07b4a67136
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.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/Task.java
4d7b092a866d2fce3e11b5a12cda2b87a83af52d 14-Mar-2014 Winson Chung <winsonc@google.com> Fixing memory leaks related to Tasks holding onto their callbacks.

- Switching to SwipeHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.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/Task.java