Tony Wickham
6a6301c569
Always return RecentsView to translation 0 on drag end
...
After reaching overview, we let the user translate RecentsView
if they continue dragging around. But when they let go, we need
to return RecentsView to translation 0 since that's no longer
part of the state machine.
Change-Id: I30b51485339a3b6c3dd52bda113b1a05b6e885fa
2020-04-22 18:42:40 -05:00
TreeHugger Robot
cea3ed48e5
Merge "Stop computing scroll if handler is invalidated" into ub-launcher3-rvc-dev
2020-04-22 23:39:11 +00:00
TreeHugger Robot
2309597c9a
Merge "[Overview Actions] Update the navigation mode immediately when switch." into ub-launcher3-rvc-dev
2020-04-22 23:34:00 +00:00
Tony Wickham
22757e840c
Don't allow swiping from overview to all apps in 3 button mode
...
Bug: 154761926
Change-Id: I155faec27f3b96e2f11aaec318d6846a893885e6
2020-04-22 23:13:48 +00:00
TreeHugger Robot
23a5c8009b
Merge "Fixing recentsView getting translated in NavBarToHomeTouchController" into ub-launcher3-rvc-dev am: 3e60577fa1
...
Change-Id: Ib0b9ae6621726361d6143b07b9be1c895bf3eec8
2020-04-22 23:00:13 +00:00
Becky Qiu
72c53af896
[Overview Actions] Update the navigation mode immediately when switch.
...
This would fix the issue that overview actions UI visibility was not set correctly.
Test: local
Bug: 152047880
Change-Id: Ia335c5c8947b39e580403090f461f87e78645af1
2020-04-22 15:57:34 -07:00
TreeHugger Robot
3e60577fa1
Merge "Fixing recentsView getting translated in NavBarToHomeTouchController" into ub-launcher3-rvc-dev
2020-04-22 22:42:46 +00:00
TreeHugger Robot
62cc754083
Merge "Assistive chip: Adjusting chip UI" into ub-launcher3-rvc-dev am: 65a0cc72ae
...
Change-Id: Id4f3e6d1103abdc566f2c4f210ce38597cc1a53b
2020-04-22 22:02:12 +00:00
TreeHugger Robot
65a0cc72ae
Merge "Assistive chip: Adjusting chip UI" into ub-launcher3-rvc-dev
2020-04-22 21:50:02 +00:00
Sunny Goyal
de4815bdad
Fixing recentsView getting translated in NavBarToHomeTouchController
...
Bug: 154657409
Change-Id: I4d7f3cac52b563370d612dd29d5e7322645b5cbe
2020-04-22 14:23:55 -07:00
TreeHugger Robot
46e018fd5c
Merge "Fixing animation player not overshooting spring animation; tuning springs" into ub-launcher3-rvc-dev am: cf3bed973c
...
Change-Id: I507741080a49e0d432e31573125bcf494f60d866
2020-04-22 21:16:28 +00:00
Vinit Nayak
e553e380d0
Rotate Overview Task Action Menu
...
Fixes: 153371258
Test: Tap on icon in portrait,
landscape and seascape. Open menu
then rotate phone.
Change-Id: I38b018371561b502fe211a3c2ddea4ff7fde4274
2020-04-22 14:16:05 -07:00
TreeHugger Robot
cf3bed973c
Merge "Fixing animation player not overshooting spring animation; tuning springs" into ub-launcher3-rvc-dev
2020-04-22 20:52:35 +00:00
Sreyas
71a091fe8a
Assistive chip: Adjusting chip UI
...
Change-Id: I2970107f4324a5f01e0df4a6adf21875412582c6
2020-04-22 13:33:36 -07:00
Sunny Goyal
7f9e8e2d27
Fixing animation player not overshooting spring animation; tuning springs
...
=> setCurrentPlayTime is bounded between [0, duration] by the animation framework
Instead using interpolator so that we can go outside the bounds
=> Tune spring stiffness and dampening for overview card dismiss animations
Bug: 154061408
Change-Id: Iaa31491fff499db916b36d9779ec159b8a89a2de
2020-04-22 12:54:31 -07:00
TreeHugger Robot
f87c5d41d0
Merge "Moving various orientation related config in RecentsOrientaedState" into ub-launcher3-rvc-dev am: 6db6a59f86
...
Change-Id: Iae760a685c06130e81947f9868b3a72e8ed1fedc
2020-04-22 19:28:54 +00:00
TreeHugger Robot
6db6a59f86
Merge "Moving various orientation related config in RecentsOrientaedState" into ub-launcher3-rvc-dev
2020-04-22 19:19:34 +00:00
TreeHugger Robot
e746db7783
Merge "Adding common code for instrumentation and robolectric tests" into ub-launcher3-rvc-dev am: cee56f039e
...
Change-Id: Iec12b8bb16cdbd1b88b0930059a9dfad9a9dea00
2020-04-22 18:03:23 +00:00
TreeHugger Robot
cee56f039e
Merge "Adding common code for instrumentation and robolectric tests" into ub-launcher3-rvc-dev
2020-04-22 17:49:22 +00:00
Sunny Goyal
b7833f8193
Moving various orientation related config in RecentsOrientaedState
...
> Fixing RecentsOrientationState values for fallback recents
> Using proper rotation in task simulator
Change-Id: I770e7c8850e469f5dc0ce6f89889672f2decdc0d
2020-04-22 10:49:02 -07:00
Govinda Wasserman
df280add9e
Merging from ub-launcher3-rvc-dev @ build 6418896
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6418896.html
Change-Id: I9ce7f3e6a95d278509fe18b36c84d871a76066f1
2020-04-22 15:35:47 +00:00
Ming-Shin Lu
99f7da7dd2
Fix AlwaysOnTop stack may covered by RemoteAnimation
...
Now with hierarachical animation, the layer of
RecentsAnimation / RemoteAnimation are controlled by system.
Now Launcher side don't need to have other way to set layer for ZBoost
case, so remove setLayer & withLayer related logics for cleaning up.
Fix: 151024899
Test: manual, launch google map app -> enter PiP mode,
swipe up to overview screen or launch activity from shortcut,
make sure the PiP window is not covered by other apps.
Change-Id: I8028cd50d66f7d77e5d1ec6514e953c8be9935d6
2020-04-22 22:00:24 +08:00
Jonathan Miranda
968424b89a
Merge "Ensures that the swipe up to home animation is ended prior to view recycling." into ub-launcher3-rvc-dev am: 8451542a25
...
Change-Id: Icab7d2e70b4428abf1f8b1c9fb97bee7bf49c6ac
2020-04-22 05:45:06 +00:00
Jonathan Miranda
8451542a25
Merge "Ensures that the swipe up to home animation is ended prior to view recycling." into ub-launcher3-rvc-dev
2020-04-22 05:31:37 +00:00
TreeHugger Robot
97303d1f05
Merge "Fixing activity leak via ActivityInitListener" into ub-launcher3-rvc-dev am: 585628e270
...
Change-Id: I2dfa8e7651ebd7b70b6e2c92ed0008b4a6f2a8ba
2020-04-22 03:21:18 +00:00
TreeHugger Robot
585628e270
Merge "Fixing activity leak via ActivityInitListener" into ub-launcher3-rvc-dev
2020-04-22 03:07:01 +00:00
TreeHugger Robot
5641feeb66
Merge "Fixing crash when emptyView gets added twice" into ub-launcher3-rvc-dev am: 947905d28b
...
Change-Id: Iae90cf1244b7b36d06beff17d8a3972f4cf5240c
2020-04-22 00:43:46 +00:00
TreeHugger Robot
947905d28b
Merge "Fixing crash when emptyView gets added twice" into ub-launcher3-rvc-dev
2020-04-22 00:30:43 +00:00
vadimt
5a804dcbaf
Fixing activity leak via ActivityInitListener
...
Bug: 139137636
Change-Id: I49ac81dfc69f63211d832bf558517c534f51eab8
2020-04-21 15:35:23 -07:00
Jon Miranda
d08f8ac409
Ensures that the swipe up to home animation is ended prior to view recycling.
...
Bug: 154163960
Change-Id: I70b2c6290a2a17be8b80ba0209528173d6627332
2020-04-21 15:12:40 -07:00
Tony Wickham
9df3f0cebf
Stop computing scroll if handler is invalidated
...
Bug: 153589287
Change-Id: I0282ec82fe4ae1f74a0f4342471ffd53f43095d7
2020-04-21 16:24:47 -05:00
Winson Chung
be368ee106
Merge "Disable blurs while in multiwindow mode" into ub-launcher3-rvc-dev am: 674e38fdb6
...
Change-Id: I4859339665a33bfc1d17b3962e1c5665c6c7fd24
2020-04-21 19:47:05 +00:00
Sunny Goyal
d4995e1eec
Adding TaskViewSimulator for simulating taskView layout on a remote target am: f2393f1d20
...
Change-Id: I020e4b56de42e455b92c078bf4c8502fa3f0713c
2020-04-21 19:46:57 +00:00
Winson Chung
674e38fdb6
Merge "Disable blurs while in multiwindow mode" into ub-launcher3-rvc-dev
2020-04-21 19:39:17 +00:00
Sunny Goyal
f2393f1d20
Adding TaskViewSimulator for simulating taskView layout on a remote target
...
1. Tanslating contents of RecentsView instead of recentsView itself. When
translating, we keep the current TaskView from moving. This allows
the remoteTarget to follow an individual taskView.
2. Removing translationY in recentsView and setting the pivot instead
3. Using TaskViewSimulator for swipe handler. This allows using similar
animation creation as Launcher window animation.
Change-Id: I0b7b16c367d9d8cd8dd0ed59061e46853e2f8c83
2020-04-21 11:16:21 -07:00
Vinit Nayak
0bbc769374
Merge "Rotate overview only if system rotation allowed" into ub-launcher3-rvc-dev am: 0755ac908c
...
Change-Id: I289db16f3f3a309486933249c206cf4b36b070a6
2020-04-21 18:11:36 +00:00
Vinit Nayak
0755ac908c
Merge "Rotate overview only if system rotation allowed" into ub-launcher3-rvc-dev
2020-04-21 17:57:00 +00:00
Winson Chung
b330d6e6f8
Disable blurs while in multiwindow mode
...
- With hierarchical animations, the split-secondary shell root
is moved above the split-primary shell root immediately during
transitions, which means that setting the blur on the launcher
surface will also affect the primary docked surface
Bug: 154125518
Change-Id: I21dd01738ee9bc974d41e5964364917a30143a2a
2020-04-21 10:28:43 -07:00
Vinit Nayak
94541b99b9
Rotate overview only if system rotation allowed
...
Don't rotate overview if all of launcher can
be rotated.
Fixes: 154243745, 154299710
Test: Toggled system rotation while overview
was showing. Also toggled home rotation to
ensure no intermediate overview rotation
animation.
Change-Id: I49acf2dafb84e7f05c46f8908ba9ffdd43f1d1e7
2020-04-20 23:22:47 -07:00
TreeHugger Robot
256f85da78
Merge "Removes Sandbox from gesture-excluding activities." into ub-launcher3-rvc-dev am: 0f6ecb675e
...
Change-Id: Ic59be6172f2f7d45f51f4894f7d4895b0ff10a2f
2020-04-21 00:51:46 +00:00
TreeHugger Robot
0f6ecb675e
Merge "Removes Sandbox from gesture-excluding activities." into ub-launcher3-rvc-dev
2020-04-21 00:19:46 +00:00
Samuel Fufa
f5b0f97152
resolve syntax issue introduced by ag/11174880 am: 1b3f77724f
...
Change-Id: I54ac6f458f673d5238a5f1951f04747a38d058e8
2020-04-21 00:04:51 +00:00
TreeHugger Robot
3aba2e0e9f
Merge "Predicted icon ring embellishments" into ub-launcher3-rvc-dev am: fe68150f35
...
Change-Id: I06ade79555397770e8750c1f162bcfe1a3c4691b
2020-04-21 00:04:46 +00:00
Samuel Fufa
1b3f77724f
resolve syntax issue introduced by ag/11174880
...
Change-Id: I46911fb32384c40dac42459bb391001be8774ae8
2020-04-20 16:56:14 -07:00
TreeHugger Robot
fe68150f35
Merge "Predicted icon ring embellishments" into ub-launcher3-rvc-dev
2020-04-20 23:47:11 +00:00
Samuel Fufa
9b7d913901
Predicted icon ring embellishments
...
Screenshot: https://screenshot.googleplex.com/yFfiDbHiyq6
- Wrap ring around badge
- Add shadow to ring
Bug: 153201272
Bug: 152560070
Test: Manual
Change-Id: Ic1f726d080a8e6768417e5174a855a57f3241166
2020-04-20 16:46:14 -07:00
Andy Wickham
7a478e25a2
Removes Sandbox from gesture-excluding activities.
...
Not needed now that Sandbox runs in Launcher's process/task.
Change-Id: I9e3e03be89d5305a3a7afe201164512d59aea470
2020-04-20 23:35:13 +00:00
TreeHugger Robot
d59848e045
Merge "Don't show shelf bounce when there's no shelf in Overview" into ub-launcher3-rvc-dev am: e922b06cf4
...
Change-Id: Ie0db510b635d49228d155cbc3c838ad391c3fde1
2020-04-20 22:41:48 +00:00
TreeHugger Robot
e922b06cf4
Merge "Don't show shelf bounce when there's no shelf in Overview" into ub-launcher3-rvc-dev
2020-04-20 22:30:40 +00:00
Sunny Goyal
34ff8cb3c1
Adding common code for instrumentation and robolectric tests
...
Change-Id: Ia338f0565868bb174ef5f6721924944792866be6
2020-04-20 14:42:30 -07:00