• Home
  • History
  • Annotate
  • only in /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
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
askStackViewTouchHandler.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
ecentsView.java
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
ecentsView.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.
askStackView.java
askStackViewLayoutAlgorithm.java
askView.java
askViewHeader.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
wipeHelper.java
askStackViewTouchHandler.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
wipeHelper.java
askStackViewTouchHandler.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)
askStackView.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
ecentsView.java
iewAnimation.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
wipeHelper.java
askStackViewTouchHandler.java
bc571a980704dc767838935e83c6aed231c406e9 20-Nov-2014 Winson Chung <winsonc@google.com> Reset the task stack instead of the view when Recents is hidden. (Bug. 18436876, Bug. 18394126, Bug. 18432310)

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

Change-Id: I9b4cd50d76f72ba3d16dd1b8e2d9bbf9f1f24d2b
ecentsView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askView.java
askViewHeader.java
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
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
nimateableViewBounds.java
ystemBarScrimViews.java
askStackView.java
askStackViewScroller.java
askView.java
askViewHeader.java
askViewThumbnail.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
askStackView.java
askView.java
86677c9a511f4478bf94418208e600b1f40db733 14-Nov-2014 Winson Chung <winsonc@google.com> Fixing regression in screen pinning button visibility. (Bug 18390050)
askView.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)
askStackView.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
ecentsView.java
askStackView.java
askStackViewLayoutAlgorithm.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
ecentsView.java
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
askStackView.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
ecentsView.java
askStackView.java
askView.java
askViewHeader.java
iewPool.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
ecentsView.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
ecentsView.java
askStackView.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
nimateableViewBounds.java
askStackViewScroller.java
askView.java
askViewHeader.java
askViewThumbnail.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
askView.java
606b3da71ab64e489e8f65e0b1092138dbfaf7b7 07-Oct-2014 Winson Chung <winsonc@google.com> Removing unused/dead code related to footer and screenshot transition.

Change-Id: I205de9047413d1ff2da68cdd062eeba59267b10f
nimateableViewBounds.java
askStackView.java
askStackViewTouchHandler.java
askView.java
askViewFooter.java
askViewHeader.java
d213a1e53c7b31e9d7c072b5f0332127ed781d5a 02-Oct-2014 Winson Chung <winsonc@google.com> Adding mouse wheel support. (Bug 17323718)

Change-Id: I51bf159369983789933767813bbf8a785ff1bda3
ecentsView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askStackViewScroller.java
askStackViewTouchHandler.java
askView.java
askViewHeader.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
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
askStackView.java
askView.java
104aae1dccbaa8102b67b2a2407d58d5ddfce5f9 22-Sep-2014 Selim Cinek <cinek@google.com> Only show FAB for the frontmost task

Bug: 17522143
Change-Id: I882185f27a4e9da57007818f678451a7e6e1ef81
askStackView.java
askView.java
f7dd908171a12f6a3f91575ac9fd1ef8ba7fefe6 19-Sep-2014 Winson Chung <winsonc@google.com> Merge "Handling broader set of exceptions when startingActivity from Recents. (Bug 17481968)" 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
nimateableViewBounds.java
askStackView.java
askView.java
askViewHeader.java
askViewThumbnail.java
askViewTransform.java
iewAnimation.java
cb5570316d55c6fe2ff717fa6b94b14d13980263 16-Sep-2014 Jorim Jaggi <jjaggi@google.com> Add option for recents to use fake shadows

Bug: 17522143
Change-Id: I61fdecf8c5aa86b6dacd65ff8729590553d0854a
nimateableViewBounds.java
akeShadowDrawable.java
ecentsView.java
askStackView.java
askView.java
askViewTransform.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
nimateableViewBounds.java
askView.java
askViewHeader.java
askViewThumbnail.java
4e96eb709d2f1b6b1cd233c8a99f6706fde70bb1 17-Sep-2014 Winson Chung <winsonc@google.com> Handling broader set of exceptions when startingActivity from Recents. (Bug 17481968)

