Commit Graph

78507 Commits

Author SHA1 Message Date
Greg Kaiser e8b1d45485 Revert^3 "Refactor/clean up Overview Actions buttons"
6b99fe1a00

Change-Id: I8f4054335b7bdee898ce3943f4a3798ba51c6fbc
2023-12-07 13:54:39 +00:00
Anna Zhuravleva 63d9cee7b8 Merge "Log taps on PS container buttons" into main 2023-12-07 09:56:10 +00:00
Vadim Tryshev d987586323 Disable alpha jump detector
The detector flakes, and I have no bandwidth now to take care of it.

Bug: 309014345
Test: presubmit
Flag: N/A
Change-Id: I97b02736354274a97ed0eb4eb71773a5c858cae4
2023-12-06 18:57:33 -08:00
Vadim Tryshev 4b3cc96ac2 Waiting for Launcher stop when dropping a widget that starts an activity
This will help to ensure that Launcher state has settled before continuing the test.

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I810c3bd1da2839a482422396536acd664f3e4b82
2023-12-06 18:46:14 -08:00
Vadim Tryshev 286581ebf2 Partially reverting waiting for animation when setting widget result
It flakes, i.e. sometimes the animation is not detected.

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I829e4124879c3a3abe78762a8d04fcd0494f5b1a
2023-12-06 18:15:52 -08:00
Bill Yi aa84ba761e Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-12-07 00:09:23 +00:00
Brandon Dayauon b23612c2c0 Merge "Null check activityContext because the activityContext can be null when called from SearchDelegateView." into main 2023-12-06 23:23:42 +00:00
Federico Baron e3a6033704 Merge "Update widget picker two pane to support foldables" into main 2023-12-06 23:11:58 +00:00
Andy Wickham fa1b3bd05b Merge "Improve touch finished logging" into main 2023-12-06 23:01:19 +00:00
Tony Wickham 18551f29fe Remove ENABLE_TRANSIENT_TASKBAR and long-press stash support
Flag: NA
Test: manual, TaplTestsTaskbar, TaplTestsPersistent, TaplTestsTransient
Fixes: 270395798
Change-Id: I4ecf5ddcd1206e846538175c684043c5e065fd5d
2023-12-06 22:13:10 +00:00
fbaron eee16c7ac5 Update widget picker two pane to support foldables
Bug: 301918659
Test: WidgetPickerImageTest
Flag: ACONFIG com.android.launcher3.enable_unfolded_two_pane_picker DEVELOPMENT
Change-Id: I5beecf4f8c46235f3e89c7bd8aed65fd292883ce
2023-12-06 12:48:24 -08:00
Vadim Tryshev 0156324805 Merge "Waiting for wallpaper animation in widget tests only for Nexus Launcher" into main 2023-12-06 20:23:04 +00:00
Sebastian Franco 5cb2c646f0 Simplify attemptPushInDirection
Flag: NA
Bug: 229292911
Test: ReorderAlgorithmUnitTest
Change-Id: I0d8cda2534592a8efce25d254579c4580d645e42
2023-12-06 13:43:27 -06:00
Vinit Nayak 5aac28a031 Merge "Revert^2 "Refactor/clean up Overview Actions buttons"" into main 2023-12-06 18:49:27 +00:00
Holly Jiuyu Sun a568183f55 Merge "[cleanup] Clean up LayoutType.PEOPLE_TILE." into main 2023-12-06 18:32:30 +00:00
Vadim Tryshev c0fc0d2b0b Waiting for wallpaper animation in widget tests only for Nexus Launcher
Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I6235b2ffc66db9f32ce998523cad74bb239588d0
2023-12-06 10:21:50 -08:00
Tony Wickham 5a26b1ce0f Merge "Change TAPL to swipe to stash taskbar (instead of deprecated long press)" into main 2023-12-06 18:06:44 +00:00
Jordan Silva c0c1999e8f Merge "Update TaplOpenCloseAllApps click position to dismiss All Apps" into main 2023-12-06 17:53:45 +00:00
Brian Isganitis a2b3295892 Remove types PIN_IME_POPUP and TASKBAR_ALL_APPS from TYPE_ACCESSIBILE.
Users should be able to focus on content below the popup (i.e. the
search results). TYPE_ACCESSIBLE forces focus to only be on the
AbstractFloatingView.

