History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dfd7be012b889f92d3e7e6d80ff7fe6b55c75901 10-May-2016 Winson <winsonc@google.com> Fixing issue with excluded task showing when docking.

- On multi-window state changes, we should not include the front most
excluded task when fetching the task list. This CL also clarifies
which tasks are included and excluded.

Bug: 28452689

Change-Id: Ia30eaf75382286a9d4ee5a5b11013dddf8e4ac82
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
d46b72788e8811d2e423ea1e5b2ff104ecb7f721 20-Apr-2016 Winson <winsonc@google.com> Removing legacy calculation of Recents visibility.

- This was causing us to try and launch the Recents activity again after
docking because the running task was the newly docked task and not
Recents.

Bug: 28177001
Change-Id: I222e50f6de00a9d7881da2182eebc61564fd3266
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
29a763b83c3a5cb65b2eb682e8404efc47e4dc19 20-Apr-2016 Winson <winsonc@google.com> Adding additional dump logging to track down bugs.

Bug: 28177001
Change-Id: I9832874d3b9b1fceb28cfac6e899739b6dba0896
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.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/model/RecentsTaskLoader.java
a1ededd056d51532ab18354f17f8065ec1134535 25-Mar-2016 Winson <winsonc@google.com> Launch state/config change audit. (Part 1)

- Fixing issue with onResume logic being run even when the window focus
is changing. This only needs to be run when we are launching into
Recents again.
- Removed a bunch of launch state flags that are no longer necessary
because of changes to configuration handling. This reduces the work
that we have to do on resize, etc.
- Decoupled the resume with the stack-update, which fixes a couple
issues where we were updating the layout unexpectedly.
- Fixed an issue where we were not updating the nav bar scrims on
configuration change
- Fixing margin start/end regression in header bar
- Fixing small issue with paddings being scaled beyond their base size
- Fixing issue where the clip state was not properly getting reset
causing lots of overdraw.

Change-Id: I9aeb191a99ff23807b3f5d905f6480b10157a060
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
217009356efa2b854ab3981dff8d315a0d679c73 25-Mar-2016 Winson <winsonc@google.com> Don’t scale task thumbnails.

- Changing task view thumbnail layout. In portrait, scale the thumbnail
to width for portrait screenshots, and apply the same scale to
landscape screenshots. In landscape, scale screenshots up to 1:1, and
tweak the app transition to clip the sides instead of scaling.
In both orientations, fill with the background color in the remaining
space.
- Moving some resources related to the title bar to be calculated
programmatically so that we can have different header bar sizes which
completely overlap the action bar in the screenshot in each
orientation.
- Constraining the task stack width in landscape to portrait

Bug: 27504677
Change-Id: Ic9b6fdde6dd728d9f2d20a8b89c05b3a350edfbf
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
a1b96b5d58e3d0e938b8fc3a6d3e8bf8b115f568 15-Mar-2016 Winson <winsonc@google.com> Ensuring that we evict ActivityInfos from the cache.

- Once the data that we depend on the ActivityInfos for are evicted,
also remove them from the cache so that they are not stale the next
time we might want to use them.

Bug: 27495264
Change-Id: I615842df4f48deb12a051ef241991a51a10cf383
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
8be1634a543022bd6ee0c1e974d3201d452981e8 09-Feb-2016 Winson <winsonc@google.com> Disallow launching third party apps in safe mode.

- Also desaturates out the disabled task

Bug: 25785926
Change-Id: I9fa48c062cfaf6d9cb60a9e49291ca6e15c6b343
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
1af8eda6ea1c89d44123b2bfd5fa0293bb9d68cb 05-Feb-2016 Winson Chung <winsonc@google.com> Drawing thumbnail background color for empty space in view.

Change-Id: I2e8dfbe9c11a61876956658eff0674adb26d855d

Signed-off-by: Winson <winsonc@google.com>
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
6d5b8b8e4473cc5d3ad2ace3376207c53d48ada3 27-Jan-2016 Winson <winsonc@google.com> Part 3: Fade in app icons

- Fixing misordered call to remove the callbacks when recycling before
unloading the actual task data
- Prevent thumbnails from being fetched while loading icons in the
history view.

Change-Id: I8f5dc65f867e60c2d062bb8222c91bf98f54f6d6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
c5ef63f4e95329158d88a6cbb05789b57098222d 21-Jan-2016 Winson <winsonc@google.com> Adding reveal transition to show app-overlay.

- Instead of long-pressing the icon to launch into app info directly,
this will mirror notifications and reveal a space that can show the
app name and a link to app info.

Change-Id: I91c5839719b030a65744f5e677a436e9c719c578
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
65c851e6e9e08656744b6f66d3da188e3283b17d 20-Jan-2016 Winson <winsonc@google.com> Fixing several regressions with affiliated tasks.

