summaryrefslogtreecommitdiff
path: root/quickstep/tests/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add screenrecord for testOverviewDeadzones" into mainFederico Baron2024-02-281-0/+1
|\
| * Add screenrecord for testOverviewDeadzonesfbaron2024-02-271-0/+1
| | | | | | | | | | | | | | Bug: 326839375 Test: TaplTestsQuickstep#testOverviewDeadzones Flag: NONE Change-Id: Ic7e889be042a76aa0979cc32d3d43a562a80f491
* | Merge "Stash taskbar when software keyboard is docked" into mainHelen Cheuk2024-02-271-1/+1
|\ \
| * | Stash taskbar when software keyboard is dockedhelencheuk2024-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stash taskbar when 1) Software keybaord is docked 2) Input toolbar is placed at the taskbar area (stash so toolbar and taskbar would not overlap) Testing result: https://drive.google.com/file/d/1NMDexHl0FgyHFaOUh_GSEEUU2k08STJH/view?usp=sharing Bug: 317251202 Test: TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet Flag: N/A Change-Id: I90662bc6e68f644e919f5c702059476b02519ed6
* | | Removing verifying internal Launcher state from testsVadim Tryshev2024-02-261-38/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | I’ve never seen a useful failure from these checks, and now I’m seeing a false positive error. That error is fixable by reworking the code, but I think the value of these checks is not worth the effort. Bug: 322823209 Test: presubmit Flag: N/A Change-Id: If675dad254fb82a2a842ef3f9054936f38de1cff
* | | Focus a task by default when using keyboard to go to overview.Pat Manning2024-02-231-0/+27
| | | | | | | | | | | | | | | | | | | | | Fix: 322898816 Test: TaplTestsQuickstep.java Flag: None. Change-Id: I6d4b0ca6593ed2ac7c7d8793954c36e55b5978de
* | | Merge "Remove the initialize method from setUp since is now on being called ↵Sebastián Franco2024-02-227-28/+1
|\ \ \ | | | | | | | | | | | | on the super method." into main
| * | | Remove the initialize method from setUp since is now on being called on the ↵Sebastian Franco2024-02-217-28/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | super method. Bug: 324261526 Test: most Tapl test Flag: NA Change-Id: Icbf9883613069101a3c8428e8e3b02b1eb01dcd0
* | | | Demote unstable test testQuickSwitchFromApp from presubmitVadim Tryshev2024-02-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 325659406 Test: presubmit Flag: N/A Change-Id: I997fb09c93400a706c08235ad6d1a6dd910398fd
* | | | Merge "Log split metrics through individual sessions" into mainVinit Nayak2024-02-212-13/+22
|\ \ \ \ | |_|/ / |/| | |
| * | | Log split metrics through individual sessionsVinit Nayak2024-02-132-13/+22
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Now we log the original source of the first selected app as soon as the user selects it (previously we only did when user selected second app) * We log the item info for the second app to determine second surface. * Added new metrics to log after user has started a split session and ended a split session * We log different cancellation reasons (cancel button, home gesture, general other app interruptions, etc). * One KI/Bug: When the second app is selected via taskbar in overview, the container will say hotseat because we are using Launcher's logger and not Taskbar's. Taskbar's logger manually overwrites the container in TaskbarActivityContext, we may be able to make something hacky that can allow us to overwrite, but that'll have to be a separate change Bug: 322551862 Test: Logged metrics manually with event and itemInfo Change-Id: I177623fd00ce62acf2d4ee983b58561d8c946d59
* | | Merge "Adding screen recording for FallbackRecentsTest.testOverview" into mainVadim Tryshev2024-02-161-0/+1
|\ \ \
| * | | Adding screen recording for FallbackRecentsTest.testOverviewVadim Tryshev2024-02-151-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | Bug: 321775748 Test: presubmit Flag: N/A Change-Id: I7dddefcf46afde35d86b9f9271c34d46a257281e
* | | Merge "Update phone gesture nav test in NavButtonLayoutFactoryTest" into mainTracy Zhou2024-02-161-9/+11
|\ \ \
| * | | Update phone gesture nav test in NavButtonLayoutFactoryTestTracy Zhou2024-02-151-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think the test was written in the first version of NavButtonLayoutFactoryTest where phone gesture nav layouter didn't exist (verified with the revision history), hence updating the logic here Bug: 324989451 Test atest NavButtonLayoutFactoryTest Change-Id: I325a5d47db86add8d094e61b1de923f50a2db309
* | | | Adding screen record for for the case when quick switch gesture doesn't do ↵Vadim Tryshev2024-02-151-0/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | anything Bug: 313464374 Test: presubmit Flag: N/A Change-Id: I08e3f964cc0fbaebe4b077f08145dc54b967f936
* | | Merge "Revert "Add TAPL test cases for KQS from taskbar all apps."" into mainLiana Kazanova2024-02-141-29/+0
|\ \ \ | |/ / |/| |
| * | Revert "Add TAPL test cases for KQS from taskbar all apps."Liana Kazanova2024-02-061-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 853d7d3b4c4f73352d8fcab72a5457b6dda735d3. Reason for revert:Probable culprit for b/323976612. Will be running through ABTD for verification and before submitting the revert. Change-Id: Ie334d4ec7d8cdad7245610b9384cd3a61f44dc9e
* | | Fix NavButtonLayoutFactoryTest init dependency to turn on ↵Tracy Zhou2024-02-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | enableTaskbarNavbarUnification Fixes: 325084350 Test: run the unit test with the unification flag on, make sure it passes Change-Id: I5f811585ec0c5c04578cbf7990b9790bdb900ee5
* | | Fix NavButtonLayoutFactoryTest setup to turn on enableTaskbarNavbarUnificationTracy Zhou2024-02-131-5/+6
| | | | | | | | | | | | | | | | | | Fixes: 325084350 Test: run the unit test without guarding the flag, make sure it passes Change-Id: If902aeb7e9f06bfa4fa2876995cb67e350839a91
* | | Merge "Creating GestureExclusionManager for a single place to listen for ↵Sunny Goyal2024-02-102-49/+150
|\ \ \ | | | | | | | | | | | | gesture exclusion region changes" into main
| * | | Creating GestureExclusionManager for a single place to listenSunny Goyal2024-02-082-49/+150
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | for gesture exclusion region changes Bug: 273828110 Test: atest GestureExclusionManagerTest Flag: None Change-Id: Ida257b47d4f34b247af0f25310d589b89f790e65
* | | Merge "Fix app pairs launch from in-app Taskbar" into mainJeremy Sim2024-02-092-3/+264
|\ \ \ | |/ / |/| |
| * | Fix app pairs launch from in-app TaskbarJeremy Sim2024-02-092-3/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL adds a handler function in SplitAnimationController that manages the complicated logic flow for launching an app pair when already inside of an app. To give an idea of the complicated logic: If the user tapped on an app pair while already in an app pair, there are 4 general cases: a) Clicked app pair A|B, but both apps are already running on screen b) App A is already on-screen, but App B isn't c) App B is on-screen, but App A isn't d) Neither is on-screen If the user tapped an app pair while inside a single app, there are 3 cases: a) The on-screen app is App A of the app pair b) The on-screen app is App B of the app pair c) It is neither For each case, we call a different animation and launch the app pair in a different way. When merged, this patch will fix all animation glitches that are currently happening in these situations, and get us 90% of the way to having the ideal animation in all cases. There are still a few complicated cases that need a polished animation (like when you launch app pairs with custom ratios), which will be implemented in a following patch soon (I thought this CL was big enough already as is). Bug: 316485863 Fixes: 315190686 Test: Manual testing of all the different launch combinations Flag: ACONFIG com.android.wm.shell.enable_app_pairs TEAMFOOD Change-Id: I5c0e03512bb706360c575d833cac6ed02a5de936
* | | Merge "Revert "Add unit test for StatusBarTouchController.java"" into mainVadim Tryshev2024-02-071-152/+0
|\ \ \
| * | | Revert "Add unit test for StatusBarTouchController.java"Ram Muthiah2024-02-061-152/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1f0465e9f26cba907a4d50ea8451318e094d1448. Reason for revert: Droidmonitor investigation of test suite failure Bug: 323976612 Change-Id: I07895d5c10984def103c240664755b96b79f1fb5
* | | | Merge "Update test infra to allow split placeholder view in all apps" into mainVinit Nayak2024-02-071-1/+1
|\ \ \ \
| * | | | Update test infra to allow split placeholder view in all appsVinit Nayak2024-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Previously we assume the split placeholder view shouldn't be present in any states except launcher split selection, however with contextual that changes. * Now we only ensure that view isn't there in all apps when we are not in split selection. Test: Test runs and passes locally Fixes: 323418145 Change-Id: Ida92030f9b139532ebb09c1d2646795bbb940bfc
* | | | | Merge "[Predictive Back] Replace legacy flag with aconfig flag in launcher" ↵Fengjiang Li2024-02-062-4/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into main
| * | | | | [Predictive Back] Replace legacy flag with aconfig flag in launcherFengjiang Li2024-02-052-4/+4
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: 323971106 Flag: ACONFIG launcher.enable_predictive_back_gesture DISABLED Test: manual Change-Id: Ie8051af2540699a7d75f1ed05132584d0b40d17d
* | | | | Merge "Update prediction task to provide categorized suggestions." into mainShamali Patwa2024-02-061-2/+25
|\ \ \ \ \
| * | | | | Update prediction task to provide categorized suggestions.Shamali P2024-02-061-2/+25
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds a helper in popup data provider to provide categorized suggestions. Used in follow up CL to update the UI. Bug: 318410881 Test: WidgetsPredictionUpdateTaskTest and manual with follow up changes Flag: ACONFIG com.android.launcher3.enable_categorized_widget_recommendations DEVELOPMENT Change-Id: Ie80e8ba7bbe874f7c4b0e579446edf571036555e
* | | | | Merge "Using system API for rotating DisplayCutout instead of rotating it ↵Sunny Goyal2024-02-061-3/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ourselves" into main
| * | | | | Using system API for rotating DisplayCutout instead of rotating it ourselvesSunny Goyal2024-02-061-3/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 321913010 Flag: NONE Test: Manual Change-Id: Iebbc8c17dc3b92a73866b7e22dfbde18eb3a52ff
* | | | | Merge "Update split with self test since it didn't account for contextual ↵Vinit Nayak2024-02-061-4/+14
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | split" into main
| * | | | Update split with self test since it didn't account for contextual splitVinit Nayak2024-02-051-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Right now we split from all apps and we stay in all apps with contextual split. * We now have 2 paths, if we are in contextual split then we should select the same app from all apps again Fixes: 323418145 Change-Id: I3bde59847b9e47951a6acdc93660b600114c3ddd
* | | | | Merge "Add TAPL test cases for KQS from taskbar all apps." into mainSchneider Victor-tulias2024-02-061-0/+29
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Add TAPL test cases for KQS from taskbar all apps.Schneider Victor-tulias2024-02-051-0/+29
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED Fixes: 323218341 Test: TaplTestsKeyboardQuickSwitch Change-Id: Ie8f23ad14e4a32abbc5b49edc05ce407bbb774e6
* | | | Merge "Refactoring TAPL functions for OverviewTask" into mainJordan Silva2024-02-051-2/+3
|\ \ \ \ | |_|_|/ |/| | |
| * | | Refactoring TAPL functions for OverviewTaskJordan Silva2024-02-051-2/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This CL refactors some methods in OverviewTask to rely on OverviewSplitTask. It also changes the BaseOverview getTasks function to retrieve the parent task and support cases where only the bottomright_snapshot is available in the recent tasks. Bug: 320633351 Test: TaplTestsSplitscreen Flag: N/A Change-Id: I226f895810ce3b46cc107f76cd85e2918abf7088
* | | Add unit test for StatusBarTouchController.javaFengjiang Li2024-02-051-0/+152
| |/ |/| | | | | | | | | | | Test: this one Flag: NONE Bug: 282945183 Change-Id: I76eb4389d71d7a03e038ed6b01b6f5b7923fd11a
* | Update KQS overview launch animationSchneider Victor-tulias2024-02-011-2/+5
|/ | | | | | | | | Updated the KQS overview launch animation to match the spec: open overview and scroll to the focused task in one fluid motion Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED Fixes: 313608085 Test: Opened KQS from home and overview Change-Id: I2d617db29ff46e89fab50bb6f8aee900b6fe649f
* Make sure touch only goes to the nearest button when it makes senseTracy Zhou2024-01-301-1/+4
| | | | | | | | | - In NearestTouchFrame, we can't use view bounds alone since the buttons do not have the same root (3 buttons are in the main container, while the contextual buttons are in the contextual button container). This currently caused the issue that contextual button region, when the contextual buttons are invisible, triggers overview - Need to add an empty space in the left / top area of the button nav to prevent view clicks from going into back (that's how it works in navigationbar/) Bug: 25768138 Test: left and right of 3 buttons don't trigger back or overview Change-Id: Idc26c0c8ac0ecc000300a6db2e3e6251f678dada
* Merge "Simplify/fix testThreeButtonsTaskbarBoundsAfterConfigChangeDuringIme" ↵Tony Wickham2024-01-251-27/+13
|\ | | | | | | into main
| * Simplify/fix testThreeButtonsTaskbarBoundsAfterConfigChangeDuringImeTony Wickham2024-01-251-27/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of dealing with changing dark theme which can lead to races with stale Taskbar icons, instead just go home and launch the IME activity. This is sufficient because the taskbar height changes when going between home and an app, and the IME will stash the Taskbar during this transition. Fixes: 320490387 Test: testThreeButtonsTaskbarBoundsAfterConfigChangeDuringIme Flag: None Change-Id: Ib5b1481751af0bf1fccda085c78174f6612441b9
* | Merge "Promote testQuickSwitchToPreviousAppForTablet to pre-submit" into mainTony Wickham2024-01-251-4/+0
|\ \
| * | Promote testQuickSwitchToPreviousAppForTablet to pre-submitTony Wickham2024-01-241-4/+0
| |/ | | | | | | | | | | | | Fixes: 314873201 Test: testQuickSwitchToPreviousAppForTablet Flag: None Change-Id: I9d6b8b6aa1925f5133269a874cf7ca888c945ed3
* / Use nearest region for all the nav buttons in 3-button folded modeTracy Zhou2024-01-241-1/+1
|/ | | | | | | Bug: 230395757 Test: In 3-button folded mode, make sure that the touches that happen between nav buttons go to the nearest button. No regression in other modes. Change-Id: Icb776a9a4ed4fc31d33dc3267c7053f2b0da0bfc
* Demoting new flaky test ↵Vadim Tryshev2024-01-161-0/+4
| | | | | | | | | testThreeButtonsTaskbarBoundsAfterConfigChangeDuringIme to postsubmit Bug: 320490387 Test: presubmit Flag: N/A Change-Id: I1e94ebc71089f68354069fd932be98dd53926ec4
* Merge "Improve Taskbar touchableRegion debuggability" into mainTony Wickham2024-01-131-0/+31
|\