Commit Graph

6667 Commits

Author SHA1 Message Date
Jon Miranda
83337f9e8e Call close for AbstractFloatingViews that were removed while still open.
I'm not sure how/when this case occurs (perhaps during some transition/state
change), but manually removing the floating view matches the symptoms in the
bug.

Bug: 72996404
Change-Id: I1e7c1a338fcd16c8e07b3c49fb9c9b2097eb2708
2018-04-25 11:25:40 -07:00
Tony Wickham
c1af02f931 Merge "Remove preference to flip recents" into ub-launcher3-edmonton 2018-04-25 17:21:17 +00:00
Jorim Jaggi
170b1929c0 Merge "Post at front of queue for app launch and recents launch" into ub-launcher3-edmonton 2018-04-25 14:16:28 +00:00
TreeHugger Robot
38cbf7e97a Merge "Fixing some swipe animations for multi-window" into ub-launcher3-edmonton 2018-04-24 22:32:52 +00:00
TreeHugger Robot
eba61c6490 Merge "Adding all-tasks dismiss animation" into ub-launcher3-edmonton 2018-04-24 21:56:35 +00:00
Sunny Goyal
8c36e3c747 Fixing some swipe animations for multi-window
> Calling minimized mode change on background thread (without depending on the launcher)
> Fixing swipe down from task view, causing a jump in multi-window

Change-Id: I16fd83dade2efb4a5285d6c4298fd7fec9e6748e
2018-04-24 14:50:11 -07:00
Vadim Tryshev
e5a265b9db Adding all-tasks dismiss animation
Bug: 72222505
Test: Manual
Change-Id: Ib5ecf13682cb34cde9c3bc315538c14a6b39e6c3
2018-04-24 14:31:51 -07:00
Winson Chung
dea51350d6 Send trim memory to trim icon cache when stopped
- Workaround for b/78520668

Bug: 76162466

Change-Id: I2c225c59484984a671186415cb1eb19161f57ba6
2018-04-24 14:07:49 -07:00
Jorim Jaggi
6e9f6838b8 Post at front of queue for app launch and recents launch
Saves one frame of delay.

Test: Open app, inspect systrace
Fixes: 78503854
Change-Id: I6ca1a039335b833f87ada0dde50ac908e70ae8cb
2018-04-24 16:30:30 +02:00
Winson Chung
e6e77ca44d Hide the IME when starting quickstep.
Bug: 73285089
Change-Id: Ifad6ffe64467754ade966165ee3c274ac9445c1f
2018-04-23 17:32:43 -07:00
TreeHugger Robot
152464dba7 Merge "Setting transparency for clear-all button." into ub-launcher3-edmonton 2018-04-23 21:28:46 +00:00
Vadim Tryshev
2670fde01e Setting transparency for clear-all button.
See visual spec: https://gallery.googleplex.com/projects/MCHbtQVoQ2HCZdNNRhNUDzOW/files/MCEf7JcwkS_N8QTSAba7WiJQwMSJbxAVNpw

Bug: 72222505
Test: Manual
Change-Id: I61c7e4ccc89396827a17450db4a5e1017a5579a1
2018-04-23 13:54:55 -07:00
Tony Wickham
c6b977a42e Remove preference to flip recents
Now we always flip recents, and don't have a setting.

Bug: 78231551
Change-Id: Icc991dbe4674e9238e1d7e39938009b51bde7bd5
2018-04-23 12:36:05 -07:00
Sunny Goyal
6aef85c417 Merge "Moving some swipe up complete logic to when the handler is completed." into ub-launcher3-edmonton 2018-04-23 19:19:58 +00:00
Sunny Goyal
0bbacc705c Moving some swipe up complete logic to when the handler is completed.
Bug: 76449024
Change-Id: I136e665495ab7164c79e1dfa0ef61090ba50fc7a
2018-04-23 12:09:22 -07:00
Jorim Jaggi
cd95352ada Remove prolonged animations
Never worked in P, not needed.

Test: Enter split screen
Bug: 77993227
Change-Id: I092c4141c23dd7ded4e11a0f54156b1abfa2b1c6
2018-04-23 11:54:21 -07:00
TreeHugger Robot
0ec3ce0bdf Merge "Compute window offset when quick scrub starts" into ub-launcher3-edmonton 2018-04-23 18:34:34 +00:00
Tony Wickham
78595cd7de Compute window offset when quick scrub starts
Instead of setting the window center to match the task center on every
update, compute the final offset when quick scrub starts and interpolate
alongside other factors such as window scale.