Change-Id: Ia11e0f77e6c1f28f3d6946362d5a6333b57ac80e
ecentsView.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
askView.java
ee44595bd53c4f3f6a2eeb664ea96a268636c041 09-Sep-2014 Winson Chung <winsonc@google.com> Announcing the task list as you scroll. (Bug 15699050)

Change-Id: I7453f41a2c87241e538cdc7281cdc20a8710ebbb
askStackView.java
69550456e34da774a92a67769b913f516d0acb36 09-Sep-2014 Winson Chung <winsonc@google.com> Merge "Fixing issue with screen pinning not working. (Bug 17436123)" into lmp-dev
3751c359b4eaac9a7f149d791c8bf811e41fc61b 09-Sep-2014 Winson Chung <winsonc@google.com> Fixing issue with screen pinning not working. (Bug 17436123)
askView.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
askView.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
ecentsView.java
askView.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
ystemBarScrimViews.java
02d4927082d80e1f49f4c6dcaf615376cdf3f3d6 29-Aug-2014 Winson Chung <winsonc@google.com> Workaround to prevent starting the same task from Recents twice. (Bug 17322903)
ecentsView.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
nimateableViewBounds.java
ecentsView.java
wipeHelper.java
askStackView.java
askStackViewScroller.java
askStackViewTouchHandler.java
askView.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
ecentsView.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
ecentsView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askView.java
askViewHeader.java
askViewThumbnail.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
askViewHeader.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
askView.java
askViewHeader.java
abedcab44cc56d28ad57fec2d12104818a555dbc 15-Aug-2014 Winson Chung <winsonc@google.com> Small tweaks to the stack curve and header transition. (Bug 16656169)

Change-Id: I96120063a66f267ad0b6a39b3dd020bc030083b8
askStackViewLayoutAlgorithm.java
askView.java
askViewHeader.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
askStackView.java
askStackViewLayoutAlgorithm.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
askStackView.java
askView.java
askViewThumbnail.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
ecentsView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askStackViewScroller.java
askView.java
askViewHeader.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
askStackViewLayoutAlgorithm.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
ecentsView.java
askStackView.java
askStackViewLayoutAlgorithm.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
ecentsView.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
askBarView.java
askFooterView.java
askStackView.java
askThumbnailView.java
askView.java
askViewFooter.java
askViewHeader.java
askViewThumbnail.java
b99b18e78e8aa9a27596c13ea05a188ab43c7e12 05-Aug-2014 Winson Chung <winsonc@google.com> Fixing scrolling regression with layout changes.

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

Change-Id: I11ccc3cea41311d74811dc19e6950da3bbddbfe2
ecentsView.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
ebugOverlayView.java
ecentsView.java
askBarView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askStackViewScroller.java
askStackViewTouchHandler.java
askView.java
askViewTransform.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
ebugOverlayView.java
askBarView.java
askStackView.java
askView.java
2b92253021f6b117786ed445a42e19df9916d619 25-Jul-2014 Winson Chung <winsonc@google.com> Announcing when a task is dismissed (for accessibility). (Bug 9181212)
askStackView.java
a4cc966050aeb406dbf3d9d262e281c40826e354 25-Jul-2014 Winson Chung <winsonc@google.com> Adding content description for task view buttons.
askBarView.java
askStackView.java
1907cd478209f01a4215d9a3a76294c2c77c9a63 24-Jul-2014 Winson Chung <winsonc@google.com> Adding fallback transition for animating in/out of affiliate groups.
ecentsView.java
askStackView.java
askView.java
iewAnimation.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
nimateableViewBounds.java
askFooterView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askStackViewTouchHandler.java
askView.java
d6c3db5e5a0a4087b46dd2cdac8e7f90695dd8b8 23-Jul-2014 Winson Chung <winsonc@google.com> Fixing animation when dismissing certain tasks.
askStackView.java
askStackViewLayoutAlgorithm.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.
askBarView.java
askStackView.java
askStackViewTouchHandler.java
askView.java
askViewTransform.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
nimateableViewBounds.java
ebugOverlayView.java
ixedSizeImageView.java
ullscreenTransitionOverlayView.java
ecentsView.java
askBarView.java
askFooterView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askThumbnailView.java
askView.java
askViewTransform.java
iewAnimation.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
ecentsView.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
askView.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
askStackViewTouchHandler.java
askView.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)
askStackViewTouchHandler.java
ff88d7b39ebe3a0453977092a30c3b2a53a19a00 17-Jul-2014 Winson Chung <winsonc@google.com> Fixing optimization in Task loading. (Bug 16372369)
ecentsView.java
4fc90de51b58771c079f2e0d51d15abd28a5015b 17-Jul-2014 Winson Chung <winsonc@google.com> Fixing regression in flinging not updating the stack. (Bug 16371020)

