TreeHugger Robot
cb4c4dea95
Merge "[Overview Actions] Add a logging event for tapping images in select mode." into ub-launcher3-rvc-qpr-dev am: 6bd1882eae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12336644
Change-Id: I2dba3dda4d6ef8a8857e18708a96ebab9da30f20
2020-08-10 16:31:55 +00:00
TreeHugger Robot
e54db4fbd4
Merge "Fixing cutouts insets not clipped properly during swipeup for rotated activities" into ub-launcher3-rvc-qpr-dev am: 2ace6a25d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12327967
Change-Id: I6e3f28e464a8ca63840a53f1b35c86cf377c4ad4
2020-08-10 16:31:44 +00:00
TreeHugger Robot
d728579504
Merge "resolve merge conflicts of 3a22956f0a to ub-launcher3-master" into ub-launcher3-master
2020-08-10 16:28:35 +00:00
Tony Wickham
f3bc797182
Update overview from home transitions
...
For both NoButtonNavbarToOverviewTouchController and
NavBarToHomeTouchController:
- Have consistent resistance applied such that RecentsView scales
down and translates up slightly (but not as much as from an app)
- Have consistent animation to home if you fling to that state
rather than stay in overview. This is handled by a new class,
OverviewToHomeAnim, which consolidates logic from NBTHTC and
overrides some interpolators such that RecentsView doesn't fade
out or translate downwards during the animation (it just slides
off the screen while the home animation plays).
Also make overview actions not clickable when alpha == 0, so that
you can tap the hotseat/qsb during the transition from home to
overview.
Bug: 144170434
Change-Id: Ic291f285ff2f63c477633c48d4fadb23cf70c28a
2020-08-08 19:18:57 +00:00
Tony Wickham
1a965c190d
resolve merge conflicts of 3a22956f0a to ub-launcher3-master
...
Change-Id: I2bb370e63d7206d52acb912d5b55a0f0c5f59c3d
2020-08-08 19:12:20 +00:00
Tony Wickham
999e08f6ff
Merge "Add swipe up resistance to quick switch from home" into ub-launcher3-rvc-qpr-dev
2020-08-08 02:18:46 +00:00
TreeHugger Robot
6bd1882eae
Merge "[Overview Actions] Add a logging event for tapping images in select mode." into ub-launcher3-rvc-qpr-dev
2020-08-08 00:53:33 +00:00
TreeHugger Robot
2ace6a25d2
Merge "Fixing cutouts insets not clipped properly during swipeup for rotated activities" into ub-launcher3-rvc-qpr-dev
2020-08-08 00:00:28 +00:00
Sunny Goyal
66aead7d2c
Removing some obsolete methods and wrapper
...
Change-Id: I9d3c8d851ad596ba0d5165ab3c0f6661575166fc
2020-08-07 16:57:07 -07:00
TreeHugger Robot
3a22956f0a
Merge "Remove overscroll on running task when it's not attached to RecentsView" into ub-launcher3-rvc-qpr-dev
2020-08-07 23:44:37 +00:00
Adam Bookatz
2104d72b28
LauncherInstrumentation enables even when non-system user
...
Attempting to run a tapl test while the device is in a secondary user
currently fails because the test app doesn't get enabled for
this secondary user. We fix that (at least one issue with it) in this cl.
Test: make PlatformScenarioTests; adb root && adb install -r -g ${ANDROID_PRODUCT_OUT}/testcases/PlatformScenarioTests/$(get_build_var TARGET_ARCH)/PlatformScenarioTests.apk
adb shell am instrument -w -r -e class android.platform.test.scenario.chrome.OpenApp android.platform.test.scenario/androidx.test.runner.AndroidJUnitRunner
(Do this while the current user is SYSTEM as well as Guest)
Bug: 162454040
Change-Id: If6d8e545b41eb20e3fed2935c39069ce97d8b6cd
2020-08-07 22:51:38 +00:00
Becky Qiu
14e03d1c4d
[Overview Actions] Add a logging event for tapping images in select mode.
...
Event IDs were generated by command line on my workstation by uieventscli.
Manually added to StatsLogManager.
Test: local
Bug: 161273376
Change-Id: Iee36c450ddb207f87653a8da2355c720369caa34
2020-08-07 15:07:04 -07:00
Tony Wickham
70a556da1d
Add translation component to swipe up resistance am: ce8b2b5180
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12174363
Change-Id: I18d7be49bb3bfc9f846c14a9138b5daf381e1d56
2020-08-07 20:22:52 +00:00
Tony Wickham
d6a1063f25
Add swipe up resistance to quick switch from home
...
Bug: 149934536
Change-Id: I1b355a16d972f94d541231449ef323a41861a3e6
2020-08-07 12:33:06 -07:00
Tony Wickham
ce8b2b5180
Add translation component to swipe up resistance
...
Now recents view follows your finger all the way to the top of the
screen. Specifically, your finger tracks the bottom of the window
until resistance starts (when RecentsView is at 75% scale), then
we add translation to compensate for the slower rate of scaling
down, such that your finger slips to the top of the window by the
time it reaches the top of the screen.
Also reset this translation back to 0 in the state handlers.
Bug: 149934536
Fixes: 158701272
Change-Id: Iaee58da758d422f0173c29d002f5c451ce0c1809
2020-08-07 12:32:50 -07:00
Samuel Fufa
87805cd941
Merge "Introduce support for Hero app Section" into ub-launcher3-master
2020-08-07 18:11:59 +00:00
Samuel Fufa
4a53c70c57
Introduce support for Hero app Section
...
[Video attached to bug report]
Bug: 162871508
Test: Manual
Change-Id: Ia6f5621d6220f55e6fd5e56530853c267838442c
2020-08-07 17:29:19 +00:00
TreeHugger Robot
62a2267ede
Merge "Merge remote-tracking branch 'goog/ub-launcher3-master' into temp"
2020-08-07 09:14:28 +00:00
TreeHugger Robot
4ade3fd561
Merge "Fix adjacent page offset in landscape orientation" into ub-launcher3-rvc-qpr-dev am: 3f20e33af6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12327711
Change-Id: I8f2da96439372a9f6671469c3c41e4c0a43a4067
2020-08-07 00:10:05 +00:00
TreeHugger Robot
3f20e33af6
Merge "Fix adjacent page offset in landscape orientation" into ub-launcher3-rvc-qpr-dev
2020-08-06 23:52:04 +00:00
Sunny Goyal
7d6abdc800
Fixing wrong velocity state when there are too few samples am: f58a2b9cd9 am: 7260bd5869 am: 9aee2f3411
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12317133
Change-Id: I508a67cb03924b8db317e025ff48f494bbdda1ba
2020-08-06 23:36:47 +00:00
Sunny Goyal
cba7dfce32
Fixing wrong velocity state when there are too few samples am: f58a2b9cd9 am: 0581f5b05b am: aaf4ee69c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12317133
Change-Id: Ibed430e1293a73dcce815d81e1b5bbcc662a0850
2020-08-06 23:36:09 +00:00
Sunny Goyal
9aee2f3411
Fixing wrong velocity state when there are too few samples am: f58a2b9cd9 am: 7260bd5869
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12317133
Change-Id: Ic613d5766a73491353a08adbb3cb5345bdd2cef3
2020-08-06 23:15:19 +00:00
Sunny Goyal
aaf4ee69c6
Fixing wrong velocity state when there are too few samples am: f58a2b9cd9 am: 0581f5b05b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12317133
Change-Id: Ib54a52ee718609908144664ebc5c61bedf55d5ed
2020-08-06 23:14:32 +00:00
Sunny Goyal
7260bd5869
Fixing wrong velocity state when there are too few samples am: f58a2b9cd9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12317133
Change-Id: I18567bc1678fa00f02c0c89760ab9b1eb356d78f
2020-08-06 22:56:18 +00:00
Sunny Goyal
0581f5b05b
Fixing wrong velocity state when there are too few samples am: f58a2b9cd9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12317133
Change-Id: Id9c756552c08d7690b99987dafadc13448a0c236
2020-08-06 22:54:57 +00:00
Tony Wickham
3b9d5843c9
Fix adjacent page offset in landscape orientation
...
Before, the adjacent tasks were coming in from the top and bottom
of the screen rather than the sides.
Bug: 149934536
Change-Id: Id6e57dcbc1967d70869df06068d25717de116934
2020-08-06 15:04:51 -07:00
Sunny Goyal
d00340f7a2
Fixing cutouts insets not clipped properly during swipeup
...
for rotated activities
Bug: 161939759
Change-Id: Ia55f938fdc51e2813c205d7d13d5f1bf852c9bb2
2020-08-06 14:29:15 -07:00
Andy Wickham
8ccd877f42
Merge "Adjusts Clear all to be vertically centered with the tasks." into ub-launcher3-master
2020-08-06 19:37:35 +00:00
Hyunyoung Song
bb71582658
Merge remote-tracking branch 'goog/ub-launcher3-master' into temp
...
Test: make builds
Change-Id: I4e845aa51c9247328159e5aa0d95d425bffa435c
2020-08-06 11:04:41 -07:00
Sunny Goyal
f58a2b9cd9
Fixing wrong velocity state when there are too few samples
...
Bug: 160568387
Change-Id: I32b3b7ee1bff5595941fc0c0b37c9f5a28d1a1fa
(cherry picked from commit 48afb6b3b9 )
2020-08-06 16:51:08 +00:00
Andy Wickham
17d0080cc3
Adjusts Clear all to be vertically centered with the tasks.
...
I made a sample task where the content of the app was
centered, and I added lines to demonstrate the center
while in Overview. As you can see, the center of the
app content is slightly different from the TaskView
in Recents - it seems part of the bottom of the app
gets removed when transitioning to Recents (for the
rounded corner radius or nav bar?). On Pixel 4, I
had to add 46dp of padding to the bottom line for it
to appear at the bottom of the screenshot in Recents.
Screenshot: https://drive.google.com/file/d/1xzQNXWb0T0UGDhDS9Ov-AduM3nd-pfg8/view?usp=sharing
Before: https://drive.google.com/file/d/1ghN9VWP44XjcZkdmI106dy4_jB4Vs4J3/view?usp=sharing
Rotating between landscape and portrait:
https://drive.google.com/file/d/1OD5aKT9LCE5w950-6AaHfWXU4sLyW3Qe/view?usp=sharing
Fixes: 154964045
Change-Id: I594057e3b5df58c5a907b6ca14daa700d5011b7b
2020-08-05 19:44:07 -07:00
Tony Wickham
b8b3e957a6
Fix TaskViewTouchController success progress to match haptic
...
We use the interpolated progress of the animation contoller target
to determine success, but only the child animation had the
interpolator set. Updating the parent to use the same interpolator
ensures getInterpolatedProgress() returns the same one used to
play the haptic.
Fixes: 161536946
Change-Id: Ibc2aef67f53efa01f2b185cf03140bad4bb5c421
2020-08-05 18:43:53 -07:00
Automerger Merge Worker
1cb3649c62
Merge "Disable auto correct/suggest on folder edit text am: 9b98d13022 am: 30357d8f89" into rvc-qpr-dev-plus-aosp am: cc78964df0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12291900
Change-Id: I91f2f23db1ee1d4e625aaf38630fce6263e87fd7
2020-08-05 21:17:21 +00:00
Hyunyoung Song
ca4064e100
Disable auto correct/suggest on folder edit text am: 9b98d13022 am: 330113561e am: 6d30769734
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12291900
Change-Id: I0375df3b93633aa3b59b92c3b5e0c5f7f948ecad
2020-08-05 21:17:12 +00:00
Automerger Merge Worker
cc78964df0
Merge "Disable auto correct/suggest on folder edit text am: 9b98d13022 am: 30357d8f89" into rvc-qpr-dev-plus-aosp
2020-08-05 20:52:55 +00:00
Hyunyoung Song
6d30769734
Disable auto correct/suggest on folder edit text am: 9b98d13022 am: 330113561e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12291900
Change-Id: I25581476b05e41c04fcf9358cf002adcc4514324
2020-08-05 20:52:51 +00:00
Hyunyoung Song
d8766de1d9
Disable auto correct/suggest on folder edit text am: 9b98d13022 am: 30357d8f89
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12291900
Change-Id: Ic628e6886a634d9880e4854244b2a0e491138e15
2020-08-05 20:52:51 +00:00
Tony Wickham
3af714f052
Remove overscroll on running task when it's not attached to RecentsView
...
This allows the running task to follow the finger freely until motion
pause is detected (or when trying to quick switch in a direciton that
has no tasks, as RecentsView is still attached until you swipe up).
Bug: 149934536
Change-Id: If68166e962af9f28c56017838f720e15ddb96560
2020-08-05 13:37:48 -07:00
Hyunyoung Song
330113561e
Disable auto correct/suggest on folder edit text am: 9b98d13022
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12291900
Change-Id: I49ad0f2a9ef73bad1a5d7e0dc609abedcacab27c
2020-08-05 20:25:52 +00:00
Hyunyoung Song
30357d8f89
Disable auto correct/suggest on folder edit text am: 9b98d13022
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12291900
Change-Id: I9b565df623c5fdfc69530bfdfcc68e3f7b8175c4
2020-08-05 20:25:48 +00:00
TreeHugger Robot
7f28b8814b
Merge "Moving data sanitization to the end, as it need not block the loading" into ub-launcher3-master
2020-08-05 19:44:57 +00:00
Treehugger Robot
34ec7657bb
[automerger skipped] Merge "AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE" am: af6968dcec am: c7e0fc92e2 -s ours am: f617d254ca am: d528e9dc72 am: 8e7fd4347d -s ours
...
am skip reason: subject contains skip directive
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1389245
Change-Id: I13b989274db7d3ddaa09d318b122ccb81d9dcee4
2020-08-05 19:09:33 +00:00
Raman Tenneti
2abbd9f960
[automerger skipped] AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE am: d0a660cf22 am: b9bb107cbe -s ours am: 5118ee7309 am: f09196f903 am: 4c7f1e0525 -s ours
...
am skip reason: subject contains skip directive
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1389245
Change-Id: Ia4a2c1854d94db60d14f5c409ebb966f9861bd68
2020-08-05 19:09:31 +00:00
Treehugger Robot
8e7fd4347d
[automerger skipped] Merge "AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE" am: af6968dcec am: c7e0fc92e2 -s ours am: f617d254ca am: d528e9dc72
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1389245
Change-Id: Ic02bcb129b01950cca8b41e509cb989ac03a9b61
2020-08-05 18:52:14 +00:00
Raman Tenneti
4c7f1e0525
[automerger skipped] AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE am: d0a660cf22 am: b9bb107cbe -s ours am: 5118ee7309 am: f09196f903
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1389245
Change-Id: Iaf291364b8223a7034cf87f921c110df6f2bc79c
2020-08-05 18:52:12 +00:00
Treehugger Robot
d528e9dc72
[automerger skipped] Merge "AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE" am: af6968dcec am: c7e0fc92e2 -s ours am: f617d254ca
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1389245
Change-Id: Ic3557075b54f6f44fc1cb31fea7eff6536b858cd
2020-08-05 18:29:57 +00:00
Raman Tenneti
f09196f903
[automerger skipped] AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE am: d0a660cf22 am: b9bb107cbe -s ours am: 5118ee7309
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1389245
Change-Id: Id11d948c39010daeeb9356adcc5a7f2d0c413834
2020-08-05 18:29:55 +00:00
Treehugger Robot
f617d254ca
[automerger skipped] Merge "AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE" am: af6968dcec am: c7e0fc92e2 -s ours
...
am skip reason: subject contains skip directive
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1389245
Change-Id: I2fdfd4d0e070d887121b53d557114083d4ed9501
2020-08-05 18:10:17 +00:00
Raman Tenneti
5118ee7309
[automerger skipped] AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE am: d0a660cf22 am: b9bb107cbe -s ours
...
am skip reason: subject contains skip directive
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1389245
Change-Id: I88a63b6a030a358386d18bca464654b33ce187de
2020-08-05 18:10:13 +00:00