Home
last modified time | relevance | path

Searched refs:scroll (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAllApps.java113 int scroll = getScroll(allAppsContainer); in getAppIcon() local
122 if (newScroll == scroll) break; in getAppIcon()
128 scroll = newScroll; in getAppIcon()
153 for (int scroll = getScroll(allAppsContainer); in scrollBackToBeginning()
154 scroll != 0; in scrollBackToBeginning()
155 scroll = getScroll(allAppsContainer)) { in scrollBackToBeginning()
156 mLauncher.assertTrue("Negative scroll position", scroll > 0); in scrollBackToBeginning()
162 mLauncher.scroll(allAppsContainer, Direction.UP, margins, 50); in scrollBackToBeginning()
188 mLauncher.scroll( in flingForward()
202 mLauncher.scroll( in flingBackward()
DWidgets.java48 mLauncher.scroll( in flingForward()
68 mLauncher.scroll( in flingBackward()
DBaseOverview.java58 mLauncher.scroll(overview, Direction.LEFT, new Rect(leftMargin, 0, 0, 0), 20); in flingForward()
96 mLauncher.scroll(overview, Direction.RIGHT, new Rect(0, 0, rightMargin, 0), 20); in flingBackward()
DWorkspace.java183 mLauncher.scroll(workspace, Direction.RIGHT, in flingForward()
195 mLauncher.scroll(workspace, Direction.LEFT, in flingBackward()
DLauncherInstrumentation.java806 scroll( in scrollToLastVisibleRow()
817 void scroll(UiObject2 container, Direction direction, Rect margins, int steps) { in scroll() method
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java512 private void startScrollAnimation(List<Animator> animators, int scroll, long duration) { in startScrollAnimation() argument
513 startScrollAnimation(animators, scroll, duration, 0); in startScrollAnimation()
516 private void startScrollAnimation(List<Animator> animators, int scroll, long duration, in startScrollAnimation() argument
518 startScrollAnimation(animators, scroll, duration, delay, null); in startScrollAnimation()
522 int scroll, long duration, long delay, Animator.AnimatorListener listener) { in startScrollAnimation() argument
523 startScrollAnimation(null, scroll, duration, delay, listener); in startScrollAnimation()
526 private void startScrollAnimation(List<Animator> animators, int scroll, long duration, in startScrollAnimation() argument
534 0, -scroll); in startScrollAnimation()
756 private void setScrollVertically(int scroll) { in setScrollVertically() argument
757 scrollBy(0, scroll - mLastScrollChange); in setScrollVertically()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java66 private void wallpaperOffsetForScroll(int scroll, int numScrollingPages, final int[] out) { in wallpaperOffsetForScroll() argument
103 int adjustedScroll = scroll - leftPageScrollX - in wallpaperOffsetForScroll()
118 public float wallpaperOffsetForScroll(int scroll) { in wallpaperOffsetForScroll() argument
119 wallpaperOffsetForScroll(scroll, getNumScreensExcludingEmpty(), sTempInt); in wallpaperOffsetForScroll()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/testutils/
DSettingsTestUtils.java39 view.scroll(Direction.UP, 1.0f); in scrollToTop()
54 view.scroll(Direction.DOWN, 1.0f); in assertTitleMatch()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DPluginHeaderRow.java74 public void setVerticalScroll(int scroll, boolean isScrolledOut) { in setVerticalScroll() argument
77 mView.setTranslationY(scroll); in setVerticalScroll()
DFloatingHeaderRow.java55 void setVerticalScroll(int scroll, boolean isScrolledOut); in setVerticalScroll() argument
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DAppsSettingsTests.java94 appSetting.scroll(Direction.DOWN, 10.0f); in testAppSettingsListForCalculator()
107 appInfoList.scroll(Direction.DOWN, 100.0f); in testDisablingAndEnablingSystemApp()
DAboutPhoneSettingsTests.java83 view.scroll(Direction.UP, 1.0f); in setUp()
142 canScrollDown = view.scroll(Direction.DOWN, 1.0f); in searchForItemsAndTakeAction()
DNotificationSettingsTests.java135 while (!device.hasObject(target) && scrollable.scroll(direction, 1.0f)) { in scrollTo()
141 scrollable.scroll(direction, 1.0f); in scrollTo()
DHomepageDisplayTests.java92 view.scroll(Direction.UP, 100f); in testHomepageCategory()
DMoreWirelessSettingsTest2.java748 boolean canScrollAgain = scrollable.scroll(Direction.UP, SCROLL_UP_PERCENT, in scrollToObject()
757 scrollable.scroll(Direction.DOWN, SCROLL_DOWN_PERCENT, SCROLL_SPEED); in scrollToObject()
DLocationSettingsTests.java72 settingsPanel.scroll(Direction.DOWN, 1.0f); in testLoadingLocationSettings()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DAppsDividerView.java298 public void setVerticalScroll(int scroll, boolean isScrolledOut) { in setVerticalScroll() argument
299 setTranslationY(scroll); in setVerticalScroll()
DPredictionRowView.java352 public void setVerticalScroll(int scroll, boolean isScrolledOut) { in setVerticalScroll() argument
356 mScrollTranslation = scroll; in setVerticalScroll()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java2151 public void scroll(float deltaX) {
2787 mController.scroll(deltaX);
2825 mController.scroll((int) (deltaX * 1.2));
2834 final float scroll;
2840 scroll = vscroll;
2842 scroll = hscroll;
2846 onFling(-scroll, 0f);
2850 onScroll(0f, 0f, scroll, 0f);
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java1054 public void onOverlayScrollChanged(float scroll) { in onOverlayScrollChanged() argument
1055 if (Float.compare(scroll, 1f) == 0) { in onOverlayScrollChanged()
1063 } else if (Float.compare(scroll, 0f) == 0) { in onOverlayScrollChanged()
1086 scroll = Math.max(scroll - offset, 0); in onOverlayScrollChanged()
1087 scroll = Math.min(1, scroll / (1 - offset)); in onOverlayScrollChanged()
1089 float alpha = 1 - Interpolators.DEACCEL_3.getInterpolation(scroll); in onOverlayScrollChanged()
1090 float transX = mLauncher.getDragLayer().getMeasuredWidth() * scroll; in onOverlayScrollChanged()
/packages/apps/Camera2/src/com/android/camera/filmstrip/
DFilmstripController.java95 public void scroll(float deltaX); in scroll() method
/packages/apps/Settings/tests/unit/src/com/android/settings/core/
DLifecycleEventHandlingTest.java75 view.scroll(Direction.DOWN, 100f); in launchDashboard_shouldSeeFooter()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java429 int scroll = getScrollForPage(getNextPage()) + hint; in showScrollHint() local
430 int delta = scroll - getScrollX(); in showScrollHint()
/packages/apps/Launcher3/
Dproguard.flags20 # Proguard will strip methods required for talkback to properly scroll to
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DAppOpsSettingsTest.java150 preferenceList.scroll(Direction.DOWN, 0.2f)); in testAppList()

12