/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | UiAutomatorUtils2.java | 151 UiScrollable scrollable = new UiScrollable(new UiSelector().scrollable(true)); in waitFindObjectOrNull() local 152 scrollable.setSwipeDeadZonePercentage(deadZone); in waitFindObjectOrNull() 153 if (scrollable.exists()) { in waitFindObjectOrNull() 155 scrollPastCollapsibleToolbar(scrollable, deadZone); in waitFindObjectOrNull() 163 scrollable.scrollToBeginning(Integer.MAX_VALUE); in waitFindObjectOrNull() 168 Rect boundsBeforeScroll = scrollable.getBounds(); in waitFindObjectOrNull() 171 scrollable.getPackageName(), in waitFindObjectOrNull() 184 scrollable.scrollToBeginning(Integer.MAX_VALUE); in waitFindObjectOrNull() 188 scrollable.scrollForward(); in waitFindObjectOrNull() 191 scrollAtStartOrEnd = !scrollable.scrollForward(); in waitFindObjectOrNull() [all …]
|
D | UiAutomatorUtils.java | 145 UiScrollable scrollable = new UiScrollable(new UiSelector().scrollable(true)); in waitFindObjectOrNull() local 146 scrollable.setSwipeDeadZonePercentage(deadZone); in waitFindObjectOrNull() 147 if (scrollable.exists()) { in waitFindObjectOrNull() 149 scrollPastCollapsibleToolbar(scrollable, deadZone); in waitFindObjectOrNull() 157 scrollable.scrollToBeginning(Integer.MAX_VALUE); in waitFindObjectOrNull() 162 Rect boundsBeforeScroll = scrollable.getBounds(); in waitFindObjectOrNull() 163 boolean scrollAtStartOrEnd = !scrollable.scrollForward(); in waitFindObjectOrNull() 166 if (scrollable.exists()) { in waitFindObjectOrNull() 167 Rect boundsAfterScroll = scrollable.getBounds(); in waitFindObjectOrNull() 183 private static void scrollPastCollapsibleToolbar(UiScrollable scrollable, double deadZone) in scrollPastCollapsibleToolbar() argument [all …]
|
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/ |
D | CtsSyncAccountAccessOtherCertTestCases.java | 118 UiObject2 scrollable = uiDevice.findObject(By.scrollable(true)); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() local 120 if (scrollable != null) { in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() 121 clear = scrollable.scrollUntil(Direction.DOWN, in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() 225 UiScrollable scrollable = new UiScrollable(new UiSelector().scrollable(true)); in scrollNotifications() local 226 if (!scrollable.exists()) { in scrollNotifications() 230 return scrollable.scrollForward(50); in scrollNotifications()
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/preferred/ |
D | PreferredActivitiesTest.java | 374 .scrollable(true) in scrollToSelector() 376 UiScrollable scrollable = new UiScrollable(scrollableSelector); in scrollToSelector() local 377 scrollable.waitForExists(TIMEOUT); in scrollToSelector() 378 if (scrollable.exists()) { in scrollToSelector() 379 scrollable.scrollToBeginning(Integer.MAX_VALUE); in scrollToSelector() 380 scrollable.scrollIntoView(selector); in scrollToSelector()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | ScanningSettingsTest.java | 158 UiObject2 scrollable = in launchScanningSettingsFragment() local 160 By.scrollable(true).hasDescendant(By.desc(res.getString(resIdTitle)))); in launchScanningSettingsFragment() 161 if (scrollable != null) { in launchScanningSettingsFragment() 164 scrollable.scrollUntil( in launchScanningSettingsFragment()
|
/cts/tests/tests/packageinstaller/packagescheme/src/android/packageinstaller/packagescheme/cts/ |
D | PackageSchemeTestBase.kt | 159 val scrollable = UiScrollable(UiSelector().scrollable(true)) in <lambda>() constant 160 if (scrollable.exists()) { in <lambda>() 161 scrollable.flingToEnd(10) in <lambda>()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaProjectionActivity.java | 261 final UiScrollable scrollable = new UiScrollable(new UiSelector().scrollable(true)); in scrollToGivenResource() local 263 if (!scrollable.scrollIntoView(new UiSelector().resourceId(resourceId))) { in scrollToGivenResource()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39707/src/android/security/cts/CVE_2021_39707/ |
D | DeviceTest.java | 84 UiScrollable scrollable = new UiScrollable(new UiSelector()); in testAppRestrictionsFragment() local 86 scrollable.scrollTextIntoView(textTestApp); in testAppRestrictionsFragment()
|
/cts/tests/tests/media/projection/sdk33/src/android/media/projection/ |
D | MediaProjectionSDK33Test.java | 345 final UiScrollable scrollable = new UiScrollable(new UiSelector().scrollable(true)); in scrollToStartRecordingButton() local 347 if (!scrollable.scrollIntoView(new UiSelector().resourceId(ACCEPT_RESOURCE_ID))) { in scrollToStartRecordingButton()
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | StorageTest.java | 121 UiScrollable localObject = new UiScrollable(new UiSelector().scrollable(true)); in clearSpaceGeneric() 140 UiScrollable uiScrollable = new UiScrollable(new UiSelector().scrollable(true)); in clearSpaceWatch() 167 int i = device.findObjects(androidx.test.uiautomator.By.scrollable(true)).size(); in clearSpaceCar() 170 new UiSelector().scrollable(true).instance(j)); in clearSpaceCar()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | BugreportManagerTest.java | 426 UiObject2 scrollable = in setConsentDialogReply() local 427 device.findObject(By.res("android:id/scrollView").scrollable(true)); in setConsentDialogReply() 431 scrollable.scroll(Direction.DOWN, 100); in setConsentDialogReply()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | TestUtils.java | 181 UiScrollable scroller = new UiScrollable(new UiSelector().scrollable(true)); in scrollToAndGetTextObject()
|
/cts/tests/tests/hibernation/src/android/hibernation/cts/ |
D | AppHibernationIntegrationTest.kt | 364 var scrollableObject = UiScrollable(UiSelector().scrollable(true).instance(i)) in <lambda>() 373 scrollableObject = UiScrollable(UiSelector().scrollable(true).instance(++i)) in <lambda>()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20353/src/android/security/cts/CVE_2022_20353/ |
D | DeviceTest.java | 85 UiScrollable uiScrollable = new UiScrollable(new UiSelector().scrollable(true)); in testDefaultRingtonePreference()
|
/cts/hostsidetests/settings/app/DeviceOwnerApp/src/com/google/android/cts/deviceowner/ |
D | DeviceOwnerTest.java | 157 scroller = new UiScrollable(new UiSelector().scrollable(true)); in launchPrivacyAndCheckWorkPolicyInfo()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0020/src/android/security/cts/CVE-2024-0020/ |
D | DeviceTest.java | 164 UiScrollable uiScrollable = new UiScrollable(new UiSelector().scrollable(true)); in testPocCVE_2024_0020()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0602/src/android/security/cts/CVE_2021_0602/ |
D | DeviceTest.java | 156 UiScrollable uiScrollable = new UiScrollable(new UiSelector().scrollable(true)); in testCVE_2021_0602()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | PackageInstallerTestBase.kt | 469 UiScrollable(UiSelector().scrollable(true)).scrollForward() in <lambda>()
|
/cts/tests/tests/packageinstaller/criticaluserjourney/src/android/packageinstaller/criticaluserjourney/cts/ |
D | PackageInstallerCujTestBase.java | 715 new UiScrollable(new UiSelector().scrollable(true)).scrollForward(); in findObject()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | UiBot.java | 1398 UiScrollable scroller = new UiScrollable(new UiSelector().scrollable(true));
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1164 UiScrollable uiScrollable = new UiScrollable(new UiSelector().scrollable(true)); in scrollIntoView()
|