Commit Graph

75018 Commits

Author SHA1 Message Date
Willie Koomson
7d2d6ced25 Fix resize frame for widgets added with tap-to-add button
This change updates the tap-to-add code to wait for the animations
between each step (close widget sheet, snap to Workspace page)
to finish before continuing with the next step of the flow.

Bug: 331425905
Bug: 331699050
Test: manual
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add TEAMFOOD
Change-Id: I774b86b429cd2e8a397e5605243056e6cea666b3
2024-04-05 22:03:37 +00:00
Jagrut Desai
e0330e17e3 Merge "Folder Title Change Listener" into main 2024-04-03 23:50:44 +00:00
Jeremy Sim
d1b4eb9613 Merge "Fix bug with long strings not aligning left on menu items" into 24D1-dev am: 9a0fc16b98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26743331

Change-Id: I313e43a4f82b0278e6e11c193d7e20d48e0933bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 22:18:51 +00:00
Jeremy Sim
9a0fc16b98 Merge "Fix bug with long strings not aligning left on menu items" into 24D1-dev 2024-04-03 22:06:42 +00:00
Peter Kalauskas
03c55c5554 Merge "Add soong namespace to sysui libs" into main 2024-04-03 19:56:37 +00:00
Jagrut Desai
06a05c3806 Folder Title Change Listener
Bug: 305877212
Test: Manual
Flag: NONE
Change-Id: I10c7e0827a05010720daeb9da7a0be854ee06112
2024-04-03 10:42:15 -07:00
Sunny Goyal
54e9c6c81c Merge "Using IHomeTransitionListener for listening for Launcher state when taskbar recreates" into main 2024-04-03 16:35:05 +00:00
Ats Jenk
96e4511d1a Merge "Update bubble bar location in shell" into main 2024-04-03 15:51:18 +00:00
Sebastián Franco
0e0a7ed6ba Merge "Adding screen record to testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty" into main 2024-04-03 15:26:31 +00:00
Alex Chau
75e48fc0ec Merge "Revert "Update Split button visibility based on DeviceProfile change"" into main 2024-04-03 12:56:13 +00:00
Uwais Ashraf
38bc885de9 Revert "Update Split button visibility based on DeviceProfile change"
This reverts commit 170306d54a.

Reason for revert: Cause of b/332673787

Bug: 321291049
Change-Id: Id5ae99d28a7497debaabbc5ed09cd18f9c253750
2024-04-03 12:51:42 +00:00
Alex Chau
cde4ddf4a0 Merge "Update Split button visibility based on DeviceProfile change" into main 2024-04-03 10:59:02 +00:00
Vinit Nayak
9d40348272 [automerger skipped] Merge "Refactor how app pair icons draw" into 24D1-dev am: c9ab1dcd98 -s ours
am skip reason: Merged-In I7242e0c525ef578a54a06fb9137fcfc42c6f0e86 with SHA-1 b37faec287 is already in history

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

Change-Id: Ib1e49a9001380e17669a016bcefe39cfeaf46f65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 04:25:24 +00:00
Jeremy Sim
9bbc0bbb79 [automerger skipped] Refactor how app pair icons draw am: fcbef122e6 -s ours
am skip reason: Merged-In I7242e0c525ef578a54a06fb9137fcfc42c6f0e86 with SHA-1 b37faec287 is already in history

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

Change-Id: Id9361930be2c584ce63d22050d3793ae577f2703
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 04:25:21 +00:00
Vinit Nayak
c9ab1dcd98 Merge "Refactor how app pair icons draw" into 24D1-dev 2024-04-03 04:12:43 +00:00
Peter Kalauskas
9bdb1daa4d Add soong namespace to sysui libs
Test: m checkbuild
Flag: NONE
Bug: 214238812
Change-Id: I6f0dd217c03da8ad38ee61cf89587dede9660590
2024-04-02 17:03:56 -07:00
Jeremy Sim
fcbef122e6 Refactor how app pair icons draw
This changes (and cleans up) the way app pair icons are composed. Previously, the background and 2 icons were drawn individually and separately onto the canvas. Now, they are composed into a combined drawable first. This also allows the full icon drawable to be requested by external functions (which will be needed for display app pairs in folder previews).