- Now that we are sorting tasks for freeform and history, ensure that
the affiliated tasks have a useful active time (based on the task
they are affiliated with) for sorting
- Fix issue with the initial stack and focus state not taking the
launch task into account due to the launchTask flag not being set
until the activity was started (now set in RecentsTaskLoadPlan)
- Fixing issue with affiliated tasks not being launched from the stack
due to the animation trigger not firing when the action button is
already hidden/visible
- Fixing issue with title text being occasionally hidden (something we
only need for freeform tasks)
- Tweaking the launch/enter animations for tasks occluded affiliated
tasks

Bug: 26685208

Change-Id: I0f6e9dbf8deec2e4fc15364e686367cc0f57b41f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
296278a0679375b8c43962a9e3c9bb4e8ab201e7 17-Dec-2015 Winson Chung <winsonc@google.com> Fixing potential issue with wrong task descriptions being loaded.

- Also cleaning up the Task to remove some confusing nomenclature
related to task properties. Now there is a single icon and title,
and we keep a copy of the TaskDescription for future icon loading.
- Also changing a few cases where we should be calling isFreeformTask()

Bug: 26221779
Change-Id: Iac20cc7b4912f76c14232a323981ab2e8f62628a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
f4fdabf69811d844157daabdd500cf3db9d4ac19 16-Dec-2015 Winson Chung <winsonc@google.com> Adding catch for b/26221779

Change-Id: Id0cf455cd65bf5b202a6249b0b51351addb0bd17
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
d93d481ea144bcf56f53b08fbedea2cd760463f4 19-Nov-2015 Suprabh Shukla <suprabh@google.com> Merge "Moving recent tasks information to a user directory"
2359314fd41801005993fc8416eeb4fb38dd75a0 04-Nov-2015 Suprabh Shukla <suprabh@google.com> Moving recent tasks information to a user directory

The directories recent_tasks and recent_images are moved from
/data/system/ to /data/system/users/<n>/

Bug: b/24569398
Change-Id: I538969d86ebf14fb2d44257be1e6c0a7ff61ed8d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
c742f973b1e506732911c156c5869fd377afc5bf 12-Nov-2015 Winson <winsonc@google.com> Adding tuner param to enable fast-toggling.

- Moving constants to a more explicit flags class, which also handles
tuner changes.
- Removing some unused flags

Change-Id: If370581d431784f606c4b8d0c0face5b9a4b9fad
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
eb1b65a976d143810acab199aecd17b987661973 02-Nov-2015 Winson <winsonc@google.com> Prevent and log invalid cache entries.

Bug: 25413518
Change-Id: Id0a7384eccd25ba766feb0c568b4c16db2b6f6c8
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
53ec42cb17693b2d631746e1e5d31021a3359163 28-Oct-2015 Winson <winsonc@google.com> Moving static RecentsConfiguration instance to Recents.

- Matches the other static instances

Change-Id: I25bf474ceb0b8d6cc52c22e83273ffb2fb64cc9d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
e7f138c7f0a190c86cec10fb32fa106aacae4093 23-Oct-2015 Winson <winsonc@google.com> Cleaning up task loading code.

- Moving all references of SystemServicesProxy and RecentsTaskLoader to
a single static instance in Recents. This ensures that we only refer
to an instance that is created with the application context.
- Moving ActivityInfo cache into RecentsTaskLoader with the other caches
which allows us to invalidate it less frequently. This requires the
loader to handle package changes to invalidate the cached infos
accordingly.
- Cleaned up old code to handle case where the Recents component for
secondary users might not be initialized (fixed in ag/773159)
- Moving the package monitor to the background thread.
- Cleaning user interaction and visibility changes to events.
- Fixed issue with sending events from binder thread.

Change-Id: Ie785347055736f6dd7802f32454f77073e20b83e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
e6c9073d81822496c038e70361e25b3f1287c2bc 25-Sep-2015 Winson <winsonc@google.com> Incorporating event bus to proxy recents events.

- Initial change to use the event bus by dispatching
package events directly to the TaskStackViews instead
of passing them down the view hierarchy manually.

Change-Id: Ic68df9eeefb79eab8ded84b74264a93719b40643
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.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/model/RecentsTaskLoader.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/model/RecentsTaskLoader.java
b7a42fda313b6e5d5e82591ea9fb5d1b30acfc55 23-Apr-2015 Benjamin Franz <bfranz@google.com> Improve Accessibility behaviour in recents

Currently accessibility services use the activity label that is also
displayed in recents, which can be very confusing as it does not
represent necessarily represent the app that the recent item is
running. To improve this we use a combination of the application label
and the activity label. The application label is also badged to
distinguish between different users.

Bug: 19688800
Change-Id: Ibead6c87767649aa11cf2fe086924a4b69bf187c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.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/model/RecentsTaskLoader.java
66e86f97747cae9d2ae306a35d9a324c5b3cef68 18-Nov-2014 Winson Chung <winsonc@google.com> Fixing high cpu usage due to case not falling through to wait logic. (Bug 18390735)

