• Home
  • History
  • Annotate
  • only in /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5675f018681faefeb50c9003bc9e02cd9ce5659d 19-Dec-2014 Winson Chung <winsonc@google.com> DO NOT MERGE. Don't use visibility flags to determine whether to dismiss Recents. (Bug 18802531)

We can use our normal visibility check to dismiss Recents when the screen is off,
since the system broadcast can occur after the activity is stopped. We should use
the same mechanism we use to test visibility when launching Recents and just see
if it is the top most activity.

Change-Id: Ib9c01e78fd9221c4fb0ffcc80a01a0c58fb96836
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
isc/SystemServicesProxy.java
iews/TaskStackViewTouchHandler.java
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
lternateRecentsComponent.java
ecentsActivity.java
odel/TaskStack.java
iews/RecentsView.java
a320b2176c9e6a5b3f2c3fe6f80ca9b14e088e9a 18-Dec-2014 Winson Chung <winsonc@google.com> Merge "Bug 18784289: Fix issue with transition animation callback." into lmp-mr1-dev
e494c382c0caf35f225dfb55f0e3b992c14d79f5 17-Dec-2014 Winson Chung <winsonc@google.com> Bug 18784289: Fix issue with transition animation callback.

This is a regression where we changed the source view for the transition
to dummy view, but since it was not yet attached, it could not get the
handler implicitly to post the onAnimationCompleted callback. This CL
modifies these ActivityOption transitions to also take an explicit
handler to process the callback on.

Bug: 18784289

Change-Id: I73f745c33b9f8aed91f8d9cd975f37cf7e4128f1
lternateRecentsComponent.java
iews/RecentsView.java
0eae5573b59ac2d3e484b7977f5fca7df9812c68 11-Dec-2014 Winson Chung <winsonc@google.com> Fixing issue with old thumbnails on first launch of app. (Bug 18718114)

Ensure that we always update the thumbnail for the running task, in addition, we
need to be ignoring the running task when doing background preloading since it
will be invalidated anyways.

Change-Id: Ie4f9862dddc29aa71a44e94bbd036c7712487eed
lternateRecentsComponent.java
odel/RecentsTaskLoadPlan.java
2002cf5b463737e7f615f1469cb20d324c283544 09-Dec-2014 Winson Chung <winsonc@google.com> Fixing major regressions in Recents with multi-user. (Bug 18574950)

In the process of front-loading a lot of the loading work, we moved logic
into AlternateRecentsComponent, which is not multi-user friendly. This CL
proxies all the necessary events for non-primary users to their own SystemUI
process to ensure that they handle them correctly, and proxies visibility
changes back to the primary user (since that is the only process with the
right callbacks).

Change-Id: I9fed92214ac4d4e2309ad6ffc35d09b5726c2880
lternateRecentsComponent.java
ecentsActivity.java
ecentsUserEventProxyReceiver.java
isc/SystemServicesProxy.java
16158852e2d91041df6d3c031cefe4b77f0583aa 08-Dec-2014 Winson Chung <winsonc@google.com> Merge "Ensure that loading and unloading of tasks happen symmetrically with lifecycle events. (Bug 18574950)" into lmp-mr1-dev
860e2d86d8c05b03e985e438664069794825ef0f 04-Dec-2014 Winson Chung <winsonc@google.com> Ensure that loading and unloading of tasks happen symmetrically with lifecycle events. (Bug 18574950)

Since we were unloading tasks when the activity was stopped, but only reloading
tasks on the next onCreate()/onNewIntent(), there were cases where the system
would create the activity but then immediately stop and start it (ie. when the
screen is turned off while the activity has resumeWhilePausing=True set in its
manifest). This CL ensures that we reload the tasks with the same state used
the last time the Recents activity was started.

The CL also cleans up some visibility state that was confusing and is no longer
necessary, fixes a small issue with the dismiss button flashing when toggling
Recents quickly, and fixes some cases where the initial stack scroll is set
incorrectly.
lternateRecentsComponent.java
ecentsActivity.java
ecentsConfiguration.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskView.java
iews/TaskViewHeader.java
70941f203c13bbd475f2434b69155123cf5ae863 04-Dec-2014 Justin Harrison <astyrrian@google.com> Merge "Revert "Revert "Improve fling physics for recents""" into lmp-mr1-dev
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
iews/SwipeHelper.java
iews/TaskStackViewTouchHandler.java
21af21ca07cd07d7164bf7b7d70513c193785247 04-Dec-2014 Justin Harrison <astyrrian@google.com> Merge "Revert "Improve fling physics for recents"" into lmp-mr1-dev
3f7dac5a1ccf5d464070c1a067d1d50741bdbd0e 04-Dec-2014 Justin Harrison <astyrrian@google.com> Revert "Improve fling physics for recents"

This reverts commit 00d947bda0b9a2ea133dfd7b0e445245a0e2c23c.

Change-Id: I3d6696227a381d232baed8fdbcbe34d3c4976ebe
iews/SwipeHelper.java
iews/TaskStackViewTouchHandler.java
54daab1009e7be849fa1dcbf4ee3f9d0ba40d732 04-Dec-2014 Jorim Jaggi <jjaggi@google.com> Merge "Improve fling physics for recents" into lmp-mr1-dev
fc33cdf71dc58652cb15b7d2f1143affff404fc9 03-Dec-2014 Winson Chung <winsonc@google.com> Fix crash when user is both scrolling and tabbing through Recents. (Bug 18552776)
iews/TaskStackView.java
740c3ac782675d190941b2ab1905e56f246c1b11 13-Nov-2014 Winson Chung <winsonc@google.com> Initial changes to add callback on task stack changes. (Bug 17672056, Bug 18291345)

Add a listener to listen for changes in the Task stacks to preload thumbnails from the
system. In addition, reduce the amount of synchronous work done in activity creation
and first measure/layout passes.

Change-Id: I8bd9155d7a05e89c190a20429acff69a17808208
lternateRecentsComponent.java
ecentsActivity.java
ecentsAppWidgetHost.java
isc/SystemServicesProxy.java
iews/RecentsView.java
iews/ViewAnimation.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
iews/SwipeHelper.java
iews/TaskStackViewTouchHandler.java
71113e43e768d973b3721f8fac9f9654ed159911 22-Nov-2014 Winson Chung <winsonc@google.com> Merge "Reset the task stack instead of the view when Recents is hidden. (Bug. 18436876, Bug. 18394126, Bug. 18432310)" into lmp-mr1-dev
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
lternateRecentsComponent.java
odel/TaskStack.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskView.java
iews/TaskViewHeader.java
7c122b60b93c9ef4fa428bc142ea61bf4252b70b 20-Nov-2014 Winson Chung <winsonc@google.com> Merge "Use SystemClock time to keep track of last event times. (Bug 17995039)" into lmp-mr1-dev
6aa73cf2668e1d4b5b7534995dcc8891b4a7a279 18-Nov-2014 Winson Chung <winsonc@google.com> Merge "Tweaking animation XMLs and removing dead code. (Bug 17672056, Bug 18415217)" into lmp-mr1-dev
15a2ba813a3c16ebc52f943ff80d4b67c05af310 18-Nov-2014 Winson Chung <winsonc@google.com> Use SystemClock time to keep track of last event times. (Bug 17995039)

Change-Id: I7df1ee82568cbe3a6adbf948bd4e75dd57791032
lternateRecentsComponent.java
ecentsActivity.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
odel/RecentsTaskLoader.java
c041d883c3591670441d4c2da8fd1108dfd28acd 15-Nov-2014 Winson Chung <winsonc@google.com> Tweaking animation XMLs and removing dead code. (Bug 17672056, Bug 18415217)

- Use shape drawable for pin background instead of asset.
- Includes fix for scrolling regression when task stack scroller was not reset.

Change-Id: I11eec1f3b0386b4354c8c5e3deca2b17cff83be1
ecentsActivity.java
ecentsConfiguration.java
iews/AnimateableViewBounds.java
iews/SystemBarScrimViews.java
iews/TaskStackView.java
iews/TaskStackViewScroller.java
iews/TaskView.java
iews/TaskViewHeader.java
iews/TaskViewThumbnail.java
b079117384c038e1c02fb58fefafcb2a72cb0cf3 17-Nov-2014 Winson Chung <winsonc@google.com> Merge "Add some flags to reduce memory usage on svelte devices." into lmp-mr1-dev
96d704186621f6310e0e7d39db57caff67baa96c 12-Nov-2014 Winson Chung <winsonc@google.com> Add some flags to reduce memory usage on svelte devices.

Bug: 10918599
Change-Id: I235413a243d47fdd9be4a27f6bd726311a51cb6f
ecentsConfiguration.java
odel/RecentsTaskLoadPlan.java
odel/RecentsTaskLoader.java
fe79d62db3f5de7671763b4bbafc83feb1c7694c 17-Nov-2014 Winson Chung <winsonc@google.com> Merge "Adding additional null checks to prevent crash after task stack view callback is reset. (Bug 18376798)" into lmp-mr1-dev
fe03b40da4a513af759851dd399e39dfa90c3363 17-Nov-2014 Winson Chung <winsonc@google.com> Adding additional null checks to prevent crash after task stack view callback is reset. (Bug 18376798)

Change-Id: I46a324b3b6acba6b6519506ff2431d285e3b57f9
iews/TaskStackView.java
iews/TaskView.java
86677c9a511f4478bf94418208e600b1f40db733 14-Nov-2014 Winson Chung <winsonc@google.com> Fixing regression in screen pinning button visibility. (Bug 18390050)
iews/TaskView.java
90d5136ebd59c9aff9543ea5750d4c5d57ac99dc 13-Nov-2014 Winson Chung <winsonc@google.com> Fixing crash in querying the task stack from a fresh load plan. (Bug 18371946)
lternateRecentsComponent.java
ecentsActivity.java
odel/RecentsTaskLoadPlan.java
odel/RecentsTaskLoader.java
4ff2526ef8d168d3c591f1a19de4dca76745c157 12-Nov-2014 Winson Chung <winsonc@google.com> Merge "Adding null checks for unset stack. (Bug 18329447)" into lmp-mr1-dev
4ee0eb3c468d0b0e17a90298f7991b147f8927e1 12-Nov-2014 Winson Chung <winsonc@google.com> Adding null checks for unset stack. (Bug 18329447)
iews/TaskStackView.java
147de3a9766e205af068d1462beaea7a4a9fb9bc 12-Nov-2014 Winson Chung <winsonc@google.com> Merge "Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)" into lmp-mr1-dev
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
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
isc/SystemServicesProxy.java
odel/RecentsTaskLoadPlan.java
odel/RecentsTaskLoader.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
975590f22916e184204678758bb339c1d2b6b57f 07-Nov-2014 Jason Monk <jmonk@google.com> Merge "Material design for screen pinning cling" into lmp-mr1-dev
18f99d91349a4f5ce55e22ed33f1f57eb1b0297b 11-Sep-2014 Jason Monk <jmonk@google.com> Material design for screen pinning cling

