summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix custom shortcut testPinyao Ting2019-11-152-17/+18
| | | | | | Bug: 143725213 Change-Id: I296452faea67568b39a35968bb813dc4e51a51fc Merged-In: I296452faea67568b39a35968bb813dc4e51a51fc
* Merge "Tapl: AllApps: ensuring a minimal vertical size of an icon" into ↵TreeHugger Robot2019-11-131-0/+9
|\ | | | | | | ub-launcher3-qt-future-dev
| * Tapl: AllApps: ensuring a minimal vertical size of an iconvadimt2019-11-131-0/+9
| | | | | | | | | | | | | | | | | | Clicking an icon within its padding area is ignored by Launcher. Hence, ensuring that the icon on AllApps is higher that 2 paddings. Bug: 141770616 Change-Id: I19e3ba7cfa25de75a47202845d0838bea46af92c Merged-In: I19e3ba7cfa25de75a47202845d0838bea46af92c
* | disable custom shortcut test in oopPinyao Ting2019-11-121-0/+1
|/ | | | | Bug: 142154748 Change-Id: I08ec8f665a3cc45610f8f2b27a60f7334a2b1b24
* Merge "Refactor SwipeDetector to track both axes" into ↵TreeHugger Robot2019-10-241-19/+25
|\ | | | | | | ub-launcher3-qt-future-dev
| * Refactor SwipeDetector to track both axesTony Wickham2019-10-241-19/+25
| | | | | | | | | | | | | | | | | | | | Existing clients now use the SingleAxisSwipeDetector subclass. A followup CL will add BothAxesSwipeDetector, whose first client will be the quick switch from home controller. Bug: 126596417 Change-Id: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d Merged-In: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d
* | Fix testQuickSwitchFromAppTony Wickham2019-10-231-6/+12
|/ | | | | | | | | | | | | | Instead of starting getAppPackageName() and relying on it being our Test Pin Item activity, instead launch our own test activities with the FLAG_ACTIVITY_MULTIPLE_TASK and FLAG_ACTIVITY_NEW_DOCUMENT flags. Test: - Locally run testQuickSwitchFromApp() from Android Studio - flake -oop -t com.android.quickstep.TaplTestsQuickstep#testQuickSwitchFromApp Bug: 140252765 Change-Id: Ie137261ce65bfd3dd39df78d57784854a026e967 Merged-In: Ie137261ce65bfd3dd39df78d57784854a026e967
* Fix quick switch test gesture in landscape 2-button modeTony Wickham2019-10-151-7/+21
| | | | | | | | | | | It should swipe from the bottom right to top right when the nav bar is on the right, rather than from the bottom left to bottom right. For now, disable testQuickSwitchFromApp() because it seems to have other failures as well. Bug: 140252765 Change-Id: I1f4989f3ea5456c18bb9cbf42ea4b157cee500d7
* Add tests for quick switch from an app and homeTony Wickham2019-10-142-0/+47
| | | | | Bug: 140252765 Change-Id: I5621b614ae2d8cd3db03cae818cf8b8c1c6cb20f
* Merge "Diagnosing anomalies prior to swiping up to Home" into ↵Vadim Tryshev2019-10-031-0/+3
|\ | | | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev am: c3a4819b8c Change-Id: Ifc6a781cea4dc38b58435314b8760e89b327446a
| * Merge "Diagnosing anomalies prior to swiping up to Home" into ↵Vadim Tryshev2019-10-041-0/+3
| |\ | | | | | | | | | ub-launcher3-qt-qpr1-dev
| | * Diagnosing anomalies prior to swiping up to Homevadimt2019-10-031-0/+3
| | | | | | | | | | | | | | | Bug: 141864547 Change-Id: I5f3814c6a90df85136484813ca4ee684da101016
* | | Dump view hierarchy before swiping to homevadimt2019-10-031-0/+2
|\| | | | | | | | | | | | | | | | | am: 233afe98e9 Change-Id: Ib67aa2247ae43f4e875deb07a9d8b53aa5e6f181
| * | Dump view hierarchy before swiping to homevadimt2019-10-021-0/+2
| |/ | | | | | | | | Bug: 141864547 Change-Id: Ifd444c4516f7f27b0dc19c0faa1d4c8716d2254a
* | Merge "Logging the initial state for swiping up to home" into ↵Vadim Tryshev2019-10-031-1/+1
|\| | | | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev am: c49ec38140 Change-Id: If74c630902a212270bae1a58b2085d8a30d2343f
| * Merge "Logging the initial state for swiping up to home" into ↵Vadim Tryshev2019-10-021-1/+1
| |\ | | | | | | | | | ub-launcher3-qt-qpr1-dev
| | * Logging the initial state for swiping up to homevadimt2019-10-011-1/+1
| | | | | | | | | | | | Change-Id: Iff2003f7e6dfe4072613b775722166dc5fec9e02
* | | Merge "Waiting until context menu goes away after attempting to close it." ↵Vadim Tryshev2019-10-031-2/+4
|\| | | | | | | | | | | | | | | | | | | | | | | into ub-launcher3-qt-qpr1-dev am: 7c09214298 Change-Id: If209a43004a41ca682473232789810a4d1828521
| * | Merge "Waiting until context menu goes away after attempting to close it." ↵Vadim Tryshev2019-10-021-2/+4
| |\ \ | | | | | | | | | | | | into ub-launcher3-qt-qpr1-dev
| | * | Waiting until context menu goes away after attempting to close it.vadimt2019-10-011-2/+4
| | |/ | | | | | | | | | | | | Bug: 141770616 Change-Id: I528072e830627d825906ce7c1e3dbb914e2c814e
* | | resolve merge conflicts of 08776ada1e37c4b424893306c058b1de9f85903f to ↵vadimt2019-10-032-4/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-future-dev Bug: None Test: I solemnly swear I tested this conflict resolution. Change-Id: I9a3b0f67ee874b5ec4ad67f41a46ec7876d19082 Merged-in: I9a3b0f67ee874b5ec4ad67f41a46ec7876d19082
| * | Merge "Waiting for Launcher model load in out-of-proc tests." into ↵TreeHugger Robot2019-10-012-4/+0
| |\ \ | | |/ | |/| | | | ub-launcher3-qt-qpr1-dev
| | * Waiting for Launcher model load in out-of-proc tests.vadimt2019-10-012-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Not doing this seems to have caused flakes. Bug: 141770616 Change-Id: Ia9caf20e4a2d93298adf4249ca815ad79bced802 Merged-in: Ia9caf20e4a2d93298adf4249ca815ad79bced802
* | | correct naming and add comments for test case of custom shortcut.Pinyao Ting2019-10-033-4/+15
| | | | | | | | | | | | | | | Bug: 141934188 Change-Id: I69ce5f05214df10e2a376ff68c713efe8874df15
* | | include integration test for adding shortcut widgetPinyao Ting2019-10-033-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | this integration test help us catching app crashes when adding shortcut widgets to the workplace. see b/141568904 for more context. Bug: 141934188 Change-Id: I4d33d6127793efe2071d0d146aef24db6b676360
* | | Some cleanup for SwipeDetector.Andy Wickham2019-10-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is now organized as follows: - private constants - public constants - private final fields - private variable fields - constructors - public methods - private methods - public interface/abstract class This is intended to be a functional no-op. Bug: 141939911 Change-Id: Iad5a9b3b73b35641f8a4f1d52ada6adef3825c47 Tested: Built and sanity checked manually.
* | | Merge "Not unlocking phone on the test start" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-301-2/+0
|\| | | | | | | | | | | | | | | | | am: 872a380b59 Change-Id: I6e0831a2660459803eef6c755e4fcfc9f414c94f
| * | Merge "Not unlocking phone on the test start" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-301-2/+0
| |\ \
| | * | Not unlocking phone on the test startvadimt2019-09-301-2/+0
| | |/ | | | | | | | | | | | | | | | | | | Somehow tests unlock the phone anyways. Bug: 141772190 Change-Id: I66de70ec10a7e9ae05ba942570bf9eff9d9e7a82
* | | Merge "removed extra test protocol for unit test" into ↵TreeHugger Robot2019-09-301-6/+5
|\ \ \ | | | | | | | | | | | | ub-launcher3-qt-future-dev
| * | | removed extra test protocol for unit testPinyao Ting2019-09-301-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 140406263 Test: run TaplTestsLauncher3 Change-Id: I73b3098bd3aa92fed41d22a94cb58fd07263d26a
* | | | fixingtypovadimt2019-09-301-1/+1
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | am: 5d58d25ea3 Change-Id: I7785e6162a79743b2a8c3f6851ade7bea31c1058
| * / fixingtypovadimt2019-09-301-1/+1
| |/ | | | | | | Change-Id: I0d9d9f3f712fc90e82e7660c14ea31779648614a
* | Merge "Removing a too noisy dropbox diag" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-271-1/+0
|\| | | | | | | | | | | am: 7cb5b73dfb Change-Id: Iae6af5771238f8b6c13714e1e43b7a21ad38acee
| * Merge "Removing a too noisy dropbox diag" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-271-1/+0
| |\
| | * Removing a too noisy dropbox diagvadimt2019-09-271-1/+0
| | | | | | | | | | | | Change-Id: Ia4dee0b3f20533754b24a91a4a8d2a837bb8e60f
* | | Merge "Deprecating LauncherInstrumentation constructor with parameter" into ↵Vadim Tryshev2019-09-272-2/+11
|\| | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev am: dd079691c1 Change-Id: I7419be6416f26274bf03abfd84eedef20fd6f084
| * | Merge "Deprecating LauncherInstrumentation constructor with parameter" into ↵Vadim Tryshev2019-09-272-2/+11
| |\ \ | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev
| | * | Deprecating LauncherInstrumentation constructor with parametervadimt2019-09-272-2/+11
| | |/ | | | | | | | | | Change-Id: I779b4a8fde2db73cced8133f12d1356ad0b8729e
* | | Removing a 'percent' parameter for scrollvadimt2019-09-265-15/+12
|\| | | | | | | | | | | | | | | | | am: 83b03b08de Change-Id: I7d082d145f211f984982d73fb3a81b8fde21fd19
| * | Removing a 'percent' parameter for scrollvadimt2019-09-265-15/+12
| |/ | | | | | | | | | | | | It's an invitation to use magic constants. Bug: 123904290 Change-Id: I485abbbb868c41949dddd6e2c4cf363cc44a5ccd
* | Removing magic constant 0.8f from AllAppsvadimt2019-09-263-33/+43
|\| | | | | | | | | | | am: 7028b10c54 Change-Id: Ifb5c044f0297f2944efd348b6dff97e02ddbfb91
| * Removing magic constant 0.8f from AllAppsvadimt2019-09-263-33/+43
| | | | | | | | | | | | Bug: 123904290 Change-Id: I52aeb3c0452175ba37b2524d632e8069ba0911c9 Merged-in: I91ff4d4f962eefea787989362c32d987f546e84d
* | Merge "Removing magic constants from TAPL/Widgets" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-263-26/+49
|\| | | | | | | | | | | am: 77f045b607 Change-Id: I8ea519aca0ef3830f506c91c2086e1eb31b4b6f2
| * Merge "Removing magic constants from TAPL/Widgets" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-263-26/+49
| |\
| | * Removing magic constants from TAPL/Widgetsvadimt2019-09-263-26/+49
| | | | | | | | | | | | | | | Bug: 123904290 Change-Id: I8abc6cde6be8a51b38782f5c94749fe0c33384c1
* | | Avoiding swiping down from the from the extended touchable region around the ↵vadimt2019-09-261-1/+6
|\| | | | | | | | | | | | | | | | | | | | | | | notch in Widgets am: 46f3999fb3 Change-Id: I59ad5cd711326caa64deb819083a77174338ef71
| * | Avoiding swiping down from the from the extended touchable region around the ↵vadimt2019-09-261-1/+6
| |/ | | | | | | | | | | | | notch in Widgets Bug: 141697444 Change-Id: I8edd6a05e34c8a7e91dab1757938d40efffb766f
* | Merge "Reducing usage of magic constants in TAPL's widgets (fling back)" ↵Vadim Tryshev2019-09-251-1/+1
|\| | | | | | | | | | | | | | | into ub-launcher3-qt-qpr1-dev am: 8a2cb67d07 Change-Id: Ib3a8cd665238acdc03f45be5326399a526d52e39
| * Merge "Reducing usage of magic constants in TAPL's widgets (fling back)" ↵Vadim Tryshev2019-09-261-1/+1
| |\ | | | | | | | | | into ub-launcher3-qt-qpr1-dev