TreeHugger Robot
1bdb8f0efc
Merge "Removing some obsolete methods and wrapper" into ub-launcher3-master
2020-08-11 18:57:13 +00:00
Hyunyoung Song
3003e57d17
Merge "Handle IME selection focus for ENABLE_DEVICE_SEARCH" into ub-launcher3-master
2020-08-11 17:56:59 +00:00
Hyunyoung Song
5dd045bec6
Handle IME selection focus for ENABLE_DEVICE_SEARCH
...
Bug: 162861289
Change-Id: I15e4eae09be2aa9f89a5157fd74c95e91e64bc53
2020-08-11 09:27:45 -07:00
Tony Wickham
e14b55c2a9
Merge "Don't reapply window transform if we are already running a window anim" into ub-launcher3-rvc-qpr-dev
2020-08-11 00:19:28 +00:00
TreeHugger Robot
b810c10bb9
Merge "Ensure that the task is always clipped to match the tile aspect ratio" into ub-launcher3-master
2020-08-10 23:55:24 +00:00
TreeHugger Robot
9fc65cb0b7
Merge "Fix TaskViewTouchController success progress to match haptic" into ub-launcher3-rvc-qpr-dev am: b460ff1ef1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12321076
Change-Id: Ic4317b94cca7d760d23da0c1c115d422236586e7
2020-08-10 23:02:20 +00:00
TreeHugger Robot
b460ff1ef1
Merge "Fix TaskViewTouchController success progress to match haptic" into ub-launcher3-rvc-qpr-dev
2020-08-10 22:46:03 +00:00
Sunny Goyal
b55f7591ed
Ensure that the task is always clipped to match the tile aspect ratio
...
Instead of trying to estimate the insets, we clip the task such it is
restricted within the task insets when possible.
Change-Id: If160115fda07dfd2e01e96d41e4b5dc43a77ac94
2020-08-10 15:42:38 -07:00
Tony Wickham
06513f11c2
Don't reapply window transform if we are already running a window anim
...
Bug: 149934536
Change-Id: I3fa7f0b2581ca83923a42f37f52850b02c22e995
Merged-In: I3fa7f0b2581ca83923a42f37f52850b02c22e995
2020-08-10 22:20:36 +00:00
Tony Wickham
c830bef923
Don't reapply window transform if we are already running a window anim
...
Bug: 149934536
Change-Id: I3fa7f0b2581ca83923a42f37f52850b02c22e995
2020-08-10 15:19:33 -07:00
Tony Wickham
cf5aea05b3
Update overview from home transitions am: 03a4a0cd53
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12184426
Change-Id: Iac33ad0742264a97e754a1cc4336ed3ab727944a
2020-08-10 21:29:00 +00:00
Tony Wickham
2fe0d5f71d
Merge "Add back code missing from upstream merge" into ub-launcher3-master
2020-08-10 21:08:54 +00:00
Tony Wickham
03a4a0cd53
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-10 13:15:23 -07:00
Tony Wickham
90751820d9
Add back code missing from upstream merge
...
Change-Id: I7c2f08ed1b9c7462feabe1ad793af4ddc55aff1b
2020-08-10 13:11:43 -07:00
TreeHugger Robot
a2c6c97374
Merge "Revert "Update overview from home transitions"" into ub-launcher3-master
2020-08-10 20:01:06 +00:00
Tony Wickham
e6f9e0eb7e
Revert "Update overview from home transitions"
...
This reverts commit f3bc797182 .
Reason for revert: updating upstream, need to wait to cherry-pick until that's approved
Change-Id: I702286dba66fb4582ab682a5b0b8cd80ccebf346
2020-08-10 19:13:17 +00:00
Tony Wickham
c0ed292ccb
Merge "Add swipe up resistance to quick switch from home" into ub-launcher3-rvc-qpr-dev am: 999e08f6ff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12174364
Change-Id: I6ce2dbb31ec8ed0d340165b2fc9a9f0532081d3e
2020-08-10 16:32:08 +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
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
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
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
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
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
Tracy Zhou
e7c1769e30
Merge "Revert "Finish recents animation when launching another task in Overview"" into ub-launcher3-master
2020-08-05 17:42:43 +00:00
Winson Chung
b3d7ecc15b
Merge "Close system dialogs when opening all apps from system action" into ub-launcher3-master
2020-08-05 05:49:31 +00:00
Winson Chung
dd15acea87
Close system dialogs when opening all apps from system action
...
Bug: 161685099
Change-Id: I67313340102816828a95e8f9e7d8fa19b4ca3c55
2020-08-04 21:53:49 -07:00
Jason Chang
8aaafc9186
Merge "Refactoring One-Handed feature flag and others" into ub-launcher3-master
2020-08-05 04:28:29 +00:00
Tracy Zhou
f8e9b467ae
Revert "Finish recents animation when launching another task in Overview"
...
This reverts commit e62eaa16b3 .
Reason for revert: No longer necessary
Change-Id: I9ed533147ac5546b7da6c9e3a51f5a7e6c8ef8e6
2020-08-04 21:57:14 +00:00
Samuel Fufa
e8bea3ea7a
Allow search results decoration [part 2/3]
...
[Video attached to bug report]
Bug: 162480567
Test: Manual
Change-Id: Iff285abde5b2a3f3f3a63e7318020cfe7572af49
2020-08-04 10:28:28 -07:00
Jason Chang
f66f2f66cf
Refactoring One-Handed feature flag and others
...
Purify some conditions for reducing redundancy codes.
Test: manual
Change-Id: I2f39207424f9db3fb6b12bc08bee525f3dfab0aa
2020-08-04 19:59:42 +08:00
Raman Tenneti
ab98166c36
AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance.
...
See https://source.android.com/setup/contribute/respectful-code for reference
BUG=161896447
Test: make and Presubmit verify.
Change-Id: I44e903046dd4cd9c7c07872fc56a8d552eb09522
2020-08-04 00:35:03 +00:00
TreeHugger Robot
cb89edcbcc
Merge "Changing minimum supported Launcher version to 26" into ub-launcher3-master
2020-08-03 22:24:14 +00:00
TreeHugger Robot
ffc06198ff
Merge "Rewrite long swipe resistance ("pullback") logic" into ub-launcher3-rvc-qpr-dev
2020-08-03 22:11:30 +00:00