Switching from a dialog to a cling-like view to be more material.
Also moving it into SysUI as it highlights the buttons in nav bar.
This will be triggered directly from recents, but from apps it
will be triggered by the PhoneStatusBar. In the case that apps
trigger the request, there will be a 'no thanks' button so that
users can refuse.

Bug: 16957435
Change-Id: Ie880f82c66f4b2be98283ed3fa789703c4bd7ed5
ecentsActivity.java
isc/SystemServicesProxy.java
iews/RecentsView.java
a237a314845d4e606a74a3135f78efa51006cc0f 07-Nov-2014 Jim Miller <jaggies@google.com> Fix build

Change-Id: I1c4054f0e613f19a39c4bc32cc90bdec3b21dca9
lternateRecentsComponent.java
3ed9f2f903a8e6c38ca9f2ce3819ac063281a020 07-Nov-2014 Winson Chung <winsonc@google.com> Merge "Adding bounce animation for affiliated tasks. (Bug 16656169)" into lmp-mr1-dev
7ae4b7e1965951ac74fc10204bb238ff174b52c6 07-Nov-2014 Winson Chung <winsonc@google.com> Fixing Recents crash when resetting focus of TaskView already returned to the pool.

Change-Id: Iee789e4e726d5f035ec518f4fec444afecc2bbf2
iews/TaskStackView.java
044d52934e57a337665f707aa4be1d423ee3fb29 06-Nov-2014 Winson Chung <winsonc@google.com> Adding bounce animation for affiliated tasks. (Bug 16656169)

Change-Id: I39e4a57c4e6b707d15513dacde2d40c23bb05058
lternateRecentsComponent.java
isc/SystemServicesProxy.java
e0325fe956c2a33b79added92f0e53be2246506a 06-Nov-2014 Winson Chung <winsonc@google.com> Merge "Don't reload the layout every time we enter Recents. (Bug 18160176)" into lmp-mr1-dev
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
lternateRecentsComponent.java
ecentsActivity.java
ecentsConfiguration.java
isc/DozeTrigger.java
odel/RecentsTaskLoader.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewHeader.java
iews/ViewPool.java
d54b578e47fb410c776bb3a4272c2c523153f657 24-Oct-2014 Wale Ogunwale <ogunwale@google.com> Fix issue #17305377: Don't kill process if it still has tasks.

We previously killed a process when one of its task was
swiped away in the recents UI. This had negative performance
implications for apps with multiple tasks in recents. Now we
will only kill the process if there are no more tasks associated
with it.

Changed also removes the need for the
ActivityManager.REMOVE_TASK_KILL_PROCESS since ActivityManager
will now only kill a task process if it process has no out
standing tasks.

Bug: 17305377
Change-Id: Ibc39bb328d13c7eab05c04798c2f14887923d9d4
isc/SystemServicesProxy.java
isc/Utilities.java
iews/RecentsView.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
odel/RecentsTaskLoader.java
0841cf7f37d7b20a08fa894c366f32fde55ea7e9 25-Oct-2014 Winson Chung <winsonc@google.com> Merge "Preloading task metadata to improve Recents startup time after reboot. (Bug 18057321)" into lmp-mr1-dev
272b0a1d6acdb7c4d244a498f3769e20c35f43d1 24-Oct-2014 Winson Chung <winsonc@google.com> Merge "Fixing issue where Recents would not work if the time is changed. (Bug 17995039)" into lmp-mr1-dev
bac679b0d47aee0c9f3228ce2957ab4fe5b3609e 20-Oct-2014 Winson Chung <winsonc@google.com> Preloading task metadata to improve Recents startup time after reboot. (Bug 18057321)

Change-Id: I7fc627c79fe369e444ab411d109c439f796d67ff
lternateRecentsComponent.java
ecentsActivity.java
odel/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
odel/KeyStoreLruCache.java
odel/RecentsPackageMonitor.java
odel/RecentsTaskLoader.java
odel/Task.java
odel/TaskStack.java
iews/RecentsView.java
iews/TaskStackView.java
353c0b91daa97fa87f077be0f403fe7db8dedb40 17-Oct-2014 Winson Chung <winsonc@google.com> Should use Activity.onEnterAnimationComplete. (Bug 18031283)

- Additional code cleanup for previous performance CLs

Change-Id: I41c9be9b1541d0717e32732823f5bb0bedcf818f
lternateRecentsComponent.java
ecentsActivity.java
isc/Utilities.java
iews/AnimateableViewBounds.java
iews/TaskStackViewScroller.java
iews/TaskView.java
iews/TaskViewHeader.java
iews/TaskViewThumbnail.java
9a22a175f6c73d448e5d2223d6ae16aa59b99b28 22-Oct-2014 Winson Chung <winsonc@google.com> Fixing issue where Recents would not work if the time is changed. (Bug 17995039)

Change-Id: I389631aac1dba30003e82e7c2beac86d01117dfb
lternateRecentsComponent.java
ca8686af744f30992904ead71db7bb39866d4f99 14-Oct-2014 Winson Chung <winsonc@google.com> Fixing regression with screen pinning button not animating for the first task. (Bug 17985087)

Change-Id: I81b8b5d6521c99023bbaf903d1bfb95015fbe756
iews/TaskView.java
38e957153c0861398c7307b2c6dfe366ddd068ee 14-Oct-2014 Winson Chung <winsonc@google.com> Fixing issue with excluded tasks sometimes showing in Recents. (Bug 17875770)

Change-Id: Ie94d485580db271256581e2a9f277fe38387d45c
lternateRecentsComponent.java
606b3da71ab64e489e8f65e0b1092138dbfaf7b7 07-Oct-2014 Winson Chung <winsonc@google.com> Removing unused/dead code related to footer and screenshot transition.

Change-Id: I205de9047413d1ff2da68cdd062eeba59267b10f
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
ecentsConfiguration.java
iews/AnimateableViewBounds.java
iews/TaskStackView.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.java
iews/TaskViewFooter.java
iews/TaskViewHeader.java
d213a1e53c7b31e9d7c072b5f0332127ed781d5a 02-Oct-2014 Winson Chung <winsonc@google.com> Adding mouse wheel support. (Bug 17323718)

Change-Id: I51bf159369983789933767813bbf8a785ff1bda3
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskStackViewScroller.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.java
iews/TaskViewHeader.java
0dad6a0732633a11fa780135c3c1f52defac9f16 02-Oct-2014 Winson Chung <winsonc@google.com> am d8ab73d7: am d092fc70: Merge "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 th

* commit 'd8ab73d71c50f8695ee8b671fdb838f2fd18790d':
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
d092fc7076310fca5edd089df5bb5398096f6627 01-Oct-2014 Winson Chung <winsonc@google.com> Merge "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" into lmp-dev
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
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
ecentsConfiguration.java
isc/DebugTrigger.java
isc/SystemServicesProxy.java
odel/RecentsTaskLoader.java
iews/TaskStackView.java
iews/TaskView.java
3175f7d245daba660852cbcb92a7a821899b70a3 01-Oct-2014 Winson Chung <winsonc@google.com> am 2396f135: am e3206407: Merge "Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)" into lmp-dev

* commit '2396f135678e8a40b963904e8a6710bc6a204180':
Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)
8bf05afc26c4b727af25a669914c057877355891 29-Sep-2014 Winson Chung <winsonc@google.com> Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)

Change-Id: I016dd8b7be9efa786291051152b1b56aac708e33
lternateRecentsComponent.java
b56ec7fc266a266ec38e50d082be414c7ed40acd 26-Sep-2014 Jorim Jaggi <jjaggi@google.com> am 5299d7e5: am 9b20e012: Merge "Don\'t preload task description icons when opening recents" into lmp-dev

* commit '5299d7e5e88b0c2b91e9f8bac35b21487ac83d0f':
Don't preload task description icons when opening recents
bdd4b201e45ffa82dcd3b09fb9724d243c86c8d8 26-Sep-2014 Jorim Jaggi <jjaggi@google.com> Don't preload task description icons when opening recents

Bug: 17624331
Change-Id: I55a1184efd5982122f87fab99a5402336b380d7c
odel/RecentsTaskLoader.java
odel/Task.java
104aae1dccbaa8102b67b2a2407d58d5ddfce5f9 22-Sep-2014 Selim Cinek <cinek@google.com> Only show FAB for the frontmost task

Bug: 17522143
Change-Id: I882185f27a4e9da57007818f678451a7e6e1ef81
iews/TaskStackView.java
iews/TaskView.java
56eef1c5c6dd78fd6e9b0ad0190af8b808dc74e5 19-Sep-2014 Winson Chung <winsonc@google.com> Merge "Try and bind search widget before initial calculations of transition rects. (Bug 17456094)" into lmp-dev
f7dd908171a12f6a3f91575ac9fd1ef8ba7fefe6 19-Sep-2014 Winson Chung <winsonc@google.com> Merge "Handling broader set of exceptions when startingActivity from Recents. (Bug 17481968)" into lmp-dev
3133616d92ec07313129f2a9e2712e9a7f1d72fb 19-Sep-2014 Winson Chung <winsonc@google.com> Merge "Listening for widget changes while Recents is in the background. (Bug 17153663)" into lmp-dev
bf5dbf1c151eb64f4068f233e72b0a867348bf8c 16-Sep-2014 Winson Chung <winsonc@google.com> Enabling recents stack clipping

The taskviews now avoid overdraw by clipping invisible
parts. Also adapted some timings of the animation.

