Home
last modified time | relevance | path

Searched refs:homeScreen (Results 1 – 6 of 6) sorted by relevance

/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DSysAppTestHelper.java144 UiObject2 homeScreen = mDevice.findObject(By.res(launcherPackage, HOME_INDICATOR)); in goBackHome() local
146 while (homeScreen == null && count < 5) { in goBackHome()
148 homeScreen = mDevice.findObject(By.res(launcherPackage, HOME_INDICATOR)); in goBackHome()
154 homeScreen = mDevice.findObject(By.res(launcherPackage, LAUNCHER_VIEW_NAME)); in goBackHome()
155 if (homeScreen != null) { in goBackHome()
159 homeScreen = mDevice.findObject(By.res(launcherPackage, CARD_VIEW_NAME)); in goBackHome()
160 if (homeScreen != null) { in goBackHome()
164 homeScreen = mDevice.findObject(By.res(launcherPackage, QUICKSETTING_VIEW_NAME)); in goBackHome()
165 if (homeScreen != null) { in goBackHome()
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTestsHelper.java89 UiObject2 homeScreen = mDevice.findObject(By.res(launcherPackage, ROOT_NAME)); in goBackHome() local
91 while (homeScreen == null && count < 5) { in goBackHome()
93 homeScreen = mDevice.findObject(By.res(launcherPackage, ROOT_NAME)); in goBackHome()
97 homeScreen = mDevice.findObject(By.res(launcherPackage, LAUNCHER_VIEW_NAME)); in goBackHome()
98 if (homeScreen != null) { in goBackHome()
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/
DApiDemoJankTests.java80 UiObject2 homeScreen = getHomeScreen(); in launchApiDemos() local
81 if (homeScreen == null) in launchApiDemos()
114 UiObject2 homeScreen = getHomeScreen(); in navigateToHome() local
116 while (homeScreen == null && count <= 10) { in navigateToHome()
118 homeScreen = getHomeScreen(); in navigateToHome()
121 Assert.assertNotNull("Hit maximum retries and couldn't find Home Screen", homeScreen); in navigateToHome()
/platform_testing/tests/androidbvt/src/com/android/androidbvt/
DSysUILauncherTests.java113 UiObject2 homeScreen = mDevice in testChangeWallPaper() local
115 if (homeScreen != null) { in testChangeWallPaper()
116 homeScreen.click(); in testChangeWallPaper()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DLauncherJankTests.java148 UiObject2 homeScreen = mDevice.findObject(mLauncherStrategy.getWorkspaceSelector()); in makeHomeScrollable() local
149 Rect r = homeScreen.getVisibleBounds(); in makeHomeScrollable()
150 if (!homeScreen.isScrollable()) { in makeHomeScrollable()
163 assertTrue("home screen workspace still not scrollable", homeScreen.isScrollable()); in makeHomeScrollable()
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemUiJankTests.java59 UiObject2 homeScreen = mDevice.wait( in goHome() local