History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/views/TaskViewTransform.java
7845e8c4946f6b5dadfcd9c1d64e826bacc50edb 29-Mar-2016 Winson <winsonc@google.com> Adding logging to track down bitmap issues.

Bug: 27849282
Change-Id: Ie763a2a6cc968896e1ec0c4d89859cb49bd89e85
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
899327f5cbbfb0eae5562b262ccea860c98f6bc4 26-Feb-2016 Jorim Jaggi <jjaggi@google.com> Animation for docking task gesture

- Don't move recents window around during the animation
- Set the correct task size shortly after docking, so recents
starts with the correct size to avoid jank.
- Add staggered animation in recents.

Bug: 27154882
Change-Id: I7c56102feba9c3f6cb86cb5f1d87f0ad3b29c721
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
1499150478b2836a7d2549129ccaed005b24bc06 16-Feb-2016 Winson <winsonc@google.com> Tweaking stack shadows and layout.

- Properly setting view outline alpha
- Ensuring that dismissing while in focused state will return to
non-focused state
- Fixing mis-calculation with bottom stack area

Change-Id: I281b7707421ffde4225180c63c7d40bf325f7f72
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.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/views/TaskViewTransform.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/views/TaskViewTransform.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/views/TaskViewTransform.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/views/TaskViewTransform.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/views/TaskViewTransform.java
778f495f0431be15c4c4f4305960465afe0e6d3a 08-Jan-2016 Winson <winsonc@google.com> Removing code to animate thumbnail scale now that we animate bounds.

- This CL reverts the code to the previous state where we can just
calculate the thumbnail scale from the view bounds.

Change-Id: I156ae915af76055b5177a6bdf0f929bdf6acea01
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.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/views/TaskViewTransform.java
bb410951b9ae373999c058fa141b3522ba169960 04-Dec-2015 Winson <winsonc@google.com> Updating layouts to use frame vs translation and clipping.

- This greatly simplifies the freeform layout as well, since we don’t
need to scale and clip the views to match the freeform task bounds.
- Also fixing the animation from the back of the stack

Change-Id: Iba998a788dbdc48d031da8a8c908ea1a9f8f795f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
5b7dd536aa6cb8ce323b47cee109f879feb0d33a 02-Dec-2015 Winson <winsonc@google.com> Updating the freeform workspace layout

- Updating layout for freeform workspaces
- Consolidates the clipping and bitmap scale with the transform to make
the transitions more unified
- Updating clipping as we synchronize scroll instead of afterwards

Change-Id: I33de4e2646c75f0bc0eb75bd6909fe94557196b5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
a0a8ae466f7acfd66fc5a6e9a4584e419037af73 01-Dec-2015 Winson <winsonc@google.com> Fixing regression in drag view

- We should be removing the dragged task view after it is dropped on a
drag target
- Also fixing issue with ViewPropertyAnimator listeners not being reset
causing callbacks to be called in later animations

Change-Id: Ib9815d77f4e427c575f5a77fa58ea5a22f39f10f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
23afcae84422ac7c9687b17a6193f74264361303 28-Oct-2015 Winson <winsonc@google.com> Fixing touch handling on resized tasks.

- Simplify touch handling just by keeping everything in screen space,
and just map to the curve proportionally to the arc length. This
makes the movement much closer to that of other lists, and prevents
the issue of touches at the top of the stack scrolling along the
curve faster than at other places (and when Recents is resized, this
becomes more of an issue).
- Add basic functionality (disabled) for freeform task workspaces.


Change-Id: Ib3a8ce2caa1437cfc09eaa5b36aff310e29e35f5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.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/views/TaskViewTransform.java
88f00ab1df35928ad0aa0c64f75ecad88d86096c 06-Oct-2015 Winson <winsonc@google.com> Cleaning up stack layout.

- Refactoring the layout to remove unused (and confusing) variables,
reducing the number of calculations when updating min/max bounds, and
allow more accurate tracking of stack positions (for attached views).
- Tweaking the transform for single-task stacks so that they behave
better.
- Removing old, unused dismiss-all ui.

Change-Id: I8ec3bf062b0451543bd8a297aa810405f68c84cb
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
3040484265bf5fe9f5bc7a1974b5c78d69eba01f 24-Mar-2015 Winson Chung <winsonc@google.com> Fixing issue with floating task headers.

Bug 19516828
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.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/views/TaskViewTransform.java
cb5570316d55c6fe2ff717fa6b94b14d13980263 16-Sep-2014 Jorim Jaggi <jjaggi@google.com> Add option for recents to use fake shadows

Bug: 17522143
Change-Id: I61fdecf8c5aa86b6dacd65ff8729590553d0854a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.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/views/TaskViewTransform.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.
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
dcfa7976fa836ae90bb4a579892a18a0abf35b3c 22-Jul-2014 Winson Chung <winsonc@google.com> Intermediate refactoring to move towards in-app view transitions.

- Fixing bug where we weren't toggling to the right task when using affiliations
- Refactoring task rect calculation to allow full screen task view to be laid out for transitions
- Refactoring the view bounds animations into a separate class
- Refactoring the footer view (for lock-to-task) out of TaskView
- Refactoring some transform code out of TaskView
- Removing fullscreen overlay view
- Fixing case where extra invalidations and layouts were still happening in FixedSizeImageView
- Adding debug overlay to replace specific debug drawing code

Change-Id: Ibf98b6a0782a68cd84582203c807cece1ff3379f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
b13c46e8b78272c4398068eed41f49ee4d403bcc 10-Jun-2014 Winson Chung <winsonc@google.com> Updating Recents to make the cards slightly more visible.

Change-Id: I876d39f4aac4007a3fe0c509ccb7db130f27a737
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
54e297a5bb143e60e29fd7dfe87e04a8cc96c72c 10-May-2014 Winson Chung <winsonc@google.com> Adding dismiss method on the top cards, and disabling the app info pane.
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.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/views/TaskViewTransform.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/views/TaskViewTransform.java