/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
ButtonsWithTallTextViewInBetweenTest.java | 17 package android.widget.scroll.arrowscroll; 19 import android.widget.scroll.ButtonsWithTallTextViewInBetween; 68 assertTrue("top button should be shorter than max scroll amount", 71 assertTrue("bottom button should be further than max scroll amount off screen", 79 assertEquals("scroll view should be scrolled by the max amount for one " 90 assertTrue("scroll view should be focused", mScrollView.isFocused()); 129 assertEquals("scroll view should have scrolled by the max amount for one " 140 assertTrue("scroll view should be focused", mScrollView.isFocused());
|
TallTextAboveButtonTest.java | 17 package android.widget.scroll.arrowscroll; 19 import android.widget.scroll.TallTextAboveButton; 49 assertTrue("scroll view should have focus (because nothing else focusable " 64 assertTrue("scroll view should have focus, but " + getActivity().getScrollView().findFocus() + " does instead", 73 assertTrue("scroll view should have focus, but " + getActivity().getScrollView().findFocus() + " does instead",
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
ScrollHandler.java | 25 * Sets the stable id that view should be scrolled to. The view does not actually scroll yet. 30 * Perform smooth scroll to position.
|
/external/pdfium/xfa/fwl/ |
cfwl_eventscroll.cpp | 10 : CFWL_Event(CFWL_Event::Type::Scroll, pSrcTarget) {}
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
ViewAutoScroller.java | 35 * introduces a natural intent to scroll. Used by BandSelectionHelper and GestureSelectionHelper, 84 public void scroll(@NonNull Point location) { method in class:ViewAutoScroller 99 * Attempts to smooth-scroll the view at the given UI frame. Application should be 135 // scroll. This avoids a situation where the user initiates selection in an "endzone" 147 // Compute the number of pixels to scroll, and scroll that many pixels. 157 // We reuse the scroll threshold to calculate a much smaller area 166 * Computes the number of pixels to scroll based on how far the pointer is past the end 168 * pixels to scroll when an item is dragged to the end of a view. 183 // Interpolate this ratio and use it to compute the maximum scroll that should b [all...] |
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
ActionBarHideOnScroll.java | 26 * This demonstrates usage of the Action Bar's hide on content scroll 34 // Hide on content scroll requires an overlay action bar, so request one 39 // Enable hide on scroll
|
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/ |
ViewAutoScroller.java | 23 * introduces a natural intent to scroll. Used by BandController, GestureSelector, 46 * Attempts to smooth-scroll the view at the given UI frame. Application should be 80 // Compute the number of pixels to scroll, and scroll that many pixels. 90 * Computes the number of pixels to scroll based on how far the pointer is past the end 92 * pixels to scroll when an item is dragged to the end of a view. 106 // Interpolate this ratio and use it to compute the maximum scroll that should be 111 // If the final number of pixels to scroll ends up being 0, the view should still 112 // scroll at least one pixel. 131 * Used by {@link run} to properly calculate the proper amount of pixels to scroll given tim [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
BaseRecyclerView.java | 74 * Returns the height of the fast scroll bar 81 * Returns the available scroll height: 87 * Returns the available scroll bar height: 96 * Updates the scrollbar thumb offset to match the visible scroll of the recycler view. It does 97 * this by mapping the available scroll area of the recycler view to the available space for the 98 * scroll bar. 100 * @param scrollY the current scroll y 110 // Calculate the current scroll position, the scrollY of the recycler view accounts for the 116 // Calculate the position and size of the scroll bar 134 // IF scroller is at the very top OR there is no scroll bar because there is probably no [all...] |
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
Scrollers.java | 17 package io.appium.droiddriver.scroll; 25 import io.appium.droiddriver.scroll.Direction.Axis; 26 import io.appium.droiddriver.scroll.Direction.DirectionConverter; 27 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 35 * scroll, waits until ProgressBar is gone. 39 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { method in class:Scrollers.ProgressBarScrollStepStrategy 40 if (super.scroll(driver, containerFinder, direction)) {
|
AccessibilityEventScrollStepStrategy.java | 16 package io.appium.droiddriver.scroll; 31 import io.appium.droiddriver.scroll.Direction.Axis; 32 import io.appium.droiddriver.scroll.Direction.DirectionConverter; 33 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 51 * Stores the data if we reached end at the last {@link #scroll}. If the data 52 * match when a new scroll is requested, we can return immediately. 74 * scroll up to {@code scrollEventTimeoutMillis}. 111 public boolean scroll(DroidDriver driver, Finder containerFinder, method in class:AccessibilityEventScrollStepStrategy 113 // Check if we've reached end after last scroll. 121 Logs.log(Log.DEBUG, "reached scroll end with event: " + event) [all...] |
Direction.java | 16 package io.appium.droiddriver.scroll; 18 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.DOWN; 19 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.LEFT; 20 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.RIGHT; 21 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.UP; 24 * A namespace to hold interfaces and constants for scroll directions.
|
Scroller.java | 16 package io.appium.droiddriver.scroll; 22 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 33 * @param containerFinder Finder for the container that can scroll, for instance a ListView 45 * @param containerFinder Finder for the container that can scroll, for instance a ListView
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ButtonAboveTallInternalSelectionViewTest.java | 17 package android.widget.scroll; 20 import android.widget.scroll.ButtonAboveTallInternalSelectionView; 39 assertEquals("scrollview scroll y",
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
ScrollViewScrollHandlingDelegate.java | 29 * {@link ScrollHandlingDelegate} which analyzes scroll events from {@link BottomScrollView} and 70 Log.w(TAG, "Cannot require scroll. Scroll view is null.");
|
/frameworks/native/services/vr/virtual_touchpad/include/ |
VirtualTouchpad.h | 64 // Generate a simulated scroll event. 67 // @param x Horizontal scroll increment. 68 // @param y Vertical scroll increment. 72 virtual status_t Scroll(int touchpad, float x, float y) = 0;
|
VirtualTouchpadClient.h | 20 status_t Scroll(int touchpad, float x, float y) override;
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
LinearSmoothScroller.java | 76 // Trigger a scroll to a further distance than TARGET_SEEK_SCROLL_DISTANCE_PX so that if target 78 // scrolling slows down and reschedule another interim target scroll 89 // Temporary variables to keep track of the interim scroll target. These values do not 134 throw new IllegalStateException("Scroll happened in the opposite direction" 156 * Calculates the scroll speed. 170 * @param dx Distance to scroll 184 * Calculates the time it should take to scroll the given distance (in pixels) 186 * @param dx Distance in pixels that we want to scroll 226 * When the target scroll position is not a child of the RecyclerView, this method calculates 227 * a direction vector towards that child and triggers a smooth scroll [all...] |
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiScrollable.java | 64 * Set the direction of swipes to be vertical when performing scroll actions. 75 * Set the direction of swipes to be horizontal when performing scroll actions. 107 * scroll search. 179 * scroll search. 223 * Performs a forward scroll action on the scrollable layout element until 237 * Perform a forward scroll action to move through the scrollable layout element until 250 * Perform a scroll forward action to move through the scrollable layout 291 * otherwise, false if the attempt to scroll failed. 305 // so we need to scroll list forward 309 // so we need to scroll list forwar [all...] |
/frameworks/base/core/java/android/widget/ |
OverScroller.java | 46 * Creates an OverScroller with a viscous fluid scroll interpolator and flywheel. 56 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will 66 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will 68 * @param flywheel If true, successive fling motions will keep on increasing scroll speed. 85 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will 103 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will 110 * @param flywheel If true, successive fling motions will keep on increasing scroll speed. 162 * Returns the current X offset in the scroll. 171 * Returns the current Y offset in the scroll. 189 * Returns the start X offset in the scroll [all...] |
Scroller.java | 31 * scroll offsets for you over time, but they don't automatically apply those 222 * Returns how long the scroll event will take, in milliseconds. 224 * @return The duration of the scroll in milliseconds. 231 * Returns the current X offset in the scroll. 240 * Returns the current Y offset in the scroll. 260 * Returns the start X offset in the scroll. 269 * Returns the start Y offset in the scroll. 278 * Returns where the scroll will end. Valid only for "fling" scrolls. 287 * Returns where the scroll will end. Valid only for "fling" scrolls. 356 * The scroll will use the default value of 250 milliseconds for th [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
OverScroller.java | 46 * Creates an OverScroller with a viscous fluid scroll interpolator and flywheel. 56 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will 66 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will 68 * @param flywheel If true, successive fling motions will keep on increasing scroll speed. 83 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will 100 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will 107 * @param flywheel If true, successive fling motions will keep on increasing scroll speed. 154 * Returns the current X offset in the scroll. 163 * Returns the current Y offset in the scroll. 181 * Returns the start X offset in the scroll [all...] |
/external/droiddriver/src/io/appium/droiddriver/actions/ |
EventUiElementActor.java | 20 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 45 public void scroll(UiElement uiElement, PhysicalDirection direction) { method in class:EventUiElementActor
|
UiElementActor.java | 20 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 50 void scroll(UiElement uiElement, PhysicalDirection direction); method in interface:UiElementActor
|
/external/droiddriver/src/io/appium/droiddriver/actions/accessibility/ |
AccessibilityUiElementActor.java | 21 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 45 public void scroll(UiElement uiElement, PhysicalDirection direction) { method in class:AccessibilityUiElementActor
|
/external/libvncserver/ |
TODO | 11 - handle scroll wheel 25 selectbox: scroll bars
|