Home
last modified time | relevance | path

Searched refs:scrollable (Results 1 – 21 of 21) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DUiAutomatorUtils2.java151 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 …]
DUiAutomatorUtils.java145 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/
DCtsSyncAccountAccessOtherCertTestCases.java118 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/
DPreferredActivitiesTest.java374 .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/
DScanningSettingsTest.java158 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/
DPackageSchemeTestBase.kt159 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/
DMediaProjectionActivity.java261 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/
DDeviceTest.java84 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/
DMediaProjectionSDK33Test.java345 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/
DStorageTest.java121 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/
DBugreportManagerTest.java426 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/
DTestUtils.java181 UiScrollable scroller = new UiScrollable(new UiSelector().scrollable(true)); in scrollToAndGetTextObject()
/cts/tests/tests/hibernation/src/android/hibernation/cts/
DAppHibernationIntegrationTest.kt364 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/
DDeviceTest.java85 UiScrollable uiScrollable = new UiScrollable(new UiSelector().scrollable(true)); in testDefaultRingtonePreference()
/cts/hostsidetests/settings/app/DeviceOwnerApp/src/com/google/android/cts/deviceowner/
DDeviceOwnerTest.java157 scroller = new UiScrollable(new UiSelector().scrollable(true)); in launchPrivacyAndCheckWorkPolicyInfo()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0020/src/android/security/cts/CVE-2024-0020/
DDeviceTest.java164 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/
DDeviceTest.java156 UiScrollable uiScrollable = new UiScrollable(new UiSelector().scrollable(true)); in testCVE_2021_0602()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPackageInstallerTestBase.kt469 UiScrollable(UiSelector().scrollable(true)).scrollForward() in <lambda>()
/cts/tests/tests/packageinstaller/criticaluserjourney/src/android/packageinstaller/criticaluserjourney/cts/
DPackageInstallerCujTestBase.java715 new UiScrollable(new UiSelector().scrollable(true)).scrollForward(); in findObject()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java1398 UiScrollable scroller = new UiScrollable(new UiSelector().scrollable(true));
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1164 UiScrollable uiScrollable = new UiScrollable(new UiSelector().scrollable(true)); in scrollIntoView()