Test: Talkback
Fix: 308361666
Flag: N/A
Change-Id: I84bb2680463b6294d463aa25f7a3bec8e676d660
2023-12-06 17:39:31 +00:00
Federico Baron 5618e82d06 Merge "Add ACONFIG flag enable_tablet_two_pane_picker_v2" into main 2023-12-06 17:18:54 +00:00
Sebastián Franco 7ce518743a Merge "Moving startBinding and clearPendingBinds to ModelCallbacks" into main 2023-12-06 17:09:56 +00:00
Sunny Goyal 0d152a5bf6 Merge "Revert "Revert "Removing unnecessary iconFactory class when gene..."" into main 2023-12-06 16:11:43 +00:00
Jordan Silva 6728f40220 Update TaplOpenCloseAllApps click position to dismiss All Apps
After enabling responsive grid all apps container for tablet got wider. The previous calculation to click outside the All Apps container for this test no longer works.
This CL updates the click position to click after the All Apps scrollbar position. Also it changes the click to be right next to the container and not halfway to the edge. The calculation to get the position halfway to the edge was leading to a invalid click position where the click was happening inside the 24dp limit of the edge, and it was not dismissing the AllApps container.

Fix: 315076033
Fix: 315084703
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: TaplOpenCloseAllApps
Test: TaplTestsTaskbar
Change-Id: I38bcdb4e0d4c27f35a16fa04411c65627bc88b11
2023-12-06 12:12:03 -03:00
Andreas Agvard cad2f1ed9c Improve touch finished logging
Test: Manual
Bug: 314993218
Flag: N/A
Change-Id: I1cf827ed3125071b722c617c384350b53e57fac5
2023-12-06 15:52:57 +01:00
Bill Yi 42dc5249ad Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia0be1d60e62b547645acee5bb5e34af457ade67c
2023-12-05 18:25:53 -08:00
fbaron 5176d7b074 Add ACONFIG flag enable_tablet_two_pane_picker_v2
Bug: 315055849
Test: NONE
Flag: ACONFIG com.android.launcher3.enable_tablet_widget_picker_v2 DEVELOPMENT
Change-Id: I7c7e49dc6fe2de3c4f3f28a9b8f67035c67831e6
2023-12-05 17:44:15 -08:00
Vadim Tryshev 42476cc355 Merge "Waiting for wallpaper animation completion when configuring new widget" into main 2023-12-06 01:43:07 +00:00
Vinit Nayak 7b7dca38cb Merge "Pass through both the widget's pendingIntent and remoteView intent" into main 2023-12-06 01:24:05 +00:00
Treehugger Robot 45af4de0a1 Merge "[ps] Add data source for launcher." into main 2023-12-06 01:05:27 +00:00
Jagrut Desai 66283595b9 Fixing/Adding Support for "Move to top/left" and "Move to bottom/right" Talkback Menu Item Action
Test: Manual
Bug: 307878012
Flag: NONE
Change-Id: I9d80c3c976193bfea911e1531ed180f4ee4aa8f5
2023-12-05 13:55:49 -08:00
Vadim Tryshev 878784aa2d Merge "Waiting for Launcher activity to stop in OverviewTaskMenu.tapAppInfoMenuItem" into main 2023-12-05 21:34:23 +00:00
Vadim Tryshev 61434924f0 Waiting for wallpaper animation completion when configuring new widget
This will help to ensure that Launcher state has settled before continuing the test.

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: Ice7ae8a2517d68c53d135a34cc33e11f3203f788
2023-12-05 13:32:41 -08:00
Jordan Silva 85cea3e07b Merge "Update ReorderWidget tests to drag and drop widget inside the board" into main 2023-12-05 21:18:29 +00:00
Will Leshner 9dce65e05a Show Launcher's widget picker in an activity.
Bug: 307306823
Test: atest Launcher3Tests
Flag: NA

Change-Id: I28ef731abcdf1bd44c66366d42a135912dbcc5be
2023-12-05 13:12:05 -08:00
Tracy Zhou 7fae462565 Pass in navigation bar panel context created by task bar when taskbar navbar unification is on
When the flag is on, task bar is created with window context navigation bar. The floating rotation button window context should be in navigation bar panel.