Change-Id: I6397c854dc0d305206eb3b48de855c58cf2740ea
askStackView.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
ecentsView.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
ixedSizeImageView.java
ecentsView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askThumbnailView.java
askView.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
ullscreenTransitionOverlayView.java
ecentsView.java
wipeHelper.java
askStackView.java
askStackViewTouchHandler.java
askView.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)
ecentsView.java
askBarView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askView.java
5f1970cc4d13dfd706df0b8b2c415c00477ce920 12-Jul-2014 Winson Chung <winsonc@google.com> Merge "Piping through task affiliation to Recents."
305addefcdd0ababef9e532996e6a26491a282d1 12-Jul-2014 Winson Chung <winsonc@google.com> Piping through task affiliation to Recents.
askStackViewLayoutAlgorithm.java
7b7ca3cdf25bee73aa9e58aaaf6ce75fe81bd045 11-Jul-2014 Chris Craik <ccraik@google.com> Disable setOutline() functionality, pending full removal

bug:15283203
Change-Id: Ibf127fecfcda835117c6087180c64f622b3041e4
askView.java
1f24c7e37bc794057a156a730c7e4b53b01212ed 12-Jul-2014 Winson Chung <winsonc@google.com> Initial changes to support lock-to-app on the foremost task. (Bug 16221876)
ecentsView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askStackViewTouchHandler.java
askView.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
askStackView.java
askView.java
iewAnimation.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
askBarView.java
askStackView.java
askView.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
ecentsView.java
askStackView.java
askStackViewLayoutAlgorithm.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
ullscreenTransitionOverlayView.java
askStackView.java
askView.java
iewAnimation.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
ullscreenTransitionOverlayView.java
ecentsView.java
wipeHelper.java
askBarView.java
askStackView.java
askStackViewLayoutAlgorithm.java
askStackViewTouchHandler.java
askView.java
iewAnimation.java
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.
ecentsView.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
ecentsView.java
askBarView.java
askStackView.java
askStackViewTouchHandler.java
askView.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
ecentsView.java
askStackView.java
askView.java
iewAnimation.java
d7b2cb12ac90956843413c212769639044a0b6f2 27-Jun-2014 Winson Chung <winsonc@google.com> Continuing refactor of TaskStackView.

- Extracting stack and filtering logic.

Change-Id: Id794cb2e36238baa49e614bc436bf07de6680804
ullscreenTransitionOverlayView.java
ecentsView.java
askStackView.java
askStackViewFilterAlgorithm.java
askStackViewLayoutAlgorithm.java
askStackViewTouchHandler.java
askView.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
ecentsView.java
askBarView.java
askStackView.java
askStackViewTouchHandler.java
askThumbnailView.java
askView.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
ecentsView.java
askStackView.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
ullScreenTransitionView.java
ullscreenTransitionOverlayView.java
ecentsView.java
ystemBarScrimViews.java
askBarView.java
askStackView.java
iewAnimation.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
ecentsView.java
ystemBarScrimViews.java
askStackView.java
askStackViewTouchHandler.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
askStackView.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
askStackView.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
askBarView.java
askStackView.java
askView.java
askViewTransform.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
ecentsView.java
askBarView.java
askStackView.java
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
ullScreenTransitionView.java
ecentsView.java
askBarView.java
askStackView.java
askView.java
askViewTransform.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
ullScreenTransitionView.java
ecentsView.java
askBarView.java
askStackView.java
askThumbnailView.java
askView.java
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
askBarView.java
askStackView.java
askView.java
askViewTransform.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
ecentsView.java
askBarView.java
askStackView.java
askThumbnailView.java
askView.java
ad6f276670443ac8f9b73497dae185bb005c3a76 13-Jun-2014 Winson Chung <winsonc@google.com> Enabling Home->Recents transition.
askView.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
ecentsView.java
askBarView.java
askStackView.java
askView.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
ullScreenTransitionView.java
ecentsView.java
askBarView.java
askStackView.java
askView.java
askViewTransform.java
iewAnimation.java
b13c46e8b78272c4398068eed41f49ee4d403bcc 10-Jun-2014 Winson Chung <winsonc@google.com> Updating Recents to make the cards slightly more visible.

