Commit Graph

78507 Commits

Author SHA1 Message Date
Anushree Ganjam 14721d1e3a Dagger codeswap setup between Quickstep and NexusLauncher (2/n)
Bug: 361850561
Test: Manual
Flag: NONE Dagger Integration
Change-Id: Ic552091d91b991b2fdaf5c3eaa73f394328889e3
2024-08-29 10:05:12 -07:00
Jagrut Desai 728096835a Promote TaplAddWidgetTest#testResizeWidget
Test: Presubmit
Bug: 316910614
Flag: TEST_ONLY
Change-Id: Ic4b927f523df7ac531fdbd88670adb12fc43df13
2024-08-29 09:27:57 -07:00
Vinay Joglekar 858b76e7ed Merge "(1/2) Fix NPE for title description broken by ag/28991306. It can be nullable initially before its set." into main 2024-08-29 10:58:10 +00:00
Treehugger Robot a587ea691e Merge "Promote testUninstallFromWorkspace to presubmit" into main 2024-08-29 00:27:34 +00:00
Mark Fasheh 4baa30d151 Update launcher cold startup trace
Bug: 341061764
Flag: EXEMPT bugfix
Test: Boot phone, take trace
Change-Id: I29b5be5525206ac83bc36596395a1f71b43715c6
2024-08-29 00:03:00 +00:00
Treehugger Robot 0816257f8d Merge "Revert "Add screenrecord and demote TaplTestsTrackpad#switchToOverview"" into main 2024-08-28 23:40:54 +00:00
Anushree Ganjam 7310809645 Merge "Setup Dagger for Launcher (1/n)" into main 2024-08-28 23:38:33 +00:00
Jagrut Desai 62fb48d247 Merge "Extend DesktopVisibilityController Funcationality to handle taskbar corner radius in desktop windowing mode" into main 2024-08-28 23:36:08 +00:00
Zak Cohen 7f9985af96 FloatingWidgetView - avoid calling position callback when nothing changes.
Previously, the position changed callback for the transition animation
was called on every layout change, whether or not the position has changed.

Now only call the callback and the layout changes if the targets don't
match the current state.

Bug: 327696338
Flag: EXEMPT bug fix
Test: manual
Change-Id: I3007a1c8d0a869866c66eb14d75f5b48d977f863
2024-08-28 16:33:03 -07:00
Treehugger Robot f73bca7a2c Merge "Make TasksRepository listen to changes in task visuals and update" into main 2024-08-28 22:31:22 +00:00
Vinit Nayak d42af4b55e Promote testUninstallFromWorkspace to presubmit
Bug: 311099513
Test: None
Flag: EXEMPT bugfix
Change-Id: I28731c173e4cdb473e4fc9fb954a82a5f57c02f5
2024-08-28 15:15:15 -07:00
Sebastian Franco ef0b042f5c Add waiting to test to wait for the Workspace to be in Edit mode
I thought I wouldn't need to wait for the Edit mode to start but
sometimes the test goes too fast and drops the item before we get
to the edit mode and the drop doesn't have the correct coordinates
or get's cancelled.

Fix: 352569050
Test: IntegrationReorderWidgetsTest
Flag: TEST_ONLY
Change-Id: I744579c28267189f85b9ca297e1d170d6120bb64
2024-08-28 22:06:36 +00:00
Treehugger Robot cf4666fbad Merge "Honors three_button_corner_swipe flag." into main 2024-08-28 21:25:45 +00:00
Federico Baron 374aa5a81f Revert "Add screenrecord and demote TaplTestsTrackpad#switchToOverview"
This reverts commit afe67917d1.

Reason for revert: no longer needed

Change-Id: I85e8928ef1def5583cfe6322bc522279bfeb62e1
2024-08-28 21:25:26 +00:00
Vadim Tryshev 144852b035 Promote com.android.quickstep.TaplTestsQuickstep#testSwitchToOverview to presubmit
Test is stable now

Change-Id: I747b79ae56107d91823bf0d1b02d83c717089d64
Test: presubmit
Bug: 187761685
Flag: NONE not a prod change
2024-08-28 20:50:05 +00:00
Anushree Ganjam bd8633133f Setup Dagger for Launcher (1/n)
Bug: 361850561
Test: Manual
Flag: NONE Dagger Integration
Change-Id: Idbe19f1aa747f519417e21fe8a23a41c52ececc1
2024-08-28 12:11:47 -07:00
Uwais Ashraf 7640d97421 Make TasksRepository listen to changes in task visuals and update
To do this TaskVisualsChangedDelegate was added which multiplexes two listeners that are closely related.

