History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b502690e2d0a120993279a6fe800ad07dccc8872 03-May-2017 Winson Chung <winsonc@google.com> Updating Overview to work with PiP

- Ensure that an activity that is auto-entering PiP when hitting Overview
does not show up in Overview. This is done by listening for the
onActivityPinned() callback from the system, and remove the pinned task.
- Ensure that we show the PiP task in Overview after it is dismissed, while
Overview is open. This is done by listening for the onActivityUnpinned()
callback from the system and refreshing the task list similar to when
the multi-window mode changes.
- When launching from a PiP activity, or launching back into Overview where
the next task should be PiP, then ensure that we scroll the stack to the
front so that the first task is fully visible.
- Fix two lingering Overview issues, when there are no handlers (ie. with
dynamically registered handlers), ensure that we call pre/post dispatch
callbacks (otherwise it could cause animated events not to work correctly).
Also, ensure that we don't update the dummy stack view TaskStack without
clearing the stack first, since we may be modifying the same stack
that the activity consumed when starting.

Bug: 34185886
Bug: 38207296
Test: Launch PIP activity from hitting Overview in the various ways
described above
Change-Id: I699e655106e6ed7206e163f9d3c15477bbfd52ef
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
21f495f07b1b9ace99986a110d01a763847687b1 05-Jan-2017 Jiaquan He <hejq@google.com> Add keyboard support to Grid-based Recents.

Test: Checked that pressing tab, shift + tab, alt + tab, alt + shift +
tab work for task navigation in Recents on local sw600dp device. Also
checked that Recents on phones work properly.
Bug: 32101881
Change-Id: I3e4cd212d2900523ece30a85cae7fb73a9594efb
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
fc73eec235131dbf3216891f3cb2b1407e6cc099 02-Aug-2016 Winson <winsonc@google.com> Adding support for blacklisting apps from Recents transition.

Bug: 30602323

Change-Id: I2a6e75a989264ce72ac552e2c7f82225ccd68adf
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
c69249fd6f30398780342baed8752ef0eeff7d22 28-Mar-2016 Winson <winsonc@google.com> Fixing regression in recents entrance animation when docking app

- Merged the two identical launch state flags
- Only relaying out task views if the bounds have changed
- Always setting the task transform instead of the view properties
directly

Bug: 27859626
Change-Id: I2571c1660820e21fde87ef82808098809b4d3c24
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.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/RecentsActivityLaunchState.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/RecentsActivityLaunchState.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/RecentsActivityLaunchState.java
23b0d3f66e8280c8638d8b0954edc0409d14de7f 16-Feb-2016 Winson <winsonc@google.com> Better focus handling after dismissing task/scrolling.

- When there is no focused task, focus the next task closest to the
stack scroll in the focus direction.
- Fixing small regression where no task would focus when alt-tabbing
because the index was out of bounds.

Change-Id: I2555c9340f40affc371f52d51d88af0eeda53b2e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.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/RecentsActivityLaunchState.java
e161f08e98fdbe6fe83f70ffa1ea11142a027ebe 05-Feb-2016 Jorim Jaggi <jjaggi@google.com> Multi-window optimizations #3

- Make sure divider is pushing frames only if necessary
- When starting recents while docking, make sure no unnecessary
animations are played to reduce system load.

Change-Id: I536f009aef7282ed85dde79b853aeae62644f3e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
b61e654b9a46e79827355104760a3ac5228380bc 04-Feb-2016 Winson <winsonc@google.com> Fallback 1 for Recents timeout behaviour

- Removing initial timeout
- Adding double tap to switch tasks

Change-Id: Ice6a508b842377809bf0dcea0997522164d0ccdf
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
4b9cded14346a7d8781ee6549c44888eb4ec9d83 27-Jan-2016 Winson <winsonc@google.com> Enabling fast switching for all users.

