Willie Koomson
d731ba2ff1
Remove widget education tip dialog
...
This change removes the widget education tip dialog, and the arrow
tip view. These are no longer needed now that taps are handled by
showing an add button.
Bug: 335318980
Test: `pm clear com.google.android.apps.nexuslauncher` and open widget
picker
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add NEXTFOOD
Change-Id: I9b24a41604880f5f94939c02b94f1a9f6a6c83d5
2024-04-25 22:56:36 +00:00
Willie Koomson
ff1a1a9e46
Fix Add button animations
...
Use AnimatorSet to make the fade animations sequential instead of
simultaneous. Also reduce the total duration to 200ms (100ms fade out,
100ms fade).
Before: http://screencast/cast/NjQ4NTcwMjcyNzQzNDI0MHxjNDY5NDJiNy03Mg
After: http://screencast/cast/NTg5NDA0NDI5ODI0ODE5MnxmMjczMTlmYi05Mw
Bug: 333734220
Test: manual, see screencast
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add NEXTFOOD
Change-Id: I2ee87f33c46e5dd07974152fa32393c39a18ecf1
2024-04-25 20:51:15 +00:00
Brian Isganitis
b9d8cdd95f
[automerger skipped] Merge "Reset allAppsVisible if folding to phone upon recreateTaskbar." into 24D1-dev am: ac43b02549 -s ours
...
am skip reason: Merged-In I53c38c8b4df477191be3c21b7750c55a71c7336f with SHA-1 6d63e7796d is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27058861
Change-Id: Ice27b566d85b85c98276050f5b4d99485e356938
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-24 22:21:30 +00:00
Brian Isganitis
708c2aae7e
[automerger skipped] Reset allAppsVisible if folding to phone upon recreateTaskbar. am: 86b5755178 -s ours
...
am skip reason: Merged-In I53c38c8b4df477191be3c21b7750c55a71c7336f with SHA-1 6d63e7796d is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27058861
Change-Id: Idc34f51ed0a94ef7e2022194681c1088fcc714ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-24 22:21:28 +00:00
Brian Isganitis
ac43b02549
Merge "Reset allAppsVisible if folding to phone upon recreateTaskbar." into 24D1-dev
2024-04-24 21:58:49 +00:00
Treehugger Robot
f484664590
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2024-04-24 21:24:35 +00:00
Shamali Patwa
587c3ce049
Merge changes from topic "bottomsheet-with-insets" into main
...
* changes:
Align the margins between handle, text, and container with main picker.
Update the app-specific picker to have a container like the main picker
2024-04-24 21:16:28 +00:00
Shamali Patwa
2dfe2e3532
Merge "Limit number of items grouped on a row to 3." into main
2024-04-24 20:52:31 +00:00
Tracy Zhou
a06b40c1c4
Merge "Revert "Hide task bar when folding before the new config renders the correct task bar"" into 24D1-dev am: efec76c861
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27085795
Change-Id: I84aa81f41b522ef8b2e2cb478ea63374bed6eccb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-24 20:26:38 +00:00
Tracy Zhou
efec76c861
Merge "Revert "Hide task bar when folding before the new config renders the correct task bar"" into 24D1-dev
2024-04-24 20:09:38 +00:00
Shamali P
d4997cf063
Align the margins between handle, text, and container with main picker.
...
Also aligns style to match main picker which doesn't set header style.
Requested by Jane / UX.
Bug: 328812171
Flag: N/A
Test: Manual - need to build a SS test for this opened - 336284716
Change-Id: I15fb82e807fdaa55bbfaaf73872273d1d6e84f97
2024-04-24 19:15:11 +00:00
Shamali P
9478a40898
Update the app-specific picker to have a container like the main picker
...
This is to ensure widgets are displayed with same container across the
two pickers.
* http://screencast/cast/NDYxNjMzNDExNjY1MTAwOHwwMTBlYzkwZC0wNg
* http://screencast/cast/NjY1NzAyNzY5NzgwMzI2NHwyYTg3ZWIzNS0wNw
* http://screencast/cast/NTYyMzcwMTc4NDQ5NDA4MHw3Y2JlZDEwZS04Mw
Bug: 328812171
Flag: N/A
Test: Manual - need to build a SS test for this opened - 336284716
Change-Id: I42b743b99cf6f47b7bade57de01b130df78ac1e9
2024-04-24 19:14:50 +00:00
Shamali P
3132947812
Limit number of items grouped on a row to 3.
...
With shortcuts this allows for more space to display two word title
below without ellipsizing it. (screen/4pJvcFFKJhooqZU)
Also let widget description show upto 3 lines to more of it to show
when stacked (screen/7xv8ng4H7iRLU79)
Bug: N/A
Flag: N/A
Test: Screenshot
Change-Id: Ia4e30f943f602b811e607d9cb52152f78cdc20e5
2024-04-24 19:14:23 +00:00
Sukesh Ram
545fe2496b
Merge "Fix Taskbar Background Visibility After Entering IME then Overview." into 24D1-dev am: 31b7966a6d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27070584
Change-Id: Id4f7eec58196caaf18b3b9bac4afaa097dbaa9f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-24 18:26:44 +00:00
Sukesh Ram
31b7966a6d
Merge "Fix Taskbar Background Visibility After Entering IME then Overview." into 24D1-dev
2024-04-24 18:08:28 +00:00
Bill Yi
e0d81cb351
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Iec1f86e7d253eef8d040c6e257d1704b9b1dbc19
2024-04-24 09:50:58 -07:00
Tracy Zhou
9188c1b45b
Revert "Hide task bar when folding before the new config renders the correct task bar"
...
This reverts commit dfb334f1e1 .
Reason for revert: A bunch of WM fixes are in (b/291562764)
Change-Id: I9d08dab976cda112f802ee91256c09ef2026a01f
(cherry picked from commit 4dbac6caa9 )
2024-04-24 16:14:30 +00:00
Saumya Prakash
8245ac04e3
Merge "Only run search edu when enabled, also make code more generic." into main
2024-04-24 16:13:43 +00:00
Alex Chau
de68b73d16
Merge "Avoid unnecessarily add stub task for Desktop task" into main
2024-04-24 13:28:27 +00:00
Jordan Silva
d889ee37c9
Merge "Add a refactored TaskThumbnailView" into main
2024-04-24 11:53:17 +00:00
Alex Chau
576d6ba60e
Avoid unnecessarily add stub task for Desktop task
...
- ag/27016210 caused a regression for DesktopTaskView, where shouldAddStubTaskView returns false whenever DesktopTaskView have multiple tasks
- This is because for an unknown reason, runningTasks for Desktop task is always a single element array. This will be further investigated in b/249371338
- For now, shouldAddStubTaskView will still match DesktopTaskView if any runningTasks matches any of the tasks
Bug: 333844287
Test: With 2 split tasks, unsplit one, go to Overview, launch the other split, unsplit, go to Overview
Test: Swipe up from desktop
Flag: NONE
Change-Id: I40cff473595a21ad1619bcdbde30bb8bfd600e15
2024-04-24 12:25:03 +01:00
Treehugger Robot
f87a1ec91e
Merge "Add permanent TaskView logs to track taskIds being launched" into main
2024-04-24 10:14:44 +00:00
Himanshu Gupta
6fc5e7a010
Merge "Adding Tapl tests for User Installed App in PS." into main
2024-04-24 09:25:28 +00:00
Alex Chau
aa10f54ace
Add permanent TaskView logs to track taskIds being launched
...
Sample logs:
```
04-24 09:26:08.713 12608 12608 D TaskView: launchTaskInternal - launchExistingSplitPair: [1078, 925]
04-24 09:26:11.092 12608 12608 D TaskView: launchTasks - composeRecentsLaunchAnimator: [1078, 925]
04-24 09:26:13.940 12608 12608 D TaskView: launchTaskAnimated - startActivityFromRecents: [933, -1]
04-24 09:26:16.254 12608 12608 D TaskView: launchTasks - composeRecentsLaunchAnimator: [933, -1]
```
Bug: 310064698
Test: manual
Flag: None
Change-Id: Ic190bc9ea749ba4c8324832be8bc86112947b9ba
2024-04-24 09:26:20 +01:00
Alex Chau
b014f6485b
[automerger skipped] Add stub task when matching TaskView is grouped while runningTasks is not grouped am: f7555925c1 -s ours
...
am skip reason: Merged-In I2f33f91956d485957cedf43ccd684f16d42803be with SHA-1 492965326e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27076768
Change-Id: I1c94b22c32eaaf516c3b75e69b90ec2cb13e8d9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-24 08:06:51 +00:00
Alex Chau
f7555925c1
Add stub task when matching TaskView is grouped while runningTasks is not grouped
...
- Completely rewrote shouldAddStubTaskView to simplify the logic
Fix: 333844287
Test: With 2 split tasks, unsplit one, go to Overview, launch the other split, unsplit, go to Overview
Flag: None
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:492965326e7391c8427b6fca7875508e7a957b49 )
Merged-In: I2f33f91956d485957cedf43ccd684f16d42803be
Change-Id: I2f33f91956d485957cedf43ccd684f16d42803be
2024-04-24 07:08:50 +00:00
Alex Chau
0e5a4bb4bd
Merge "Add stub task when matching TaskView is grouped while runningTasks is not grouped" into main
2024-04-24 07:07:50 +00:00
Sunny Goyal
ee6f471f3f
Merge "Using settings cache for listening to haptic feedback setting" into main
2024-04-24 01:25:50 +00:00
Julie Pan
f3296f800d
Merge "Remove mateuszc@google.com from quickstep/tests/OWNERS" into main am: 2eadab3702 am: f18ee90f03
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3038502
Change-Id: I47a7f594de62981ca4252c524e218597002d29b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-23 22:38:21 +00:00
Julie Pan
f94f2c1b33
Merge "Remove mateuszc@google.com from tests/OWNERS" into main am: f6519bd225 am: d2a665cc7f
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/3041215
Change-Id: Ie2f658f4f67033c5e1de6327f6e53016d97ba132
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-23 22:37:48 +00:00
Daniel Akinola
a0ce634e2c
Merge "Force calculator to launch in fullscreen for quickswitch tests" into main
2024-04-23 22:33:50 +00:00
Julie Pan
a9cf79324a
Merge "Merge "Remove mateuszc@google.com from tests/shared/com/android/launcher3/testing/OWNERS" into main am: 06b1e6da76 am: f3d584f4f6" into main
2024-04-23 22:32:30 +00:00
Brian Isganitis
a5af76bbde
[automerger skipped] Merge "Support toggling Taskbar All Apps with 3P Launcher." into 24D1-dev am: 0db4a1aac5 -s ours
...
am skip reason: Merged-In I26f0ed9e921beac762f3f9e6aaceb1002ad4801a with SHA-1 176f186a6d is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27057905
Change-Id: I75207310d4e6503942a32f804c4247d6dd777c57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-23 22:32:20 +00:00
Brian Isganitis
6138534c2b
[automerger skipped] Support toggling Taskbar All Apps with 3P Launcher. am: c383204356 -s ours
...
am skip reason: Merged-In I26f0ed9e921beac762f3f9e6aaceb1002ad4801a with SHA-1 176f186a6d is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27057905
Change-Id: I0323d6d5f9af93bebfbb34917fb5c661a13063d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-23 22:32:17 +00:00
Brian Isganitis
0db4a1aac5
Merge "Support toggling Taskbar All Apps with 3P Launcher." into 24D1-dev
2024-04-23 22:13:11 +00:00
Uwais Ashraf
e21525da40
Add a refactored TaskThumbnailView
...
- Live Tile, swipe (left+right) and dismiss working
- Tests of ViewModel state transitions
- Deprecate the old TaskThumbnailView
- Renaming TaskThumbnailView to TaskThumbnailViewDeprecated
Fix: 335440878
Fix: 331754672
Bug: 331753115
Test: TaskThumbnailViewModelTest
Test: Attached video on bug
Flag: ACONFIG com.android.launcher3.enable_refactor_task_thumbnail DEVELOPMENT
Change-Id: I063b957fe6e56960970dcaadc641848fbd73251c
2024-04-23 23:05:14 +01:00
Saumya Prakash
17cd6ca62a
Only run search edu when enabled, also make code more generic.
...
We only need to run the Search edu if it is enabled on devices. The code
itself is also made more generic in terms of method and variable names.
Fix: 330401405
Test: Enable and disable the search function and check whether the edu tooltip shows
up for each specific use case.
Flag: ACONFIG com.android.launcher3.enable_taskbar_pinning NEXTFOOD
Change-Id: I1cea3ee56922c0b47ae7e8379aad4b36570daa17
2024-04-23 22:02:15 +00:00
Brandon Dayauon
782af232e3
Merge "Update badge color to textColorPrimaryInverse" into main
2024-04-23 20:42:56 +00:00
Treehugger Robot
f005766ff3
Merge "Fix horizontal spacing in PS Header" into main
2024-04-23 20:17:20 +00:00
Sebastián Franco
48d7c10a82
Merge "Make sure we keep the screen record even if the test succeeds" into main
2024-04-23 19:49:44 +00:00
Alex Chau
492965326e
Add stub task when matching TaskView is grouped while runningTasks is not grouped
...
- Completely rewrote shouldAddStubTaskView to simplify the logic
Fix: 333844287
Test: With 2 split tasks, unsplit one, go to Overview, launch the other split, unsplit, go to Overview
Flag: None
Change-Id: I2f33f91956d485957cedf43ccd684f16d42803be
2024-04-23 20:37:44 +01:00
Willie Koomson
f88bf7e23f
Merge "Fix issue with tap-to-add on recycled WidgetCells" into main
2024-04-23 18:53:33 +00:00
Sunny Goyal
99d9c7efbd
Using settings cache for listening to haptic feedback setting
...
Bug: 335280439
Test: Presubmit
Flag: None
Change-Id: I5732875c1e3ce6468078b4bfdc2fa0eb7a29f0de
2024-04-23 11:30:00 -07:00
Treehugger Robot
62a1a8a336
Merge "Move PreInstalled App List to UserCache." into main
2024-04-23 18:24:01 +00:00
Brandon Dayauon
4f781aeac0
Update badge color to textColorPrimaryInverse
...
Just got updated textColorPrimaryInverse color to use on badge to support the themedness. This color
is consistent with the popup icon colors that is already being used.
bug:324574278
Test after:
dark theme: https://drive.google.com/file/d/1Q9BKlbw0bi5yz-wzPa160JMBEqK7QKcJ/view?usp=sharing
light theme: https://drive.google.com/file/d/1QH_FSOo8H63K_8WKfiDuV1ypGqctYMqt/view?usp=sharing
Flag: None
Change-Id: If59e20356d80b234ad405cfe6995d474dbfe5c57
2024-04-23 11:13:22 -07:00
Winson Chung
a9ccb34d1c
Merge "Migrate PackageManagerHelper to MainThreadInitializedObject" into main
2024-04-23 18:10:56 +00:00
Sunny Goyal
edbe8e5ffc
Merge "Fixing MainThreadInitializedObject" into main
2024-04-23 18:06:38 +00:00
Treehugger Robot
2f39e3f4d3
[automerger skipped] Merge "Reland slow gesture callback handling" into 24D1-dev am: 8114a7ffb5 -s ours
...
am skip reason: Merged-In I9805114da34bf44e6b28c2a8a665e4cca88904c2 with SHA-1 f3f0e28762 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26997920
Change-Id: Ib3e109ea7693ee2a56f67e24b0a9808997d68722
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-23 18:02:17 +00:00
Schneider Victor-tulias
a64f844e54
[automerger skipped] Reland slow gesture callback handling am: c30642b97f -s ours
...
am skip reason: Merged-In I9805114da34bf44e6b28c2a8a665e4cca88904c2 with SHA-1 f3f0e28762 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26997920
Change-Id: Ibe23a72efc2c9ad7fedac57fe3633e5ed51cf3a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-23 18:02:14 +00:00
Treehugger Robot
8114a7ffb5
Merge "Reland slow gesture callback handling" into 24D1-dev
2024-04-23 17:47:37 +00:00