Thumbnail overriding capabilities were also removed.

Fix: 342560598
Test: TaskVisualsChangedDelegateTest, TasksRepositoryTest
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Change-Id: If065e4179cd1f15fe2cdf9b6bae51afcb57abcc6
2024-08-28 18:18:31 +00:00
Liam, Lee Pong Lam 60dfc4375e Ignore three finger trackpad for nav handle long press
To disable Omient trigger by three finger trackpad

Bug: 342143522
Flag: com.android.launcher3.ignore_three_finger_trackpad_for_nav_handle_long_press
Test: Manual

Change-Id: Ic283a4a376a6e628d6c16d6fd4088a9f5e10a0c5
# Conflicts:
#	aconfig/launcher.aconfig
2024-08-28 17:48:28 +00:00
Jagrut Desai dd737b590c Refactor TaskbarIconSpecs and TaskbarSpecsEvaluator
This cl includes
	- Because of IconNormalizer bug we are inflating iconsizes to match the specs.
	- specs changed from row x column to column X row.

Test: Presubmit
Bug: 356465292
Flag: com.android.launcher3.enable_taskbar_customization
Change-Id: I4b4856da92053149267e66a187f744c9c00ea3d9
2024-08-28 09:58:33 -07:00
Tracy Zhou 9c12d8ff41 Merge "Skip nav button animation in gesture nav mode" into main 2024-08-28 16:34:45 +00:00
Jordan Silva e7ae4e31ae Refactoring OverviewCommandHelper (1/3)
- Updates pendingCommands to be a ConcurrentLinkedDeque and make the list safe across multiple threads.
- Introduces CommandStatus to clear only IDLE and COMPLETED commands.
- Adds CommandType enum to prevent adding an invalid command value into the queue and having an unexpected behavior.
- Log messages improved

Bug: 352046797
Bug: 351122926
Flag: EXEMPT bugfix.
Test: Manual.
Change-Id: I80705dca0be579e62cb9e2bd923808dd33c4d633
2024-08-28 17:09:29 +01:00
Jon Miranda 9bcdb1cbe9 Fix bug where PredictedIcon circle/dot flicker.
The issue is that the PredictedIcon in the Taskbar would draw
right before we swap to the matching icon in the Hotseat.

Fixes: 362677520
Test: launch predicted app icon from hotseat, swipe to go home
Flag: EXEMPT bugfix
Change-Id: Iab8b707edf846b257c7fb7cacc9008e5c66353a7
2024-08-28 08:35:14 -07:00
Vinay Joglekar c41fb6baf3 (1/2) Fix NPE for title description broken by ag/28991306. It can be nullable initially before its set.
Test: Manual
Bug: 345789862
Flag: EXEMPT bugfix
Change-Id: I6c26d10a142e8a5f132d47c0559e6b23a1968bd2
2024-08-28 15:04:19 +00:00
Treehugger Robot 4fd9449d64 Merge "Convert DigitalWellBeingToast to Kotlin" into main 2024-08-28 12:22:03 +00:00
Charlie Anderson 7f4e40c958 Merge "Slightly lower icon shadow insets to avoid accidental shrinking or padding" into main 2024-08-28 11:24:01 +00:00
Charlie Anderson 5e319c2a11 Merge "Add logging for onPackageAdded callback to see if installed packages are added to Launcher." into main 2024-08-28 11:23:09 +00:00
Pat Manning 632444a266 Merge "Add 4dp vertical offset to taskbar hover tooltip." into main 2024-08-28 11:07:25 +00:00
Alex Chau 141a4c9857 Convert DigitalWellBeingToast to Kotlin
Bug: DigitalWellBeingToast
Test: manual
Flag: EXEMPT refactor
Change-Id: I9998269b32e89725e311c3ca88e924a55c196412
2024-08-28 11:46:15 +01:00
Tracy Zhou 4cbceb1208 Skip nav button animation in gesture nav mode
- Also removed unused rotation button code
- Skip adding certain property holders in phone mode
- Update FLAG_SMALL_SCREEN value from isPhoneButtonNavMode to isPhoneMode, so that it's more aligned with what the name suggests (it shouldn't affect the functionality regardless as the view is invisible in small screen)

Based on https://b.corp.google.com/issues/361593564#comment4