Bug: 17455301
Change-Id: Ifbf7bab363e530cb2ad842baed50fc16dcfcc4c4
onstants.java
ecentsConfiguration.java
isc/Utilities.java
iews/AnimateableViewBounds.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewHeader.java
iews/TaskViewThumbnail.java
iews/TaskViewTransform.java
iews/ViewAnimation.java
cb5570316d55c6fe2ff717fa6b94b14d13980263 16-Sep-2014 Jorim Jaggi <jjaggi@google.com> Add option for recents to use fake shadows

Bug: 17522143
Change-Id: I61fdecf8c5aa86b6dacd65ff8729590553d0854a
onstants.java
ecentsConfiguration.java
iews/AnimateableViewBounds.java
iews/FakeShadowDrawable.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewTransform.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
ecentsConfiguration.java
odel/RecentsTaskLoader.java
iews/AnimateableViewBounds.java
iews/TaskView.java
iews/TaskViewHeader.java
iews/TaskViewThumbnail.java
905950abd017b5a135e26179b5ba29378732cf5a 17-Sep-2014 Winson Chung <winsonc@google.com> Listening for widget changes while Recents is in the background. (Bug 17153663)

Change-Id: Ibaff45e988deda21280b684757396a73bb3294c0
ecentsActivity.java
4e96eb709d2f1b6b1cd233c8a99f6706fde70bb1 17-Sep-2014 Winson Chung <winsonc@google.com> Handling broader set of exceptions when startingActivity from Recents. (Bug 17481968)

Change-Id: Ia11e0f77e6c1f28f3d6946362d5a6333b57ac80e
lternateRecentsComponent.java
ecentsActivity.java
isc/SystemServicesProxy.java
iews/RecentsView.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
odel/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
onstants.java
odel/BitmapLruCache.java
odel/DrawableLruCache.java
odel/KeyStoreLruCache.java
odel/RecentsTaskLoader.java
odel/StringLruCache.java
iews/TaskView.java
d751c01aa044014024a7298eb0d08e2e73c65c08 15-Sep-2014 Winson Chung <winsonc@google.com> Try and bind search widget before initial calculations of transition rects. (Bug 17456094)

Change-Id: Ibb4c457a63d4c412faaf7d70ffc44c7a32ed7108
lternateRecentsComponent.java
ba3306fc47b08b28b0a6201e04cb5fbc7808d80d 14-Sep-2014 Winson Chung <winsonc@google.com> Merge "Adding null check for invalid recents task list. (Bug 17476926)" into lmp-dev
6074c5c15117bb17defb90bdb9fe247d0df47c70 08-Sep-2014 Winson Chung <winsonc@google.com> Fixing issue with stack not being fully centered. (Bug 17015153)

Change-Id: Id9d0d77d03ff0291fccb717d81754c239d8442b4
ecentsConfiguration.java
4298b43592966b9b620866bb3da1ab3f9ed2e668 12-Sep-2014 Winson Chung <winsonc@google.com> Adding null check for invalid recents task list. (Bug 17476926)

Change-Id: Ie12b70282bf35de5c33634012e2b2e0a9e0c6af0
isc/SystemServicesProxy.java
ee44595bd53c4f3f6a2eeb664ea96a268636c041 09-Sep-2014 Winson Chung <winsonc@google.com> Announcing the task list as you scroll. (Bug 15699050)

Change-Id: I7453f41a2c87241e538cdc7281cdc20a8710ebbb
isc/SystemServicesProxy.java
iews/TaskStackView.java
8a8d9611e23ae56be13de46f56203be3bf02bcec 09-Sep-2014 Winson Chung <winsonc@google.com> Fixing issue with Recents showing blank. (Bug 16987565)
lternateRecentsComponent.java
3aa9c221c0d092b927628be6a7ba371028cebe79 09-Sep-2014 Winson Chung <winsonc@google.com> Adding task switching animation xmls for further tweaking. (Bug 16656169)

Change-Id: I472116cb3d86a3f90a935b2a3ac058ffc2ac1b5d
lternateRecentsComponent.java
69550456e34da774a92a67769b913f516d0acb36 09-Sep-2014 Winson Chung <winsonc@google.com> Merge "Fixing issue with screen pinning not working. (Bug 17436123)" into lmp-dev
31e8d7602c23661fb4540e2858af4833d2347c9f 09-Sep-2014 Winson Chung <winsonc@google.com> Merge "Separating the notion of transposed search vs nav bar. (Bug 17402331)" into lmp-dev
3751c359b4eaac9a7f149d791c8bf811e41fc61b 09-Sep-2014 Winson Chung <winsonc@google.com> Fixing issue with screen pinning not working. (Bug 17436123)
iews/TaskView.java
19d62382d0acafa0ffe8e48ebb4c737031b3e9c6 08-Sep-2014 Winson Chung <winsonc@google.com> Ensuring that the start delay matches the transition delay. (Bug 16987565)

- Also ensure that the empty text is normal weight

Change-Id: I3227a62fcb39910a402b13f42a6cb9e418f992aa
ecentsConfiguration.java
iews/TaskView.java
d28665b3c8ff0750940e584a6f8a796c401f973d 08-Sep-2014 Amith Yamasani <yamasani@google.com> Merge "Use correct API for badging" into lmp-dev
fdf169cbea5c59c6f74c25c6c529d8a19c6cb78c 08-Sep-2014 Amith Yamasani <yamasani@google.com> Use correct API for badging

Bug: 17414778
Change-Id: I7c0321d9435b0787a90cd62be80862069ba2d790
isc/SystemServicesProxy.java
4e8dd649b4c72122cdf15da9cfabc45aac789365 06-Sep-2014 Winson Chung <winsonc@google.com> Ensuring that we retry if the callback for animation started comes before the Recents activity starts. (Bug 17316671)

Change-Id: I8e50e2cd9ba6a47dda21f21afbe14bb9d3eda979
lternateRecentsComponent.java
ecentsActivity.java
2e7f3bdcc9ec0b3e95b565b943ecee2210f4b937 05-Sep-2014 Winson Chung <winsonc@google.com> Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)

Change-Id: Ic104876c5fe16997eca00e0a2b3d8644c927120c
lternateRecentsComponent.java
iews/RecentsView.java
iews/TaskView.java
c7d62f02b8acfd0a6b31f8544ec2c07e780fe4bb 05-Sep-2014 Svetoslav <svetoslavganov@google.com> Addressing API council comments for UserManager.

bug:17390424

Change-Id: I498d2541289915cb7db16e5c3249ccc7a7dc5ee6
isc/SystemServicesProxy.java
27acf761229779e1777d380616846ac07f484ed6 05-Sep-2014 Winson Chung <winsonc@google.com> Separating the notion of transposed search vs nav bar. (Bug 17402331)
lternateRecentsComponent.java
ecentsConfiguration.java
ee0b12161ab8563378e33e9d694d15ed1a757a26 04-Sep-2014 Winson Chung <winsonc@google.com> Generalizing Recents widget category to Search box. (Bug 17334589)

Change-Id: Id62398255799844cc89affcb4bafc86b6479dad0
ecentsActivity.java
isc/SystemServicesProxy.java
15155519ba9ce8302d5ca1771f7816cd683a2051 02-Sep-2014 Winson Chung <winsonc@google.com> Fixing Recents crash with non-primary user. (Bug 17343688)
ecentsActivity.java
bf8871db617d76ee66c5cf803f0bafa5e93998e9 29-Aug-2014 Winson Chung <winsonc@google.com> Providing a more seamless transition to Home (Bug. 17012456)

- Fixing landscape N7 transition issue

Change-Id: I968d6fd4db693359d520664b1444e699d7ee30ee
lternateRecentsComponent.java
ecentsActivity.java
isc/SystemServicesProxy.java
iews/SystemBarScrimViews.java
02d4927082d80e1f49f4c6dcaf615376cdf3f3d6 29-Aug-2014 Winson Chung <winsonc@google.com> Workaround to prevent starting the same task from Recents twice. (Bug 17322903)
iews/RecentsView.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
odel/RecentsTaskLoader.java
odel/Task.java
48a10a56e98b008ac55b9d50aee1ad33b377e367 27-Aug-2014 Winson Chung <winsonc@google.com> Change API to return thumbnail size instead of individual dimensions. (Bug 17295512)

- Fixing issue where we were pulling the thumbnail dimensions too early in AMS. (Bug 17286904)
- Simplifying the Recents code between start & configuration change

Change-Id: I6d667cbf37b844939e5fc466da613bb78ca05082
lternateRecentsComponent.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
lternateRecentsComponent.java
ecentsActivity.java
ecentsConfiguration.java
odel/RecentsPackageMonitor.java
odel/RecentsTaskLoader.java
iews/AnimateableViewBounds.java
iews/RecentsView.java
iews/SwipeHelper.java
iews/TaskStackView.java
iews/TaskStackViewScroller.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.java
852975d5377bfe5f4abc9d2a28e301aa2fa99994 23-Aug-2014 Dianne Hackborn <hackbod@google.com> Fix issue #17179314: Make recents limits consistent

The max limit is now 100 (or 50 on svelte devices), and that is
what everyone used.

Re-arranged things so we have a big expensive "fix the world!"
function for recents that we go in to at only select points:
when first initializing the system, when external storage comes
and goes, and if we detect something wrong with the recents
structure.

With that, now getRecentTasks() and addRecentTaskLocked() are
generally much simpler, doing very little work in most cases.
This will help a lot with scaling up to many more recents
entries.

Change-Id: I7b5ae89edc06568f68c8af54a4420aff7635581c
ecentsConfiguration.java
4610545dd28ebf316704e119572521e97dbbd6bd 26-Aug-2014 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #16311398: Limit number of documents a process can open" into lmp-dev
89ad456ea49cb62615ebdcac83a2515743bbe5fa 25-Aug-2014 Dianne Hackborn <hackbod@google.com> Fix issue #16311398: Limit number of documents a process can open

In application processes, monitor for when we start getting close
to the Dalvik heap limit, and ask the activity manager to try to
prune old activity instances in that case.

Add an explicit API for apps to ask that they have their own
activity instances cleaned up, if they want.

Fix some bugs in launching activities that were not correctly
applying the "multi task" behavior in the appropriate situations
of document-centric recents.

Clean up the activity manager's process removal code to all share
a common path.

Add a new "Spam" option to ActivityTests, which continually creates
new tasks, checking that the activity manager will now prune old
tasks rather than letting the app run out of RAM.

