/frameworks/support/compat/src/main/java/androidx/core/view/accessibility/ |
AccessibilityRecordCompat.java | 414 * Gets the scroll offset of the source left edge in pixels. 416 * @return The scroll. 426 * Sets the scroll offset of the source left edge in pixels. 428 * @param scrollX The scroll. 438 * Gets the scroll offset of the source top edge in pixels. 440 * @return The scroll. 450 * Sets the scroll offset of the source top edge in pixels. 452 * @param scrollY The scroll. 462 * Gets the max scroll offset of the source left edge in pixels. 464 * @return The max scroll [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
DropShadowController.java | 33 * This controller encapsulates the logic that watches a model for changes to scroll state and 38 * up the drop shadow is displayed making the content appear to scroll below the app bar. 42 /** Updates {@link #mDropShadowView} in response to changes in the backing scroll model. */ 45 /** Fades the {@link @mDropShadowView} in/out as scroll state changes. */ 54 // Supported sources of scroll position include: ListView, RecyclerView and UiDataModel. 165 // UiDataModel reports scroll change.
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
TabModel.java | 40 /** The listeners to notify when the vertical scroll state of the selected tab is changed. */ 125 // Notify of the vertical scroll position change if there is one. 140 * @param tabScrollListener to be notified when the scroll position of the selected tab changes 147 * @param tabScrollListener to be notified when the scroll position of the selected tab changes 156 * @param tab an enumerated value indicating the tab reporting its vertical scroll position 157 * @param scrolledToTop {@code true} iff the vertical scroll position of this tab is at the top
|
/frameworks/base/core/java/com/android/internal/widget/ |
AutoScrollHelper.java | 48 * will scroll at the maximum velocity. 141 /** The view to auto-scroll. Might not be the source of touch events. */ 206 * @param target The view to automatically scroll. 227 * Sets whether the scroll helper is enabled and should respond to touch 230 * @param enabled Whether the scroll helper is enabled. 231 * @return The scroll helper, which may used to chain setter calls. 259 * @return The scroll helper, which may used to chain setter calls. 267 * Indicates whether the scroll helper handles touch events exclusively 290 * @return The scroll helper, which may used to chain setter calls. 308 * @return The scroll helper, which may used to chain setter calls [all...] |
/frameworks/base/core/java/android/widget/ |
HorizontalScrollView.java | 54 * containing the entire contents to scroll; this child may itself be a layout 57 * array of top-level items that the user can scroll through. 96 * layout is dirty. This prevents the scroll from being wrong if the child has not been 114 * When set to true, the scroll view measure its child to make it fill the currently 208 * @return The maximum amount this scroll view will scroll in response to 366 * You can call this function yourself to have the scroll view perform 622 // Scroll to follow the motion event 636 // Break our velocity if we hit a scroll barrier. [all...] |
/frameworks/support/car/src/main/java/androidx/car/widget/ |
PagedScrollBarView.java | 39 /** A custom view to provide list scroll behaviour -- up/down buttons and scroll indicator. */ 55 * alpha jump mode, where we display a list of buttons to allow the user to quickly scroll 72 /** The amount of space that the scroll thumb is allowed to roam over. */ 158 * Sets the range, offset and extent of the scroll bar. The range represents the size of a 184 // If the scroll bars aren't visible, then no need to update. 206 * the views in the {@code PagedScrollBarView} if the scroll thumb's height needs to be changed. 218 // If the scroll bars aren't visible, then no need to update. 250 * Sets whether or not the up button on the scroll bar is clickable. 260 * Sets whether or not the down button on the scroll bar is clickable [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AllAppsRecyclerView.java | 45 * A RecyclerView with custom fast scroll support for the all apps view. 53 // The specific view heights that we use to calculate scroll 149 // Always scroll the view to the top so the user can see the changed results 203 // Update the fast scroll 276 // Calculate the current scroll position, the scrollY of the recycler view accounts 286 // current scroll position. We do this by mapping the difference in movement 287 // from the original scroll bar position to the difference in movement necessary 305 // needs to catch up to the scroll position. Do nothing except for updating 306 // the scroll bar x to match the thumb width. 385 * Returns the available scroll height [all...] |
/frameworks/support/compat/src/main/java/androidx/core/view/ |
NestedScrollingChildHelper.java | 91 * a nested scroll in progress with the type of touch. 105 * a nested scroll in progress with the given type. 118 * Start a new nested scroll for this view. 124 * @param axes Supported nested scroll axes. 133 * Start a new nested scroll for this view. 139 * @param axes Supported nested scroll axes. 168 * Stop a nested scroll in progress. 179 * Stop a nested scroll in progress. 200 * @return true if the parent consumed any of the nested scroll 215 * @return true if the parent consumed any of the nested scroll [all...] |
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
DynamicSentinelStrategy.java | 16 package io.appium.droiddriver.scroll; 25 import io.appium.droiddriver.scroll.Direction.DirectionConverter; 26 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 94 // the scroll is close to the end therefore the unique string does not 104 // results in unnecessary scroll actions that have no visual effect. This 183 * after each scroll should be unique. 210 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { method in class:DynamicSentinelStrategy
|
SentinelStrategy.java | 16 package io.appium.droiddriver.scroll; 29 import io.appium.droiddriver.scroll.Direction.DirectionConverter; 30 import io.appium.droiddriver.scroll.Direction.LogicalDirection; 31 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 208 container.scroll(direction);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
Configurator.java | 37 // The events for a scroll typically complete even before touchUp occurs. 138 * uiautomtor scroll swipe action. 141 * corresponding to the scroll action, that lets the framework determine if 142 * the scroll action was successful. Generally, this timeout should not be modified. 156 * uiautomtor scroll swipe action. 159 * corresponding to the scroll action, that lets the framework determine if 160 * the scroll action was successful. Generally, this timeout should not be modified.
|
/frameworks/opt/setupwizard/library/main/res/values/ |
attrs.xml | 60 <!-- No scroll indicators are displayed. --> 62 <!-- Displays top scroll indicator when view can be scrolled up. --> 64 <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 66 <!-- Displays left scroll indicator when vew can be scrolled left. --> 68 <!-- Displays right scroll indicator when vew can be scrolled right. --> 70 <!-- Displays right scroll indicator when vew can be scrolled in the 73 <!-- Displays right scroll indicator when vew can be scrolled in the
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
WearableRecyclerView.java | 121 // The focused child should be in the center, so force a scroll to it. 165 * gestures around the edge of the screen will cause the view to scroll up or down. Related 166 * methods let you specify the characteristics of the scrolling, like the speed of the scroll 186 * Sets how many degrees the user has to rotate by to scroll through one screen height when they 187 * are using the circular scrolling gesture.The default value equates 180 degrees scroll to one 192 * @param degreesPerScreen the number of degrees to rotate by to scroll through one whole 200 * Returns how many degrees does the user have to rotate for to scroll through one screen
|
ScrollManager.java | 46 /** How many degrees you have to drag along the bezel to scroll one screen height. */ 56 /** How many pixels to scroll for each radian of bezel scrolling. */ 197 * Set how many degrees you have to drag along the bezel to scroll one screen height. 199 * @param degreesPerScreen desired degrees per screen scroll. 219 * Returns how many degrees you have to drag along the bezel to scroll one screen height. See
|
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
NestedScrollView.java | 78 * Interface definition for a callback to be invoked when the scroll 87 * Called when the scroll position of a view changes. 89 * @param v The view whose scroll position has changed. 90 * @param scrollX Current horizontal scroll origin. 91 * @param scrollY Current vertical scroll origin. 92 * @param oldScrollX Previous horizontal scroll origin. 93 * @param oldScrollY Previous vertical scroll origin. 120 * layout is dirty. This prevents the scroll from being wrong if the child has not been 138 * When set to true, the scroll view measure its child to make it fill the currently 423 * @return The maximum amount this scroll view will scroll in response t [all...] |
/external/tensorflow/tensorflow/python/debug/cli/ |
curses_ui_test.py | 195 direction: which direction to scroll. 196 line_index: (int or None) Optional line index to scroll to. See doc string 363 self.assertNotIn("Scroll", ui.scroll_messages[0]) 387 """Scroll tall output with PageDown and PageUp.""" 389 # Use PageDown and PageUp to scroll back and forth a little before exiting. 408 # Initial scroll: At the top. 409 self.assertIn("Scroll (PgDn): 0.00%", ui.scroll_messages[0]) 416 self.assertIn("Scroll (PgDn/PgUp): 1.69%", ui.scroll_messages[1]) 420 self.assertIn("Scroll (PgDn/PgUp): 3.39%", ui.scroll_messages[2]) 424 self.assertIn("Scroll (PgDn/PgUp): 1.69%", ui.scroll_messages[3] [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
FastScroller.java | 45 // Scroll thumb not showing 47 // Scroll thumb visible and moving along with the scrollbar 49 // Scroll thumb being dragged by user 80 // Final values for the vertical scroll bar 86 // Final values for the horizontal scroll bar 92 // Dynamic values for the vertical scroll bar 97 // Dynamic values for the horizontal scroll bar 278 // scroller when size changed, and wait until the scroll position is recomputed 336 * Notify the scroller of external change of the scroll, e.g. through dragging or flinging on 339 * @param offsetX The new scroll X offset [all...] |
/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/ |
BaseViewPagerTest.java | 276 assertEquals("Scroll right", 1, mViewPager.getCurrentItem()); 280 assertEquals("Scroll right", 2, mViewPager.getCurrentItem()); 285 assertEquals("Scroll right beyond last page", 2, mViewPager.getCurrentItem()); 290 assertEquals("Scroll left", 1, mViewPager.getCurrentItem()); 295 assertEquals("Scroll left", 0, mViewPager.getCurrentItem()); 301 assertEquals("Scroll left beyond first page", 0, mViewPager.getCurrentItem()); 310 assertEquals("Scroll to last page", 2, mViewPager.getCurrentItem()); 316 assertEquals("Scroll to first page", 0, mViewPager.getCurrentItem()); 448 // Scroll one page to select page #1 450 assertEquals("Scroll right", 1, mViewPager.getCurrentItem()) [all...] |
/external/autotest/client/cros/ |
touch_playback_test_base.py | 120 @param fmt_str: format string for filename, e.g. 'scroll-%s' 397 Provides functions such as reload and setting scroll height on page. 446 """Set scroll position to given value. 449 @param scroll_vertical: True for vertical scroll, 450 False for horizontal Scroll. 461 """Set scroll position of page to default. 463 @param scroll_vertical: True for vertical scroll, 464 False for horizontal Scroll. 465 @raise: TestError if page is not set to default scroll position 476 logging.error('SCROLL POSITION: %s', pos [all...] |
/external/wpa_supplicant_8/src/utils/ |
browser.c | 153 GtkWidget *scroll; local 173 scroll = gtk_scrolled_window_new(NULL, NULL); 174 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), 196 gtk_container_add(GTK_CONTAINER(scroll), GTK_WIDGET(view)); 197 gtk_container_add(GTK_CONTAINER(ctx.win), GTK_WIDGET(scroll));
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
GridLayoutManagerCacheTest.java | 91 // scroll to the middle, so we can move in either direction 128 // Pos scroll on pos layout, or reverse scroll on reverse layout 132 // Pos scroll on reverse layout, or reverse scroll on pos layout
|
StaggeredGridLayoutManagerBaseConfigSetTest.java | 214 // now scroll back and make sure global positions match 332 // smooth scroll to end of the list and keep testing meanwhile. This will test pre-caching 378 // smooth scroll to end of the list and keep testing meanwhile. This will test pre-caching 424 // run these tests twice. once initial layout, once after scroll 478 final int scroll = config.mReverseLayout ? -500 : 500; local 479 scrollBy(scroll); 480 logSuffix = " scrolled " + scroll; 494 assertRectSetsEqual(mConfig + " trying to over scroll with offset should be no-op", 516 assertEquals(mConfig + " scroll with offset on a visible child should work fine", 536 Log.d(TAG, mConfig + " post scroll to invisible mPosition " + bounds + " in [all...] |
StaggeredGridLayoutManagerCacheTest.java | 105 // scroll to the middle, so we can move in either direction 142 // Pos scroll on pos layout, or reverse scroll on reverse layout 146 // Pos scroll on reverse layout, or reverse scroll on pos layout
|
/packages/apps/TvSettings/Settings/res/values/ |
attrs.xml | 71 <!-- describe how to put scroll center in the viewport --> 74 <!-- keep scroll center in center of viewport, the middle point is 1/2 inside 78 <!-- keep scroll center as a fixed distance from start/top --> 80 <!-- keep scroll center offset from the center of the view --> 82 <!-- keep scroll center as a fixed distance from end/bottom -->
|
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/ |
IPhotosHelper.java | 117 * This method will scroll the picture album in the specified direction. 119 * @param direction The direction to scroll, must be LEFT or RIGHT. 127 * This method will scroll the Photos grid view in the specified direction. 129 * @param direction The direction of the scroll, must be UP or DOWN. 130 * @return Returns whether the object can still scroll in the given direction
|