Bug: 361593564
Test: manual
Flag: EXEMPT bugfix
Change-Id: I1de7fa061a6c6aba9f949a0bcf8cfced84273e3f
2024-08-27 21:15:55 -07:00
Treehugger Robot f35a60136f Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-28 02:48:37 +00:00
Treehugger Robot 989ee1262b Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-28 02:48:37 +00:00
Tracy Zhou 59a4dfdcd8 Merge "Skip taskbar animations from launcher state changes in phone mode" into main 2024-08-28 00:19:54 +00:00
Treehugger Robot 4503c2c60c Merge "Polish transition between desktop mode and overview" into main 2024-08-27 23:57:21 +00:00
Sunny Goyal 3aa9668bef Merge "Cleanup unused workspacePageIndicator" into main 2024-08-27 23:03:20 +00:00
Charlie Anderson 0c54dbd4a5 Slightly lower icon shadow insets to avoid accidental shrinking or padding
Bug: 350758155
Test: locally
Flag: com.android.launcher3.use_new_icon_for_archived_apps
Change-Id: I5d0396c3e4710873ff797a35b97fad7e79a14495
2024-08-27 22:41:42 +00:00
Sunny Goyal 42becd041b Cleanup unused workspacePageIndicator
Fix: 270395278
Flag: NONE removing dead code
Test: verify everything still works the same
Change-Id: Id0eda5c5994c3323a8d16900678fbd7b39911b62
2024-08-27 12:23:21 -07:00
Tracy Zhou 65eaea39cc Merge "Skip animating stashed handle color based on color sampling if it's the same" into main 2024-08-27 18:41:43 +00:00
Tracy Zhou 23e6f38eb5 Skip updating taskbar background alpha in phone mode
Based on https://b.corp.google.com/issues/361593564#comment4

Bug: 361593564
Test: manual
Flag: EXEMPT bugfix
Change-Id: I1b23847af707e6fa208345b87953b53f79543bfe
2024-08-27 11:40:11 -07:00
Schneider Victor-tulias 51433debcd Polish transition between desktop mode and overview
Fixing desktop task in place along the x-axis and animating its background's alpha to more smoothly handle the transition.

Flag: com.android.launcher3.enable_desktop_task_alpha_animation
Fixes: 320307666
Test: swiped to and from desktop mode and overview
Change-Id: I38d62d0c966733f96c2f4d4ecfa4a9418039fd48
2024-08-27 18:15:06 +00:00
Charlie Anderson 70ac7a055e Add logging for onPackageAdded callback to see if installed packages are added to Launcher.
Bug: 350144057
Flag: NONE just logs
Test: locally
Change-Id: Iba08aea3e370ce1a992f3d680790470d9ab193fd
2024-08-27 13:38:23 -04:00
Tracy Zhou 111d05c913 Skip taskbar animations from launcher state changes in phone mode
Based on https://b.corp.google.com/issues/361593564#comment4

Bug: 361593564
Test: manual
Flag: EXEMPT bugfix
Change-Id: I93d1cfc3b0eaec6b9496d13acc14d20c4de6d3b1
2024-08-27 09:33:05 -07:00
Sebastián Franco dd981d78b5 Merge "Adding logs to find which call is responsible for the animation error" into main 2024-08-27 16:28:09 +00:00
Pat Manning fd2f14c845 Add 4dp vertical offset to taskbar hover tooltip.
Bug: 356352494
Test: TaskbarHoverToolTipControllerTest
Flag: EXEMPT bugfix
Change-Id: Iba546b009abcd6a30abc60349961028f27d2bf26
2024-08-27 15:33:35 +01:00
Shamali Patwa 94c4dbfbbb Merge "Reuse widget picker's surface color in add item dialog." into main 2024-08-27 13:55:03 +00:00
Treehugger Robot 565f7e73b5 Merge "Convert OverviewCommandHelper to Kotlin" into main 2024-08-27 12:54:04 +00:00
Bill Yi 89cf733f24 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibda937ad6b5ad93bbccac97b15f5f0a934a8a7bf
2024-08-27 00:22:17 -07:00
Bill Yi 05ea1f752e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7afdcb2bca36df6f83a871c4eb0d2c33f8949450
2024-08-27 00:21:28 -07:00
Tracy Zhou 9146984e69 Merge "Only call notifyUpdateLayoutParams when the params is changed" into main 2024-08-27 02:31:15 +00:00
Treehugger Robot fe4cb0de51 Merge "Add logging around InstallSessionTracker to verify PackageInstaller is communicating with Launcher." into main 2024-08-27 00:55:49 +00:00
Sebastian Franco 7f9518145a Adding logs to find which call is responsible for the animation error
Bug: 311077782
Test: not aplicable
FLag: EXEMPT bugfix
Change-Id: I2d5a28a8244819a795402fdcf599009ad1abd0dc
2024-08-26 17:08:01 -07:00