6c8217ab3072fa65851316a922b482506b3c2a4c |
|
25-May-2016 |
Winson <winsonc@google.com> |
Defer calling the stack task removed callbacks. - When updating a TaskStack, defer calling any callbacks until the stack is updated. Otherwise, the handler may incorrectly check the size of the stack to be empty, which triggers Recents to go home. - This CL also removes an erroneous double call to onStackTaskRemoved() when updating, one explicit call and the call that is made internally in removeTask(). Bug: 28941269 Change-Id: I37b93bd959a625096925a16a426269a0c79de4e7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
6976f7bae901d81a354287088ae232ba7236f30e |
|
03-May-2016 |
Winson <winsonc@google.com> |
Disabling movement of entire affiliated task set. - This CL removes the dependency on the last-active-time of the task record, since that is dependent on the current system time (which can be changed by the user). Instead of working around the previous behavior in ActivityManager which moves all affiliated tasks to the top when one task is launched, we change the behavior in the AM directly, and prevent re-sorting the list of recent tasks improperly (aside from the stable sort which puts the freeform tasks first). Bug: 27398177 Change-Id: I9fa9b3497d08082fe00aa724538255de87e746d6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
3f32e7eba7aec02edbf542cc11eee13264a5abf2 |
|
21-Apr-2016 |
Winson <winsonc@google.com> |
Tweaks to make overview animations to match spec. - Fixing incompatible app message text color - Fixing drag target hover color - Fixing final frame jank when animating home from overview - Adding animation prop setter for initial play time Bug: 27154882 Change-Id: Ia8a90434da2174d3c78a353b881509a8b1d525ba
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
fc48b072e8caa62849ee305f89f38d248d4a1ded |
|
21-Apr-2016 |
Winson <winsonc@google.com> |
Caching the display rect to reduce binder calls. - Only update the display rect and orientation on configuration change. Bug: 28122871 Change-Id: I2e87e7643902d5f45ac4a311109f5e1870f48d3b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
99ef458ff1b79c93a8dfdc289fb6ff80fd7aacf6 |
|
19-Apr-2016 |
Winson <winsonc@google.com> |
Adding hint text for drop targets. Bug: 28192178 Change-Id: Id7be5129488622b56082d2dfa328b751311cabd7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
67c79578f94646bade5d336af0d4491179c1b37d |
|
13-Apr-2016 |
Winson <winsonc@google.com> |
Fixing various layout issues when docking - Fixing regression where we were scrolling to front immediately on dragging-to-dock a task, we should only scroll to the front on configuration change. - Accounting for the inset when calculating the final stack bounds (similar to b/27921362) - Fixing issue with task views being clipped as user drags a view due to the bounds of the view changing. We manually now set the frame on the view to the current stack task bounds. - Simplifying calls to animate the task view bounds - Removing old instance state code Change-Id: I17d3e33e159ff250c11a504ef87558051926a974
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
d72c315d5eed3a684eee303364b97129cb821689 |
|
06-Apr-2016 |
Winson <winsonc@google.com> |
Adding more logging of the state to the bug report. Bug: 28009206 Change-Id: I0efc513bb6fc5ea4c9724b0a411ca5d60a71f27e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
3b6ba1ab144c53752841869627a1b9f6d357c404 |
|
22-Mar-2016 |
Winson <winsonc@google.com> |
Adding clear-all button. Change-Id: Ife637438b191c4a5004f3c6551bc75691e8e426b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
a1ededd056d51532ab18354f17f8065ec1134535 |
|
25-Mar-2016 |
Winson <winsonc@google.com> |
Launch state/config change audit. (Part 1) - Fixing issue with onResume logic being run even when the window focus is changing. This only needs to be run when we are launching into Recents again. - Removed a bunch of launch state flags that are no longer necessary because of changes to configuration handling. This reduces the work that we have to do on resize, etc. - Decoupled the resume with the stack-update, which fixes a couple issues where we were updating the layout unexpectedly. - Fixed an issue where we were not updating the nav bar scrims on configuration change - Fixing margin start/end regression in header bar - Fixing small issue with paddings being scaled beyond their base size - Fixing issue where the clip state was not properly getting reset causing lots of overdraw. Change-Id: I9aeb191a99ff23807b3f5d905f6480b10157a060
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
d8f7431d0fe0f5449ca54a15392c3238aa645dea |
|
24-Mar-2016 |
Winson <winsonc@google.com> |
Disabling affiliated tasks. Bug: 27701456 Change-Id: I9ed42215bdff12540f68e803ea822d38890a1382
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
8f6ee48225ad1cdf966c8f406c85113b13833c7b |
|
19-Mar-2016 |
Winson <winsonc@google.com> |
Completely removing dead code related to history view. - This CL repurposes the history button above the stack to a more generic “stack action” button in preparation for a future change. Bug: 27742174 Change-Id: I1da274bf88c77bdc09d91072683b2ea7ca022432
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
008ee15fe82c8216e8e4f67e3032de468cc6c92a |
|
19-Mar-2016 |
Winson <winsonc@google.com> |
Completely removing dead code related to search widget. Bug: 27742174 Change-Id: Ie478c562f6152338417aca5262b7f33ee4ca7ed5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
59924fe0d9136cf349759bea1e06b661603f95fe |
|
17-Mar-2016 |
Winson <winsonc@google.com> |
Iterating on stack layout - Tweaking initial layout to show more of the next task - Bounding the width of the stack to the smallest display edge length - Fixing issue where the screen pinning button was not shown when entering recents from home, and the task view clip state was not restored correctly for tasks in front of the launch task. - Fixing issue where there was no alpha during the transition to/from home - Refactoring and removing unused dimens, and moved remaining layout calculation logic out of RecentsConfiguration. - Fixing small regression in finding task anchor scroll points. This caused tasks to be animated strangely when swiping to dismiss and the task had an override task progress. - Fixing several regressions in drag and drop due to override progresses Change-Id: I1eac1dcea19e502bc7fe6362011b38977e3f3d6d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
2068408d08ca39a5b036daac01e80de45e8c1eab |
|
17-Mar-2016 |
Winson <winsonc@google.com> |
Allow dragging to dock single tasks. Bug: 27696141 Change-Id: I538cd4753d47a3606a87ac096d4ea86f6263a2ed
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
8873754f66527d2cc9feab295dd4eef23298212a |
|
17-Feb-2016 |
Winson <winsonc@google.com> |
Refactoring to update stack in onResume. This CL fixes a long-standing issue in which Recents is not updated correctly if it is not completely hidden and shown. In particular, it would cause animation issues when launching into a non-fullscreen activity or if the user quickly toggles between recent tasks. It contains several fixes: - The visual state in Recents is no longer reset until the activity is fully hidden (onStop() is called), and the task stack state is saved allowing us to return to the same initial state. When restarting the activity, we propagate whether the activity was hidden down the view hierarchy, so that each task can decide whether to reset itself. - When the recents activity is started, we now merge the new stack with the current stack instead of replacing it completely. This unifies the logic when dismissing multi-window while Recents is open, and this CL fixes an issue with the merging where onStackTaskAdded() was called before the stack was updated with the new task. As a result of this change, we can just rebind the task views without having to return and pick them up from the view pool. - This CL also fixes an issue with flashing when the screen turns off. The activity onStop() can be called before the activity is fully hidden, which would trigger a reset(), which would return all views to the pool. Bug: 23815609 Bug: 25411120 Bug: 27186407 Change-Id: I83d74c947f9b47766d6778b7f5c421bb6df833e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
be8e696a1f40a61c52a74022f4f084fdc0600f90 |
|
01-Feb-2016 |
Winson <winsonc@google.com> |
Allow animation controls for each animated property. - Using onDrawForeground() instead of dispatchDraw() Change-Id: Iae107a1ba14250f8c496264c60a29edc76df88e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
d952961977a0eb6c1fefcb0707d1c61741515f68 |
|
28-Jan-2016 |
Winson <winsonc@google.com> |
Fixing some drag and drop issues. - When opening recents while there is a task docked, initialize the stack scroll to the front of the stack - When undocking a task while recents is open, scroll to the front of the stack - Fixing offset when adjusting the task stack size due to top inset being double applied in some dock states - Fixing issue with task view not scaling when picking up from the freeform workspace Change-Id: I15436ac21f05ff521492d8ae1c682a414503101a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
c0d7058b14c24cd07912f5629c26b39b7b4673d5 |
|
29-Jan-2016 |
Winson <winsonc@google.com> |
Referencing static interpolators. Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
6e6bd8776f850a21a3733a03dfa32b04f06163d9 |
|
25-Jan-2016 |
Winson <winsonc@google.com> |
Make mock tasks work again. - Rename it so that it’s a bit more clear that they are mock tasks. Change-Id: I53b9dab1789a208e74538cd8c3ee4ec58cfa364f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
35a8b04140598a5b5c4865254b942adb6a830991 |
|
22-Jan-2016 |
Winson <winsonc@google.com> |
Fixing crash with retrieving the first stack task. - We should be retrieving the first stack task for calculating the thumbnail transition, regardless of whether it is freeform or not. Bug: 26739531 Change-Id: I27037a480201396011d7f9b8d094b4d9afe66f0e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
65c851e6e9e08656744b6f66d3da188e3283b17d |
|
20-Jan-2016 |
Winson <winsonc@google.com> |
Fixing several regressions with affiliated tasks. - Now that we are sorting tasks for freeform and history, ensure that the affiliated tasks have a useful active time (based on the task they are affiliated with) for sorting - Fix issue with the initial stack and focus state not taking the launch task into account due to the launchTask flag not being set until the activity was started (now set in RecentsTaskLoadPlan) - Fixing issue with affiliated tasks not being launched from the stack due to the animation trigger not firing when the action button is already hidden/visible - Fixing issue with title text being occasionally hidden (something we only need for freeform tasks) - Tweaking the launch/enter animations for tasks occluded affiliated tasks Bug: 26685208 Change-Id: I0f6e9dbf8deec2e4fc15364e686367cc0f57b41f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
8aa9959413a06c3d2ff75e0c7be9e3cb7ac7cd2e |
|
20-Jan-2016 |
Winson <winsonc@google.com> |
Starting the dismiss animation in parallel with the gesture. - Introduces notion of ignored tasks for the purposes of layout in TaskStackView. This can be used during drag and drop, and while dismissing to calculate the state of the stack without the task that the user is currently interacting with. - Fixing minor layout issue when the front/back task transforms are improperly calculated when there is a single task - Fixing minor issue when the anchor task is calculated incorrectly when dismissing task views Change-Id: I1eb0864a52e53562e4d573a6ed4f8a5a1615aff9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
c5fd350522d9269e6239af818f7261a6ead51570 |
|
19-Jan-2016 |
Winson <winsonc@google.com> |
Removing extraneous calls. - Removing calls to ensureCapacity, which was causing reallocations when using a temporary set with multiple uses. - Fixing issue with update callback not being called when immediately updating a TaskView’s transform - Adding utility methods in preparation for refactoring code Change-Id: If62c3751ed6af15092a34435df08bb4d627536ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
4b057c6787624b75613769a857ccdf51114bb7f2 |
|
13-Jan-2016 |
Winson <winsonc@google.com> |
Fixing crash when dismissing last stack task. - The crash was due to us trying to get an anchor task when there were no more tasks in the stack. The original call to check the stack task count was poorly named so updating the name of that call as well. Bug: 26500050 Change-Id: I9652e90a6a2e19008c5c84ce877afca576b3175f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
5500390a006f2bbea565068234774a36cea076c0 |
|
12-Jan-2016 |
Winson <winsonc@google.com> |
Reducing numerous extraneous allocations. Change-Id: Icca49f12a9e0be08eb6d4dbbbf2fd5994a3a25a5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
3e8747414520ee348cf4b9c4a6afd9ff80b5a8f8 |
|
07-Jan-2016 |
Winson <winsonc@google.com> |
Improving drag and drop animations. - Expanding drop targets to indicate the size of the to-be docked window - Fixing animation when dropping task - Fixing drag view z order - Fixes issue where the dock divider position in WM is not exact - Requiring user to move the slop distance before accepting drops Change-Id: I2f6eab504db7126c19e0c680629e89a39e7512e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
dc8de848201f64542ad87940cfaa7a5e3d1343ad |
|
07-Jan-2016 |
Winson <winsonc@google.com> |
Cleaning up imports and dead code. Change-Id: Ie59fa7fc7c69eb375792c9227295d75c4672e802
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
f24f21695f5609d06402cf61e3500d408b99bdcb |
|
05-Jan-2016 |
Winson <winsonc@google.com> |
Refactoring and unifying TaskView animations. - Adding notion of a TaskViewAnimation to animate a TaskView to a specific TaskViewTransform - Refactoring task view enter/exit/launch/delete animations into a separate class so that we can improve them easier - Removing individual TaskView view property animations in favor of using the existing TaskStackView stack animation. This ensures that we don't have to add separate logic when animating TaskViews. It is all handled by the TaskStackView now. - Breaking down the TaskStackView synchronize method into binding TaskViews and updating them to transforms. This allows us to synchronously update in many cases and is cleaner than the many request* calls. Change-Id: Ib26793568a14e837e6782358155f21158a133992
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
931c51f54599a227422b2a1c71e922e1458e0291 |
|
17-Dec-2015 |
Winson Chung <winsonc@google.com> |
Refactoring lock-to-task state out of Task - Moving the logic out of Task to the stack view which is more logical and easier to manage - This also includes a fix for the issue of the screen pinning not showing up immediately after toggling it in Settings Change-Id: I0357d59fc30b0327bbe6eeca10b310911aba3cc4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
0583d3d18812d31d50228a6f29cb15b3219c9e94 |
|
18-Dec-2015 |
Winson Chung <winsonc@google.com> |
Hiding pinned stack tasks from overview Bug: 25381158 Change-Id: Iad442b7f5dc49109529cb5dab2168b19837af6e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
296278a0679375b8c43962a9e3c9bb4e8ab201e7 |
|
17-Dec-2015 |
Winson Chung <winsonc@google.com> |
Fixing potential issue with wrong task descriptions being loaded. - Also cleaning up the Task to remove some confusing nomenclature related to task properties. Now there is a single icon and title, and we keep a copy of the TaskDescription for future icon loading. - Also changing a few cases where we should be calling isFreeformTask() Bug: 26221779 Change-Id: Iac20cc7b4912f76c14232a323981ab2e8f62628a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
aa4f800891e801e78cc4a0a9839fc59938cabdd3 |
|
17-Dec-2015 |
Winson Chung <winsonc@google.com> |
Fixing minor issue with freeform workspace not showing. - Also slightly tweaking drop target sizes to be a bit smaller Change-Id: I0e877e64acba5dd165c0d7a2cffb24dea88d673f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
509d0d0c9e2ee165d04e898fea59f8941ac7138d |
|
16-Dec-2015 |
Winson Chung <winsonc@google.com> |
Minor fixes to freeform workspace - Fixing regression where we were clobbering the freeform stack order - Ensure there is padding between tasks - Fix the header bar animation Change-Id: I69ced3e3cb2f0c761ddf0c3bd00b17c847d74c0b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
9756755db76aeda2065322aa3c26e1a19578d45f |
|
16-Dec-2015 |
Winson Chung <winsonc@google.com> |
Fixing merge issue from ag/830529 - A whole slew of changes didn't make that CL Bug: 26043233 Change-Id: I470005f1afbf4ca23e6cfe40a497c5c67bb794aa
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
4e5fb2f4e1ed4eb119a201541ad89aafac8c53fe |
|
15-Dec-2015 |
Winson Chung <winsonc@google.com> |
Allowing tasks to be swiped away in the history view. Change-Id: Ide26856c291bcdd1b4ab5e15ae9eb876a9af719b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
062667710edcad7a01d7ece3e2bc4a83ee2a2ca3 |
|
11-Dec-2015 |
Winson Chung <winsonc@google.com> |
Ensuring that the undocked task is visible in Overview. Bug: 26043233 Change-Id: I2186bdfc64af161b8e828061a8e064f90c5cae24
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
16bc2a7f379edd7796bb5aa4400e1b7c14376a08 |
|
15-Dec-2015 |
Winson Chung <winsonc@google.com> |
Fixing long compare. Bug: 24117216 Change-Id: I32cbc333ff9a145e5b65e923af4dbd80ea035cb1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
2b9ef6548be89d36ea7629f4a3d8ba7bba1422ce |
|
11-Dec-2015 |
Winson Chung <winsonc@google.com> |
Fix: Affiliated tasks not showing when history is enabled. - Because these tasks may not have valid last-active times (they can be launched in the background), the historical state should reflect the task that they are affiliated with. Bug: 26043228 Change-Id: I04db9effc371783a80bea80bd0a45b666269ead1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
23746d51d922d3df2cdd2635d0c133366c754438 |
|
04-Dec-2015 |
Winson <winsonc@google.com> |
Fixing landscape transition into Recents. - Fixing jump in transition when going into Recents in landscape - Also adding check to prevent NPE when searching for a null task. Change-Id: I3944ea54caaab41a069a9e8255601ec2871afe56
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
aaf33bc2b27fa0c4b59484059434a0fad3187af4 |
|
03-Dec-2015 |
Winson <winsonc@google.com> |
Fixing crash when the focused task was removed. - The previous fix didn’t work when the stack changed and the focused task indices shifted. It’s easier to just keep track of the focused task so that we can clean it up directly. Bug: 25975225 Change-Id: I1e345044165d3a0a5eab29fb8c2a3f59df615832
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
a0731a1a2611d5a89c5960fe39a7ff09cc8fd5ea |
|
03-Dec-2015 |
Winson <winsonc@google.com> |
Fixing crash when trying to reset focused task after removing task. - Moving the focused state back into the stack, since the task view is transient and can be rebound. Also ensuring that we update the task view focus state as we return and pick up views from the view pool - Fixing issue where going back from recents would not go back home - Properly calculating the task visibility (regression) Bug: 25975225 Change-Id: Ica861f0d8996e4e254e875199a2d704a65bf8e58
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
f0d1c44a59a10707baa0cca8dd377302260710c1 |
|
01-Dec-2015 |
Winson <winsonc@google.com> |
Adding notion of stack state to the layout. - This allows us to choose which layout to show, either freeform, stack, or a combination of the two - Fixing crash with null bitmap Change-Id: I659e66d89f7205ccb0c2ba22c57aee95c8d4b3ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
250608a5cd08862f4752a924d51710805850db8a |
|
25-Nov-2015 |
Winson <winsonc@google.com> |
Separating the stack vs the historical tasks. - Adding a notion of session to the stack. If the history is enabled, the stack will now be constrained to show either tasks that were last active in a window of time, or a minimum number of tasks. - Giving the history button the full space above the stack so that it looks more balanced. Change-Id: If7b647349e8bb164ae86fd6dba3f7e974257eb5b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
8f0e3a68cdd3b2403ff8a1677f90b998f4175f40 |
|
23-Nov-2015 |
Winson <winsonc@google.com> |
Hiding the docked task from the stack. Bug: 25665312 Change-Id: I1e0deb8c3b02604ce4f21d367430d50da9d3b86b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
397ae74733ce934a3fc260258c2902f4e3b995a2 |
|
20-Nov-2015 |
Winson <winsonc@google.com> |
Removing unused code - Removing code related to dismiss-all and stack filtering Change-Id: Ife3c300970b234a5f7828a3c04f1eb9cb861399f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
8b1871d74137d7e36ba0fed5608772f51f62015b |
|
20-Nov-2015 |
Winson <winsonc@google.com> |
Adding tuner params for paging and full screen thumbnails. - Adding “focused” stack state to support paging - Changing the paging to match UX spec (only auto-page after the first tap) - Removing old header focus animation Change-Id: Id72825b8a1b1c0a2238ee184a6695b13c1d8cb1c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
c742f973b1e506732911c156c5869fd377afc5bf |
|
12-Nov-2015 |
Winson <winsonc@google.com> |
Adding tuner param to enable fast-toggling. - Moving constants to a more explicit flags class, which also handles tuner changes. - Removing some unused flags Change-Id: If370581d431784f606c4b8d0c0face5b9a4b9fad
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
1b58561f66a9453754b1b419296899fdc08b4c93 |
|
06-Nov-2015 |
Winson <winsonc@google.com> |
Fixing up some more focus edge cases. - Disallow touch while alt-tabbing - Allow keyboard to focus tab while scrolling - Cleaning up some old classes that aren’t really being used Change-Id: Ibabea093afb711b07f398677d25735421b7c7e53
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
eca4ab6e99bcb2a7b31b8b4b1c3b5474297b6b25 |
|
04-Nov-2015 |
Winson <winsonc@google.com> |
Adding dnd to/from freeform workspaces. Change-Id: I5b75fe5a942e9a2e344e62229e860b5108f9872e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
36a5a2c7003ef8157f276b411c3fda47ad2f75e3 |
|
30-Oct-2015 |
Winson <winsonc@google.com> |
Initial layout/behaviour for freeform workspace. Change-Id: Idc878862747d0d726cbf10be9893c48736673d0e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
e7f138c7f0a190c86cec10fb32fa106aacae4093 |
|
23-Oct-2015 |
Winson <winsonc@google.com> |
Cleaning up task loading code. - Moving all references of SystemServicesProxy and RecentsTaskLoader to a single static instance in Recents. This ensures that we only refer to an instance that is created with the application context. - Moving ActivityInfo cache into RecentsTaskLoader with the other caches which allows us to invalidate it less frequently. This requires the loader to handle package changes to invalidate the cached infos accordingly. - Cleaned up old code to handle case where the Recents component for secondary users might not be initialized (fixed in ag/773159) - Moving the package monitor to the background thread. - Cleaning user interaction and visibility changes to events. - Fixed issue with sending events from binder thread. Change-Id: Ie785347055736f6dd7802f32454f77073e20b83e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
412e18058dc2cd5779d2451fce7fd74631f9e237 |
|
21-Oct-2015 |
Winson <winsonc@google.com> |
Additional refactoring interface between component and activity. - Removing broadcasts for communicating with the Recents activity from the component in favor of using events. Change-Id: I2ddfde911bd1fd1b2d63bb84a0e7f0338f955df6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
882072baacaee4ecd43f0209b691a9af746462f2 |
|
12-Oct-2015 |
Winson <winsonc@google.com> |
Allowing multiple preferred drag regions for tablets. Change-Id: I514e501d185f4139ce21798fc92bc931626c8239
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
4165d336b6cd69715eda7fbdfd272a878097170e |
|
10-Oct-2015 |
Winson <winsonc@google.com> |
Fixing crash when dragging tasks to docked state. - Also tweaking animation when a task is first picked up. Change-Id: Idf99c88fdb216823637e2436e54b392b661b9849
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
42be431c3d129871d257768e185334d49c071ec5 |
|
10-Oct-2015 |
Winson <winsonc@google.com> |
Tweaking animation after dismissing task. Change-Id: Ia85e876ec08f4103ff5c3799309cf4731922624f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
be7607af8875236b9cf7bdb5f5aa089c207529af |
|
02-Oct-2015 |
Winson <winsonc@google.com> |
Initial changes to drag and drop to docked task. Change-Id: I5e7a435a4061d902e5de0a54cc386388bc2b565e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
2536c7ed446203ea12b38cf05a88e603f8d1b768 |
|
02-Oct-2015 |
Winson <winsonc@google.com> |
Refactoring several TaskView callbacks. - Moving header bar event handling to TaskViewHeader - Removing several proxy callbacks from RecentsView Change-Id: I7dc99a7b580c1beaa93216d2b29c94246b35ec5d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
35f3050959e43bf378f9a0adcaef13729206c7e4 |
|
28-Sep-2015 |
Winson <winsonc@google.com> |
Moving resources out of ResourceConfiguration. - We can no longer make assumptions about the ability to get resources for the RecentsActivity before the activity is launched (the configuration of the launched activity can differ than the current configuration if a window is docked). As such, we reduce RecentsConfiguration to the set of values that are context agnostic, or can be calculated directly given an application context. This ensures that we will continue to be able to compute the target task bounds given any context. Change-Id: I423c90635eb294aa2d78a6f56771b98ee2b9d5e4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
dab26488b475bd49cc0e2aa5cac11e5e52f84764 |
|
25-Sep-2015 |
Winson <winsonc@google.com> |
Removing unused debug overlay code. Change-Id: I80d98b38001ca37bf5017b1631038fb574c324af
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
147ecaf3ba5d72872e8ff324aa32c0d228ada7f5 |
|
17-Sep-2015 |
Winson <winsonc@google.com> |
Ensure RecentsActivity is resizeable. - Removing old code related to multi-stack layouts. Change-Id: Ib9b820d2a65ff15e9cd8e5255e3e858b611e5aa9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
d16c565a607de754379fe699a4def21bd0e3de2f |
|
27-Jan-2015 |
Winson Chung <winsonc@google.com> |
Adding some debug controls to test multi-window. Adding some preliminary controls to mirror the currently exposed api to create new activity stacks, resize stacks, and to move tasks between stacks. Change-Id: I3fb51c248f53a1d4c4eb23ca9fb3a76888def1de
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
6ac8bd6198f67b64aea2258bdb5f8ed371b5bec1 |
|
08-Jan-2015 |
Winson Chung <winsonc@google.com> |
Adding dismiss-all button. Change-Id: Iad7d5d1eddeff6af6b88a1afdf23677c8b2f3b49
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
2cf8b221fca18dbee3703388ae7970491c86ec7f |
|
20-Jan-2015 |
Winson Chung <winsonc@google.com> |
Cherry picking recents fixes to screen pinning and visibility. Screen pinning fix - 98e8f7ac5e75a47abaa0061aab343b9f06770258 Visibility fix - 5675f018681faefeb50c9003bc9e02cd9ce5659d Bug 18986736, 18802531 Change-Id: Ia37dbcd4f82e80f47f9c0686ed2ad4f534f946a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
bc571a980704dc767838935e83c6aed231c406e9 |
|
20-Nov-2014 |
Winson Chung <winsonc@google.com> |
Reset the task stack instead of the view when Recents is hidden. (Bug. 18436876, Bug. 18394126, Bug. 18432310) This will remove the need for having all the null checks in TaskStackView. We also remove the check when launching tasks (the fail case is worse when the activity fails to load). And the CL also fix the header focus animation, and an issue with tasks not getting laid out when the stack is set again. Change-Id: I9b4cd50d76f72ba3d16dd1b8e2d9bbf9f1f24d2b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
04400672962d2e12132f9465928cbf7615c147c4 |
|
17-Oct-2014 |
Winson Chung <winsonc@google.com> |
Ensuring that user-specific Recent tasks are removed. (Bug 18036610) - Also ensuring that the package event logic support multiple task stacks. Change-Id: Ib08ab70dba1d3f9e5aa0a92f3c5e5382567c96ba
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
a4ccb86ddc8f9f486aee25fb836f4aff97bf7679 |
|
23-Aug-2014 |
Winson Chung <winsonc@google.com> |
Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565) - Reverting changes to the existing thumbnail transition to prevent breaking applications that currently depend on that transition. As a result, we need to create a new, hidden, aspect-scaled thumbnail transition, and instead use that thumbnail to animate the recents header so that we don't have to wait to do that inside the Recents activity. In order for this to work, we also have to ensure that the thumbnail surface destruction is synchronized with the application that is currently closing (when going down to recents) or opening (when coming back up). The current thumbnail is destroyed when the animation ends, but that can be at least 1 frame before the surface for the animating window is destroyed. We change this by deferring destruction of this thumbnail window to the animation that is being closed. Especially on the way up, not having to wait for us to hide the header before doing the transition up can save us the duration of that first animation (> 100ms). - Other optimizations: * No longer creating a new stack view on each transition to calculate the target rect * Removing unnecessary call to get the thumbnail when transitioning up/down (the actual window does its own animation. * We reduced numerous system calls per task by adding a flag to ignore home-stack tasks and caching the activity label and icon (and task description icon). These caches follow the same eviction schemes as the thumbnail and icon cache. - Also tweaked the touch slop for the nav bar swiping gesture to prevent conflicting with tapping on home (Bug 17109581) Change-Id: Ica697aad788051a9203edd9351c583e1cb038a71
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
a0e88b5013d708ac6ed6518817d83c64c87ae4b1 |
|
12-Aug-2014 |
Winson Chung <winsonc@google.com> |
Implementing Recents focus states. (Bug 16950262) - Fixed issue with focus going to send front most task when coming from Home - Adding shortcut to dismiss a task - Refactoring code to get secondary overlay and affiliation color - Throttling alt-tab key presses - Fixing issue with slivers of the task thumbnail being visible for affiliated tasks Change-Id: Iaafe408318646a423fd58b51bbe93dbe0f2eed99
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
b1f749906f5c27114d02ea0c3f8ce0dcea08fd3f |
|
08-Aug-2014 |
Winson Chung <winsonc@google.com> |
Initial changes to support swiping on the nav bar to switch affiliated tasks. - Actual sideways animations to come once they've been finalized Bug: 16846966 Change-Id: If6d40495498197a86a98f9b03f54ced3d2baf64a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
ec396d6399c5c31d697d81e94aff459e9771b0c6 |
|
07-Aug-2014 |
Winson Chung <winsonc@google.com> |
Initial changes to add task affiliation styling. (Bug 16656169) - Fixing issue with launch-in-background animation
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
012ef36a6c5e9745d112c734aed916cab052558c |
|
01-Aug-2014 |
Winson Chung <winson.chung@gmail.com> |
Updating the stack layout to use a parameterized curve. - Fixing issue with search box not being layered on top of the task stack view (Bug 16643875) - Fixing issue with there being no animation when dismissing recents while the stack is scrolling. Change-Id: I990f3c527de655d62fbf8a4539dcbaed3ed422c8
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
2915b9d14876c8e63ca82415807bcfb602ebad43 |
|
28-Jul-2014 |
Winson Chung <winsonc@google.com> |
Updating lock-to-app look. - Adding seek bars for tweaking values when in debug mode Change-Id: I92ae7b431ee170f5d8b31f34349d51a6b7f9ddef
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
56e09b42a0f1670970872bef611a8036904ad6bf |
|
18-Jul-2014 |
Jason Monk <jmonk@google.com> |
Add setting to guard the lock-to-app recents icon Lock-to-app (soon to be screen-pinning) will now only show up once it has been enabled in settings. Bug: 16378448 Change-Id: Ide333463f86310eacb7a1d8b6dc7b1aea8722713
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
82c8c5e9872b984ba6f43b01da0c7731fd5bf762 |
|
15-Jul-2014 |
Winson Chung <winsonc@google.com> |
DO NOT MERGE Using a fixed sized ImageView to prevent unnecessary layouts. - Preparing for task view clipping using the view outline Change-Id: I4aae4189a759a48057f1e3729cc2a9e6d553c11e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
93748a11cba1b44edbc2e888c997533461355594 |
|
14-Jul-2014 |
Winson Chung <winsonc@google.com> |
DO NOT MERGE Fixing some regressions - Removing some legacy code with task loading - Ensure that doze triggers are set correctly on configuration change - Adding WCAGv2 contrast checking for deciding which foreground color to use for labels - Bumping up the max thumbnail cache size slightly - Fixing case where visibility state was not correct if you toggle recents too quickly Change-Id: I5e954890d53948547842edce3c76c34d74e180a8 (cherry picked from commit e99e1009ce49caf220aa51c044ed53ac0a3b7cc6)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
1f24c7e37bc794057a156a730c7e4b53b01212ed |
|
12-Jul-2014 |
Winson Chung <winsonc@google.com> |
Initial changes to support lock-to-app on the foremost task. (Bug 16221876)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
083baf99ff1228e96ede96aac88c8200c4fdc2b2 |
|
11-Jul-2014 |
Winson Chung <winsonc@google.com> |
Fixing a few potential crashes, preparing for Task affiliations framework changes. - Deferring widget host listening to speed up startup - Ensuring that we animate to the right task position in the stack and not just the front-most - Removing assumption that we can only get screenshots for the most recent task
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
a433fa9c17772f563163ff7db177d091d6aebd5b |
|
09-Jul-2014 |
Winson Chung <winsonc@google.com> |
Updating task grouping logic. - More fixes for graphical glitches when picking up task views. Change-Id: I93fab1c2a9cc727c68d8f8fbd506bedaf681715f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
ffa2ec664479bff6b4b61d4c349d9db2cb37ca16 |
|
04-Jul-2014 |
Winson Chung <winsonc@google.com> |
Refactoring to support groups. - Removing RecentService, determining animations just in time - Fixing a few issues with animations of newly picked up tasks from the pool - Moving helper classes into sub package Change-Id: Ie10385d1f9ca79eea918b16932f56b60e2802304
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
7aceb9a07fd3883c8f301ba93726d55494b0446e |
|
03-Jul-2014 |
Winson Chung <winsonc@google.com> |
Bug fixes and cleanup - Don't reinflate the search bar view every time you return to recents - Fixing an issue where the default thumbnail was not being used when querying the thumbnail cache (thought WM still seems to not be giving us screenshots in many cases) - Fixing an issue where an invisible header bar color was used instead of the default header bar color - Fixing an issue where swipe-to-dismiss logic was running before the animation back into place - Using outline clipping instead of doing it ourselves for the rounded TaskView - Small optimization in finding the visible range - Renaming some of the callbacks to make them more clear - Removing some unused code
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
11ca76a53c60a1898956614315ae929668c523d6 |
|
11-Apr-2014 |
Winson Chung <winsonc@google.com> |
Refactoring filter animation logic. Change-Id: Ic3b57f540da8fa0d2703eef34c43ed9e54f85021
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
b44c24fb50845dfbc1f49e78085cf5e01a32067f |
|
10-Apr-2014 |
Winson Chung <winsonc@google.com> |
Removing duplicated code in Recents - Also disabling the animation on the first task view when animating from home - Fixing a case where filtered and non-filtered state can be exactly the same Change-Id: I01665391fc0b0745a89e404b12280d3d919aec83
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
c6a1623cc48581380b698ae87b43bfafb9c935ba |
|
01-Apr-2014 |
Winson Chung <winsonc@google.com> |
Enabling filtering by base intent package. - Toggling recents now unfilters the current stack before dismissing recents Change-Id: Id0d240bf16bc32957ee7e5a9882a453044903d29
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
04dfe0d26b944324ee920001f40d74cff47281d6 |
|
14-Mar-2014 |
Winson Chung <winsonc@google.com> |
Simplifying memory management, use Task Keys as resource cache keys. - Attempts to load non-topmost task thumbnails from cache - Ensuring that we release all references to the activity from the bg loader - Removes background loading debug flag - Moving callbacks into their respective classes - cleaning up some callbacks when data is loaded in the bg Change-Id: Ibb968349d08084922d5b28e432b76a165bf20d6b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|
303e1ff1fec8b240b587bb18b981247a99833aa8 |
|
08-Mar-2014 |
Winson Chung <winsonc@google.com> |
Initial changes for recents. Change-Id: Ide2c202b4a5b25410f0f32bd0a81ccf817ede38f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
|