Alex Chau
aef83ce2a0
Merge "Disable header protection on tablets" into tm-qpr-dev am: f6674c27f7 am: 352e59ff3c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19034929
Change-Id: I2be7027ad8fa64af832573bb49dd2e85eba49c8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-24 10:39:47 +00:00
Alex Chau
f6674c27f7
Merge "Disable header protection on tablets" into tm-qpr-dev
2022-06-24 10:02:51 +00:00
Sebastián Franco
13d5b412cb
Merge "Make Talkback anounce which page is the icon being move on." into tm-qpr-dev am: 578fbee848 am: 563d85ea48
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18918709
Change-Id: I16a78c864d2073812921939b4c63b6f2bb721a59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-24 07:39:44 +00:00
Sunny Goyal
e79ec7b842
Merge "Moving widget padding to drawable instead of using itemDecorator" into tm-qpr-dev am: 1f5cc67c13 am: 0d9e46bbd5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19053219
Change-Id: I9a6ad31bdae09dff297a4213337af4e1bb3ac9fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-24 06:56:41 +00:00
Sebastián Franco
578fbee848
Merge "Make Talkback anounce which page is the icon being move on." into tm-qpr-dev
2022-06-24 04:54:31 +00:00
Sunny Goyal
1f5cc67c13
Merge "Moving widget padding to drawable instead of using itemDecorator" into tm-qpr-dev
2022-06-24 04:39:23 +00:00
Sebastián Franco
53e78a20e8
Merge "Added a content call to emulate the other devices displays" into tm-qpr-dev am: 1e2454eb85 am: 93e3d7bb0f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18935140
Change-Id: Id5fe56fcbcd35b3b6b26dd80c41ff41b7015bc2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-24 00:30:32 +00:00
Sebastián Franco
1e2454eb85
Merge "Added a content call to emulate the other devices displays" into tm-qpr-dev
2022-06-23 23:41:28 +00:00
Sunny Goyal
23dca1500b
Merge "Fixing wrong flags used by AllAppsController in SystemUiController" into tm-qpr-dev am: c3a5c4b16e am: 062861eddc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19037687
Change-Id: I4c089c7b71faa32e5604e2cbf95be7a7e592fd55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-23 23:37:08 +00:00
Sunny Goyal
c3a5c4b16e
Merge "Fixing wrong flags used by AllAppsController in SystemUiController" into tm-qpr-dev
2022-06-23 22:52:11 +00:00
Brandon Dayauon
a766a0c68e
Merge "Fix work toggle button that gets blocked by threeButton nav bar on TABLETS" into tm-qpr-dev am: 0130315860 am: 118f4fb708
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18798069
Change-Id: If39d45886e1700ab58192e4ba65c75f05392e967
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-23 22:28:00 +00:00
Brandon Dayauon
0130315860
Merge "Fix work toggle button that gets blocked by threeButton nav bar on TABLETS" into tm-qpr-dev
2022-06-23 21:45:12 +00:00
Sunny Goyal
ed681548fc
Moving widget padding to drawable instead of using itemDecorator
...
ItemDecorator uses item position which is not stable during animations.
Moving it to the background allows the padding to be stable
Bug: 236961658
Test: Verified that the app doesn't crash.
Change-Id: Ied12077de4097e827c5c4157f5196346a301f185
2022-06-23 14:37:17 -07:00
Sebastian Franco
930531f669
Make Talkback anounce which page is the icon being move on.
...
Adding a third argument for the talkback string.
Fix: 230593493
Test: Move an item using Talkback and it should mention the row,
column and page where you can drop the item.
Change-Id: Id3d4435e9ef3348278643e6e2a1cd1e8bf5157b7
2022-06-22 17:17:38 -07:00
Brandon Dayauon
65590cb071
Fix work toggle button that gets blocked by threeButton nav bar on TABLETS
...
Ex) for tablets.. the nav bar height is really the height of the taskbar.
Thats why we add the current padding of the work toggle button to the
taskbar size.
As of patchset 3.. I reverted mDevice.getInsets().bottom because it caused
the button to be higher than it should be on landscape.
Bug: 235053326
Test: Manual (pictures in bug thread)
Change-Id: I2f77d759ae060311d049182e8347dede590cd0b0
2022-06-22 13:21:25 -07:00
Sunny Goyal
24b441051e
Fixing wrong flags used by AllAppsController in SystemUiController
...
Bug: 236857339
Test: Verified the UI manually
Change-Id: I2773837932ed50a59ebc9d2810f9e7ee501b6f6b
2022-06-22 12:09:22 -07:00
Alex Chau
05e6d084ec
Disable header protection on tablets
...
- Also listen for config chagne in FloatingHeaderView
Fix: 218500759
Test: Change screen size between phone and tablet, header protection is only enabled for phone
Change-Id: I65120080641ea75ae58c010c4a27fe2b1539e0b5
2022-06-22 18:09:35 +01:00
Sebastian Franco
9097d7d09f
Added a content call to emulate the other devices displays
...
Running the following commands should change your connected
device display:
adb root
adb shell setprop ro.test_harness 1
adb shell pm enable --user 0 com.google.android.apps.nexuslauncher/com.android.launcher3.testing.TestInformationProvider
adb shell content call --uri content://com.google.android.apps.nexuslauncher.TestInfo --method emulate-display --extra device:s:pixel5 --extra grid:s:crazy_big
adb shell setprop ro.test_harness 0
Alternative method for this is using
./display_emulator.py emulate --device pixel5
I hooked up the existing DisplayEmulator into a content
provider. Doing this has a couple advantages to the previous method
of calling the emulator inside of a test. The biggest one is
that running the emulation doesn't restarts the Launcher3,
and because of that the previous method could leave the user in a
fake emulation where it looks like the device is being emulated but
is not 100% accurate.
Test: Run the command lines described above.
Fix: 229666646
Change-Id: Ia039fbaf4c7330d6bdf469633127f58d2466a1bf
2022-06-22 09:36:52 -07:00
TreeHugger Robot
2d674d6f03
Merge "Unifying scroll calculation logic for both widgets and apps recycler view Also using itemType instead of item object for widget size cache" into tm-qpr-dev am: 5069964ea2 am: 67d79af886
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18763224
Change-Id: Ic9c5e84835e0c7c714540d8c914486255dbe9dee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 03:54:09 +00:00
TreeHugger Robot
5069964ea2
Merge "Unifying scroll calculation logic for both widgets and apps recycler view Also using itemType instead of item object for widget size cache" into tm-qpr-dev
2022-06-22 03:23:07 +00:00
Alex Chau
485d77d6f9
Merge "Only check dbFile to decide if grid migration is needed" into tm-qpr-dev am: bd8111a049 am: ea4cd21275
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18929060
Change-Id: I03640ef87c3edf56b59037a21885748705602ced
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-21 20:51:44 +00:00
Alex Chau
bd8111a049
Merge "Only check dbFile to decide if grid migration is needed" into tm-qpr-dev
2022-06-21 20:08:53 +00:00
Alex Chau
aa9e4a28cf
Merge "Revert "Add logs for InvariantDeviceProfile.getDeviceProfile"" into tm-qpr-dev am: 61c6b580ad am: 7b695ca337
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18929971
Change-Id: I2e6be505e70730d5e9222949350e35aac0b2ed56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-21 18:52:27 +00:00
Alex Chau
49dcd16b26
Only check dbFile to decide if grid migration is needed
...
Fix: 234847755
Test: With a modified local build, when changing display config to swap between same grid:
- When dbFile is same but device type is different, no migration is performed
- When both dbFile and device type are different, migration is performed properly
Test: Grid migration through Wallpaper & Styles still works properly
Change-Id: Ie7429a7d59c135ba47061cae21c40b8d8af7188a
2022-06-21 12:36:50 +00:00
Sukesh Ram
521daeb05d
Merge "Add app predictions to secondary display app drawer & fix tab UI."
2022-06-17 21:36:46 +00:00
Ronish Kalia
45ed73d955
Merge "Change access from private to protected for OverlayEdgeEffect vars"
2022-06-17 17:33:28 +00:00
Alex Chau
b065b4b05a
Revert "Add logs for InvariantDeviceProfile.getDeviceProfile"
...
This reverts commit d3e8cc40b4 .
Reason for revert: b/231312158 is fixed, log is no longer needed
Fix: 231851651
Change-Id: I3ea8b9d14e7eb6f8f9c794c5d15cdfc94153d392
2022-06-17 09:36:00 +00:00
Sunny Goyal
bbad97e273
Unifying scroll calculation logic for both widgets and apps recycler view
...
Also using itemType instead of item object for widget size cache
Bug: 234008165
Test: Verified on device
Change-Id: Ia4b4a00a11627c0c454e4a699570e8ab1667a390
2022-06-16 16:03:37 -07:00
Sukesh Ram
9e5fe63a22
Add app predictions to secondary display app drawer & fix tab UI.
...
Bug: 233926067
Test: Manual
Change-Id: I2f45a4b30964b365bf149e8864a3af2ea909a237
2022-06-16 22:44:24 +00:00
Sebastián Franco
b4c50d485e
Merge "Adding a case when there is only 1 system shortcut on the Popup Container" into tm-qpr-dev am: 2545f45a1f am: 2c102c3b73
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18284907
Change-Id: I9a684963b00da3ff6a994221cfece78846dbae32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-16 17:39:49 +00:00
Sebastián Franco
2545f45a1f
Merge "Adding a case when there is only 1 system shortcut on the Popup Container" into tm-qpr-dev
2022-06-16 17:01:10 +00:00
Thales Lima
df50439f5e
Merge "Fix QSB alignment" into tm-qpr-dev am: 85e52e2f9d am: d4b0c446b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18910227
Change-Id: I2d3e0926567e158f1f33e0427ba71fdeeb89f859
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-16 13:01:49 +00:00
Thales Lima
85e52e2f9d
Merge "Fix QSB alignment" into tm-qpr-dev
2022-06-16 12:19:45 +00:00
Alex Chau
b583f18e35
Merge "Animate inline QSB between home and apps" into tm-qpr-dev am: a5ae4c2e57 am: 7e77cda9d6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18799573
Change-Id: I3dae91a244c996474f4ec31a950323c1fc5c2716
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-16 08:49:02 +00:00
Alex Chau
a5ae4c2e57
Merge "Animate inline QSB between home and apps" into tm-qpr-dev
2022-06-16 08:00:51 +00:00
Brandon Dayauon
da9e22f4e9
Merge "Fix work toggle button to be placed where it should be." into tm-qpr-dev am: 111473315d am: d7450579f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18841742
Change-Id: If171dbd8e2cf9beec7b57d3cd4b8c769027b156d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 23:16:00 +00:00
Brandon Dayauon
111473315d
Merge "Fix work toggle button to be placed where it should be." into tm-qpr-dev
2022-06-15 22:05:49 +00:00
TreeHugger Robot
99180e0eb6
Merge "Fix folder preview animation when adding or removing icons." into tm-qpr-dev am: 34958f4bdf am: b67104fadb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18568370
Change-Id: I05428b0b31997e2afd042d7c3f58c5d77b5e03a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 21:59:05 +00:00
TreeHugger Robot
34958f4bdf
Merge "Fix folder preview animation when adding or removing icons." into tm-qpr-dev
2022-06-15 21:20:55 +00:00
Alex Chau
c1d26448c5
Animate inline QSB between home and apps
...
- Added a QSB to taskbar to be animated between inline QSB and taskbar
- Passed endValue of taskbar animator to TaskbarController to have aniamtion variation between home -> app and app -> home
- Tuned duartion of taskbar animation and also stagger animation when taskbar is present
- Disabled scaling down of taskbar and inline QSB for home -> app
- Disabled stagger animation of taskbar and inline QSB for app -> home
Bug: 220733187
Test: manual
Change-Id: I4aac0bbc343b992a0472298595770e2bf2a55990
2022-06-15 22:12:29 +01:00
Thales Lima
616e0102a4
Fix QSB alignment
...
Fix: 232908328
Test: manual
Change-Id: If5516be6b8f7142577257f5ec5b5dfa8feca445d
2022-06-15 11:40:58 +01:00
Hyunyoung Song
b751033f30
Merge "Remove hideKeyboard exception in the log" into tm-dev am: 5d57e3d651 am: 76e688b7c1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18869544
Change-Id: I2131e1676c613f0df96d9989876632d5fa282e4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 06:39:06 +00:00
Hyunyoung Song
79d1711d7f
Merge "Remove hideKeyboard exception in the log" into tm-dev am: 5d57e3d651 am: b0ca13b68e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18869544
Change-Id: I0b7dbe20eb79511b04a23235432d840cb017a170
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 06:28:49 +00:00
Hyunyoung Song
5d57e3d651
Merge "Remove hideKeyboard exception in the log" into tm-dev
2022-06-15 05:38:16 +00:00
Tony Wickham
a763a7ccd4
Merge "Revert line that could wrongly initialize RecentsView scroll" into tm-dev am: 4ee29221df am: 356eaea195
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18820561
Change-Id: I83c63625c78cc4ce8791ac6190a2e758bd7713b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 03:14:42 +00:00
Tony Wickham
a18bd359f0
Merge "Revert line that could wrongly initialize RecentsView scroll" into tm-dev am: 4ee29221df am: ac013bff7a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18820561
Change-Id: Ib2ede0af3fe36082f06fe22461373b992f94909d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-15 03:14:00 +00:00
Tony Wickham
4ee29221df
Merge "Revert line that could wrongly initialize RecentsView scroll" into tm-dev
2022-06-15 02:23:13 +00:00
hyunyoungs
6677fa3cf3
Remove hideKeyboard exception in the log
...
Bug: 235616419
Test: no error stack trace
Change-Id: Ice5a52edaed2fb0485696a4586552792b0b5b932
2022-06-14 17:03:47 -07:00
Tony Wickham
3945f028de
Revert line that could wrongly initialize RecentsView scroll
...
Test: open a random app that hasn't been opened in a while, touch down
on nav handle and see if RecentsView scrolls partially or fully
offscreen; repeat 20 times to be sure
Bug: 233112195
Fixes: 235369468
Change-Id: Ie8b3dbea7c4826af037edf22360946105ab22134
2022-06-14 19:17:55 +00:00
Brandon Dayauon
105448abec
Merge "ENABLE_HIDEHEADER_PRIVATE_IME" into tm-qpr-dev am: c40daffac5 am: 7505a90590
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18875017
Change-Id: I66ee4d73e763264e5d7a4c693dc2b33aca005d0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 06:38:37 +00:00