Fixes: 309930089
Test: N/A
Change-Id: I730a4b898d9fb65cc5d7544dcb37dfe32d49a632
2023-12-05 12:53:51 -08:00
Tony Wickham d546564f3e Change TAPL to swipe to stash taskbar (instead of deprecated long press)
This also means Taskbar is transient by default in automated tests,
instead of persistent. Updated some checks accordingly.

Flag: LEGACY ENABLE_TRANSIENT_TASKBAR ENABLED
Test: TaskbarExpandCollapse#hideShowTaskbar; TaplTestsTaskbar;
TaplTestsTransientTaskbar; TaplTestsPersistentTaskbar
Bug: 270395798

Change-Id: Ie7b8fcedb94e33742b7bf18cb829dab55af74b7d
2023-12-05 20:38:41 +00:00
Priyanka Advani f796ae1c2a Merge "Revert "Update isLauncherInitialized check to wait until Launcher has stopped binding items"" into main 2023-12-05 19:08:41 +00:00
Sebastian Franco e4965124ad Moving startBinding and clearPendingBinds to ModelCallbacks
Changes are part of go/launcher_SoR .

Flag: NA
Bug: 301108526
Test: This is a no-op change, compiling should be the test
Change-Id: I49eb6f88bb680c289f4e73cc108671b37b18fae7
2023-12-05 13:04:42 -06:00
Sebastián Franco 8d07e2f80a Merge "Adding ReorderParameters to ReorderAlgorithm" into main 2023-12-05 19:03:05 +00:00
Jordan Silva 3e5688af97 Fix folder icon drawable padding for responsive grid
Bug: 314285621
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: NexusLauncherImageTests
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeDisplaysDumpTest
Change-Id: I502a112a0c7d1e6ec1de8501efb8d2893436e880
2023-12-05 15:12:29 -03:00
Sunny Goyal 1aaa3aa795 Merge "Revert^3 "Changing SystemUiProxy to kotlin"" into main 2023-12-05 17:23:24 +00:00
Priyanka Advani 99d2b4827d Revert "Update isLauncherInitialized check to wait until Launcher has stopped binding items"
This reverts commit 7ab2c874c9.

Reason for revert: Likely culprit for b/311366267

Change-Id: I52a2c7527a90698866aef44217230ef7ae5064ee
2023-12-05 17:07:38 +00:00
Tracy Zhou d4235f504b Merge "Do not apply rounded corner background to task bar when it's in phone mode" into main 2023-12-05 16:55:26 +00:00
Jordan Silva 21cdba04c3 Update ReorderWidget tests to drag and drop widget inside the board
Fix: 314946012
Flag: N/A
Test: ReorderWidgets
Change-Id: I9e160e76a1fff568af9b21bebc46ef11fb97b962
2023-12-05 10:55:31 -03:00
Anna Zhuravleva 2ef6704e61 Log taps on PS container buttons
Log taps on space locked/unlocked, settings
buttons

PDD: https://eldar.corp.google.com/assessments/873128385/revisions/1

Test: logcat StatsLog, output
https://paste.googleplex.com/6250774946906112
Bug: 314933661
Flag: ACONFIG com.android.launcher3.Flags.enable_private_space TEAMFOOD
Change-Id: I528443ba56a0db144ce613ea8d41426b6ede434d
2023-12-05 13:40:00 +00:00
Andreas Agvard 52b5113e8d Merge "Adds supportsCommitHaptic" into main 2023-12-05 12:48:15 +00:00
Johannes Gallmann e8575dfbe9 Merge "Fix delayed taskbar animation for predictive back" into main 2023-12-05 12:37:30 +00:00
Jeremy Sim 6b99fe1a00 Revert^2 "Refactor/clean up Overview Actions buttons"
Second attempt after ag/25292769 was reverted (fixed the screenshot test failure)

Bug: 274835596
Test: atest OverviewImageTest#testOverview
Flag: NA
Change-Id: I3e442264e946b3a0979ca3e401b9ffd30671a291
2023-12-05 11:36:01 +00:00
Satish Yalla b85266aef2 Merge "Revert "Change TAPL to swipe to stash taskbar (instead of deprec..."" into main 2023-12-05 10:21:18 +00:00
Sunny Goyal f002d014cd Revert^3 "Changing SystemUiProxy to kotlin"
b1e430bcb9

Change-Id: I67ed9f357da99119686f935252c8ab88416b56bd
2023-12-05 07:28:46 +00:00