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
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
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
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
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
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
85e52e2f9d
Merge "Fix QSB alignment" into tm-qpr-dev
2022-06-16 12:19:45 +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
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
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
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
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
c40daffac5
Merge "ENABLE_HIDEHEADER_PRIVATE_IME" into tm-qpr-dev
2022-06-14 05:59:49 +00:00
Brandon Dayauon
452ee1e45a
ENABLE_HIDEHEADER_PRIVATE_IME
...
Add featureflag to have the hide header feature
Bug: 222862488
Test: Manual
Change-Id: I5e0cd0e5d40e0eb2d70e95b4981e6b2c7835cf0d
2022-06-13 14:29:17 -07:00
Hyunyoung Song
7ae633a89f
Merge "Workspace should not receive touch events" into tm-dev am: 5c33ec3766 am: f30d5d1d5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18791871
Change-Id: Ic9e5e4ed66277eded872ace970d3b20387a07bdc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-13 17:16:47 +00:00
Hyunyoung Song
5c33ec3766
Merge "Workspace should not receive touch events" into tm-dev
2022-06-13 16:30:19 +00:00
Becky Qiu
51f1b987a3
Merge "[Toast] Add a new type fields for user visible cold status." into tm-dev am: a500cde8f2 am: 748ef6c244
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18821283
Change-Id: I516efb76f7c79000b7018593c1883a356c376b04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-11 08:38:23 +00:00
Becky Qiu
a500cde8f2
Merge "[Toast] Add a new type fields for user visible cold status." into tm-dev
2022-06-11 06:00:46 +00:00
Becky Qiu
b35ca57046
Merge "Hide keyboard when thumb scroller is visible." into tm-dev am: d6d0dc3ca8 am: a95e5116d8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18819707
Change-Id: Ie6b938fcb5faebeea986950c39a20ff0ca513259
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-11 02:49:54 +00:00
Becky Qiu
d6d0dc3ca8
Merge "Hide keyboard when thumb scroller is visible." into tm-dev
2022-06-11 01:45:36 +00:00
Brandon Dayauon
9d87b0c317
Fix work toggle button to be placed where it should be.
...
Previously, the implementation used the entire screen width
within it's calculations to determine where the button should be placed.
This is wrong because allApps have it's own container which we should
take the width from. The current implementation works fine because
the width of the screen for phones is the same width as the allApps container
BUT this implemention is WRONG for tablets. With now using the
allApps width for the calculation .. it works for both tablets/phones.
Bug: 235054324
Test: Photos in bug thread
Change-Id: I4c771d310a5d33646ad618e9c241cb5662493747
2022-06-10 15:57:01 -07:00
Becky Qiu
24c77a5ff5
Hide keyboard when thumb scroller is visible.
...
Bug: 235497706
Test: manual
Change-Id: Id3202300650949d079b9209e30b2bfc4f80979cd
2022-06-10 13:58:09 -07:00
TreeHugger Robot
a1d5677e51
Merge "Fix NPE when user swipes back in All Apps and no matching view found" into tm-dev am: a49ba25353 am: 9336589d01
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18821198
Change-Id: I04e84d8319ea66427965782ddef9bda9fa5933cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-10 20:32:16 +00:00
Andy Wickham
aade3dc637
Merge "Fixes Search bar padding when work profile not present." into tm-dev am: 34e8c3364a am: ef4136ad4e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18789522
Change-Id: I2db55aaab2e0ad4ad8b2f3388f0cc7fe404a2aec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-10 19:41:29 +00:00
TreeHugger Robot
a49ba25353
Merge "Fix NPE when user swipes back in All Apps and no matching view found" into tm-dev
2022-06-10 19:05:32 +00:00
Becky Qiu
fa317f4420
[Toast] Add a new type fields for user visible cold status.
...
Bug: 235249335
Test: manual
Change-Id: I58eee38e740e746e8a3d6065d4ef57cc5569a837
2022-06-10 12:03:56 -07:00
Andy Wickham
34e8c3364a
Merge "Fixes Search bar padding when work profile not present." into tm-dev
2022-06-10 17:07:43 +00:00
Sunny Goyal
03c59ea519
Merge "Clone the drawable lazily instead of on the UI thread while initializing" into tm-dev am: ad7e199e52 am: 41fda6802e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18818891
Change-Id: Ib335350b03490d7da681b8ca93271a11af36e685
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-10 16:19:53 +00:00
Jon Miranda
f26bdcb4c1
Fix NPE when user swipes back in All Apps and no matching view found
...
This crash will occur every time user swipes back and
there is not a view to return to
Introduced in I56cda07f3eccc11e8909f7fb28210f65cc6e0f1d
Bug: 235494234
Test: manual
Change-Id: I1261afcefec8fed4be20ab9ef439a50bc706d464
2022-06-10 16:00:18 +00:00
Sunny Goyal
ad7e199e52
Merge "Clone the drawable lazily instead of on the UI thread while initializing" into tm-dev
2022-06-10 15:28:30 +00:00
Becky Qiu
a23df13d29
Merge "[Toast] Add a new latency type as FAIL." into tm-dev am: f13d3cca63 am: af6f7458f0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18781402
Change-Id: I27bd591aebedae351aa4eeb056e604903a4fc754
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-09 23:12:17 +00:00
Brian Isganitis
4aab0fdafc
Merge "Update download app icon treatment to latest mocks." into tm-qpr-dev
2022-06-09 22:44:10 +00:00
Becky Qiu
f13d3cca63
Merge "[Toast] Add a new latency type as FAIL." into tm-dev
2022-06-09 22:28:09 +00:00
Andy Wickham
b17399e54c
Updates keyboard option feature flag name. am: 918ba0c9f2 am: 845d34d210
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18818901
Change-Id: I0ec4213c3716e7b47ea1529e82bfbf7e1a9ae0ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-09 22:07:37 +00:00
Andy Wickham
25912b1dde
Merge "Fixes issue where personal/work tabs could overlap search reasults." into tm-dev am: e44b026880 am: 0753483188
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18801671
Change-Id: Id46077cfb799c40a4282c1da3abb4a0c1ade2f81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-09 22:07:25 +00:00
hyunyoungs
e5f265c76e
Workspace should not receive touch events
...
Bug: 234648831
Test: touch outside recycler view inside container, doesn't swipe left/right
TL;DR;;
As the definition of ActiveRecyclerView changed in latest refactor,
scrollbar existence is no longer a condition to consume
touch event if user is in isSearching state.
Change-Id: Iec97fb036ad45796a77c59d35f329744398d4953
2022-06-09 15:04:37 -07:00
Andy Wickham
918ba0c9f2
Updates keyboard option feature flag name.
...
This should ignore any value previously stored for the old flag.
Fix: 235440407
Test: Manual
Change-Id: Ib0b21442443575e88153f5a13ea945bfad3fa9f0
2022-06-09 11:02:39 -07:00
Andy Wickham
e44b026880
Merge "Fixes issue where personal/work tabs could overlap search reasults." into tm-dev
2022-06-09 17:47:54 +00:00
Alex Chau
1965e1309c
Merge "Use DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED for getDisplays" into tm-dev
2022-06-09 17:40:07 +00:00
Sunny Goyal
0d88d0088a
Clone the drawable lazily instead of on the UI thread while initializing
...
Bug: 234764579
Test: Manually
Change-Id: I557a532e4f71475e9294854d17068007a2eb7338
2022-06-09 09:59:42 -07:00
Alex Chau
cbde3a3a8d
Merge "Use normalized CachedDisplayInfo as key" into tm-qpr-dev
2022-06-09 15:10:27 +00:00
Alex Chau
2545e92264
Use DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED for getDisplays
...
Bug: 227459045
Bug: 221071695
Test: manual
Change-Id: I8c1587e05a30abf75a01a84ebda6522606abb99b
2022-06-09 12:12:57 +00:00
Luca Zuccarini
4618d3471f
Merge "Add support for text color animations in PropertySetter." into tm-qpr-dev
2022-06-09 11:26:17 +00:00