And while I was was doing this, I found problems with the path
for bringing an empty task to the foreground -- it could make
a new task instead of re-starting the root activity in the
existing task. This is fixed, and some code in the recents
UI for working around the bug is removed.

And as long as I am doing that, we now have nice hooks in to
the activity manager for AppTask to give some APIs for better
managing the task, so add those along with more tests for these
APIs in ActivityTests.

We should look at also having the activity manager try to prune
old tasks when it sees app processes being killed, to better balance
memory use across multiple processes when some processes may host
many documents. That however is for another CL...

Change-Id: I2bb81c3f92819350c868c7a7470b35817eb9bea9
lternateRecentsComponent.java
iews/RecentsView.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
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
isc/SystemServicesProxy.java
odel/RecentsTaskLoader.java
odel/StringLruCache.java
odel/Task.java
odel/TaskStack.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskView.java
iews/TaskViewHeader.java
iews/TaskViewThumbnail.java
096f36b8db3e513687b78da3e1dd0197fce148a3 21-Aug-2014 Winson Chung <winsonc@google.com> Minor tweaks to recents thumbnails.

- Reducing the size of the recents thumbnails
- Skip persisting if we never update the last thumbnail
- Don't bother loading the last thumbnail file descriptor if we have it in memory
- Fixing warning in getting drawable from resource

Change-Id: Ieddaeac75a5e5d80876a9b6b1d50f7cc84c7d6fd
iews/TaskViewHeader.java
aec68bb89fe614181a20eb97340149406218ce2f 21-Aug-2014 Dianne Hackborn <hackbod@google.com> Fix issue #17038762: Add API to add entries to the recents list

New API Added to ActivityManager for adding an entry. See docs
there.

Repercussions:

- I hit a bug in system UI where if the thumbnail has alpha, it tries
to modify it, but thumbnails are loading immutable so crashes. Fixed
this by loading the bitmaps to be mutable.
- Improved dump output of recents; there was a lot of stuff missing.
Also split the recents dump output from the rest of the activity
output, since it can be really large.
- Added tests to the lovely ActivityTest app.

Bonus: new method on AppTask to control the exclude from recents flag.

Change-Id: I01e543db4d15320ee1701e95872fef73c116526c
isc/SystemServicesProxy.java
dd7930354aaf2baf91810bc7a3e47543dbcc7f28 19-Aug-2014 Winson Chung <winsonc@google.com> Merge "Adding shadows to the focus state and fab button. (Bug 16950262)" into lmp-dev
f95c7f5727e6838e49519e07629683fe89db9ce1 19-Aug-2014 Winson Chung <winsonc@google.com> Adding shadows to the focus state and fab button. (Bug 16950262)

- Fixing regression where we weren't resetting the dim colors properly.

Change-Id: Ib95cc96d40f80bc22b7ecd7c816d5cbaa9b592c5
iews/TaskView.java
iews/TaskViewHeader.java
abedcab44cc56d28ad57fec2d12104818a555dbc 15-Aug-2014 Winson Chung <winsonc@google.com> Small tweaks to the stack curve and header transition. (Bug 16656169)

Change-Id: I96120063a66f267ad0b6a39b3dd020bc030083b8
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskView.java
iews/TaskViewHeader.java
78cc96af8ca9ef4f2edccbb1b5d494b3a357782d 12-Aug-2014 Winson Chung <winsonc@google.com> Anchoring the front most task to make the dismiss animation more stable. (Bug 16939699)

Change-Id: I49aa14bbc7fdb2fb0884a8255af385dbbbe656f8
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
60a729c8e93461c9446d0c8cd519b40dec01e8d8 13-Aug-2014 Winson Chung <winsonc@google.com> Adding scrim to task views. (Bug 15704955)

- Fixing issue with focus animations not happening for new views

Change-Id: I3134f25becf06db343aa30ea80cb33514cd99d06
onstants.java
ecentsActivity.java
ecentsConfiguration.java
isc/ReferenceCountedTrigger.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewThumbnail.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
lternateRecentsComponent.java
ecentsActivity.java
ecentsConfiguration.java
isc/Utilities.java
odel/TaskStack.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskStackViewScroller.java
iews/TaskView.java
iews/TaskViewHeader.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
lternateRecentsComponent.java
ecentsConfiguration.java
odel/RecentsTaskLoader.java
odel/TaskGrouping.java
odel/TaskStack.java
242bbb86e8811ad8759790c1b499d0918baece8b 09-Aug-2014 Winson Chung <winsonc@google.com> Fixing transition animation in landscape on tablets (Bug 16867731)

- Also fixing the scroller, initial scroll state, and scroll bounds on large tablets

Change-Id: I886153748156fb442e4dc2b7ec6cf052da43ab88
ecentsConfiguration.java
iews/TaskStackViewLayoutAlgorithm.java
e41ab847a5c12cb7a6a5b2d0f40e101bc9ea6b59 08-Aug-2014 Winson Chung <winsonc@google.com> Fixing regression with scrolling and launching an out-of-view task. (Bug 16875419)

Change-Id: Ib64e18f9a0f1de02de28a29251dd1d159d5d89ee
lternateRecentsComponent.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
fb7d2c4cc41ae73859c6df997a595c0283c19b94 07-Aug-2014 Kenny Guy <kennyguy@google.com> Merge "Launch application details for correct profile from recents." into lmp-dev
94a07acba7e43028e98da1082b5b8b1d95667a6c 07-Aug-2014 Kenny Guy <kennyguy@google.com> Launch application details for correct profile from recents.

Bug: 16681400
Change-Id: Ia80d9c83809b07b1cdc4be8a4fc8a406bdfcf55e
iews/RecentsView.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
ecentsConfiguration.java
odel/RecentsTaskLoader.java
odel/Task.java
odel/TaskStack.java
iews/TaskBarView.java
iews/TaskFooterView.java
iews/TaskStackView.java
iews/TaskThumbnailView.java
iews/TaskView.java
iews/TaskViewFooter.java
iews/TaskViewHeader.java
iews/TaskViewThumbnail.java
cdcd487abad10f728f0542accc42a31d1f7fedac 06-Aug-2014 Winson Chung <winsonc@google.com> Fixing issue where home was triggered on top of other activities being launched. (Bug 16823617)

- Also fixes issue with the Recents hide message being clobbered
lternateRecentsComponent.java
ecentsActivity.java
b99b18e78e8aa9a27596c13ea05a188ab43c7e12 05-Aug-2014 Winson Chung <winsonc@google.com> Fixing scrolling regression with layout changes.

Change-Id: Ic440d147ca13bf13d7f311b6d9876e3c02d4f189
iews/TaskStackView.java
iews/TaskStackViewTouchHandler.java
19fc117c2f8f0719aa40a1ff0efe27e2bd6d1efc 01-Aug-2014 Winson Chung <winson.chung@gmail.com> Unregistering receiver in onStart/Stop vs onCreate/Destroy. (Bug 16513124)

Change-Id: I11ccc3cea41311d74811dc19e6950da3bbddbfe2
ecentsActivity.java
iews/RecentsView.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
lternateRecentsComponent.java
onstants.java
ecentsConfiguration.java
odel/TaskStack.java
iews/DebugOverlayView.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskStackViewScroller.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.java
iews/TaskViewTransform.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
ecentsActivity.java
ecentsConfiguration.java
odel/RecentsTaskLoader.java
odel/TaskStack.java
iews/DebugOverlayView.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskView.java
c37e1295390d32e4276adc1d7ddcb3acd00ded7d 26-Jul-2014 Winson Chung <winsonc@google.com> Fixing issue with Recents not triggering correctly for secondary users. (Bug 15689540)
lternateRecentsComponent.java
2b92253021f6b117786ed445a42e19df9916d619 25-Jul-2014 Winson Chung <winsonc@google.com> Announcing when a task is dismissed (for accessibility). (Bug 9181212)
iews/TaskStackView.java
a4cc966050aeb406dbf3d9d262e281c40826e354 25-Jul-2014 Winson Chung <winsonc@google.com> Adding content description for task view buttons.
iews/TaskBarView.java
iews/TaskStackView.java
1907cd478209f01a4215d9a3a76294c2c77c9a63 24-Jul-2014 Winson Chung <winsonc@google.com> Adding fallback transition for animating in/out of affiliate groups.
ecentsConfiguration.java
odel/TaskGrouping.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
iews/ViewAnimation.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
ecentsActivity.java
ecentsConfiguration.java
iews/AnimateableViewBounds.java
iews/TaskFooterView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.java
d6c3db5e5a0a4087b46dd2cdac8e7f90695dd8b8 23-Jul-2014 Winson Chung <winsonc@google.com> Fixing animation when dismissing certain tasks.
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.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.
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.java
iews/TaskViewTransform.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
lternateRecentsComponent.java
ecentsActivity.java
ecentsConfiguration.java
isc/SystemServicesProxy.java
odel/Task.java
iews/AnimateableViewBounds.java
iews/DebugOverlayView.java
iews/FixedSizeImageView.java
iews/FullscreenTransitionOverlayView.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskFooterView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskThumbnailView.java
iews/TaskView.java
iews/TaskViewTransform.java
iews/ViewAnimation.java
dc00cbe2c15eef5141656311a6d05c753d7c6db6 21-Jul-2014 Craig Mautner <cmautner@google.com> Create API for launching from recents

Relaunch apps from recents using the same uid and package as was used
in the original launch.

Fixes bug 16358208.

Change-Id: I340800bfee79926b197929360d69f1d570bbf1eb
isc/SystemServicesProxy.java
iews/RecentsView.java
31ba192dd201df2cad96a8c503f730130ab0d80f 18-Jul-2014 Chris Craik <ccraik@google.com> Tweaks to outline API

b/15283203
b/16142564

Remove boolean return value chaining, as it's redundant with
the data in the Outline itself.

Change-Id: I3116e57cd1b35c98b74e95195117edd7e39fb2df
iews/TaskView.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
lternateRecentsComponent.java
ecentsActivity.java
ecentsConfiguration.java
isc/SystemServicesProxy.java
odel/RecentsTaskLoader.java
odel/Task.java
odel/TaskStack.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.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)
iews/TaskStackViewTouchHandler.java
ff88d7b39ebe3a0453977092a30c3b2a53a19a00 17-Jul-2014 Winson Chung <winsonc@google.com> Fixing optimization in Task loading. (Bug 16372369)
isc/Utilities.java
odel/KeyStoreLruCache.java
odel/RecentsTaskLoader.java
odel/Task.java
iews/RecentsView.java
4fc90de51b58771c079f2e0d51d15abd28a5015b 17-Jul-2014 Winson Chung <winsonc@google.com> Fixing regression in flinging not updating the stack. (Bug 16371020)

