Commit Graph

47300 Commits

Author SHA1 Message Date
Bill Yi 13dd1391ff [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 06d2238892 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18589959

Change-Id: I20e459d72839842cc47d3f178b9d9eb4931deb10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 19:07:58 +00:00
Bill Yi afb10f5dd8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 16026ae9f9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18589959

Change-Id: I6eb90d784503caf06d8aa49358493006764648e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 19:07:51 +00:00
Bill Yi 544df19191 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: e965dfe6eb -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18585982

Change-Id: I01d22b51cba7a0547c56fbf14fbd3346165ebc62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 19:07:37 +00:00
Bill Yi c03707aade [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dbaeaa5c05 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18585982

Change-Id: I4a0275bc6ba16f6f3bf79eada973e14a33c476fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 19:07:22 +00:00
Abhilasha Chahal 5a061a70e6 Merge "Add type TYPE_ADD_TO_HOME_CONFIRMATION to AbstractFloatingView" into tm-dev am: d18c5085c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18457403

Change-Id: I262f43f3e402eb37cb7315c8f3a3091a97705765
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 18:58:05 +00:00
Bill Yi 06d2238892 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-25 18:43:37 +00:00
Bill Yi e965dfe6eb Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-25 18:43:37 +00:00
Abhilasha Chahal d18c5085c5 Merge "Add type TYPE_ADD_TO_HOME_CONFIRMATION to AbstractFloatingView" into tm-dev 2022-05-25 18:31:59 +00:00
Alex Chau d740490fe4 Merge "Center drop target button alignment across devices" into tm-dev am: 179c289a6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18580267

Change-Id: I38e2fe0b317980661df1e7ee67b3a08cf440eb42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 13:03:30 +00:00
Alex Chau 59403ff3eb Merge "Only setup SecondaryDropTarget in onDragStart" into tm-dev am: a2ecf75082
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18580266

Change-Id: I90b542d572e807585c379b424578b04982792037
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 13:03:29 +00: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
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
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
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
Sunny Goyal 595c9c37f5 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: I1f764d6df15bdb67a040adcfb30b6ed5c4b39c9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 21:38:19 +00:00
Sunny Goyal 689b000316 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev 2022-05-24 21:13:00 +00:00
TreeHugger Robot e51b9d2b3c Merge "Fixing ConcurrentModificationException in FirstScreenBroadcast" into tm-dev am: 69149d07ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18580078

Change-Id: I1b73f28c6103fec47e4cf5aa73640de93d687e45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 20:25:38 +00:00
TreeHugger Robot 69149d07ff Merge "Fixing ConcurrentModificationException in FirstScreenBroadcast" into tm-dev 2022-05-24 19:52:32 +00:00
Sunny Goyal 506806f4e9 Merge "Adding support for customiting the animation in PropertySetter" into tm-dev am: f7a48aae65
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18493941

Change-Id: I24c0572be0ec6bf66f9845b760d40559a50f8fe4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 18:23:53 +00:00
Stefan Andonian e0770eb4fd Merge "Fix folder app icon truncation after rotating to landscape." into tm-dev am: af8b7d3313
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18090271

Change-Id: I22de25f8e8d439eb5e18c96b0036f66caa5bd8aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 18:23:45 +00:00
Stefan Andonian 45fc301b0e Change accessibility announcement for workspace from "Pixel Launcher" to "Home".
Bug: 228410736
Test: Verified correct talkback announcements.
Change-Id: Ic0a5295cde3cd23d2fc5a6fcd19b6cf8e0f3e386
(cherry picked from commit 83bc5f5050)
2022-05-24 18:21:33 +00:00
Sunny Goyal f7a48aae65 Merge "Adding support for customiting the animation in PropertySetter" into tm-dev 2022-05-24 18:21:24 +00:00
Stefan Andonian af8b7d3313 Merge "Fix folder app icon truncation after rotating to landscape." into tm-dev 2022-05-24 18:19:03 +00:00
Brandon Dayauon 9c9d4d6f3f Merge "Fixes scroll bar issues." into tm-dev am: 6bb327888e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18566198

Change-Id: I8fc2c17dab2f7408aa902570abd3880fb3ba130c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 18:15:39 +00:00
Brandon Dayauon 6bb327888e Merge "Fixes scroll bar issues." into tm-dev 2022-05-24 18:10:42 +00:00
Anushree Ganjam 1085424025 Merge "Revert "Revert "Add "incrementEventCountBy" function to Onboardi..."" into tm-dev am: 223bfe0908
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18570019

Change-Id: I1a3f94f7abebc665e854924492dbc31782551d01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 18:06:58 +00:00
TreeHugger Robot c85bab14a3 Merge "Fix widget span" into tm-dev am: ec3723beb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579283

Change-Id: Ib50f54989ff99d1083598627841d6803f4f431a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 18:06:36 +00:00
Anushree Ganjam 223bfe0908 Merge "Revert "Revert "Add "incrementEventCountBy" function to Onboardi..."" into tm-dev 2022-05-24 17:38:08 +00:00
Alex Chau 5b0193026a Center drop target button alignment across devices
- Partial re-land of http://ag/18520765

Fix: 229789612
Fix: 231711806
Test: manual
Change-Id: I0630c19901435a30379596378e9c0cd4beb2e764
2022-05-24 18:31:57 +01:00
TreeHugger Robot ec3723beb1 Merge "Fix widget span" into tm-dev 2022-05-24 17:31:13 +00:00
Sunny Goyal 425bfa320f Fixing ConcurrentModificationException in FirstScreenBroadcast
Bug: 232333237
Test: Not sure, unable to reproduce
Change-Id: I3eeabf76c14651d2fb64c82955851efa883760ce
2022-05-24 09:17:39 -07:00
Brandon Dayauon c472da1e5e Fixes scroll bar issues.
Fix issue where the letter bubble stays showing. Now it is able to disappear.
Fix fast scroll so its smoother and able to grab

Bug: 233607012
Bug: 233076260
Test: Manual
Change-Id: Ieccc72079602f4606da6ded7ee48d82440882ef7
2022-05-24 08:50:07 -07:00
Thales Lima 4f3cf5d05f Fix widget span
Need to take the horizontal margin of the view into consideration.

Fix: 233302799
Test: manual
Change-Id: I5f584977db85d5436b22c3701f586a5b079099ae
2022-05-24 14:49:26 +01:00
Cherry Ng fab6504c19 Merge "Revert "Add "incrementEventCountBy" function to OnboardingPrefs."" into tm-dev am: 6a4ea4c849
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18568158

Change-Id: I89bd700f3fdbc31efc5d0ebb4b05135e23e50bc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 02:33:32 +00:00
Anushree Ganjam 13b3922af9 Revert "Revert "Add "incrementEventCountBy" function to Onboardi..."
Revert submission 18568158-revert-18500283-dismissEduCard-SCFTOPONPS

Reason for revert: b/233680944 , This is a build merger issue. 
Reverted Changes:
Ia39781c78:Revert "Add "incrementEventCountBy" function to On...
Ibba14f7c2:Revert "Save the value to sharedPreference When ed...

Change-Id: I1c0e4be10cf7e9b21623a056604618cbea2639d4
2022-05-24 02:19:57 +00:00
Cherry Ng 6a4ea4c849 Merge "Revert "Add "incrementEventCountBy" function to OnboardingPrefs."" into tm-dev 2022-05-24 02:16:40 +00:00
TreeHugger Robot e57ccc8ab6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 6112a28b0b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18515845

Change-Id: If446bcc786e3dd540339934c116de34543b5215f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 00:59:20 +00:00
Bill Yi 31b99d2c34 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3c8c47778f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18515845

Change-Id: Id543e7261c58ddf672ae1ed1935af5d46e8c0add
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 00:59:06 +00:00
Anushree Ganjam fb7d3db86b Merge "Add "incrementEventCountBy" function to OnboardingPrefs." into tm-dev am: 218703d5a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18500283

Change-Id: I1b77b618772e1f651c2732f5fb962894da222d1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 00:57:03 +00:00
Anushree Ganjam 514979dd2d Revert "Add "incrementEventCountBy" function to OnboardingPrefs."
Revert submission 18500283-dismissEduCard

Reason for revert: Reverting because of build failures.
Reverted Changes:
I727cefb70:Save the value to sharedPreference When edu card i...
I180ab3bd6:Add "incrementEventCountBy" function to Onboarding...

Change-Id: Ia39781c78776a629d4678c78dd4ca75f49abbb6d
2022-05-24 00:44:55 +00:00
TreeHugger Robot 6112a28b0b Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-24 00:38:21 +00:00
Anushree Ganjam 218703d5a9 Merge "Add "incrementEventCountBy" function to OnboardingPrefs." into tm-dev 2022-05-23 23:55:36 +00:00
Stefan Andonian 28f61b5177 Fix folder app icon truncation after rotating to landscape.
The folder bubble text views were being recycled after the launcher's
cache was cleared. This caused the new orientation's folders to re-use
the old views with their stale configuration. After this change, the
cache won't recycle views whose cache entry has been recreated,
implying that their environment might have changed and new setup is
required.

Bug: 230304658
Test: Verified erroneous UX on device was no longer reproducible after fix.
Change-Id: Ib01cf5792d83df752e05534e5aa08ab8e8763bdc
2022-05-23 23:42:04 +00:00
Abhilasha Chahal edc8f8a056 Merge "Add LAUNCHER_SYSTEM_SHORTCUT_APP_SHARE_TAP event" into tm-dev am: 23dd0006ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18495984

Change-Id: Ic972e5d135cb2f64c2b44c296be9942e1acc15d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 22:32:39 +00:00
Abhilasha Chahal 23dd0006ad Merge "Add LAUNCHER_SYSTEM_SHORTCUT_APP_SHARE_TAP event" into tm-dev 2022-05-23 21:44:27 +00:00
Bill Yi 240e357907 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fbe7a74f05 -s ours am: ab218eccd7 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18515745

Change-Id: I679f64d6fbb528073ac61966924ae710804a6621
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 19:42:18 +00:00
Bill Yi ab218eccd7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fbe7a74f05 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18515745

Change-Id: I2d8db2635a6d24525589225564381df583c61441
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 19:30:01 +00:00