Commit Graph
87505 Commits
Author SHA1 Message Date
YASANandDaria Hamrah Paytakht 4fc76c3639 Fix Date & Time pref group being blank in some scenarios (#2651)
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>

Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-05-25 20:00:49 +07:00
Alex Chau 179c289a6c Merge "Center drop target button alignment across devices" into tm-dev 2022-05-25 12:38:11 +00:00
Alex Chau a2ecf75082 Merge "Only setup SecondaryDropTarget in onDragStart" into tm-dev 2022-05-25 12:38:11 +00:00
Suphon Thanakornpakapong 7f193766f2 Refactor IcuDateTextView subscriptions logic 2022-05-25 19:10:26 +07:00
Alex Chau 158caf466c Only setup SecondaryDropTarget in onDragStart
- In LauncherAccessibilityDelegate.getsupportedActions, it calls supportsAccessibilityDrop on each button regardless if DropTargetBar is visible or not. SecondaryDropTarget.supportsAccessibilityDrop attempts to setupUi which causes measure/layout of DropTargetBar (as well as DragLayer) each time LauncherAccessibilityDelegate.getsupportedActions is called
- To avoid this, only setupUi in onDragStart. In other cases don't call setUi.
- Also fixed a bug that when accessibility is on, upon dragging a suggested app, the secondary action suddenly changed to Uninstall

Fix: 233383721
Test: Enable accessibility, observe no excessive amount of onLayout is called on DropTargetBar
Change-Id: I4d1a00d320cceed81fa1312b5fc5f1081637bea8
2022-05-25 11:04:42 +00:00
Alex Chau e2e1509d55 Fix taskbar icon flicker and jump when transforming to hotseat
- Apply additional translation on TaskbarView to account for difference between taskbar icon to bottom spacing compared to hotseat icon to bottom spacing
- Call updateIconAlignment outside of synchronizeNextDraw's then block, which get run after the synchronization

Bug: 204850744
Test: manual
Change-Id: Id65842f506eb342105082649446eb694cd5c33a4
(cherry picked from commit 51da219869)
Merged-In: Id65842f506eb342105082649446eb694cd5c33a4
2022-05-25 10:53:29 +00:00
Suphon Thanakornpakapong e4961d4d9d Refactor date formatter creation 2022-05-25 17:32:42 +07:00
Suphon Thanakornpakapong 5a9f6bce5b Refactor smartspace date time options 2022-05-25 17:22:05 +07:00
Suphon Thanakornpakapong 306eb007aa Restructure smartspace preferences layout 2022-05-25 17:05:11 +07:00
Suphon Thanakornpakapong 01a4916f09 Don't call ticker when not visible 2022-05-25 17:02:25 +07:00
Suphon Thanakornpakapong 19b82337bc Instantly update time after pref change 2022-05-25 17:01:59 +07:00
Suphon Thanakornpakapong 01b8d6fa44 Merge branch 'feature/glance/time' into 12.1-dev 2022-05-25 17:01:31 +07:00
Yasan GhaffarianandDaria Hamrah Paytakht 3fa12201a2 Update IcuDateTextViews format based on the date & time prefs
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-05-25 13:15:48 +04:30
Yasan GhaffarianandDaria Hamrah Paytakht ec310d8ce2 Add Date, Time & 24-Hour format options to Glance preferences
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-05-25 12:49:31 +04:30
Suphon Thanakornpakapong 8dc2da4249 Inherit Launcher3 clear all button style 2022-05-25 13:29:46 +07:00
wilsonshih 2b06fa518b Cancel the recents animation for locked gesture[2/2]
When device is locked and going to finish the recents animation,
instead of start home activity, calling
finishRunningRecentsAnimation directly so core and shell does not need
to handle another transition.

Bug: 230582311
Test: enable shell transition. Start showWhenLocked activity while
keyguard showing. Scroll up to dismiss the activity and verify the
activity and home shall be stopped and only keyguard remains on the
screen.
Also verify entering recents works fine when device is unlocked.

Change-Id: Ic76f81efcaa8ed00d5af1475259ec16659f6b568
2022-05-25 12:57:32 +08:00
Android Build Coastguard Worker 418cb46801 Snap for 8638406 from cef46e4bac to udc-release
Change-Id: Ie77fc28a487130dd793d09f1d76c2ecb82b1e7b4
2022-05-25 03:25:43 +00:00
Android Build Coastguard Worker cdabb3a6b8 Snap for 8637453 from 1fa184c778 to tm-qpr1-release
Change-Id: Ie6379278041d5b932fd3c37e46633596724c4f20
2022-05-25 01:25:10 +00:00
Stefan Andonian cef46e4bac Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c am: 6213c103eb am: 113bccfc7a am: b43f1b970f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: Ied944df965fafdacd549d81c79fcde296e02b8be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 00:32:22 +00:00
Stefan Andonian 314f3692f8 Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c am: 7c53b65f6d am: 59f09c5907 am: 6deafd132f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: I3597989c46944ab872d3e81890172ea63404bd0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 00:32:13 +00:00
Stefan Andonian 33b756cbd0 Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c am: 6213c103eb am: ed2340ac0b am: d753633d7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: I5e7fe5221273bc2c57a7314336f2597118d6dbe2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 00:31:53 +00:00
Brian Isganitis 5b8e3dd34e Check if event is over All Apps correctly on large screens.
Test: Manual
Fix: 232826650
Change-Id: Ia6a0aefe1a2886ba21150c7d65be5c5d95f18141
2022-05-25 00:19:11 +00:00
Sunny Goyal cdc111a158 Creating the transaction on the UI thread
This avoids the error when the transaction is created after
the surface is released. In case the surface is released after
transaction object is created, the apply() call simply ignores
that error, whereas previously the transactionCreation will throw
an error

Bug: 231889963
Test: Verified by manually releasing the surface that there is no crash
Change-Id: I9a4b9ca0be2ed687b2fc692570415256e3e479f7
2022-05-24 17:14:44 -07:00
Stefan Andonian b43f1b970f Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c am: 6213c103eb am: 113bccfc7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: I0ca9a6a9a5376e5562b7a648582c71591cdd3cdd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 00:13:45 +00:00
Stefan Andonian 6deafd132f Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c am: 7c53b65f6d am: 59f09c5907
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: I578892650e6c92eef9d158d95bb06b209fc86d02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 00:13:39 +00:00
Stefan Andonian d753633d7d Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c am: 6213c103eb am: ed2340ac0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: I269f83df2ebec6af9a7e0684f3d215df639cd3a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 00:13:06 +00:00
Andy Wickham 2ba7797edb Moves Search results into a separate RV (take 2).
Bug: 206905515
Test: Manually verified b/230648542 did not resurface. Tested
on phone and tablet with and without work profile.

Change-Id: If724f635286b9dff2c64255f9ece3568a5cb4ea9
2022-05-24 17:10:24 -07:00
Stefan Andonian 113bccfc7a Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c am: 6213c103eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: Iaba4fae02e2c1858544062711c9747689478578a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 23:48:32 +00:00
Stefan Andonian ed2340ac0b Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c am: 6213c103eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: Ic79998268e0194dc2cd723ba66d8d9d819343e62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 23:48:27 +00:00
Stefan Andonian 59f09c5907 Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c am: 7c53b65f6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: I4c51f34557b8131e4a8800b51490076290af63d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 23:48:25 +00:00
Brian Isganitis 76900ac58a Have separate DeviceProfile instances for taskbar and all apps windows.
We want to scale down the DeviceProfile for taskbar, but the all apps
window should rely on the original DeviceProfile.

Test: Manual
Bug: 232907361
Change-Id: Ia09f674ada9e445c1d7278fa94c536ea9de13ef9
2022-05-24 23:30:36 +00:00
Android Build Coastguard Worker 5324851a5a Snap for 8637088 from 69149d07ff to tm-release
Change-Id: I587c64e2adb851379fab4b45221d07d15c35598c
2022-05-24 23:24:37 +00:00
Stefan Andonian 6213c103eb Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: Iccd16094411f92dadcb0290ba0b2d7eab8f73609
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 23:11:22 +00:00
Stefan Andonian 1488557599 Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: Ie009d5d4077003b3c046c1b3cdcfb68c4a3ccbb4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 23:10:10 +00:00
Stefan Andonian 7c53b65f6d Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev am: 748195421c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579642

Change-Id: Ide1e4d55c120695ce460cf106bf1c3267a68a915
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 23:09:47 +00:00
Stefan Andonian 748195421c Merge "Change accessibility announcement for workspace from "Pixel Launcher" to "Home"." into tm-dev 2022-05-24 22:47:50 +00:00
Sunny Goyal c7d6ee6dbe Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 57a956911c am: 51cbd323e2 am: c3daa2931b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: Ibc0a6bf7ea1472a407af514f59dca51e8a8dda4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:45:27 +00:00
Sunny Goyal 104a01fe65 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 57a956911c am: 40e3a4f709 am: afa17bd49a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: Ifc2a4f9f53b57997c4a8baea7151b5d3b135aadc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:45:09 +00:00
Sunny Goyal 5922652282 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 595c9c37f5 am: 153c553181 am: cfbb12e29d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: Iaa437ded4b3d87e85c2e80cc1b8ba48b2d6c73b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:44:39 +00:00
Sunny Goyal c3daa2931b Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 57a956911c am: 51cbd323e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: Ieec7c4d08d701668d860d244081ac46f11fef17d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:33:30 +00:00
Sunny Goyal afa17bd49a Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 57a956911c am: 40e3a4f709
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: I4351b2bd5e6c57e7bc6f35e85a3d8f6ab5b6447b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:23:49 +00:00
Sunny Goyal cfbb12e29d Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 595c9c37f5 am: 153c553181
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: I72a51b0d2f756e9710058beb0b820dbbb52b15d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:23:28 +00:00
Sunny Goyal 51cbd323e2 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 57a956911c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: I63c8780cd914488282f1159037e3d6e31bbd87da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:15:02 +00:00
Sunny Goyal 40e3a4f709 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 57a956911c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: Ib5a8a72702b27e2eadf3e7341947ab3ecc1f9b3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:14:59 +00:00
Nicolò Mazzucato 706e1abdfb Merge "Fix flakiness in getIconPosition test" into tm-qpr-dev am: dff1a938e1 am: 6eabe826f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18557399

Change-Id: I12f9bb33d9686d31a3e0f6a2237f8db72f43b12b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:14:40 +00:00
Sunny Goyal 153c553181 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 595c9c37f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: I3fd096e6a88783bc4fcef886b2019e61c9d6a396
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 21:56:12 +00:00
Bill Yi 16026ae9f9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1d33db6f290ae068d29aea6a405cd0436c3d5341
2022-05-24 14:51:03 -07:00
Bill Yi dbaeaa5c05 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8dab647a81e5f333a8c4d9ad5dbe13247429f7c1
2022-05-24 14:49:54 -07:00
Nicolò Mazzucato 6eabe826f5 Merge "Fix flakiness in getIconPosition test" into tm-qpr-dev am: dff1a938e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18557399

Change-Id: If1abd12d53fc1da03687bb4809773390a944da11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 21:45:57 +00:00
TreeHugger Robot a3af1c39f4 Merge "Fixing ConcurrentModificationException in FirstScreenBroadcast" into tm-dev am: 69149d07ff am: 0210441e55 am: f526d3c9f1 am: 4455588954
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18580078

Change-Id: I17059ec9d812d55015d897152dcf51dd4f523516
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 21:41:13 +00:00