Change-Id: I6397c854dc0d305206eb3b48de855c58cf2740ea
iews/TaskStackView.java
dc9b7e7e6a7706b7903e14332f5c40561259a92d 16-Jul-2014 Winson Chung <winsonc@google.com> Don't clobber intent flags when starting recent activities anew. (Bug 16327074)

Change-Id: I3bfee312d5e3167d443be48580da55d8b69b485e
iews/RecentsView.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
odel/RecentsPackageMonitor.java
odel/TaskStack.java
iews/FixedSizeImageView.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskThumbnailView.java
iews/TaskView.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
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
ecentsAppWidgetHost.java
ecentsConfiguration.java
isc/SystemServicesProxy.java
odel/RecentsTaskLoader.java
iews/FullscreenTransitionOverlayView.java
iews/RecentsView.java
iews/SwipeHelper.java
iews/TaskStackView.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.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)
onstants.java
ecentsActivity.java
isc/ReferenceCountedTrigger.java
isc/Utilities.java
odel/BitmapLruCache.java
odel/DrawableLruCache.java
odel/KeyStoreLruCache.java
odel/RecentsPackageMonitor.java
odel/RecentsTaskLoader.java
odel/Task.java
odel/TaskStack.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskView.java
d336042f7a6d72a37195b5f1a90632e975b22d71 12-Jul-2014 Winson Chung <winsonc@google.com> Merge "Adding missing passthrough of task affiliate id."
8236f525f9b78eec0db144a5ecefd75702bc9cca 12-Jul-2014 Winson Chung <winsonc@google.com> Adding missing passthrough of task affiliate id.

Change-Id: Ied2997418ae4c17d0d130c9e6434c0e6e645da41
odel/RecentsTaskLoader.java
305addefcdd0ababef9e532996e6a26491a282d1 12-Jul-2014 Winson Chung <winsonc@google.com> Piping through task affiliation to Recents.
odel/RecentsTaskLoader.java
iews/TaskStackViewLayoutAlgorithm.java
5f1970cc4d13dfd706df0b8b2c415c00477ce920 12-Jul-2014 Winson Chung <winsonc@google.com> Merge "Piping through task affiliation to Recents."
7b7ca3cdf25bee73aa9e58aaaf6ce75fe81bd045 11-Jul-2014 Chris Craik <ccraik@google.com> Disable setOutline() functionality, pending full removal

bug:15283203
Change-Id: Ibf127fecfcda835117c6087180c64f622b3041e4
iews/TaskView.java
1f24c7e37bc794057a156a730c7e4b53b01212ed 12-Jul-2014 Winson Chung <winsonc@google.com> Initial changes to support lock-to-app on the foremost task. (Bug 16221876)
lternateRecentsComponent.java
ecentsConfiguration.java
isc/SystemServicesProxy.java
odel/RecentsTaskLoader.java
odel/Task.java
odel/TaskStack.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.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
lternateRecentsComponent.java
ecentsActivity.java
odel/RecentsTaskLoader.java
odel/SpaceNode.java
odel/Task.java
odel/TaskGrouping.java
odel/TaskStack.java
iews/TaskStackView.java
iews/TaskView.java
iews/ViewAnimation.java
1e44934f0213caf5c434f63a69c9f05fa76e891d 10-Jul-2014 Winson Chung <winsonc@google.com> Fixing issue where we were responding to SCREEN_OFF and going home even if Recents was not visible. (Bug 16204632)

Change-Id: Id29d4190f63bfa3986d15975418f47a3a79fcb83
ecentsActivity.java
bdbb87dd7410dda10be04e01ec3a7e8344919293 09-Jul-2014 Winson Chung <winsonc@google.com> Fixing random crash when transitioning to Recents, ensuring we don't update the TextView unnecessarily.

Change-Id: I93ab512642f6e95ee96e041614f063f46420bb39
lternateRecentsComponent.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskView.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
lternateRecentsComponent.java
ecentsConfiguration.java
odel/TaskGrouping.java
odel/TaskStack.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
6057c91563402f900dfc7714a46e952d86172e2f 08-Jul-2014 Winson Chung <winsonc@google.com> Refactoring a few things with the full screen overlay and enter animation.

- Fixing issue with configuration change triggering enter animation
- Using a proper target task rect when animating into a group

Change-Id: I856d29a663f5e8c000ca22fd1025c09f65032893
lternateRecentsComponent.java
ecentsActivity.java
ecentsConfiguration.java
iews/FullscreenTransitionOverlayView.java
iews/TaskStackView.java
iews/TaskView.java
iews/ViewAnimation.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
lternateRecentsComponent.java
onsole.java
onstants.java
ebugTrigger.java
ozeTrigger.java
ecentsActivity.java
ecentsAppWidgetHost.java
ecentsConfiguration.java
ecentsService.java
eferenceCountedTrigger.java
ystemServicesProxy.java
tilities.java
isc/Console.java
isc/DebugTrigger.java
isc/DozeTrigger.java
isc/NamedCounter.java
isc/ReferenceCountedTrigger.java
isc/SystemServicesProxy.java
isc/Utilities.java
odel/RecentsPackageMonitor.java
odel/RecentsTaskLoader.java
odel/Task.java
odel/TaskGrouping.java
odel/TaskStack.java
iews/FullscreenTransitionOverlayView.java
iews/RecentsView.java
iews/SwipeHelper.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.java
iews/ViewAnimation.java
e05a56bf9386e2e0c6a862c3080698da8367a22e 04-Jul-2014 Winson Chung <winsonc@google.com> Merge "Fixing regression in search bar not appearing after clearing all your tasks and creating new ones."
772b6b12a323b7999d8d3f335c199e6eb4e621e2 04-Jul-2014 Winson Chung <winsonc@google.com> Fixing regression in search bar not appearing after clearing all your tasks and creating new ones.
ecentsActivity.java
iews/RecentsView.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
onsole.java
onstants.java
ecentsActivity.java
ecentsConfiguration.java
ecentsService.java
odel/RecentsTaskLoader.java
odel/TaskStack.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.java
5e6edd87c937bc7cf6c7a156a498ed09818f33ee 03-Jul-2014 Winson Chung <winsonc@google.com> Merge "Bug fixes and cleanup"
c0ffce5ddd6446f1d46a49cdfaeda4a2ce408e1d 01-Jul-2014 Craig Mautner <cmautner@google.com> Use cached thumbnails in Recent tasks.

The thumbnail returned from ActivityManager.getTaskThumbnail() now
contains either a Bitmap or a ParcelFileDescriptor that points to
a file containing a compressed Bitmap. The Recent tasks list is
now responsible for all thumbnail Bitmap caching as the activity
manager keeps only the most recent 5. This also permits low memory
devices to have many more tasks in the Recent tasks list.

As part of this CL the concept of subtasks is removed eliminating
code supporting the TaskAccessInfo and IThumbnailRetriever classes.

Fixes bug 15828934.

Change-Id: I0fd0320a1a04e3c78d79357899b83a2fff97abf2
ystemServicesProxy.java
tilities.java
c6011deffc80eaee6dfb1c7975e050bc71e5ea96 01-Jul-2014 Winson Chung <winsonc@google.com> Fixing some bugs in Recents keyboard behaviour.

- Ensuring that we don't allow meta-tab to trigger Recents (since meta is a system key now)
- Adding dpad keys support to traverse stack
- Adding workaround for cases where tasks wouldn't be focused depending on how you launch Recents

Change-Id: I4101ced7e47e0d1659d5fa236214be5697c00560
ecentsActivity.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
iews/ViewAnimation.java
04d0f756782e697a171aebbb35ae86c86b839a27 01-Jul-2014 Winson Chung <winsonc@google.com> Adding back-behavior test.

Change-Id: I85fda478a99ca097f78ad9231b3cdfbba0903f63
ecentsActivity.java
31d66c60d8f518ce3a70972db348d797db92f42c 30-Jun-2014 Winson Chung <winsonc@google.com> Fixing another case where we weren't properly starting home when Recents is finished due to the screen powering off.

- Reordering broadcast register/unregister to stop listening to the service when Recents is stopped
ecentsActivity.java
d7b2cb12ac90956843413c212769639044a0b6f2 27-Jun-2014 Winson Chung <winsonc@google.com> Continuing refactor of TaskStackView.

- Extracting stack and filtering logic.

Change-Id: Id794cb2e36238baa49e614bc436bf07de6680804
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
ecentsService.java
iews/FullscreenTransitionOverlayView.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskStackViewFilterAlgorithm.java
iews/TaskStackViewLayoutAlgorithm.java
iews/TaskStackViewTouchHandler.java
iews/TaskView.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
ystemServicesProxy.java
odel/RecentsTaskLoader.java
odel/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
onstants.java
ebugTrigger.java
ecentsActivity.java
ecentsConfiguration.java
tilities.java
odel/RecentsTaskLoader.java
odel/Task.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskStackViewTouchHandler.java
iews/TaskThumbnailView.java
iews/TaskView.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
ecentsActivity.java
ecentsAppWidgetHost.java
ecentsPackageMonitor.java
ecentsService.java
ecentsTaskLoader.java
odel/BitmapLruCache.java
odel/DrawableLruCache.java
odel/KeyStoreLruCache.java
odel/RecentsPackageMonitor.java
odel/RecentsTaskLoader.java
odel/Task.java
iews/RecentsView.java
iews/TaskStackView.java
8e548f7025ce930810479a8e628c325d09557fa3 24-Jun-2014 Winson Chung <winsonc@google.com> Refactoring Recents layout into an xml.

- Hiding the search bar when entering filtering mode

Change-Id: Ifce8429d6f331406e9688c96cd978f6900879c96
onstants.java
ecentsActivity.java
iews/FullScreenTransitionView.java
iews/FullscreenTransitionOverlayView.java
iews/RecentsView.java
iews/SystemBarScrimViews.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/ViewAnimation.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
ozeTrigger.java
ecentsActivity.java
tilities.java
iews/RecentsView.java
iews/SystemBarScrimViews.java
iews/TaskStackView.java
iews/TaskStackViewTouchHandler.java
d543c1bea4d227470f5b6d6535b70e5090064c9a 24-Jun-2014 Winson Chung <winsonc@google.com> Ensuring that we fire the right intent when going home from Recents.

