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 and Automerger Merge Worker
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 and Android (Google) Code Review
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 and Automerger Merge Worker
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 and Automerger Merge Worker
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 and Automerger Merge Worker
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 and Automerger Merge Worker
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 and Android (Google) Code Review
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 and Automerger Merge Worker
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 and Automerger Merge Worker
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 and Automerger Merge Worker
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 and Automerger Merge Worker
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 and Automerger Merge Worker
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 and Automerger Merge Worker
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 and Automerger Merge Worker
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 and Automerger Merge Worker
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
Treehugger Robot and Automerger Merge Worker
c7e0fc92e2
Merge "AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE" am: af6968dcec
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1389245
Change-Id: Ifbdb131abace787a21d5e7e53e4531598ddf0607
2020-08-05 17:54:47 +00:00
Raman Tenneti and Automerger Merge Worker
b9bb107cbe
AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE am: d0a660cf22
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1389245
Change-Id: I8d212a52072c180304707a51d1031c23a31d2a9a
2020-08-05 17:54:45 +00:00
Tracy Zhou and Android (Google) Code Review
e7c1769e30
Merge "Revert "Finish recents animation when launching another task in Overview"" into ub-launcher3-master
2020-08-05 17:42:43 +00:00
Treehugger Robot and Gerrit Code Review
af6968dcec
Merge "AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE"
2020-08-05 17:40:02 +00:00
Raman Tenneti
d0a660cf22
AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance. DO NOT MERGE
...
Fixed check-style errors.
These files are AOSP specific files and they don't exist in the internal code.
See https://source.android.com/setup/contribute/respectful-code for reference
BUG=161896447
Test: m and Launcher3Tests
$ find out -name "Launcher*.apk" -print -exec ls -l {} \;
out/target/product/bonito/testcases/Launcher3Tests/arm64/Launcher3Tests.apk
-rw-r----- 1 rtenneti primarygroup 947525 Aug 4 16:22 out/target/product/bonito/testcases/Launcher3Tests/arm64/Launcher3Tests.apk
out/target/product/bonito/system_ext/priv-app/Launcher3QuickStep/Launcher3QuickStep.apk
-rw-r----- 1 rtenneti primarygroup 9249956 Aug 4 16:20 out/target/product/bonito/system_ext/priv-app/Launcher3QuickStep/Launcher3QuickStep.apk
Change-Id: I428eaa50ada96567a3b583eca1aa8ee2d8b85e6b
2020-08-05 17:17:35 +00:00
Winson Chung and Automerger Merge Worker
c226adb384
Defer recreation until resumed am: 3f8d868110
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12309024
Change-Id: I814a6cab9046b82d66426fbe19636087cfd3e2b6
2020-08-05 06:02:28 +00:00
Winson Chung and Android (Google) Code Review
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 and Android (Google) Code Review
8aaafc9186
Merge "Refactoring One-Handed feature flag and others" into ub-launcher3-master
2020-08-05 04:28:29 +00:00
Sunny Goyal
77ca1e4c40
Moving data sanitization to the end, as it need not block
...
the loading
Change-Id: If1a966e546127efafd0afd7e3ca771f63a1fa544
2020-08-04 17:29:16 -07: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
Winson Chung
3f8d868110
Defer recreation until resumed
...
- Temporarily work around issue with activity recreation while started
but not resumed by deferring recreating the activity on theme
change until after launcher has resumed.
Bug: 162812884
Test: Switch dark mode via QuickSettings, Settings
Test: Change system theme
Change-Id: Ifbc0d538907a30d6b23176cd67353a81b6f8c617
2020-08-04 14:03:42 -07:00
Samuel Fufa
60096e990a
Remove mFilteredApps
...
Currently, we are maintaining a list of appInfos to report the number of Accessibility recycler-view items. This could be done by maintaining an int.
Bug: 162480567
Test: Manual
Change-Id: I9de8e1d4ac6e1a674d1e19b591dedad0dd4cc536
2020-08-04 11:24:46 -07: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 and Automerger Merge Worker
12e59e9a66
[automerger skipped] Merge "Rewrite long swipe resistance ("pullback") logic" into ub-launcher3-rvc-qpr-dev am: ffc06198ff -s ours
...
am skip reason: Change-Id Ib0f9da18e10cc9ddf1a2f82ed767f237c89d3a41 with SHA-1 03c38c5c66 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12174362
Change-Id: Ie0fc8684a14ce7ea9730e7160551adbc2bc4b97c
2020-08-03 23:04:08 +00:00
TreeHugger Robot and Android (Google) Code Review
cb89edcbcc
Merge "Changing minimum supported Launcher version to 26" into ub-launcher3-master
2020-08-03 22:24:14 +00:00
TreeHugger Robot and Android (Google) Code Review
ffc06198ff
Merge "Rewrite long swipe resistance ("pullback") logic" into ub-launcher3-rvc-qpr-dev
2020-08-03 22:11:30 +00:00
Tony Wickham
354a436f4e
Rewrite long swipe resistance ("pullback") logic
...
- Rename "pullback" to "resistance" to reduce confusion.
- Remove mDragLengthFactorStartPullback & mDragLengthFactorMaxPullback
- Add AnimatorControllerWithResistance, which has 2 controllers, one
for the normal shift to overview, then one to apply the resistance
when swiping beyond that.
- Don't hack animator interpolators/progress; insteaad, allow progress
to go > 1 (which will run the separate resistance animator).
- Don't start launcher controller separately from window controller;
instead, both are controlled by mCurrentShift in updateFinalShift().
- The resistance animation logic is shared by both the active window
and launcher (RecentsView).
Bug: 149934536
Change-Id: Ib0f9da18e10cc9ddf1a2f82ed767f237c89d3a41
Merged-In: Ib0f9da18e10cc9ddf1a2f82ed767f237c89d3a41
2020-08-03 21:01:46 +00:00
Tony Wickham
03c38c5c66
Rewrite long swipe resistance ("pullback") logic
...
- Rename "pullback" to "resistance" to reduce confusion.
- Remove mDragLengthFactorStartPullback & mDragLengthFactorMaxPullback
- Add AnimatorControllerWithResistance, which has 2 controllers, one
for the normal shift to overview, then one to apply the resistance
when swiping beyond that.
- Don't hack animator interpolators/progress; insteaad, allow progress
to go > 1 (which will run the separate resistance animator).
- Don't start launcher controller separately from window controller;
instead, both are controlled by mCurrentShift in updateFinalShift().
- The resistance animation logic is shared by both the active window
and launcher (RecentsView).
Bug: 149934536
Change-Id: Ib0f9da18e10cc9ddf1a2f82ed767f237c89d3a41
2020-08-03 13:59:38 -07:00
Hyunyoung Song
9b98d13022
Disable auto correct/suggest on folder edit text
...
Bug: 160075575
Bug: 152541144
TL;DR;; displayCompletions still work
Change-Id: I0a7cd06d25ae3976371be0707a2783702b92e8cc
(cherry picked from commit 37bda2bcc9 )
2020-08-03 08:27:18 +00:00
Hyunyoung Song and Android (Google) Code Review
a1f96b9083
Merge "Using StatsLog for notifyingAppPredictor"
2020-08-03 06:57:07 +00:00
vadimt and Hyunyoung Song
a6f9cc023c
Increasing wait time for end-action events.
...
This is supposed to fix a flake in one of widgets tests.
The end-scroll event is posted by the system server to another thread
may arrive in ~13 sec.
The delay may have been caused by the previous test that just created
and deleted a user, so the system is busy with processing that.
Bug: 160238801
Change-Id: I43d0804252202ae04c731f35fb219c4be4bd4a76
(cherry picked from commit ba161b7393 )
2020-08-01 07:09:13 +00:00
Sunny Goyal and Hyunyoung Song
35376a3591
Using StatsLog for notifyingAppPredictor
...
> Adding a listener in StartsLogManager for listening to events.
This allows events to be directored to the predictor only if
it is already running, instead of creating it.
> Unifying the event format to be same as hotseat predictor
Bug: 160748731
Change-Id: Ib00e6249ff642c030f00bcad5b748255e704d16a
2020-08-01 07:02:31 +00:00
TreeHugger Robot and Automerger Merge Worker
707727b6ae
Merge "Creating UI tests for overview action buttons." into ub-launcher3-rvc-qpr-dev am: bf84725855 am: 8c10f6801f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12242419
Change-Id: I3cd8c26f5e774c5d54683c21006060d2d19fdf19
2020-07-31 21:54:17 +00:00
Tracy Zhou and Android (Google) Code Review
ccb7029e31
Merge "Reset live tile task view simulator params" into ub-launcher3-master
2020-07-31 21:32:33 +00:00
TreeHugger Robot and Automerger Merge Worker
8c10f6801f
Merge "Creating UI tests for overview action buttons." into ub-launcher3-rvc-qpr-dev am: bf84725855
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12242419
Change-Id: I3e5cb20529c97ee62c3fac12d2900760b01c8708
2020-07-31 21:26:58 +00:00
TreeHugger Robot and Android (Google) Code Review
bf84725855
Merge "Creating UI tests for overview action buttons." into ub-launcher3-rvc-qpr-dev
2020-07-31 21:03:54 +00:00