Searched refs:scroll (Results 1 - 22 of 22) sorted by relevance

/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/testutils/
H A DSettingsTestUtils.java39 view.scroll(Direction.UP, 1.0f);
54 view.scroll(Direction.DOWN, 1.0f);
/packages/apps/Camera2/src/com/android/camera/filmstrip/
H A DFilmstripController.java95 public void scroll(float deltaX); method in interface:FilmstripController
278 * The callback when we scroll.
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DWallpaperOffsetInterpolator.java64 private void wallpaperOffsetForScroll(int scroll, int numScrollingPages, final int[] out) { argument
90 // Calculate the scroll range
101 int adjustedScroll = scroll - leftPageScrollX -
116 public float wallpaperOffsetForScroll(int scroll) { argument
117 wallpaperOffsetForScroll(scroll, getNumScreensExcludingEmpty(), sTempInt);
/packages/apps/Music/src/com/android/music/
H A DVerticalTextSpinner.java172 scroll();
177 scroll();
225 scroll();
232 scroll();
369 * scroll past it.
373 scroll();
431 private void scroll() { method in class:VerticalTextSpinner
/packages/apps/PackageInstaller/src/android/support/wearable/view/
H A DWearableListView.java339 // super.onTouchEvent can change the state of the scroll, keep a copy so that handleTouchUp
392 * Removes listener for scroll events.
512 private void startScrollAnimation(List<Animator> animators, int scroll, long duration) { argument
513 startScrollAnimation(animators, scroll, duration, 0);
516 private void startScrollAnimation(List<Animator> animators, int scroll, long duration, argument
518 startScrollAnimation(animators, scroll, duration, delay, null);
522 int scroll, long duration, long delay, Animator.AnimatorListener listener) {
523 startScrollAnimation(null, scroll, duration, delay, listener);
526 private void startScrollAnimation(List<Animator> animators, int scroll, long duration, argument
534 0, -scroll);
521 startScrollAnimation( int scroll, long duration, long delay, Animator.AnimatorListener listener) argument
756 setScrollVertically(int scroll) argument
1252 onScroll(int scroll) argument
1263 onAbsoluteScrollChange(int scroll) argument
[all...]
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
H A DAboutPhoneSettingsTests.java82 view.scroll(Direction.UP, 1.0f);
121 * <p>Will scroll down the screen until it has found all elements or reached the bottom.
135 // when we've finished searching the current view, scroll down
141 canScrollDown = view.scroll(Direction.DOWN, 1.0f);
H A DAppsSettingsTests.java99 appSetting.scroll(Direction.DOWN, 10.0f);
112 appInfoList.scroll(Direction.DOWN, 100.0f);
H A DHomepageDisplayTests.java90 view.scroll(Direction.UP, 100f);
H A DNotificationSettingsTests.java135 while (!device.hasObject(target) && scrollable.scroll(direction, 1.0f)) {
139 // Scroll once more if not found; in some cases UiObject2.scroll can return false when
141 scrollable.scroll(direction, 1.0f);
H A DAccessibilitySettingsTests.java265 settingsPanel.scroll(Direction.DOWN, 1.0f);
H A DLocationSettingsTests.java72 settingsPanel.scroll(Direction.DOWN, 1.0f);
H A DMoreWirelessSettingsTest2.java678 // We might not need to scroll to the security options if not enough add network menu
710 // We might not need to scroll to the SSID option if not enough add network menu options
749 boolean canScrollAgain = scrollable.scroll(Direction.UP, SCROLL_UP_PERCENT,
756 // Return value of UiObject2.scroll() is not reliable, so do not use it in loop
758 scrollable.scroll(Direction.DOWN, SCROLL_DOWN_PERCENT, SCROLL_SPEED);
762 fail("Could not scroll to UI object identified by " + objectSelector);
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
H A DGridModelTest.java205 scroll(CHILD_VIEW_EDGE_PX);
211 scroll(CHILD_VIEW_EDGE_PX);
214 scroll(-2 * CHILD_VIEW_EDGE_PX);
296 private void scroll(int dy) { method in class:GridModelTest
/packages/apps/Settings/tests/unit/src/com/android/settings/core/
H A DLifecycleEventHandlingTest.java71 view.scroll(Direction.DOWN, 100f);
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
H A DAppOpsSettingsTest.java147 // for the same package will fit in one screen at some time during the scroll.
149 preferenceList.scroll(Direction.DOWN, 0.2f));
/packages/apps/Camera2/src/com/android/camera/widget/
H A DFilmstripView.java1947 // scroll center animation finishes. Once everything
2151 public void scroll(float deltaX) { method in class:FilmstripView.FilmstripControllerImpl
2576 /** Only starts and updates scroll in x-axis. */
2729 // Special case to go to filmstrip when the user scroll away
2787 mController.scroll(deltaX);
2825 mController.scroll((int) (deltaX * 1.2));
2834 final float scroll;
2840 scroll = vscroll;
2842 scroll = hscroll;
2846 onFling(-scroll,
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DFolderPagedView.java63 * Fraction of the width to scroll when showing the next page hint.
492 int scroll = getScrollForPage(getNextPage()) + hint;
493 int delta = scroll - getScrollX();
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
H A DAbstractLauncherUiTest.java137 } while (container.scroll(Direction.DOWN, 1f));
/packages/services/Telephony/src/com/android/phone/
H A DChangeIccPinScreen.java121 mScrollView = (ScrollView) findViewById(R.id.scroll);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspace.java505 // transition animations competing with us changing the scroll when we add pages
1024 // is under a new page (to scroll to)
1132 * The overlay scroll is being controlled locally, just update our overlay effect
1134 public void onOverlayScrollChanged(float scroll) { argument
1135 if (Float.compare(scroll, 1f) == 0) {
1142 } else if (Float.compare(scroll, 0f) == 0) {
1161 scroll = Math.max(scroll - offset, 0);
1162 scroll = Math.min(1, scroll / (
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DMultiShrinkScroller.java57 * scroll state in savedInstanceState bundles.
102 * Did the current downwards fling/scroll-animation start while we were fullscreen?
213 // off the screen. Lie to the listener: tell it that we did scroll off the screen.
583 // Scroll nested scroll view to its top
636 // If the current fling is predicted to scroll past the top, then we don't need to snap
645 // We are above the starting scroll position so snap to the top.
661 * If needed, scroll all the subviews off the bottom of the Window.
702 ObjectAnimator translateAnimation = ObjectAnimator.ofInt(this, "scroll",
715 * @param scrollToCurrentPosition if true, will scroll from the bottom of the screen to the
716 * current position. Otherwise, will scroll fro
806 setScroll(int scroll) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeListView.java80 // Assumption for time since last scroll when no data point for last scroll.
94 * A factor to change the UI responsiveness on a scroll.
95 * e.g. A scroll factor of 0.5 means UI will move half as fast as the finger.
788 scroll(mFocusItem, distanceX * SCROLL_FACTOR,
1567 private void scroll(int itemId, float deltaX, float deltaY) { method in class:ModeListView

Completed in 875 milliseconds