Change-Id: I78068567225f85efaa4858dc947de88d39df3f10
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
96d704186621f6310e0e7d39db57caff67baa96c 12-Nov-2014 Winson Chung <winsonc@google.com> Add some flags to reduce memory usage on svelte devices.

Bug: 10918599
Change-Id: I235413a243d47fdd9be4a27f6bd726311a51cb6f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
90d5136ebd59c9aff9543ea5750d4c5d57ac99dc 13-Nov-2014 Winson Chung <winsonc@google.com> Fixing crash in querying the task stack from a fresh load plan. (Bug 18371946)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
a91c293be26b2deb5434eb827a800fa0c80dc92c 08-Nov-2014 Winson Chung <winsonc@google.com> Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)

This change ensures that only the number of visible thumbnails and task icons are
loaded to minimize the delay required when initializing the stack without the
cache. In addition, this change reduces the number of times that the task stack
is recomposed when launching recents (in addition to the number of calls to
getRecentTasks()).

There is also a fix to a regression where the exit trigger is not run when the
task stack view is empty.

Change-Id: I75834ff3c57c0e5dad6252b982f71c6e740071f2
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
b0a28ea5d381cd3a8477cf7fd82797199c80ca67 28-Oct-2014 Winson Chung <winsonc@google.com> Don't reload the layout every time we enter Recents. (Bug 18160176)

Ensure that we don't reinflate new TaskViews whenever we enter Recents by
keeping the existing TaskStackViews active and returning the existing
TaskViews back into the view pool when Recents is no longer visible.

This CL also ensures that we are preloading the appropriate task metadata
when the user first touches the nav bar, and also reverts the change to use
onEnterAnimationComplete() in favor of the explicitly animation-started
broadcast (to ensure we always get the signal) which fixes a regression
with launching Recents in landscape.

Change-Id: I169fea3cf07a6da3f90b32b005819773c6049ada
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
f14fdda21293d1f4bb4f35932833a9f05be554e2 27-Oct-2014 winsonchung <winsonc@winsonc-macpro.mtv.corp.google.com> Fixing potential crash when the task loader is stopped. (Bug 18135583)

Change-Id: I44f766e52f05c38a1b6c4a2e7942e3d6ecaae501
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
bac679b0d47aee0c9f3228ce2957ab4fe5b3609e 20-Oct-2014 Winson Chung <winsonc@google.com> Preloading task metadata to improve Recents startup time after reboot. (Bug 18057321)

Change-Id: I7fc627c79fe369e444ab411d109c439f796d67ff
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.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/RecentsTaskLoader.java
9cb5c4e3854aa7f2ddab707920b688c3108cbc85 29-Sep-2014 Winson Chung <winsonc@google.com> Ensure that we don't show excluded tasks when we are not in that task (Bug 17657618)
- Fix regression with launching an affiliated task due to clipping changes (Bug 17755902)
- Tweaking previous changes to home transition
- Disable the debug mode option
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.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/RecentsTaskLoader.java
e8199c582d826a39e6e47b0d8418834c15242fec 17-Sep-2014 Selim Cinek <cinek@google.com> Removed round rect clipping and hardware layers from recents

This saves us a lot of memory and we avoid the clipToOutline.
The view still looks the same, as we now draw the thumbnail
in a rounded rect.
We now only use a hardware layer on the header, which is much
smaller.

Bug: 17522143
Change-Id: I197a1172efe8450ffb0b537c780a240d38f84275
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
50949eaff714a8ad1417b9fd4192e258f552dcc3 15-Sep-2014 Jorim Jaggi <jjaggi@google.com> Fix priority for recent task thumbnail loader

Follow up CL for Id9a32f87ca3f9f19e5cad5f115d54b19b26f4f93

Bug: 16513124
Change-Id: I3e95d0ae56a273c482db31b377f66fe7397d01f8
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
81e0c8491f22c64300182c652ac2add96888dd2e 12-Sep-2014 Jorim Jaggi <jjaggi@google.com> Aggressive tuning of recents memory usage

Limit the thumbnail count to a maximum of 10 thumbnails and the app
icon count to a maximum of 20 thumbnails, instead of using a
byte-size based limit.

Also prune entries immediately when leaving recents.

Bug: 16513124
Change-Id: Id9a32f87ca3f9f19e5cad5f115d54b19b26f4f93
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.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/RecentsTaskLoader.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/model/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.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/model/RecentsTaskLoader.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/RecentsTaskLoader.java
8236f525f9b78eec0db144a5ecefd75702bc9cca 12-Jul-2014 Winson Chung <winsonc@google.com> Adding missing passthrough of task affiliate id.

Change-Id: Ied2997418ae4c17d0d130c9e6434c0e6e645da41
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
305addefcdd0ababef9e532996e6a26491a282d1 12-Jul-2014 Winson Chung <winsonc@google.com> Piping through task affiliation to Recents.
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.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/RecentsTaskLoader.java