- Consolidating notion of fast toggling and indicator in the tuner - if
it is enabled, the indicator will be enabled
- Upon entering recents, immediately enable the timer to jump to the
previous task
- Allowing for multiple durations in the first and subsequent toggles
- Disabling fast-toggle on freeform devices and when touch exploration
is enabled
- Simplifying UserInteractionEvent to a reusable event

Change-Id: Id1ca3cd035f4eded5141b2b333a2cab5434b79ee
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
ead5c0fc20e5c60a68cd017af0b8eacaf1167a1c 14-Dec-2015 Winson Chung <winsonc@google.com> Enabling history and paging by default

- Removing associated tuner flags

Change-Id: Ia69bf273489b0079c389e7feb1428071569092d5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
9a74290a95e27fc6478758f32a681ccdf495f1e4 11-Dec-2015 Winson Chung <winsonc@google.com> Coordinating empty view with the history view.

- Moving the empty view into the RecentsView so
that we can coordinate its animation with the
history button and the task stack (when history
is visible, all of the other views are animated
away, and vice versa)
- Removing unnecessary launch state flag to keep
track of recent task empty state just for deciding
animations for system bar scrims.
- Fixing issue with overview button not dismissing
the history view while it is open
- Fixing issue with swiping the last recent task
away causing both Overview and the docked task
to be dismissed to home

Bug: 26044055
Change-Id: I731fb0f7efb3de7d5f826673479c602b606453e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.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/RecentsActivityLaunchState.java
37fc513d01503f15ee611595c248374696056bd8 30-Nov-2015 Winson <winsonc@google.com> Fixing several bugs.

- Prevent long pressing to drag when a task is already docked
- Ensure that the history button has a bit of background protection
- When fast-toggling, the second tap should actually activate the
second task and not the third
- Align the history view with the stack view
- Fixing regression launching affiliated tasks

Bug: 25931916

Change-Id: I9d74d0d2427ea0b11f4817d0e635013065e3a792
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
435b2e43cb131d0b38ba19f335aec78bb83944b2 25-Nov-2015 Jorim Jaggi <jjaggi@google.com> Reload tasks when doing drag gesture

To make sure we always have the updated stack id's
for the task.

Change-Id: I8bfda33aa26b470cb5f087cee9e8e8560c0e3ba2
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
b1e71d09f24be2c18120146eaae1ffd9444feb9a 23-Nov-2015 Winson <winsonc@google.com> Making stack visibility more specific to the launching tasks.

- When going from freeform -> overview, hide all freeform tasks until
the final frame of the enter transition, if the stack we are
launching to/from is in the freeform stack
- When going from overview -> freeform, hide all freeform tasks after
the first frame of the exit transition, if we are launching a task
in the freeform stack
- Separate the dragging gesture from the freeform launch visibility

Bug: 25842568

Change-Id: Ibcd17a02eeb70244ac73f599b8c23c71d22f73fd
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.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/RecentsActivityLaunchState.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/RecentsActivityLaunchState.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/RecentsActivityLaunchState.java
5da4347b41b105dc6c6c01bf2810af3ce3013229 05-Nov-2015 Winson <winsonc@google.com> Fixing regression in alt-tab task.

Change-Id: Iee73baded04616ee92046609c37257d1551520fb
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
1a5203dfd5264104db018b8a09d50075b1af9b2d 30-Oct-2015 Filip Gruszczynski <gruszczy@google.com> Hide recents during freeform to recents animation.

Bug: 24913782
Change-Id: I6a5d3a638640571a902e095c4c0650b88eea0fb6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
53ec42cb17693b2d631746e1e5d31021a3359163 28-Oct-2015 Winson <winsonc@google.com> Moving static RecentsConfiguration instance to Recents.

- Matches the other static instances

Change-Id: I25bf474ceb0b8d6cc52c22e83273ffb2fb64cc9d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java
463ba436d22fff2797c996e222fcbe519fd04c50 27-Oct-2015 Winson <winsonc@google.com> Fixing minor regression with system bar scrims.

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