History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
08deff0a67bd1e2d44477ed7c84c39fb3299fb7c 05-Aug-2016 Winson <winsonc@google.com> Reverting ag/1288123

- Reverts the change to draw the drop targets opposite of the nav bar
- Fixes the issue with the drop divider being occluded by the nav bar
when the phone is in landscape orientation. Instead, expand the
drag overlay to include the nav bar space.

Bug: 30548794
Change-Id: I70ed3513547e101e49c8eba114a153c5a1f36bee
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
c54c748ede08ee79dee2397d2e0820a4067ab3aa 04-Aug-2016 Winson <winsonc@google.com> Ensuring that the dock state is opposite of the nav bar.

- The nav bar now moves to follow a specific edge of the device, so we
should always choose the opposite end of the screen to ensure a valid
drop target is accessible.

Bug: 30548794
Change-Id: Icac8adfb167a4115377d42ddd897ac94e02077a3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
9832f8f463a7d5448af2294bce05eac85f4dbef0 26-Apr-2016 Winson <winsonc@google.com> Fixing issue with docking being disallowed for secondary user.

- When a task is docked, the context is not correct for the given user.

Bug: 28195260
Change-Id: I59f73caf818d294c146d215c2bd31dbe1d4c7c5a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
f300badbf10505fbcb884aebb0f2c3120e018748 25-Apr-2016 Jorim Jaggi <jjaggi@google.com> Fix bug with cancelled drag

Bug: 28257206
Change-Id: Ic7342f4284185486e884836220b05423e308f7ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
a20eeda52951021da758fefba7bf956c9c9d15a2 21-Apr-2016 Jorim Jaggi <jjaggi@google.com> Fix a few weird state issues from race-conditions

- When starting another transition while the dock transition
is already set, always override that because that transition
starts prolonged animations which will never be ended.
- Only dock if we get a good UP event.

Bug: 28257206
Change-Id: Icabfcf475f419696d2bcff8fbb53cf3b29dedd69
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
25160db73f37619a26a3d87a06625925d881b0fd 19-Apr-2016 Jorim Jaggi <jjaggi@google.com> Optimize some binder calls when recents configuration changes

Bug: 28122871
Change-Id: I54249428792c3ad4b3b6d3dcc0f405675b3b23b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.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/views/RecentsViewTouchHandler.java
f21c3dace89b168f5e5e4e96532d977b8b0a1cf5 14-Apr-2016 Winson <winsonc@google.com> Fixing crash.

b/28179361

Change-Id: I5c6049efcd0c43f3b0e595648fd331c2a82d4d73
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
29379ec859bf7118dec9f3248c63ee369218ad6b 12-Apr-2016 Jorim Jaggi <jjaggi@google.com> TRON refinements for multi-window

Bug: 26013430
Change-Id: I89b139b4ca3e7b6a06d8b5b351d67ffac240f73f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.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/views/RecentsViewTouchHandler.java
19cf2972582198484816ac15ba83a4f46946082b 08-Apr-2016 Jorim Jaggi <jjaggi@google.com> Disable snap targets that make apps <220dp

- Make minimal task size 220dp.
- Disable upper and lower targets if they result in less
than 220dp task size.
- If even the middle target doesn't allow 220dp task size,
disable entering split screen altogether.

Bug: 26451260
Change-Id: I06e358c9b3da0172c5def75cdadf975f87f9fa57
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.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/views/RecentsViewTouchHandler.java
c694a509ff768b6a942616676dd8103e20d06e66 11-Mar-2016 Winson <winsonc@google.com> Adding docking checks for multi-window support.

Bug: 27387257
Change-Id: I9f16302e1f9475225538871d9fc09c0706e4dbfb
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
931845fcb3823ce175fcfc7c6ce2d9751102c331 25-Feb-2016 Winson <winsonc@google.com> Dev preview changes for incompatible apps.

- Disable drop targets when picking up a task that can’t be docked, and
show toast notifying user (for now)
- When a task is docked, update the task headers for non-dockable tasks
to indicate that they don’t support multi window. Update these
headers every time the multi window state changes.

Bug: 26774190
Change-Id: I020dcbac9b1230dba166eecaa12366986e684f9e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.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/RecentsViewTouchHandler.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/RecentsViewTouchHandler.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/RecentsViewTouchHandler.java
036693cf71f8c4d2dd0dfb57ad05e8827ed6df60 15-Jan-2016 Winson <winsonc@google.com> Preventing dock target from showing for single tasks.

Change-Id: I2a73c085e3777ac79f2846e1ba59f7c65bc3f9d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.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/views/RecentsViewTouchHandler.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/views/RecentsViewTouchHandler.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/RecentsViewTouchHandler.java
aaeaac17831090594e4927b1531c4658d239a3ea 16-Dec-2015 Winson Chung <winsonc@google.com> Refactoring to AnimatedEvent.

Change-Id: I87ce63201120dc687eccd63024801cc2c19bebd6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.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/views/RecentsViewTouchHandler.java
d759a7123a7cacf431399b310421c59a6c818e53 01-Dec-2015 Winson <winsonc@google.com> Fixing issue where the configuration can have stale docked state.

- Fixing issue where you could not drag after undocking a task while
Overview is open, since we did not update the docked state. We can
just read the state directly in that case.

Change-Id: I5d2844edf024ba379e13be1a625bda8579d971b1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
479f7446cf489fb99c91b3fc2bf96b1dc184f5ba 26-Nov-2015 Winson <winsonc@google.com> Improving drag and drop

- No longer rendering the task view to another drag view, instead we
drag the task view directly. This allows us to do a smooth transition
to and from the freeform workspace and the stack by animating the
thumbnail scale as we clip/unclip the task view.
- Removing the extra code to disable rotation while dragging since the
system does that for us already

Change-Id: I1e02c9319347aace9870eaa4983b3b87c5f0f58e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.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/views/RecentsViewTouchHandler.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/views/RecentsViewTouchHandler.java
e92440ee5fad343c680d889136f9a9847a80a418 28-Oct-2015 Winson <winsonc@google.com> Re-enabling docking on left/right on tablets in landscape.

Change-Id: I3b02f5bbd653ea79a0d148e5454bd5755c85aba7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
2364f26dc24191e5bfbab45bc1bdf9babe13af80 26-Oct-2015 Winson <winsonc@google.com> Adding flag for disabling search bar.

Change-Id: I988912c8209f1e49c71e4db2a7b926c808dbc975
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.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/views/RecentsViewTouchHandler.java
09d8a184c6d9d996663da1756ab4ac7d54c04b45 10-Oct-2015 Winson <winsonc@google.com> Fixing merge issue with last CL.

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