Change-Id: I876d39f4aac4007a3fe0c509ccb7db130f27a737
askStackView.java
askView.java
askViewTransform.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
ecentsView.java
askStackView.java
askView.java
cd23c849afefe58b213d5abb1c581f15d3ad543a 30-May-2014 Winson Chung <winsonc@google.com> Updating paddings to design spec.

Change-Id: I11286937216494304c38c87280bc69ef9522c596
askBarView.java
askStackView.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
wipeHelper.java
askStackView.java
askView.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
askBarView.java
askStackView.java
askView.java
24cf152483c03dc446875c8d6440348174317bc5 29-May-2014 Winson Chung <winsonc@google.com> Updating task view style, fixing performance on enter-recents animation.

Change-Id: I42ca9296170a93a14184ae8963abbd3f0494e503
ecentsView.java
askStackView.java
askView.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
askStackView.java
47a3e65acc35cd3061bf3867e8b20753870fd892 22-May-2014 Winson Chung <winsonc@google.com> Small perf tweaks.
askStackView.java
askView.java
5a9b0b0c7d220a91d540609fc36ba5998417a73f 21-May-2014 Winson Chung <winsonc@google.com> Enabling clipping on task views.

Change-Id: I2a4b8fe06ae379364081534bd5b02f52b27e4ff2
askStackView.java
askView.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.
ecentsView.java
wipeHelper.java
askStackView.java
askView.java
863db8a4e7906826bc105f49a4596dc7b336088a 20-May-2014 Winson Chung <winsonc@google.com> Removing the info pane.

Change-Id: I5486291144cbcb1b31a7e5b8a234e5ef7cf85325
ecentsView.java
askInfoView.java
askStackView.java
askView.java
c80ad99a33ee49d0bac994c1749ff24d243c3862 20-May-2014 Alan Viverette <alanv@google.com> TouchFeedbackDrawable is now RippleDrawable

Change-Id: I59f5f04b73089215c6320560556ac21beb03db06
askInfoView.java
653f70c223f8742e2a3696641fe1d4b82bc2ca36 19-May-2014 Winson Chung <winsonc@google.com> Using new APIs for handling system bar insets.
ecentsView.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
askView.java
1e8d71b605b4872e93200706a80a88a3ff25498c 17-May-2014 Winson Chung <winsonc@google.com> Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)

Change-Id: Icc5d2a784ed3c3c27143eb04cbb4305549ee223a
ecentsView.java
askStackView.java
askView.java
54e297a5bb143e60e29fd7dfe87e04a8cc96c72c 10-May-2014 Winson Chung <winsonc@google.com> Adding dismiss method on the top cards, and disabling the app info pane.
askBarView.java
askStackView.java
askView.java
askViewTransform.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
askInfoView.java
askStackView.java
askView.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
ecentsView.java
askStackView.java
9f49df933f01a32d04bdf92d53c943065aa8ddf7 08-May-2014 Winson Chung <winsonc@google.com> Listening for system changes to active recent tasks. (Bug 14260718)
ecentsView.java
askStackView.java
askView.java
814086db674d8eb298541b7e601e29c5c68e2074 08-May-2014 Winson Chung <winsonc@google.com> Disabling shadowing (until bugs are addressed) and refactoring some constants.