- Refactoring RecentsAppWidgetHost
- Removing some references to the RecentsActivity from the RecentsPackageMonitor
- Fixing the memory leak related to long references to activities
- Working around blank screen when going home from Recents

Change-Id: I7b0ad219b8da197795864a3b90fd02f3a3c1a4ef
ozeTrigger.java
ecentsActivity.java
ecentsAppWidgetHost.java
ecentsPackageMonitor.java
ecentsTaskLoader.java
iews/TaskStackView.java
653b0d6a5938f1eb1e656a63f84f9b3aab8163ab 20-Jun-2014 Winson Chung <winsonc@google.com> Ensuring that we unload all resources after a transition.

- Fixed case where we weren't deleting task data after it was removed via a package event
- Reducing time for dismiss button to appear
- Working around animation issue where we appear to see frames before the animation starts (perhaps it is posted now?)

Change-Id: I1dc0e203485f517e7384b0f7ee08979bfd286013
ecentsActivity.java
eferenceCountedTrigger.java
iews/TaskStackView.java
1f76132d4dc0d96bf34d8580064b8dadf24eb9f4 19-Jun-2014 Winson Chung <winsonc@google.com> Toggling Recents from home should actually toggle Recents instead of launching the first task.

Change-Id: Id60c54839c9f13299ec8d514e73e37c10735f30c
ecentsActivity.java
7ab650cb43fc75786eadfc1c3f8eae8a358723f6 18-Jun-2014 Winson Chung <winsonc@google.com> Adding start delay to the task view transforms.

- Adding slight delay to task bar buttons to allow touch feedback to show

Change-Id: I9f31ca378541fc34c7b741840c7f038340684b13
ecentsConfiguration.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewTransform.java
12758423770455f75fede0cb47d743ea18640f2f 18-Jun-2014 Winson Chung <winsonc@google.com> Merge "Re-enabling task based filtering in Recents using package name."
e0e45bc26d02e2c6ec505ea006e7487f3a5bddc5 18-Jun-2014 Winson Chung <winsonc@google.com> Re-enabling task based filtering in Recents using package name.

- Also front-loading creating the new thumbnail when animating up from Recents
onstants.java
ecentsConfiguration.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskStackView.java
06795630f62e1e7ad89825db23d7656f8dcd6c5a 18-Jun-2014 Winson Chung <winsonc@google.com> Adding status bar scrim, reducing extra work updating configuration values.

- Making the app icon larger for tapping
ecentsActivity.java
ecentsConfiguration.java
90dcb6257557d6f62f862a84833b364f23490b4d 18-Jun-2014 Winson Chung <winsonc@google.com> Merge "Adding status bar scrim, reducing extra work updating configuration values."
c9567c07dd4953f5c5e3821d30525e50ed8b9b29 17-Jun-2014 Winson Chung <winsonc@google.com> Ensuring that null thumbnails have an opaque background.

- Preventing multiple object allocations when updating the stack/clip state.
- Removing double animation of nav bar when launching task

Change-Id: Id12009717135db67bc0ce0e05940dd1c8d6fb5b3
onstants.java
ecentsActivity.java
ecentsTaskLoader.java
iews/FullScreenTransitionView.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewTransform.java
969f586533096999f10f5587f901949791154fa2 17-Jun-2014 Winson Chung <winsonc@google.com> Tweaking enter/scrim animations/styles. Fixing issue with clipping not saving layers.

Change-Id: I476c68d7df4a8fc59ca3d9be3f99526089183ec2
ecentsActivity.java
ecentsConfiguration.java
ecentsTaskLoader.java
odel/SpaceNode.java
iews/FullScreenTransitionView.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskThumbnailView.java
iews/TaskView.java
42617c377339c7b7e32d93f776dfe1b20dcd9958 14-Jun-2014 Winson Chung <winsonc@google.com> Merge "Cleaning up some old animation code, only setting view properties that have changed."
b5ddfc375616bf7dbe9f4ff85ad124f02cc5990f 14-Jun-2014 Winson Chung <winsonc@google.com> Cleaning up some old animation code, only setting view properties that have changed.

- Also drawing a background on the thumbnails if a transparent thumbnail is detected.

Change-Id: I3f5450d207ae0796150c8b04aabc2f910f80e0a7
ystemServicesProxy.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewTransform.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
lternateRecentsComponent.java
ecentsActivity.java
ecentsConfiguration.java
odel/Task.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskThumbnailView.java
iews/TaskView.java
ad6f276670443ac8f9b73497dae185bb005c3a76 13-Jun-2014 Winson Chung <winsonc@google.com> Enabling Home->Recents transition.
onstants.java
ecentsConfiguration.java
iews/TaskView.java
a26fb7822ddf3511796279b847cc216bee9e7f70 13-Jun-2014 Winson Chung <winsonc@google.com> Fixing issues with dim not animating, adding dismiss button delay, tweaking empty recents text. (Bug 15431590, 15573497)

Change-Id: I9c11e04cd52f9e000d8ba3e443f2500c9aa7edbb
ozeTrigger.java
ecentsActivity.java
ecentsConfiguration.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskView.java
9214eff52adf56b7c9532e40b784d52f9f94b6d1 12-Jun-2014 Winson Chung <winsonc@google.com> Fix regression in using visibility flags.
lternateRecentsComponent.java
ecentsActivity.java
d42a6cfe2bf632222617450a1ed340268e82f06c 04-Jun-2014 Winson Chung <winsonc@google.com> Exploring transitions to/from Recents.

- refactored hwlayers and change view property animations to use a reference counted trigger
- cleaned up RecentsConfiguration, and move it into classes using it
- moved task bar animations back into TaskBarView
- refactoring enter/exit animations to use an animation context

Change-Id: Ia66b622b094f22145c2fab07c2a9bdfd62344be2
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
ecentsConfiguration.java
ecentsService.java
ecentsTaskLoader.java
eferenceCountedTrigger.java
ystemServicesProxy.java
iews/FullScreenTransitionView.java
iews/RecentsView.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewTransform.java
iews/ViewAnimation.java
ec464ed728dd334d4866360fa18fc7407d7d1970 14-Jun-2014 Winson Chung <winsonc@google.com> Merge "Clipping the task bar against the task view."
e4f7224d29c32bf133aec413e6b3dbfbe465d595 13-Jun-2014 Winson Chung <winsonc@google.com> am 870b4c31: Fixing issue where we do not get the task rects, and therefore have no transitions. (Bug 15610655)

* commit '870b4c31c58aefaed1de3912e7dfe0fc6cc46f17':
Fixing issue where we do not get the task rects, and therefore have no transitions. (Bug 15610655)
47f166dd8c430c2f2dda9e15f8294b1c81e1fcb2 13-Jun-2014 Winson Chung <winsonc@google.com> Fixing issue where we do not get the task rects, and therefore have no transitions. (Bug 15610655)

Change-Id: Ie25f0037a4f8bf8c3069d50e3a0ad670125be9a1
lternateRecentsComponent.java
4b5b892ca8f721933cceceb2590d7f7680e3ebbe 13-Jun-2014 Winson Chung <winsonc@google.com> Merge "Enabling Home->Recents transition."
c0daabbec3da4a39457ce62a15a909983a2368f1 13-Jun-2014 Winson Chung <winsonc@google.com> Merge "Fixing issues with dim not animating, adding dismiss button delay, tweaking empty recents text. (Bug 15431590, 15573497)"
582e2731b420031a4cda81979a55a3c2bfcdb787 12-Jun-2014 Winson Chung <winsonc@google.com> Merge "Fix regression in using visibility flags. "
cadc7a200a5f21088deee06bcb42d1e5a5574db9 12-Jun-2014 Winson Chung <winsonc@google.com> Merge "Exploring transitions to/from Recents."
8175a7c2e6863ff2a29d939e0f4bac8fff3047f8 11-Jun-2014 Winson Chung <winsonc@google.com> Stop sending broadcasts to RecentsActivity before boot has completed. (Bug 15109101)

Change-Id: Ic04dc2ef73c75d63e107e7b50842dd618d3a173a
ecentsService.java
b13c46e8b78272c4398068eed41f49ee4d403bcc 10-Jun-2014 Winson Chung <winsonc@google.com> Updating Recents to make the cards slightly more visible.

Change-Id: I876d39f4aac4007a3fe0c509ccb7db130f27a737
onstants.java
ecentsActivity.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewTransform.java
5abdceb64b18460197fc6e8b76daecf259080991 05-Jun-2014 Winson Chung <winsonc@google.com> Fixing issue with broadcast being sent before boot completed.

Bug: 15444478
Bug: 15109101
Change-Id: I0fd5d32761c84ff237bce8328f23907bbf12ee6a
lternateRecentsComponent.java
aef51c63d7086088b0c245d18f052a181fe1ff45 04-Jun-2014 Winson Chung <winsonc@google.com> Merge "Fixing back regression in Recents." into lmp-preview-dev
56f4692a89a1afb2fe40aec8a9b6f26936b8e9a4 04-Jun-2014 Winson Chung <winsonc@google.com> Fixing back regression in Recents.

Change-Id: I57f4fce3f2b455085b066dd7daa91cc68844b259
ecentsActivity.java
521e7dc0a6782371a710ee81bf804f7e97aaa292 03-Jun-2014 Winson Chung <winsonc@google.com> Fixing crash, ensuring that we get the post-animation callback, adding nav bar scrim (Bug. 15157307)

Change-Id: I601ee7eda22a4b5ecb2e6835d55ed6539c5cd503
lternateRecentsComponent.java
ecentsActivity.java
ecentsConfiguration.java
ecentsPackageMonitor.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
cd23c849afefe58b213d5abb1c581f15d3ad543a 30-May-2014 Winson Chung <winsonc@google.com> Updating paddings to design spec.

