5a2eb83383c013ea0481e6688f22d892c61286ff |
|
13-Dec-2016 |
Jiaquan He <hejq@google.com> |
Avoid clipping in Grid-based Recents. This commit avoids clipping in Grid-based Recents by: - extending TaskView and AnimatableViewBounds in Recents and removing all clipping logic; - returning early in TaskStackView when it wants to clip TaskViews. Change-Id: I52819a828f84ce42fc8a63085e15a8264000d271
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.java
|
f00098805c2af4dc7abc51fe7a5e77b04a5fb0fe |
|
01-Jun-2016 |
Winson <winsonc@google.com> |
Fixing several issues with accessibility - Only reset the focused task if the task that we removed actually had accessibility focus. - Only reset the focused task on scroll if we are not in touch exploration mode - Ensure the focused view has accessibility focus when entering recents in touch exploration mode - Instead of using the focused task, query for the accessibility focused task view when setting the focused task in response to the scroll gesture. In addition, use this accessibility focused task to determine whether we need to add the accessibility actions - No longer explicitly requesting accessibility focus on view focus - Removing some unused code Bug: 29046351 Change-Id: I5701a408bd919e47990f0d2fc6e4686eb9530d8e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.java
|
27c28f8da2925fd6fdaa91603c1740447b8fc195 |
|
06-May-2016 |
Winson <winsonc@google.com> |
Fix exception when docking task. - If a task fails to dock, animate the stack back to original state so that the layout is not stuck in a "docked" state. Bug: 28577229 Change-Id: If927b898a48cd5949764cb3b0c0798d22efd850a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.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/misc/Utilities.java
|
da8d2285e59fc57361308a3c59b32b9dd7d406aa |
|
12-Apr-2016 |
Winson <winsonc@google.com> |
Fixing issue with scrolling tasks upwards - When scrolling the stack away from the task overrides, we should actually lock the stack scroll and instead apply the changes in scroll to the override tasks. Bug: 27376567 Change-Id: Idd1874ab0f6f5eb273bf6e9623b84277961f4291
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.java
|
9b001396c26e5b5ee95e0a54213a8a421179e365 |
|
08-Apr-2016 |
Winson <winsonc@google.com> |
Updating visuals for incompatible apps. Bug: 26774190 Change-Id: I688d5dbab0305e794cad832ae92a8e5c9440737a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.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/misc/Utilities.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/misc/Utilities.java
|
c438702740cd2893fe3bcec5546049e6b6172eb4 |
|
24-Feb-2016 |
Winson <winsonc@google.com> |
Fixing crash when focusing tasks. - We call bindVisibleTaskViews() at the new scroll value expecting all visible task views at that scroll to be bound synchronously, however, the call to computeVisibleTaskTransforms() would not produce the correct visible range if the visible range at the current and new scroll resulted in gaps (ie. at scroll 0, 0-3 are visible, and at scroll s, 5-8 were visible). As a result, the task view would not be bound, causing a later crash. Instead of the optimization before, which would assume every task after the first non-visible task would also be non-visible, we can just update the transforms for all task views. This ensures that all visible task views should be bound, even if they are not in a contiguous range. A global range is still provided in the call to allow accessibility to focus the next task when a task is unbound at the two ends of the stack. - Also removing expensive calls to remove all listeners and cancel animations that are not even started. Bug: 27295423 Change-Id: Ib309e9de3095cacb178ae9ff5c53b8ee2c7ddac0
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.java
|
680888123db816ad0c5f082d1e9b3f9b756bc7b6 |
|
13-Feb-2016 |
Winson <winsonc@google.com> |
Minor tweaks - Initializing to focused state when going into Recents - Dimming the front-most tasks to highlight the focused task - Fixing wrong call to resize in the LruCache Change-Id: I41833a9dc59a9bdf4a94b698e4800c1019bceb01
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.java
|
1bcf3c4742da5a1d9c04c73efac5c2418142c262 |
|
10-Feb-2016 |
Winson <winsonc@google.com> |
Moving dim calculation into the stack layout. - This simplifies code and also prepares the code for dimming certain tasks when focused. - Ensuring that cancelling transitions will completely remove all listeners in a given animation. Change-Id: I77050d94097f9af404250c287522d83c146cfb25
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.java
|
05e46ca8f3d24cf333e745c8cebb420b2996e9ea |
|
06-Feb-2016 |
Winson <winsonc@google.com> |
Updating paging animation to spec. - To handle the specific animation spec, we just animate the views manually instead of animating the stack scroll (like how we do when swiping to dismiss) - Fixing a regression in settings the initial focused index when alt-tabbing - Minor tweak to make the front most task smaller when in the initial non-paging mode Change-Id: Ic5fd54500fd8ce8284c7aaeddb102b2291bcecac Signed-off-by: Winson <winsonc@google.com>
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.java
|
c0d7058b14c24cd07912f5629c26b39b7b4673d5 |
|
29-Jan-2016 |
Winson <winsonc@google.com> |
Referencing static interpolators. Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.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/misc/Utilities.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/misc/Utilities.java
|
ad66efa813cf1b291d6e0d6e5e56d37462d10148 |
|
09-Jan-2016 |
Winson <winsonc@google.com> |
Removing HW layers for task view transitions. Change-Id: I00377e12d779519bd0fc102480d37382b3ac4ea6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.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/misc/Utilities.java
|
3150e574e6e903a17193e0b90433d69c0e20ae4c |
|
24-Oct-2015 |
Winson <winsonc@google.com> |
Fixing regression in stack task clipping. - Removing expensive calls to map coordinates of front task to the tasks behind it, instead relying on the precalculated task rects that we already compute on each stack change update. To prevent rounding issues, the task rects are now float rects. - Also fixing crash when RecentsActivity starts before the SystemUI component (only an issue when pushing SysUI apks) Change-Id: Ia84e9b9d165c0ce171c7fe3797e561ef24157a0a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.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/misc/Utilities.java
|
2507c34d91bb0d722b6012e85cb47387b2aa6873 |
|
04-May-2015 |
Chris Craik <ccraik@google.com> |
Cleanup properties bug:19967854 Separate properties from Caches, into static, RenderThread-only class. Also rewrites the means for java to set properties to correctly handle threading, and adds an override for profile bars so that SysUi doesn't clutter the screen with them. Change-Id: I6e21a96065f52b9ecc49d1a126244804ba106fa9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.java
|
c9070ebd13263a341511cf779087a46750021196 |
|
10-Mar-2015 |
Chris Craik <ccraik@google.com> |
Rename and simplify DisplayList Canvas classes Change-Id: I49fd2ce02e01401209fe2a378e9f9547c7b27c61
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.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/misc/Utilities.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.java
|
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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.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/misc/Utilities.java
|
ff88d7b39ebe3a0453977092a30c3b2a53a19a00 |
|
17-Jul-2014 |
Winson Chung <winsonc@google.com> |
Fixing optimization in Task loading. (Bug 16372369)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/Utilities.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/misc/Utilities.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/misc/Utilities.java
|