History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6f9dbcb742ee930151444118dd61c2239efce09d 17-Mar-2017 Jorim Jaggi <jjaggi@google.com> Implement new thumbnail loading strategy

- By default, we load only the reduced resolution screenshots.
- As soon as the user stops scrolling fast, we also start loading
full resolution screenshots.
- We prefetch reduced resolution screenshots when scrolling from
back to front, as the other direction is automatically prefetched
because the thumbnails aren't immediately visible.

Test: Open many apps, adb restart, scroll fast and slow in recents
Test: runtest systemui -c com.android.systemui.recents.model.HighResThumbnailLoaderTest
Bug: 34829962
Change-Id: I7f7a9842eb28a09a18573426fa9677cee2877124
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.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/views/TaskStackViewScroller.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/views/TaskStackViewScroller.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/views/TaskStackViewScroller.java
96e613412fe2e8fa6e99b54f5b596a99e4c5cd28 16-Mar-2016 Winson <winsonc@google.com> Scroll to the launch-task when toggling overview.

Bug: 27680710
Change-Id: I3eba2cdbe0a92ef05dd6882a5e41db2a5875c98a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.java
e693aafe0511c2a7ffc571b22abeefba44046225 01-Mar-2016 Winson <winsonc@google.com> Disabling timer

- Disabling the timer by default
- Adding flag to enable/disable paging (disabled by default). When
disabled, the second tap will just launch the next task.
- Updating the initial state to put tasks at specific points on the
curve. This allows us to allocate specific space for the front most
tasks, as well as the tasks behind it.
- Removing hardware layer config (no devices targeting N depend on it)
- Fixing issue with the header not having the final dim applied when
transitioning into recents.
- Fixing issue where the stack range would not be reloaded after docking
or undocking a task.

Bug: 27409035

Change-Id: I13a03fba2b1a770f15d0033d43ef4c28415041c9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.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/TaskStackViewScroller.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/TaskStackViewScroller.java
231bc9c54a48921f9c6a1ae187969c9bfe9d121f 09-Feb-2016 Winson <winsonc@google.com> Adding view debug annotations to simplifying debugging state.

Change-Id: If90955f44be55ff09208998214bc1bb47f93a872
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.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/views/TaskStackViewScroller.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/TaskStackViewScroller.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/views/TaskStackViewScroller.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.java
1c8461402bd25912b61c166552cd60be4b7089d9 22-Jan-2016 Winson <winsonc@google.com> Fix issue with stack not invalidating when only focus state changes.

- Adding callback to invalidate when focus state changes.
- Fixing issue where we were posting the invalidate, causing everything
to lag by 1 frame
- Fixing issue where we weren’t passing the cancel-enter animation flag
down when setting focused tasks

Change-Id: I218ec78dc0e4e22e59ffcef03a1bc91d08b7c18b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.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/TaskStackViewScroller.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/TaskStackViewScroller.java
116b2c2c5430122ad7dfa14470bc640bf3c1c59f 04-Dec-2015 Winson <winsonc@google.com> Minor tweak to initial paging state.

- Making the scroll and focus animations identical so that it doesn't
cause a weird flicker.

Change-Id: If1e3d23cd5ef45e429341c6bf7ac62b3a17eb662
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.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/views/TaskStackViewScroller.java
c29ff0025bf0b1f43b34fe3e2dd6f043b61421ef 21-Nov-2015 Winson <winsonc@google.com> Adding history view.

- Initial changes to show a history view within Overview (behind tuner
flag)
- Restoring the task view dim in the stack

Change-Id: I0503d11768736c86f3145942404391dfacd0ddd6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.java
e5f1faa9f8009a723ab21aed6fe5ab325c61442b 20-Nov-2015 Winson <winsonc@google.com> Porting over keyboard changes from other branch.

- Allow ignoring alt-key release when interacting via touch while
alt-tab is pressed (ag/814903)
- Cancel window animations only if the stack scrolls via alt-tab
(ag/809873)
- Fixing issue with old task load plan being consumed if user alt-tabs
before Recents is resumed (ag/811354)
- Canceling enter animations when the stack scrolls (ag/814461)

Change-Id: I7450f0a280571e98212f321b1e61219d149fed65
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.java
a5e6b36034fa66549dd71601a86397381c6bf02b 03-Nov-2015 Winson <winsonc@google.com> Updating freeform layout to be static at the top of recents.

Change-Id: I5118d03c115080e05447d325097419b9a1c6f8b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.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/views/TaskStackViewScroller.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/TaskStackViewScroller.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/TaskStackViewScroller.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/views/TaskStackViewScroller.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/views/TaskStackViewScroller.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/views/TaskStackViewScroller.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/views/TaskStackViewScroller.java
c041d883c3591670441d4c2da8fd1108dfd28acd 15-Nov-2014 Winson Chung <winsonc@google.com> Tweaking animation XMLs and removing dead code. (Bug 17672056, Bug 18415217)

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

Change-Id: I11eec1f3b0386b4354c8c5e3deca2b17cff83be1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.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/views/TaskStackViewScroller.java
d213a1e53c7b31e9d7c072b5f0332127ed781d5a 02-Oct-2014 Winson Chung <winsonc@google.com> Adding mouse wheel support. (Bug 17323718)

Change-Id: I51bf159369983789933767813bbf8a785ff1bda3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.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/views/TaskStackViewScroller.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/TaskStackViewScroller.java