Bug: 78027888
Change-Id: I33b115764d46ecd6907ecb82b1ba12aeefc583c5
2018-04-23 11:24:24 -07:00
TreeHugger Robot
8b5c7d9315 Merge "Implement all apps discovery bounce." into ub-launcher3-edmonton 2018-04-23 17:36:22 +00:00
Tracy Zhou
e5575f9fff Implement all apps discovery bounce.
Mock: https://docs.google.com/presentation/d/1TCp1mREgsFAWq4hCnUaSRCpaqvDbzCVkN1mJuRMylIg/edit#slide=id.g36a3e190fb_0_6

Demo video: go/shelf_bounce_animation

Fixes: 70180942
Test: manual test
Change-Id: I6ecceb63612dd63cea62f2e6cb19d7522f3d76e0
2018-04-23 10:26:40 -07:00
Sunny Goyal
de0e588a07 Cleaning up some obsolete TODOs and methods
Change-Id: I7c3f1a68fc555899e6a1270aa2ad973197a7ed85
2018-04-20 18:01:37 -07:00
Sunny Goyal
9ea8a69bc8 Merge "Handling swipe up on a third-party launcher" into ub-launcher3-edmonton 2018-04-21 00:49:11 +00:00
Sunny Goyal
d60c00cc87 Merge "Using the activity size for swipe-dow animation in fallback+multiWindow mode" into ub-launcher3-edmonton 2018-04-21 00:48:49 +00:00
Winson Chung
b882b171e0 Only preload tasks in background when service is connected
Bug: 76162466
Test: Disable the component, ensure no task snapshots are preloaded
Change-Id: I86b66c79eb2c33796fef09d4466bc313f1c6af69
2018-04-21 00:28:27 +00:00
Sunny Goyal
6dedc222be Handling swipe up on a third-party launcher
Bug: 78125098
Change-Id: Iba4247987825bf9ce16d3494200bfea889c931e2
2018-04-20 16:33:56 -07:00
TreeHugger Robot
d39b8755b5 Merge "Force finish any pending animations if the insets or orientation change" into ub-launcher3-edmonton 2018-04-20 21:10:17 +00:00
Sunny Goyal
ed2d2bcbb8 Force finish any pending animations if the insets or orientation change
Some animation might be running from a previous orientation, which can cuase property changes
to get skipped.

Bug: 77848165
Bug: 77774619
Change-Id: I3e198196192746abdd72a1970ff2ef407bf4aff9
2018-04-20 20:53:16 +00:00
TreeHugger Robot
9d1e0f116f Merge "Making clear-all pressable correctly" into ub-launcher3-edmonton 2018-04-20 20:48:41 +00:00
Vadim Tryshev
d9e53c13b1 Making clear-all pressable correctly
Bug: 72222505
Test: Manual
Change-Id: I1ca35482a2090c329be6c906f5047612e6948ad2
2018-04-20 13:38:41 -07:00
TreeHugger Robot
48ac87350f Merge "Not sharing same task view between shortcuts" into ub-launcher3-edmonton 2018-04-20 20:05:18 +00:00
TreeHugger Robot
02632bcc1a Merge "Not ignoring insets for Clear-all button" into ub-launcher3-edmonton 2018-04-20 19:45:24 +00:00
Vadim Tryshev
4d577fc1c5 Not sharing same task view between shortcuts
SplitScreen task shortcut was written with an expectation that only one
instance would be created at a time.

No that it's used by Accessibility, SplitScreen may be asked to provide
multiple shortcuts at a time for multiple tasks, and they share same
mTaskView.

Fixing this.

Bug: 78094307
Test: Manual
Change-Id: Ib440ca862b0677ec4a012ec9f2a225183b2c91f4
2018-04-20 12:20:20 -07:00
Tony Wickham
6c5e169de6 Prevent unecessary invalidates
updateEmptyMessage() calls invalidate() whenever size has changed. We
were only updating mLastMeasuredSize when showing the empty message,
however, so we were invalidating whenever updateEmptyMessage was called.