Change-Id: I11286937216494304c38c87280bc69ef9522c596
onstants.java
ecentsConfiguration.java
iews/TaskBarView.java
iews/TaskStackView.java
069707ed6fd1399ca90c57741960884773d3cc69 30-May-2014 Winson Chung <winsonc@google.com> Merge "Ensuring that the second card is maximally visible when you go into recents." into lmp-preview-dev
602de03cf3933ddf3c2548d54956ee76e60d1143 27-May-2014 Winson Chung <winsonc@google.com> Enabling shadows again.

Change-Id: I4e4a771a7be3f696383059cb608e78dd6315a47a
onstants.java
ecentsConfiguration.java
iews/SwipeHelper.java
iews/TaskStackView.java
iews/TaskView.java
b01ed681fe97ff5e98471c120ff9581a78db13c5 29-May-2014 Winson Chung <winsonc@google.com> Fixing issue with configuration states not being reset on configuration change.

- Also updating some interpolators

Change-Id: Ia29fc6f10705c7d286246162f894a25de7b4be40
ecentsConfiguration.java
ecentsService.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskView.java
24cf152483c03dc446875c8d6440348174317bc5 29-May-2014 Winson Chung <winsonc@google.com> Updating task view style, fixing performance on enter-recents animation.

Change-Id: I42ca9296170a93a14184ae8963abbd3f0494e503
lternateRecentsComponent.java
ecentsActivity.java
ecentsService.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
4f70dbbc656e0affd0b480c7eceb888449cb6348 28-May-2014 Winson Chung <winsonc@google.com> Ensuring that the second card is maximally visible when you go into recents.

Change-Id: Ia13c56941bfc47de341dd57501d156e925a3b2fc
lternateRecentsComponent.java
onstants.java
ecentsService.java
iews/TaskStackView.java
47a3e65acc35cd3061bf3867e8b20753870fd892 22-May-2014 Winson Chung <winsonc@google.com> Small perf tweaks.
ecentsActivity.java
ecentsConfiguration.java
iews/TaskStackView.java
iews/TaskView.java
5a9b0b0c7d220a91d540609fc36ba5998417a73f 21-May-2014 Winson Chung <winsonc@google.com> Enabling clipping on task views.

Change-Id: I2a4b8fe06ae379364081534bd5b02f52b27e4ff2
onstants.java
iews/TaskStackView.java
iews/TaskView.java
7bb188521cfaac4138b9dbcee2ee456d6b44fa8f 21-May-2014 Winson Chung <winsonc@google.com> Merge "Wrapping console logs."
10f8139d3b8dd7cd08a2fc688285b3b74a34f0db 21-May-2014 Winson Chung <winsonc@google.com> Wrapping console logs.
lternateRecentsComponent.java
onsole.java
ecentsActivity.java
ecentsConfiguration.java
ecentsService.java
ecentsTaskLoader.java
ystemServicesProxy.java
iews/RecentsView.java
iews/SwipeHelper.java
iews/TaskStackView.java
iews/TaskView.java
863db8a4e7906826bc105f49a4596dc7b336088a 20-May-2014 Winson Chung <winsonc@google.com> Removing the info pane.

Change-Id: I5486291144cbcb1b31a7e5b8a234e5ef7cf85325
onstants.java
ecentsActivity.java
iews/RecentsView.java
iews/TaskInfoView.java
iews/TaskStackView.java
iews/TaskView.java
c80ad99a33ee49d0bac994c1749ff24d243c3862 20-May-2014 Alan Viverette <alanv@google.com> TouchFeedbackDrawable is now RippleDrawable

Change-Id: I59f5f04b73089215c6320560556ac21beb03db06
iews/TaskInfoView.java
653f70c223f8742e2a3696641fe1d4b82bc2ca36 19-May-2014 Winson Chung <winsonc@google.com> Using new APIs for handling system bar insets.
ecentsActivity.java
iews/RecentsView.java
6cb485fd2e2f8ace05e1ff281ab0fc824d3652cb 19-May-2014 Winson Chung <winsonc@google.com> Fixing regression in dismissing Recents.

- Restoring app info functionality when developer options are enabled and you long-press on the app icon.

Change-Id: I8a20ff5f595eefa20db5528c0d5b1a1f0b110834
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
ecentsService.java
iews/TaskView.java
958e559b98bd7c3ab6dd20bf530bf58f56f20b63 19-May-2014 Winson Chung <winsonc@google.com> Merge "Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)"
1e8d71b605b4872e93200706a80a88a3ff25498c 17-May-2014 Winson Chung <winsonc@google.com> Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)

Change-Id: Icc5d2a784ed3c3c27143eb04cbb4305549ee223a
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
ecentsConfiguration.java
ecentsService.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
a449dc033b79775b8945d9cc5a035a6deb145065 16-May-2014 Winson Chung <winsonc@google.com> Refactoring RecentsActivityValues into TaskDescription, and ensuring they are resolved when set. (Bug 14995928, 14832629)

Change-Id: I582221468e63a96a5dfd132a31b09e72099b170f
ecentsTaskLoader.java
ystemServicesProxy.java
54e297a5bb143e60e29fd7dfe87e04a8cc96c72c 10-May-2014 Winson Chung <winsonc@google.com> Adding dismiss method on the top cards, and disabling the app info pane.
onstants.java
tilities.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewTransform.java
918c0723a169cef46b8bf59c06fd3bb8021d0def 09-May-2014 Winson Chung <winsonc@google.com> Better transition between excluded-from-recent applications to recents.

- Also replacing baked bezier interpolator with new quantum interpolators

Change-Id: I8928e35724c16c9603fae861b85215d25ce08819
lternateRecentsComponent.java
akedBezierInterpolator.java
ecentsConfiguration.java
ecentsTaskLoader.java
ystemServicesProxy.java
iews/TaskInfoView.java
iews/TaskStackView.java
iews/TaskView.java
5393dff555641f5666573952498e27c90fd3edca 08-May-2014 Winson Chung <winsonc@google.com> Removing the old tasks on launching recents task if they trigger a new task.

- Only kill processes when removing tasks that are not started as documents
- Tweaking thumbnail animation
ecentsTaskLoader.java
ystemServicesProxy.java
iews/RecentsView.java
iews/TaskStackView.java
9f49df933f01a32d04bdf92d53c943065aa8ddf7 08-May-2014 Winson Chung <winsonc@google.com> Listening for system changes to active recent tasks. (Bug 14260718)
ecentsActivity.java
ecentsConfiguration.java
ecentsPackageMonitor.java
ecentsTaskLoader.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
814086db674d8eb298541b7e601e29c5c68e2074 08-May-2014 Winson Chung <winsonc@google.com> Disabling shadowing (until bugs are addressed) and refactoring some constants.

Change-Id: Iaf4c98bcb13441be3e66048687ea5b0673d2bce6
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
ecentsConfiguration.java
ecentsService.java
ecentsTaskLoader.java
ystemServicesProxy.java
iews/RecentsView.java
iews/SwipeHelper.java
iews/TaskStackView.java
iews/TaskView.java
c9e7b1e3dae2b2b6207aac16e94cce1b8220a85e 07-May-2014 Winson Chung <winsonc@google.com> Merge "Fixing issue with animation not running after SystemUI crashes (Bug 14453240)"
96e3bc1f8d7c199df6fca603d0c5e59d9b70ca1b 07-May-2014 Winson Chung <winsonc@google.com> Fixing issue with animation not running after SystemUI crashes (Bug 14453240)

- Falling back to default transition if we don't have a thumbnail (Bug 14589475)
- Tweaking over scroll to prevent scrolling past a certain point (Bug 14582630)
- Fixing issue with missing top padding in the stack view
- Adding some shadowing to distinguish similar cards from each other
lternateRecentsComponent.java
onstants.java
ecentsConfiguration.java
iews/TaskInfoView.java
iews/TaskStackView.java
iews/TaskView.java
da5b84c8d38d8322b5bb7d22653625bb51734a4e 05-May-2014 Winson Chung <winsonc@google.com> Exposing the API to support widgets in Recents.

Change-Id: I2d53f226dbc328f0dbda7006eac647c6468c6b36
ecentsConfiguration.java
ystemServicesProxy.java
f7bca430d9356c26d6df222d2c90bc7668262f6b 01-May-2014 Winson Chung <winsonc@winsonc-macpro.mtv.corp.google.com> Adding ability to load a search widget into Recents.

Change-Id: Ie17d9b9a47c979774b39a37e87f75d9dadc79ad9
onsole.java
onstants.java
ecentsActivity.java
ecentsConfiguration.java
ecentsService.java
ystemServicesProxy.java
iews/RecentsView.java
iews/TaskStackView.java
f5e22e71cb5f8699a4312c797af068f655cbe629 03-May-2014 Winson Chung <winsonc@google.com> Incorporating theme colors into task views.

Change-Id: Ie7166d78dacabe4bff7afdade2d1da9d0651e403
onstants.java
ecentsConfiguration.java
ecentsTaskLoader.java
ystemServicesProxy.java
tilities.java
odel/Task.java
iews/TaskBarView.java
iews/TaskInfoView.java
iews/TaskView.java
0553e12bc9b10b65703e2bf96e6d74906b5fea79 01-May-2014 Winson Chung <winsonc@google.com> Disable Filtering.

Change-Id: I5c3aaaead7883b639ba24b28c04c1cafec0275c4
onstants.java
iews/TaskStackView.java
80693f9fb557e5873d2c3b7fa679c4a25d156bbc 24-Apr-2014 Winson Chung <winsonc@google.com> Fixing crash in SystemServicesProxy getting activity label (Bug. 14260718)

- Fixing issue with wrong margins due to moved activity icon

Change-Id: Ib3631dc4cf4244d44737ee95b597bd25653815c8
ecentsTaskLoader.java
6513f35cbb2b72d89e5fa72c6d6e7d95b899bd23 22-Apr-2014 Winson Chung <winsonc@google.com> Merge "Fixing transition from tasks excluded from Recents into Recents."
cdc3a47d4f0394893fd8670761ee0078ce7fcce1 22-Apr-2014 Winson Chung <winsonc@google.com> Merge "Overriding application icon with activity icon where available."
11e41baac63a42d7ddb7ba2cab40ee55443d262f 21-Apr-2014 Winson Chung <winsonc@google.com> Overriding application icon with activity icon where available.