Bug: 315731527
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Test: Visually confirmed that app pairs loooks the same in all scenarios: rotation, disabled, themed, taskbar, pinned taskbar. Screenshot test to follow.
Change-Id: I7242e0c525ef578a54a06fb9137fcfc42c6f0e86
(cherry picked from commit b37faec287)
Merged-In: I7242e0c525ef578a54a06fb9137fcfc42c6f0e86
2024-04-02 23:38:47 +00:00
Sukesh Ram
d6709b0a34 Merge "Fix Taskbar Background Visibility After Entering IME then Overview." into main 2024-04-02 21:56:24 +00:00
Ats Jenk
2ae49c6cab Update bubble bar location in shell
Send wmshell updates about bubble bar position when it is dragged
across the center divide.

Bug: 330585397
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Test: manual
  - with bubble bar on home screen
      - long press and drag bubble bar around on same side, no drop
        target
      - release the bubble bar, it snaps back to the original position
      - long press and drag bubble bar to other side, see drop target at
        the corner
      - release bubble bar, it snaps to the new side
      - long press and drag bubble bar to other side and back, see the
        drop target visible, release, snaps back to the original
        position
  - repeat above steps from an app, swipe up taskbar for bubble bar
Change-Id: I88faf641b9c07a19cfbb7a1feb8170a64269ac1f
2024-04-02 13:38:29 -07:00
Sebastián Franco
966156e363 Merge "Fix widget dissapearing because of change of appWidgetId" into main 2024-04-02 18:52:21 +00:00
Sebastian Franco
2b724ec00d Adding screen record to testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty
Bug: 329935119
Test: NA
Flag: NA
Change-Id: I86c0620d6207b09f04c8038932ed34f4444a6626
2024-04-02 11:42:17 -07:00
Bill Yi
c36076d7ce Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-02 18:33:49 +00:00
Bill Yi
34ab613fee Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-02 18:33:49 +00:00
Anushree Ganjam
bab97ee1f2 Merge "Enable the CUSTOM_LPNH_THRESHOLDS flag." into main 2024-04-02 18:31:51 +00:00
Sunny Goyal
9e6e3562f0 Using IHomeTransitionListener for listening for Launcher state when taskbar recreates
IHomeTransitionListener was only used when the visibility state changes, but not
when the taskbar is recreated during rotation. Instead we create a static listener
to keep track of current home visibility state

Bug: 331947346
Bug: 331947116
Flag: aconfig use_activity_overlay staging
Test: Manual
Change-Id: Icf613f7fc4f78e3f76a600202687b069d53a16dd
2024-04-02 10:36:54 -07:00
Treehugger Robot
88b04e1283 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: bb3518884e -s ours
am skip reason: contains skip directive

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

Change-Id: Ic4f272e85449e70247ed94c547908743ff125b50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 16:55:25 +00:00
Bill Yi
7f117fa71d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ba4161b68b -s ours
am skip reason: contains skip directive

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

Change-Id: I961ae3c1f2f90717f39ae66e1fdc97e30ae9ce5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 16:55:21 +00:00
Bill Yi
bdee2e0336 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4046bc668b -s ours
am skip reason: contains skip directive

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

Change-Id: I755348f8a8e940741ebffb5a64d50e5d46b18062
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 16:55:15 +00:00
Treehugger Robot
bb3518884e Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-02 16:40:10 +00:00
Bill Yi
ba4161b68b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6b4ec662a766b9c95f01299f82b2c8d7b0fa213c
2024-04-02 00:27:42 -07:00
Bill Yi
4988629481 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1215dc2f61a3d6278658212749aec75edf4eff1a
2024-04-02 00:27:10 -07:00
Bill Yi
4046bc668b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib38aca104a8bd610756af4e0016a9efd9d8ad09e
2024-04-02 00:26:10 -07:00
Bill Yi
b1ef45cf1f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ida67111c12717453e5f1a68f5ef868bcc4758a9e
2024-04-02 00:25:40 -07:00
Sebastian Franco
3d04c1f3fc Fix widget dissapearing because of change of appWidgetId
When migrating the widgets might dissapear because the appWidgetId
can change and when migrating it's no longer valid.