Change-Id: Iaf4c98bcb13441be3e66048687ea5b0673d2bce6
ecentsView.java
wipeHelper.java
askStackView.java
askView.java
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
askInfoView.java
askStackView.java
askView.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
ecentsView.java
askStackView.java
f5e22e71cb5f8699a4312c797af068f655cbe629 03-May-2014 Winson Chung <winsonc@google.com> Incorporating theme colors into task views.

Change-Id: Ie7166d78dacabe4bff7afdade2d1da9d0651e403
askBarView.java
askInfoView.java
askView.java
0553e12bc9b10b65703e2bf96e6d74906b5fea79 01-May-2014 Winson Chung <winsonc@google.com> Disable Filtering.

Change-Id: I5c3aaaead7883b639ba24b28c04c1cafec0275c4
askStackView.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
askBarView.java
9520d1abd40091bb03c5d8db2145c6ec70f77f39 21-Apr-2014 Winson Chung <winsonc@google.com> Fixing transition from tasks excluded from Recents into Recents.

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

- Scaling touch overscroll

Change-Id: Iee0523ca32efaae3491cbf5dbf3ea2e388f9d644
ecentsView.java
askInfoView.java
askStackView.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
askStackView.java
askView.java
9f9679d91ee5f067cd5dcbf4d780a1f5b522e4ba 12-Apr-2014 Winson Chung <winsonc@google.com> Adding experiment for app-info pane.

Change-Id: I647de1a71a2ac82da0a4f8a24125496dd5457441
ecentsView.java
askInfoView.java
askStackView.java
askView.java
11ca76a53c60a1898956614315ae929668c523d6 11-Apr-2014 Winson Chung <winsonc@google.com> Refactoring filter animation logic.

Change-Id: Ic3b57f540da8fa0d2703eef34c43ed9e54f85021
askStackView.java
askView.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
ecentsView.java
askStackView.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
askStackView.java
askView.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
ecentsView.java
askStackView.java
2eadb856d0c3747545fa2d19bec3270d112cf49c 07-Apr-2014 Kenny Guy <kennyguy@google.com> Merge "Launch recents with the correct user."
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
askStackView.java
askView.java
1f1cce1725a2fceee4162aec23518d42c78d6669 04-Apr-2014 Kenny Guy <kennyguy@google.com> Launch recents with the correct user.

Change-Id: I0247d6b4012f8305c84d8b3a455530d9332ed2e6
ecentsView.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
askBarView.java
askView.java
a10370fc2eb8eb95631592160c5f6281b9d75722 02-Apr-2014 Winson Chung <winsonc@google.com> Adding system service proxy to help test UI/performance.

Change-Id: I29851ff7b7ced0a69b041e5aa5c9070fc4ab43a5
ecentsView.java
askStackView.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
ecentsView.java
askStackView.java
askView.java
askViewTransform.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.
ecentsView.java
37c8d8ef855aacb074ee0b702a46dbc62b7551a2 24-Mar-2014 Winson Chung <winsonc@google.com> Moving task view layout into resource.

- Using new activity icon/labels

Change-Id: If27bf60d2df75813213e9f3095baeb03085da8f7
askBarView.java
askStackView.java
askThumbnailView.java
askView.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
askStackView.java
askView.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
ecentsView.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)
ecentsView.java
askView.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.
askStackView.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
ecentsView.java
askStackView.java
askView.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
ecentsView.java
askStackView.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
ecentsView.java
askStackView.java
askView.java
iewPool.java
iewPoolConsumer.java
4d7b092a866d2fce3e11b5a12cda2b87a83af52d 14-Mar-2014 Winson Chung <winsonc@google.com> Fixing memory leaks related to Tasks holding onto their callbacks.

- Switching to SwipeHelper
wipeHelper.java
askStackView.java
askView.java
303e1ff1fec8b240b587bb18b981247a99833aa8 08-Mar-2014 Winson Chung <winsonc@google.com> Initial changes for recents.

Change-Id: Ide2c202b4a5b25410f0f32bd0a81ccf817ede38f
ecentsView.java
wipeHelper.java
askStackView.java
askView.java
askViewTransform.java
iewPool.java
iewPoolConsumer.java