Pat Manning
762a930942
Merge "Move BaseActivityInterface task size methods to DeviceProfile." into tm-qpr-dev am: 01a7bcc665 am: 80cb0fa02b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19279487
Change-Id: I4c0f8cb53bade850f1beddda1efc943a1064c69d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 20:24:05 +00:00
Sunny Goyal
02d21c33be
Merge "Removing unnecessary work adapter wrapper" into tm-qpr-dev am: 7dcc9831e2 am: 740a19fd08
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19292690
Change-Id: Icc0acefbdff90cd03df0687d13176fa07299b3b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 19:57:44 +00:00
Pat Manning
01a7bcc665
Merge "Move BaseActivityInterface task size methods to DeviceProfile." into tm-qpr-dev
2022-07-19 10:31:51 +00:00
Pat Manning
4e73e5e352
Move BaseActivityInterface task size methods to DeviceProfile.
...
Fix: 238593212
Test: DeviceProfilePhoneTest.kt
Test: DeviceProfileVerticalBarTest.kt
Test: DeviceProfilePhone3ButtonTest.kt
Test: DeviceProfileVerticalBar3ButtonTest.kt
Test: DeviceProfileTabletLandscapeTest.kt
Test: DeviceProfileTabletPortraitTest.kt
Test: DeviceProfileTabletLandscape3ButtonTest.kt
Test: DeviceProfileTabletPortrait3ButtonTest.kt
Test: DeviceProfileTwoPanelLandscapeTest.kt
Test: DeviceProfileTwoPanelPortraitTest.kt
Test: DeviceProfileTwoPanelLandscape3ButtonTest.kt
Test: DeviceProfileTwoPanelPortrait3ButtonTest.kt
Change-Id: I30324d34ca119a467f530b590949743c2ba7b91a
2022-07-18 16:35:02 +01:00
Sunny Goyal
cba5f9a64e
Removing unnecessary work adapter wrapper
...
Simplifying view type constants to make it easier to add new view types
Bug: 234008165
Test: Verified on device
Change-Id: I96589ceba362ea7e75afdfc3fe8da3be214aa682
2022-07-15 16:24:31 -07:00
Pat Manning
89d0073c08
Merge "Add DeviceProfile tests on all attributes across different configurations." into tm-qpr-dev am: e700efde22 am: 980bbf0f3b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19197012
Change-Id: I5e9e8117bd6546e3485318853899cbfc8bd166b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-13 11:38:54 +00:00
Pat Manning
e700efde22
Merge "Add DeviceProfile tests on all attributes across different configurations." into tm-qpr-dev
2022-07-13 10:45:50 +00:00
Winson Chung
4089c3547f
Merge "Extend accessibility timeout indefinitely before overview screenshot" into tm-qpr-dev am: 0eb98be739 am: 5064184974
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19251370
Change-Id: If7f0c11c3fc0f3f182fb56c9498dabf316c0ad24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-13 01:00:04 +00:00
Winson Chung
8bd458b518
Extend accessibility timeout indefinitely before overview screenshot
...
Test: atest TaplTestsQuickstep#testOverviewActions
Bug: 236730000
Change-Id: I4db9fc01aaa048cead47e14c34df609bb43f3906
2022-07-12 16:31:57 +00:00
Pat Manning
26f70f777e
Add DeviceProfile tests on all attributes across different configurations.
...
Fix: 237542518
Test: DeviceProfilePhoneTest.kt
Test: DeviceProfileVerticalBarTest.kt
Test: DeviceProfilePhone3ButtonTest.kt
Test: DeviceProfileVerticalBar3ButtonTest.kt
Test: DeviceProfileTabletLandscapeTest.kt
Test: DeviceProfileTabletPortraitTest.kt
Test: DeviceProfileTabletLandscape3ButtonTest.kt
Test: DeviceProfileTabletPortrait3ButtonTest.kt
Test: DeviceProfileTwoPanelLandscapeTest.kt
Test: DeviceProfileTwoPanelPortraitTest.kt
Test: DeviceProfileTwoPanelLandscape3ButtonTest.kt
Test: DeviceProfileTwoPanelPortrait3ButtonTest.kt
Change-Id: I1596dcd1fb8c9b353cdfcab224d7670d88bed716
2022-07-12 14:17:18 +01:00
Tony Wickham
7d6a09b873
Merge "Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly" into tm-qpr-dev am: 0c8ceda6e7 am: 5397c871da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19136583
Change-Id: Id2f8ba91596a7ade5b2337db6687be5fc787cbe6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-06 17:08:56 +00:00
Tony Wickham
0c8ceda6e7
Merge "Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly" into tm-qpr-dev
2022-07-06 16:25:03 +00:00
Thales Lima
92a1e7f1de
Add new hotseat bottom margin options am: b8c0595d42 am: a70b07d04c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18605485
Change-Id: I42e901c26b8b34f52e2ba5c8b0edfc8cfcd3ac9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-06 11:05:01 +00:00
Thales Lima
b8c0595d42
Add new hotseat bottom margin options
...
This changes how the hotseat height is calculated and by consequence how spaces are distributed in the workspace as well. This is the first of a series of changes that will improve and streamline workspace calculations.
Bug: 228998463
Fix: 234023782
Fix: 230191631
Fix: 232914299
Fix: 236238226
Test: manual, HSV and comparing to mocks
Change-Id: If021e8ba2c7c24c0bf9f27a1aa7aa946792ed04f
2022-07-05 15:33:47 +01:00
Pat Manning
94a437c2a9
Merge "Simplify vertical bar hotseat bottom calculation for spring loaded state." into tm-qpr-dev am: 0f8bbef729 am: e73e245ba4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19084089
Change-Id: Id2c80742c36708d3974fdea1144fd26a2b70f2f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-05 11:27:50 +00:00
Pat Manning
0f8bbef729
Merge "Simplify vertical bar hotseat bottom calculation for spring loaded state." into tm-qpr-dev
2022-07-05 10:28:10 +00:00
Pat Manning
a7335bccdc
Simplify vertical bar hotseat bottom calculation for spring loaded state.
...
Fix: 236941743
Test: manual.
Change-Id: I7f110fea48eb88e7f941a64c17a65feec14531f3
2022-07-04 12:45:40 +01:00
Tony Wickham
539c2703ea
Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly
...
- Removed TestProtocol.sForcePauseTimeout and
TestProtocol.REQUEST_SET_FORCE_PAUSE_TIMEOUT
- Instead, add MotionPauseDetector.TEST_HARNESS_TRIGGER_TIMEOUT, which
is used when Utilities.IS_RUNNING_IN_TEST_HARNESS.
Test: unbundled/launcher/launcher3_test_platform
Fixes: 232548865
Change-Id: I224e99042b41375cab6bffd555434217518958c5
2022-06-30 12:16:08 -07:00
TreeHugger Robot
72c5f330bf
Merge "Add TAPL API for adding app icon to hotseat" into tm-qpr-dev
2022-06-30 05:28:14 +00:00
Alex Chau
5a51002333
Merge "Add test to dismiss AllApps bottom sheet" into tm-qpr-dev am: f52a13e424 am: 75b1f6d5ff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18993353
Change-Id: I827e3c23f957eaaed6610a41f351371849bfc104
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-27 10:27:27 +00:00
Alex Chau
f52a13e424
Merge "Add test to dismiss AllApps bottom sheet" into tm-qpr-dev
2022-06-27 09:56:58 +00:00
Chilun Huang
7662dae663
Add TAPL API for adding app icon to hotseat
...
Please refer to go/tapl-add-icon-to-hotseat for more details.
Bug: 231400119
Test: atest NexusLauncherTests:TaplTestsQuickstep#testAddDeleteShortcutOnHotseat
Change-Id: I8cadecbe742413e3ce35ff269c0f78057331532c
Merged-In: I8cadecbe742413e3ce35ff269c0f78057331532c
2022-06-27 11:10:21 +08:00
Chilun Huang
22e829eb2f
Merge "Add TAPL API for adding app icon to hotseat"
2022-06-27 02:33:04 +00:00
Vadim Tryshev
83f326adcd
Merge "Ignoring failing test" into tm-qpr-dev am: 630fd0b09f am: 17ff5150fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19067510
Change-Id: Ia93d634bd35ed14330a24f22f14e88e430cfdb66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-25 02:24:03 +00:00
Vadim Tryshev
542d3cf4f2
Ignoring failing test
...
Bug: 233075289
Change-Id: I4f270127b72255037dd5aaccdc375dfebb6b1dc4
Test: presubmit
2022-06-24 20:50:42 +00:00
Alex Chau
d936273b1f
Add test to dismiss AllApps bottom sheet
...
- http://docs/document/d/1ITZDMchoMndfa0nMuOTXbhKhK2aMDz0AT9dgusgxEro
Bug: 236360930
Test: TaplTestsLauncher3.testAllAppsDeadzoneForTablet
Test: TaplTestsNexus.testSearchDeadzoneForTablet
Change-Id: I62adb1d6ef237f9bca3812b8cdce9e5a8383158f
2022-06-24 18:29:43 +01:00
Vadim Tryshev
90708e661c
Merge "Remove unused tracing; it confuses investigators" into tm-qpr-dev am: 0bc6491ee7 am: 79a71bb7ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19033082
Change-Id: I2e999bed3a43cedb5cb394b7f9dfac0867912b8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-24 05:16:56 +00:00
Vadim Tryshev
0bc6491ee7
Merge "Remove unused tracing; it confuses investigators" into tm-qpr-dev
2022-06-24 02:05:16 +00:00
Sebastián Franco
9ffbbf8f2c
Merge "Cherrypick needed for merge conflict with ag/18875278" into tm-qpr-dev
2022-06-23 21:54:13 +00:00
TreeHugger Robot
b2086cb77d
Merge "Reducing max timeout in TAPL" into tm-qpr-dev am: a5152338ea am: e42fe63c8c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19019907
Change-Id: Id87dbb27ba87fe22263e9b56c858d4430c08064f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-23 18:23:26 +00:00
Chilun Huang
a518e034f7
Add TAPL API for adding app icon to hotseat
...
Please refer to go/tapl-add-icon-to-hotseat for more details.
Bug: 231400119
Test: atest NexusLauncherTests:TaplTestsQuickstep#testAddDeleteShortcutOnHotseat
Change-Id: I8cadecbe742413e3ce35ff269c0f78057331532c
2022-06-23 19:24:18 +08:00
vadimt
020c9e4b22
Remove unused tracing; it confuses investigators
...
Bug: 196820244
Test: presubmit
Change-Id: If403f475f393fc95e5efd098ae63c8e8bb199ddc
2022-06-22 17:10:08 +00:00
vadimt
a18e9f2637
Reducing max timeout in TAPL
...
Lab presubmits now have a limit 60 sec per test, so failing to find an expected view will result in a cryptic "Test did not run due to instrumentation issue. Run level error reported reason: 'Instrumentation did not output anything for the configured timeout. ddmlib reported error: Failed to receive adb shell test output within 600000 ms. Test may have timed out, or adb connection to device became unresponsive.'"
Reducing the timeout to get better messages.
Bug: 236308045
Test: presubmit
Change-Id: I09e7fa02a12f4e2d0900d29b0029686337a381b0
2022-06-21 20:14:08 +00:00
Sukesh Ram
9e5fe63a22
Add app predictions to secondary display app drawer & fix tab UI.
...
Bug: 233926067
Test: Manual
Change-Id: I2f45a4b30964b365bf149e8864a3af2ea909a237
2022-06-16 22:44:24 +00:00
Ling WO
9a8964b122
Cherrypick needed for merge conflict with ag/18875278
...
Support move to a specific location on workspace for all workspaceDragSource, so other workspaceDragSource such as HomeAppIconMenuItem can be moved to a fixed location during testing to avoid ui-diff flakiess
Design doc:
https://docs.google.com/document/d/1tZWbfsv86O6UAKtHJrDBGecu-x3ac51qmWvARDg057M
Test: atest
Bug: 216189838
Change-Id: Ia6ef7338beb257d0313be17a53a9fc59ae39fdb6
(cherry picked from commit fe8fb4d137 )
2022-06-15 22:38:04 +00:00
Alex Chau
3783778a14
Merge "Use normalized CachedDisplayInfo as key" into tm-qpr-dev am: cbde3a3a8d am: f290797184
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18754331
Change-Id: Id0cf035044f5cd9aa8cc10e9492abbc85f543e06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-09 16:01:31 +00:00
Alex Chau
661f02de18
Use normalized CachedDisplayInfo as key
...
- For system Launcher, migrate to use getPossibleMaximumWindowMetrics instead of getDisplays
- Removed usage of displayId
- In estimateInternalDisplayBounds, use CachedDisplayInfo directly as a key
- When cache retunrs null for the current display (e.g. the 3P launcher case), invalidate the cache and estimate again, and only add to supportedBounds if current display is not found in the new cache
Bug: 227459045
Bug: 198965093
Test: manual
Change-Id: Ibcc05ba483ed31a40d16e3cf49c3f3d43af68cf6
2022-06-09 11:36:47 +01:00
Ling Wo
0e4369c0b8
Merge "Support move to a specific location on workspace for all workspaceDragSource, so other workspaceDragSource such as HomeAppIconMenuItem can be moved to a fixed location during testing to avoid ui-diff flakiess"
2022-06-06 22:38:05 +00:00
Alex Chau
b9afb71dc0
Revert "Increase PromiseIconUiTest timeout temporarily"
...
This reverts commit 6ecc69974b .
Temporarily revert back to DEFAULT_ACTIVITY_TIMEOUT to test if the issue is reproducible on lab devices
Bug: 222319304
Test: PromiseIconUiTest
Change-Id: I7188f6227ba06f654e08a1be1f59bb89899f4c2b
2022-06-06 14:55:27 +00:00
Ling WO
fe8fb4d137
Support move to a specific location on workspace for all workspaceDragSource, so other workspaceDragSource such as HomeAppIconMenuItem can be moved to a fixed location during testing to avoid ui-diff flakiess
...
Design doc:
https://docs.google.com/document/d/1tZWbfsv86O6UAKtHJrDBGecu-x3ac51qmWvARDg057M
Test: atest
Bug: 216189838
Change-Id: Ia6ef7338beb257d0313be17a53a9fc59ae39fdb6
2022-06-01 21:51:01 +00:00
Andy Wickham
a1ec03bdfe
[conflict] Merge "Moves Search results into a separate RV (take 2)." into tm-dev am: 4ca247a6bb am: 15dc59f8b1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18420827
Change-Id: Ic7e380e21342011afcbd1ada0eb453dc83eff4be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-26 23:31:31 +00:00
Andy Wickham
4ca247a6bb
Merge "Moves Search results into a separate RV (take 2)." into tm-dev
2022-05-26 21:41:55 +00:00
Tracy Zhou
674ac75930
Add ScreenRecord tag to understand in proc test failure
...
Bug: 233075289
Test: N/A
Change-Id: I22333f20f68692a352312bad034ce54def9c29ef
2022-05-26 18:16:57 +00:00
Schneider Victor-tulias
8c8b35c368
Merge "Add screen recording to drag to splitscreen taskbar tests to help with debugging." into tm-dev am: 467f30dbb7 am: b210664095
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18529596
Change-Id: If00b8b6ff429556e7860089b855bac390983c37d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-25 21:59:30 +00:00
Schneider Victor-tulias
467f30dbb7
Merge "Add screen recording to drag to splitscreen taskbar tests to help with debugging." into tm-dev
2022-05-25 21:03:04 +00:00
Andy Wickham
2ba7797edb
Moves Search results into a separate RV (take 2).
...
Bug: 206905515
Test: Manually verified b/230648542 did not resurface. Tested
on phone and tablet with and without work profile.
Change-Id: If724f635286b9dff2c64255f9ece3568a5cb4ea9
2022-05-24 17:10:24 -07:00
Schneider Victor-tulias
aa5ae621c5
Add screen recording to drag to splitscreen taskbar tests to help with debugging.
...
Test: presubmit and local
Bug: 231615831
Change-Id: I87ea5eb30eaf9ec1f4f96572c78bc9daf976a589
2022-05-24 11:46:31 -07:00
Nicolo' Mazzucato
25b36f7716
Fix flakiness in getIconPosition test
...
After uninstalling the app, it was disappearing after some time. For this reason, tryGetWorkspaceAppIcon was still returning it after the uninstall.
Fixes: 232009313
Test: atest TaplTestsLauncher3
Change-Id: I62e3a8f9a481e9786a136b6c00051c1025ab5b32
2022-05-24 09:42:24 +00:00
Tracy Zhou
3438c92334
Add drag icon to folder use case back
...
Test: presubmit
Fixes: 232417717
Change-Id: Idca54eb8b1fec10e8c9d7e5cb338e179b733850b
2022-05-17 02:41:30 +00:00
Tracy Zhou
f14d58dfda
Merge "Tune dragToFolder test so that it works with the new nav bar height" into tm-dev
2022-05-12 18:17:19 +00:00