Home
last modified time | relevance | path

Searched refs:scrollTo (Results 1 – 25 of 43) sorted by relevance

12

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/onboarding/
DOnboardingScreenTest.kt24 import androidx.test.espresso.action.ViewActions.scrollTo
70 onView(withId(R.id.share_icon)).perform(scrollTo()).check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
72 .perform(scrollTo()) in onboardingScreen_isDisplayedCorrectly()
75 .perform(scrollTo()) in onboardingScreen_isDisplayedCorrectly()
77 onView(withId(R.id.manage_icon)).perform(scrollTo()).check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
79 .perform(scrollTo()) in onboardingScreen_isDisplayedCorrectly()
82 .perform(scrollTo()) in onboardingScreen_isDisplayedCorrectly()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataaccess/
DHealthDataAccessFragmentTest.kt21 import androidx.test.espresso.action.ViewActions.scrollTo
89 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
90 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
113 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
114 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
137 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readAndWriteSections_isDisplayed()
138 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readAndWriteSections_isDisplayed()
168 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_inactiveSection_isDisplayed()
169 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_inactiveSection_isDisplayed()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DAccessFragmentTest.kt25 import androidx.test.espresso.action.ViewActions.scrollTo
87 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
88 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
111 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
112 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
135 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readAndWriteSections_isDisplayed()
136 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readAndWriteSections_isDisplayed()
159 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_inactiveSection_isDisplayed()
160 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_inactiveSection_isDisplayed()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppFragmentTest.kt28 import androidx.test.espresso.action.ViewActions.scrollTo in <lambda>()
427 .perform(scrollTo()) in <lambda>()
429 onView(withText("Read privacy policy")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
458 .perform(scrollTo()) in <lambda>()
460 onView(withText("Read privacy policy")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
485 .perform(scrollTo()) in <lambda>()
487 onView(withText("Read privacy policy")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
516 .perform(scrollTo()) in <lambda>()
518 onView(withText("Read privacy policy")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
521 onView(withText("Read privacy policy")).perform(scrollTo()).perform(click()) in <lambda>()
[all …]
DConnectedAppsFragmentTest.kt28 import androidx.test.espresso.action.ViewActions.scrollTo
270 onView(withText("Things to try")).perform(scrollTo()).check(matches(isDisplayed())) in testWithNoApps_bothFeedbackAndPlayStoreAvailable_bothShouldBeDisplayedInThingsToTryOptions()
271 onView(withText("Check for updates")).perform(scrollTo()).check(matches(isDisplayed())) in testWithNoApps_bothFeedbackAndPlayStoreAvailable_bothShouldBeDisplayedInThingsToTryOptions()
273 .perform(scrollTo()) in testWithNoApps_bothFeedbackAndPlayStoreAvailable_bothShouldBeDisplayedInThingsToTryOptions()
276 .perform(scrollTo()) in testWithNoApps_bothFeedbackAndPlayStoreAvailable_bothShouldBeDisplayedInThingsToTryOptions()
279 .perform(scrollTo()) in testWithNoApps_bothFeedbackAndPlayStoreAvailable_bothShouldBeDisplayedInThingsToTryOptions()
281 onView(withText("Send feedback")).perform(scrollTo()).check(matches(isDisplayed())) in testWithNoApps_bothFeedbackAndPlayStoreAvailable_bothShouldBeDisplayedInThingsToTryOptions()
386 onView(withText("Needs updating")).perform(scrollTo()).check(matches(isDisplayed())) in appNeedsUpdatingElements_shownWhenOldAppWithDataInstalled()
388 .perform(scrollTo()) in appNeedsUpdatingElements_shownWhenOldAppWithDataInstalled()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/appdata/
DAppDataFragmentTest.kt23 import androidx.test.espresso.action.ViewActions.scrollTo
111 onView(withText("Cycle tracking")).perform(scrollTo()).check(matches(isDisplayed())) in appDataFragment_dataPresent_populatedDataTypesDisplayed()
112 onView(withText("Menstruation")).perform(scrollTo()).check(matches(isDisplayed())) in appDataFragment_dataPresent_populatedDataTypesDisplayed()
113 onView(withText("Sexual activity")).perform(scrollTo()).check(matches(isDisplayed())) in appDataFragment_dataPresent_populatedDataTypesDisplayed()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DKeyboardQuickSwitchView.java494 int scrollTo = targetTask.getLeft() - mSpacing in scrollRightTo()
498 mScrollView.smoothScrollTo(scrollTo, 0); in scrollRightTo()
500 mScrollView.scrollTo(scrollTo, 0); in scrollRightTo()
525 int scrollTo = targetTask.getRight() + mSpacing - mScrollView.getWidth() in scrollLeftTo()
529 mScrollView.smoothScrollTo(scrollTo, 0); in scrollLeftTo()
531 mScrollView.scrollTo(scrollTo, 0); in scrollLeftTo()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DFitnessPermissionsFragmentTest.kt136 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
143 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
193 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
200 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
220 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
227 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
246 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
DMedicalPermissionsFragmentTest.kt138 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
145 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
217 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
240 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
259 RecyclerViewActions.scrollTo<RecyclerView.ViewHolder>( in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DAllEntriesFragmentTest.kt24 import androidx.test.espresso.action.ViewActions.scrollTo in <lambda>()
198 onView(withText("7:06 - 7:06")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
199 onView(withText("12 steps")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
200 onView(withText("8:06 - 8:06")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
201 onView(withText("15 steps")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
/packages/apps/TV/src/com/android/tv/guide/
DTimelineRow.java49 public void scrollTo(int scrollOffset, boolean smoothScroll) { in scrollTo() method in TimelineRow
65 scrollTo(getScrollOffset(), false); in onRtlPropertiesChanged()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/
DHealthPermissionTypesFragmentTest.kt26 import androidx.test.espresso.action.ViewActions.scrollTo
303 onView(withText("Distance")).perform(scrollTo()).check(matches(isDisplayed())) in permissionTypesFragment_emptyPriorityList_noPriorityButton()
305 onView(withText("Exercise")).perform(scrollTo()).check(matches(isDisplayed())) in permissionTypesFragment_emptyPriorityList_noPriorityButton()
308 onView(withText("Steps")).perform(scrollTo()).check(matches(isDisplayed())) in permissionTypesFragment_emptyPriorityList_noPriorityButton()
312 onView(withText("Manage data")).perform(scrollTo()).check(matches(isDisplayed())) in permissionTypesFragment_emptyPriorityList_noPriorityButton()
315 onView(withText("Delete activity data")).perform(scrollTo()).check(matches(isDisplayed())) in permissionTypesFragment_emptyPriorityList_noPriorityButton()
343 onView(withText("Distance")).perform(scrollTo()).check(matches(isDisplayed())) in permissionTypesFragment_oneAppInPriorityList_noPriorityButton()
345 onView(withText("Exercise")).perform(scrollTo()).check(matches(isDisplayed())) in permissionTypesFragment_oneAppInPriorityList_noPriorityButton()
348 onView(withText("Steps")).perform(scrollTo()).check(matches(isDisplayed())) in permissionTypesFragment_oneAppInPriorityList_noPriorityButton()
352 onView(withText("Manage data")).perform(scrollTo()).check(matches(isDisplayed())) in permissionTypesFragment_oneAppInPriorityList_noPriorityButton()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java415 scrollTo(0, r.top); in scrollToImage()
423 scrollTo(0, r.bottom - getHeight()); in scrollToVisible()
425 scrollTo(0, r.top); in scrollToVisible()
490 scrollTo(0, mScroller.getCurrY()); in computeScroll()
551 scrollTo(mScrollX + x, mScrollY + y); in scrollBy()
554 public void scrollTo(float scrollPosition) { in scrollTo() method in GridViewSpecial
555 scrollTo(0, Math.round(scrollPosition * mMaxScrollY)); in scrollTo()
559 public void scrollTo(int x, int y) { in scrollTo() method in GridViewSpecial
564 super.scrollTo(x, y); in scrollTo()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java217 RecyclerViewActions.scrollTo(hasDescendant(withText(d.mHeader)))); in expanderTest_automotive()
223 RecyclerViewActions.scrollTo(hasDescendant(withText(HEADER_1)))); in expanderTest_automotive()
234 RecyclerViewActions.scrollTo(hasDescendant(withText(HEADER_3_BOTTOM)))); in expanderTest_automotive()
247 RecyclerViewActions.scrollTo(hasDescendant(withText(HEADER_1)))); in expanderTest_automotive()
/packages/modules/AdServices/adservices/apk/tests/util/java/com/android/adservices/ui/util/
DSettingsTestUtil.java50 UiObject2 appButton = ApkTestUtil.scrollTo(device, R.string.settingsUI_apps_ga_title); in settingsRemoveMainToggleAndMeasurementEntryTestUtil()
53 UiObject2 topicsButton = ApkTestUtil.scrollTo(device, R.string.settingsUI_topics_ga_title); in settingsRemoveMainToggleAndMeasurementEntryTestUtil()
73 ApkTestUtil.scrollTo(device, R.string.settingsUI_measurement_view_title); in settingsRemoveMainToggleAndMeasurementEntryTestRvcUxUtil()
481 UiObject2 subtitle = ApkTestUtil.scrollTo(device, regexResId); in checkSubtitleMatchesToggle()
489 subtitle = ApkTestUtil.scrollTo(device, regexResId); in checkSubtitleMatchesToggle()
502 subtitle = ApkTestUtil.scrollTo(device, regexResId); in checkSubtitleMatchesToggle()
DApkTestUtil.java94 UiObject2 obj = scrollTo(device, resId); in scrollToAndClick()
120 public static UiObject2 scrollTo(UiDevice device, int resId) { in scrollTo() method in ApkTestUtil
126 public static UiObject2 scrollTo(UiDevice device, String regexStr) { in scrollTo() method in ApkTestUtil
/packages/modules/AdServices/adservices/apk/tests/settings/src/com/android/adservices/ui/settings/
DBlockedTopicsSettingsUiAutomatorTest.java129 ApkTestUtil.scrollTo(mDevice, R.string.settingsUI_reset_topics_ga_title); in topicBlockUnblockResetTest()
133 consentSwitch = ApkTestUtil.scrollTo(mDevice, R.string.settingsUI_topics_switch_title); in topicBlockUnblockResetTest()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManageAppPermissionsFragmentTest.kt28 import androidx.test.espresso.action.ViewActions.scrollTo in <lambda>()
258 onView(withText("Sleep")).perform(scrollTo()).check(matches(not(isChecked()))) in <lambda>()
318 .perform(scrollTo()) in <lambda>()
320 onView(withText("Read privacy policy")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
347 .perform(scrollTo()) in <lambda>()
349 onView(withText("Read privacy policy")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/
DCustomizationPickerBinder.kt144 lockScrollContainer.scrollTo(0, 0) in <lambda>()
145 homeScrollContainer.scrollTo(0, 0) in <lambda>()
/packages/apps/Settings/tests/Enable16KbTests/test_16kb_app/src/com/android/settings/development/test/
DEnable16KbDeviceTest.java131 UiObject2 targetObject = scrollTo(scrollView, target, Direction.DOWN); in clickOnObject()
136 private UiObject2 scrollTo(UiObject2 scrollable, BySelector target, Direction direction) { in scrollTo() method in Enable16KbDeviceTest
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DNotificationSettingsTests.java113 UiObject2 phone = scrollTo(mDevice, apps, By.text("Phone"), Direction.DOWN); in testNotificationsSettingsListForPhone()
137 private UiObject2 scrollTo(UiDevice device, UiObject2 scrollable, in scrollTo() method in NotificationSettingsTests
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/
DNotificationActivityGAV2UxSelectorUiAutomatorTest.java155 ApkTestUtil.scrollTo(mDevice, R.string.settingsUI_topics_ga_title); in rowClickSettingsTest()
158 ApkTestUtil.scrollTo(mDevice, R.string.settingsUI_apps_ga_title); in rowClickSettingsTest()
DNotificationActivityGAV2UiAutomatorTest.java182 UiObject2 topicsTitle = ApkTestUtil.scrollTo(mDevice, R.string.settingsUI_topics_ga_title); in rowClickSettingsTest()
185 UiObject2 appsTitle = ApkTestUtil.scrollTo(mDevice, R.string.settingsUI_apps_ga_title); in rowClickSettingsTest()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/alldata/
DAllDataFragmentTest.kt34 import androidx.test.espresso.action.ViewActions.scrollTo in <lambda>()
136 onView(withText("Vitals")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
137 onView(withText("Heart rate")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRightAlignedHorizontalScrollView.java41 if (child != null) scrollTo(child.getWidth(), 0); in onLayout()

12