Bug: 324931424
Bug: 330583877
Test: ValidGridMigrationUnitTest
Test: GridMigrationTest
Flag: NA
Change-Id: Ie41a01470814b252f6bb7e4409d3382951a1d70d
2024-04-01 20:19:20 -07:00
Shamali P
809e1a8efb Fix issue that old search results list show up momentarily
After exiting the search, we clear the search results and hide the
results lists (because that recycler view shouldn't be accessible after it). However, it often doesn't get chance to layout the empty data.
So, the next time we show the search results list again with new data,
it first animates to clear the old results and then animates in the new
ones. In this fix,
[demo](http://screencast/cast/NDg5OTg2NzIyMTU1NzI0OHxhMTk0NzEzZS1hYw), we swap the adapter to remove any old views, because old search results aren't valid anymore. Spoke with yigit who worked on RV in past and they suggested swapAdapter
was fine for this.

Other options explored:
1. set item animator = null; so, it doesn't animate flushing out old
results -> but we want animations
2. delay the visibility update to let layout happen -> but, if we are
 hiding the section,  why wait making the other UI updates until
layout?

Bug: 274051332
Flag: N/A
Test: Manual
Change-Id: I9f9c5a67b47b5415b2d9e4caa23fd4b6daf7cdea
2024-04-01 23:07:03 +00:00
Shamali Patwa
1270b0810b Merge "Don't show badge for widgets in recommendations" into main 2024-04-01 22:44:05 +00:00
Liran Binyamin
1bc33421de Merge "Initial animation of new bubble bar bubble" into main 2024-04-01 17:54:59 +00:00
Ats Jenk
599ed3ba06 Merge "Create drop target for bubble bar" into main 2024-04-01 17:14:55 +00:00
Shamali P
48c2f8a0dc Don't show badge for widgets in recommendations
- Now that we display app logo, it will already be badged. So, another
badge on widget itself is not necessary. Moreover, when widget previews
don't fill bounds, its position feels inconsistent.

Bug: 331838199
Test: Manual (see screenshot in bug comment)
Flag: N/A
Change-Id: Id411d054de634d7735b70fff9540e580b078b741
2024-04-01 14:39:58 +00:00
Jeremy Sim
6c585ca7d7 Merge "Update save app pair icon" into 24D1-dev am: 370d05a276
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26743078

Change-Id: I35ba86a1e032467a3bbc1775bf3a4271533060f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-30 03:49:36 +00:00
Jeremy Sim
370d05a276 Merge "Update save app pair icon" into 24D1-dev 2024-03-30 03:36:21 +00:00
Jeremy Sim
da4ba9336e Merge "Reparent folders and app pairs" into main 2024-03-30 03:06:44 +00:00
Mateusz Cicheński
bc77683210 Merge "Support going home from immersive fullscreen in 3 button nav" into main 2024-03-29 23:21:23 +00:00
Sukesh Ram
5c34cf2d06 Fix Taskbar Background Visibility After Entering IME then Overview.
Fixed issue whereby taskbar background disappears as expected when the IME switcher is present, but does not appear again if the overview button is pressed after this state.

Flag: NONE
Test: Manually tested in Felix Landscape mode.
Bug: 297472865
Change-Id: If1074b28870c794db8a87dd6cd59f9656dc7c15d
2024-03-29 16:08:43 -07:00
Jeremy Sim
742630c2f8 Reparent folders and app pairs
Previously, app pairs and folders shared a common data model, FolderInfo. Now we need to separate them, so a new type, CollectionInfo, will serve as the parent of both types.

Bug: 315731527
Fixes: 326664798
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Test: Manual, unit tests to follow
Change-Id: Ia8c429cf6e6a376f2554ae1866549ef0bcab2a22
2024-03-29 15:39:28 -07:00
Automerger Merge Worker
adf1df2e7e Merge changes from topic "am-d6f679a9148840b4beaadf3677246075" into main
* changes:
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: ff0d5f0b6a -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2e779a3301 -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a8c1f8aca3 -s ours
2024-03-29 22:37:12 +00:00
Treehugger Robot
2bdd3bddef [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: ff0d5f0b6a -s ours
am skip reason: contains skip directive

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

Change-Id: I6be449ed42a512f84f96ec8150521a240c842b87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 22:36:31 +00:00
Bill Yi
825bc026f9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2e779a3301 -s ours
am skip reason: contains skip directive

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

Change-Id: I97f2a509a2c58174b3a4fba493c71cc157c44736
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 22:36:24 +00:00
Treehugger Robot
124a9596b6 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-29 22:36:18 +00:00
Treehugger Robot
9f599f0636 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-29 22:36:18 +00:00