Change-Id: I03ee8f806b3853183db7f96e71f1684c72b79c57
ecentsTaskLoader.java
odel/Task.java
iews/TaskBarView.java
9520d1abd40091bb03c5d8db2145c6ec70f77f39 21-Apr-2014 Winson Chung <winsonc@google.com> Fixing transition from tasks excluded from Recents into Recents.

Change-Id: I04efdd65bcda4d0111888a1c5651d1ec9b0c98b0
lternateRecentsComponent.java
iews/RecentsView.java
ecd9b3031c9a322bd69380eae2810d53839e8f64 17-Apr-2014 Winson Chung <winsonc@google.com> Initial changes to add search bar.

- Scaling touch overscroll

Change-Id: Iee0523ca32efaae3491cbf5dbf3ea2e388f9d644
onstants.java
ecentsConfiguration.java
ecentsService.java
ystemServicesProxy.java
iews/RecentsView.java
iews/TaskInfoView.java
iews/TaskStackView.java
1492646b792360945fba6bdcacc6aa7c19c6618e 15-Apr-2014 Winson Chung <winsonc@google.com> Adding stack dimming.

- Fixing case where the window scrim was always dark after loading recents with no tasks.
- Restoring rounded task rects and square aspect landscape tasks
ecentsActivity.java
ecentsConfiguration.java
iews/TaskStackView.java
iews/TaskView.java
9f9679d91ee5f067cd5dcbf4d780a1f5b522e4ba 12-Apr-2014 Winson Chung <winsonc@google.com> Adding experiment for app-info pane.

Change-Id: I647de1a71a2ac82da0a4f8a24125496dd5457441
onstants.java
ecentsActivity.java
ecentsConfiguration.java
ecentsService.java
iews/RecentsView.java
iews/TaskInfoView.java
iews/TaskStackView.java
iews/TaskView.java
11ca76a53c60a1898956614315ae929668c523d6 11-Apr-2014 Winson Chung <winsonc@google.com> Refactoring filter animation logic.

Change-Id: Ic3b57f540da8fa0d2703eef34c43ed9e54f85021
akedBezierInterpolator.java
ecentsConfiguration.java
odel/TaskStack.java
iews/TaskStackView.java
iews/TaskView.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
ecentsTaskLoader.java
ystemServicesProxy.java
odel/Task.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
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
ecentsConfiguration.java
ecentsService.java
odel/TaskStack.java
iews/RecentsView.java
iews/TaskStackView.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
lternateRecentsComponent.java
onstants.java
ecentsConfiguration.java
ecentsService.java
ecentsTaskLoader.java
odel/Task.java
iews/TaskStackView.java
iews/TaskView.java
6736905dc0e10689f7c63f6da43b31325caf966a 08-Apr-2014 Winson Chung <winsonc@google.com> Prevent Recents from lingering after screen-off.

- Fixing issue with landscape view not spanning the screen
- Simplifying the way we erase bitmaps

Change-Id: Ifc17c4c8f46caa8d3e42607a68bd94fed0c63543
ecentsActivity.java
ecentsConfiguration.java
ecentsTaskLoader.java
ystemServicesProxy.java
iews/RecentsView.java
iews/TaskStackView.java
2eadb856d0c3747545fa2d19bec3270d112cf49c 07-Apr-2014 Kenny Guy <kennyguy@google.com> Merge "Launch recents with the correct user."
00350bb3a03e15cbde74db9a07ab98eb08b4e4df 04-Apr-2014 Winson Chung <winsonc@google.com> Fixing error in calculating translation animation.

Change-Id: Idd029051619f152a59653e8fb445d028f5e8672e
ecentsConfiguration.java
tilities.java
2f2ca08baa072376b3dfd60506625496aa05903f 04-Apr-2014 Winson Chung <winsonc@google.com> Fixing crash when filtering tasks too quickly.

- Using a translation-based animation duration scheme
- Fixing issue where filtering a task could slide it out of view

Change-Id: Id434b4a98aa671d84d047dad18cbe26f543cdf25
akedBezierInterpolator.java
onstants.java
ecentsConfiguration.java
ystemServicesProxy.java
tilities.java
iews/TaskStackView.java
iews/TaskView.java
1f1cce1725a2fceee4162aec23518d42c78d6669 04-Apr-2014 Kenny Guy <kennyguy@google.com> Launch recents with the correct user.

Change-Id: I0247d6b4012f8305c84d8b3a455530d9332ed2e6
ecentsTaskLoader.java
odel/Task.java
iews/RecentsView.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
ecentsActivity.java
ecentsTaskLoader.java
ystemServicesProxy.java
odel/Task.java
iews/TaskBarView.java
iews/TaskView.java
a10370fc2eb8eb95631592160c5f6281b9d75722 02-Apr-2014 Winson Chung <winsonc@google.com> Adding system service proxy to help test UI/performance.

Change-Id: I29851ff7b7ced0a69b041e5aa5c9070fc4ab43a5
lternateRecentsComponent.java
onstants.java
ecentsActivity.java
ecentsTaskLoader.java
ystemServicesProxy.java
odel/Task.java
iews/RecentsView.java
iews/TaskStackView.java
1ccace916c8fdc61f1a8db6677aed518d31647e6 02-Apr-2014 Kenny Guy <kennyguy@google.com> Merge "Rename related users to profiles."
2a764949c943681a4d25a17a0b203a0127a4a486 02-Apr-2014 Kenny Guy <kennyguy@google.com> Rename related users to profiles.

Rename the related user concept as profiles.
When returning profiles of a user include the
user as a profile of itself.

Change-Id: Id5d4f29017b7ca6844632ce643f10331ad733e1d
lternateRecentsComponent.java
ecentsTaskLoader.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
onstants.java
ecentsActivity.java
ecentsService.java
ecentsTaskLoader.java
tilities.java
odel/Task.java
odel/TaskStack.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewTransform.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.
ecentsTaskLoader.java
odel/Task.java
iews/RecentsView.java
37c8d8ef855aacb074ee0b702a46dbc62b7551a2 24-Mar-2014 Winson Chung <winsonc@google.com> Moving task view layout into resource.

- Using new activity icon/labels

Change-Id: If27bf60d2df75813213e9f3095baeb03085da8f7
onstants.java
ecentsTaskLoader.java
odel/Task.java
iews/TaskBarView.java
iews/TaskStackView.java
iews/TaskThumbnailView.java
iews/TaskView.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
ecentsTaskLoader.java
odel/Task.java
iews/TaskStackView.java
iews/TaskView.java
c620bafde865f7599401f5adf0521820ee9d4a9c 20-Mar-2014 Winson Chung <winsonc@google.com> Catching case where the activity we are launching from Recents no longer exists.

- Also bounding the launch task rect to prevent transitions from far far away when launching a task
ecentsConfiguration.java
iews/RecentsView.java
bd91297e895410bb27df3e930be5d9eab30129af 18-Mar-2014 Winson Chung <winsonc@google.com> Fixing issue where launching a task was delayed due to a previous start delay being set on a ViewPropertyAnimator.

- adding logging for timing certain paths (including startup and task launch)
lternateRecentsComponent.java
onsole.java
onstants.java
ecentsActivity.java
ecentsService.java
iews/RecentsView.java
iews/TaskView.java
7048fea75c06324a748d49f25bc05be908cda9ff 18-Mar-2014 Winson Chung <winsonc@google.com> Moving alternate recents component logic into its own file.

- Adding min delay between toggles of recents
- Merging changes to show related recents

Change-Id: I2201a9f98417e26cdfb1c16cb0a2ef095d2cd5fc
lternateRecentsComponent.java
onsole.java
onstants.java
ecentsTaskLoader.java
bb5278b663a0a5b05bf7f8d2dfe27f1aa5f01142 18-Mar-2014 Winson Chung <winsonc@google.com> Fixing issue with cards being rendered under the nav bar after a configuration change due to improperly setting the system insets.
ecentsService.java
iews/TaskStackView.java
47c4c69575e94635a9356e8a1faf4b56a0120452 17-Mar-2014 Winson Chung <winsonc@google.com> Using the RecentsService connection to toggle recents

- Adding over scroll snap back when flinging stack

Change-Id: Ife9692ece95e0a40649d0b4b72ec4ea99ffabc16
onstants.java
ecentsActivity.java
ecentsService.java
ecentsTaskLoader.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
7124390f9d03fd451a0291eca679bfc901e84b95 15-Mar-2014 Winson Chung <winsonc@google.com> Fixing crash when ActivityManager does not have a proper thumbnail

- Fixing issue with hw layers ref count not properly being incremented and decremented
- Preventing message handler from keeping a strong ref to the RecentsService
onstants.java
ecentsService.java
ecentsTaskLoader.java
iews/RecentsView.java
iews/TaskStackView.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
onstants.java
ecentsActivity.java
ecentsTaskLoader.java
odel/SpaceNode.java
odel/SpaceNodeCallbacks.java
odel/Task.java
odel/TaskCallbacks.java
odel/TaskStack.java
odel/TaskStackCallbacks.java
iews/RecentsView.java
iews/TaskStackView.java
iews/TaskView.java
iews/ViewPool.java
iews/ViewPoolConsumer.java
4d7b092a866d2fce3e11b5a12cda2b87a83af52d 14-Mar-2014 Winson Chung <winsonc@google.com> Fixing memory leaks related to Tasks holding onto their callbacks.

- Switching to SwipeHelper
onsole.java
onstants.java
ecentsActivity.java
ecentsConfiguration.java
ecentsService.java
ecentsTaskLoader.java
odel/Task.java
odel/TaskCallbacks.java
iews/SwipeHelper.java
iews/TaskStackView.java
iews/TaskView.java
303e1ff1fec8b240b587bb18b981247a99833aa8 08-Mar-2014 Winson Chung <winsonc@google.com> Initial changes for recents.

Change-Id: Ide2c202b4a5b25410f0f32bd0a81ccf817ede38f
onsole.java
onstants.java
ecentsActivity.java
ecentsConfiguration.java
ecentsService.java
ecentsTaskLoader.java
tilities.java
odel/SpaceNode.java
odel/SpaceNodeCallbacks.java
odel/Task.java
odel/TaskCallbacks.java
odel/TaskStack.java
odel/TaskStackCallbacks.java
iews/RecentsView.java
iews/SwipeHelper.java
iews/TaskStackView.java
iews/TaskView.java
iews/TaskViewTransform.java
iews/ViewPool.java
iews/ViewPoolConsumer.java