Change-Id: Ic9046738e4f53d53aded6347a273522c53394991
2018-04-20 11:32:03 -07:00
Sunny Goyal
f3d7328518 Using the activity size for swipe-dow animation in fallback+multiWindow mode
Bug: 77281732
Change-Id: I2d652b801bcecd339fed00a43677b20d782997c6
2018-04-20 09:30:32 -07:00
Vadim Tryshev
4473658c2f Not ignoring insets for Clear-all button
When in portrait mode with nav bar on the right , we need the right
inset to be applied to the layout.

Bug: 72222505
Test: Manual
Change-Id: I06ac864097fb3cfb833de3e40921be4e19eb5f54
2018-04-19 18:43:04 -07:00
TreeHugger Robot
e13659bd5b Merge "Updating the task swipe-down UI" into ub-launcher3-edmonton 2018-04-19 23:38:13 +00:00
Sunny Goyal
7d2e40912e Updating the task swipe-down UI
Bug: 77281732
Change-Id: I1bbc1bbeee74983b3fde5e8218e08689f32ac717
2018-04-19 16:30:43 -07:00
Vadim Tryshev
e8cf0ae61f Centering empty icon.
This is more correct way that what was rolled back here: ag/3922402.

Bug: 72222505
Test: Manual
Change-Id: I2cc4549db9b6a5965523d13ffde768b3e28bc7a6
2018-04-19 13:26:48 -07:00
TreeHugger Robot
69632a46ab Merge "Linking swipe animate to stateTransition to that it gets properly reset afterwards" into ub-launcher3-edmonton 2018-04-19 18:02:12 +00:00
TreeHugger Robot
e590e0b477 Merge "Small tweaks to positioning Clear-all button" into ub-launcher3-edmonton 2018-04-19 17:22:22 +00:00
Vadim Tryshev
9a68a9ea62 Small tweaks to positioning Clear-all button
Bug: 72222505
Test: Manual
Change-Id: I920a1d712e4f72ed66cf0c31cb77cf949339b2c6
2018-04-18 18:59:56 -07:00
TreeHugger Robot
fed15f199e Merge "Implement swipe up and quick scrub onboarding (Pt. Launcher)" into ub-launcher3-edmonton 2018-04-19 00:45:09 +00:00
Tracy Zhou
5c74f7bb59 Implement swipe up and quick scrub onboarding (Pt. Launcher)
SysUI change: ag/3914771

Bug: 70180942
Test: manual test
Change-Id: I42ade28ebad6dcbbcee6dfb80791f22f36e78290
2018-04-18 17:35:33 -07:00
TreeHugger Robot
c2f651decf Merge "Removing scrolling to 0" into ub-launcher3-edmonton 2018-04-19 00:10:54 +00:00
Vadim Tryshev
f8f126c03e Removing scrolling to 0
This caused regressions in flip-order mode.

Will figure our later what should replace it when clear-all is enabled.

Bug: 72222505
Test: Manual
Change-Id: Ie3d65f550935a26efa8e8e31594dbe8f35ba1f71
2018-04-18 17:00:56 -07:00
TreeHugger Robot
173765b4e6 Merge "Always draw the background color in the task views" into ub-launcher3-edmonton 2018-04-18 23:50:54 +00:00
Winson Chung
174aae5dbd Always draw the background color in the task views
- Snapshots can now be translucent which means that we always have to draw
  the background for translucent apps

Bug: 77813801
Change-Id: I70bd77aa56ee7988e2af1b602884739837478c39
2018-04-18 16:32:32 -07:00
Vadim Tryshev
b1c33a5d3f Merge "Fixing Clear-all crawling down with time" into ub-launcher3-edmonton 2018-04-18 21:42:39 +00:00
Vadim Tryshev
5b87fa6af7 Fixing Clear-all crawling down with time
+ a small optimization.

Bug: 72222505
Test: Manual
Change-Id: I0fbdee0a85c123d201b0eb6951f244540ef48117
2018-04-18 14:17:32 -07:00
Sunny Goyal
d837a329b8 Increasing the max fling/swipe duration
Bug: 78059672
Change-Id: Iede9982b634f48f3f28732aa0d2c8413972c390b
2018-04-18 13:34:52 -07:00