/frameworks/support/car/res/values/ |
attrs.xml | 26 <!-- Whether or not to offset the list view by the width of scroll bar. Setting this to 27 true will ensure that any views within the list will not overlap the scroll bar. 51 <!-- Sets the color of the scroll bar. This color only affects the thumb of the scroll bar; 55 <!-- The top margin before the scroll bar is drawn. --> 85 <!-- The icon to be used for the up button of the scroll bar. --> 87 <!-- The icon to be used for the down button of the scroll bar. -->
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ModeTransitionView.java | 124 // Scroll distance > 0. 129 // Scroll distance < 0. 148 * Sets the scroll distance. Note this function gets called in every 154 // First make sure scroll distance is clamped to the valid range. 333 * Snaps the shade to a given scroll distance and sets the icon alpha. If the shade 336 * @param scrollDistance scaled user scroll distance 437 // Reset scroll distance.
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
RecyclerView.java | 247 * RecyclerView is calculating a scroll. 251 static final String TRACE_SCROLL_TAG = "RV Scroll"; 398 // binary OR of change events that were eaten during a layout or scroll. 429 * This variable is incremented during a dispatchLayout and/or scroll. 442 * It is a bad practice for a developer to update the data in a scroll callback since it is [all...] |
AsyncListUtil.java | 115 * background. Should be called from the view's scroll listener (such as 191 // Ranges do not intersect, long leap not a scroll. 226 mAllowScrollHints = false; // Will be set to true after a first real scroll. 227 // There will be no scroll event if the size change does not affect the current range. 318 log("updateRange: %d..%d extended to %d..%d, scroll hint: %d", 524 * No scroll direction hint available. 561 * If there is no scroll hint, the default implementation extends the visible range by half 562 * its length in both directions. If there is a scroll hint, the range is extended by 563 * its full length in the scroll direction, and by half in the other direction. 573 * @param scrollHint The scroll direction hint [all...] |
LinearSnapHelper.java | 155 * Estimates a position to which SnapHelper will try to scroll to in response to a fling. 163 * @return The diff between the target scroll position and the current position. 228 * @return A float value that is the average number of pixels needed to scroll by one view in
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
GridLayoutManager.java | 278 * during scroll. 400 // minimal milliseconds to scroll window size in major direction, we put a cap to prevent the 422 * scroll offset - coordinate quantities - do not reverse 534 * True if scroll content, might be disabled during transition. 606 * Note that we treat secondary differently than main. For the main axis, update scroll min/max 671 * Focus Scroll strategy. [all...] |
/frameworks/base/core/java/android/widget/ |
Gallery.java | 70 * Duration in milliseconds from the start of a scroll during which we're 119 * Executes the delta scrolls from a fling or scroll movement. 325 // Current scroll position is the same as the selected position 331 // Scroll range is the same as the item count 378 * Tracks a motion scroll. In reality, this is used to do just about any 379 * movement to items (touch scroll, arrow-key scroll, set an item as selected). 664 * gallery as we scroll 987 // An item tap should make it selected, so scroll to this child. [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskStackView.java | 452 * Computes the task transforms at the current stack scroll for all visible tasks. If a valid 453 * target stack scroll is provided (ie. is different than {@param curStackScroll}), then the 454 * visible range includes all tasks at the target stack scroll. This is useful for ensure that 460 * @param curStackScroll The current stack scroll 461 * @param targetStackScroll The stack scroll that we anticipate we are going to be scrolling to. 493 // If we have a target stack scroll and the task is not currently visible, then we 494 // just update the transform at the new scroll 522 * Binds the visible {@link TaskView}s at the given target scroll. 536 * includes those visible at the current stack scroll, and all at the 537 * target stack scroll [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
RecyclerView.java | 211 * RecyclerView is calculating a scroll. 215 static final String TRACE_SCROLL_TAG = "RV Scroll"; 350 // binary OR of change events that were eaten during a layout or scroll. 372 * This variable is incremented during a dispatchLayout and/or scroll. 385 * It is a bad practice for a developer to update the data in a scroll callback since it is [all...] |
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/ |
DigitalWatchFaceWearableConfigActivity.java | 139 public void onScroll(int scroll) {} 142 public void onAbsoluteScrollChange(int scroll) { 143 float newTranslation = Math.min(-scroll, 0);
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/ |
DigitalWatchFaceWearableConfigActivity.java | 139 public void onScroll(int scroll) {} 142 public void onAbsoluteScrollChange(int scroll) { 143 float newTranslation = Math.min(-scroll, 0);
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
DigitalWatchFaceWearableConfigActivity.java | 137 public void onScroll(int scroll) {} 140 public void onAbsoluteScrollChange(int scroll) { 141 float newTranslation = Math.min(-scroll, 0);
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
TouchZoomExampleActivity.java | 147 scroll(oldFirstFinger.x - firstFinger.x);
179 private void scroll(float pan) {
method in class:TouchZoomExampleActivity 191 // enforce left scroll boundary:
|
/external/droiddriver/src/io/appium/droiddriver/actions/ |
SwipeAction.java | 25 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 120 * @param direction the scroll direction specifying where the view port will 186 throw new ActionException("Unknown scroll direction: " + direction);
|
/external/droiddriver/src/io/appium/droiddriver/base/ |
BaseUiElement.java | 42 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 254 public void scroll(PhysicalDirection direction) { method in class:BaseUiElement 255 uiElementActor.scroll(this, direction);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
LinearLayoutManagerSnappingTest.java | 65 // to the center is an edge view, but it cannot scroll further in order to snap. 140 // Velocity small enough to not scroll to the next view. 165 // Velocity high enough to scroll beyond the current view.
|
PagerSnapHelperTest.java | 133 // Velocity small enough to not scroll to the next view. 137 // Scroll at one pixel in the correct direction to allow fling snapping to the next view. 188 // Scroll at one pixel in the correct direction to allow fling snapping to the next view.
|
StaggeredGridLayoutManagerSnappingTest.java | 111 // small enough to ensure we do not scroll over to an offset view in a different span. 158 // Velocity small enough to not scroll to the next view. 184 // Velocity high enough to scroll beyond the current view.
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewFadingEdgeTest.java | 79 new TestCase("Should not fade when text:long, dir:LTR, scroll:middle", 81 new TestCase("Should not fade when text:long, dir:RTL, scroll:middle", 133 new TestCase("Should fade both when text:long, dir:LTR, scroll:middle", 135 new TestCase("Should fade both when text:long, dir:RTL, scroll:middle",
|
/developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/common/view/ |
SlidingTabLayout.java | 34 * the user's scroll progress. 93 // Disable the Scroll Bar 134 * that the layout can update it's scroll position correctly. 247 // If we're not at the first child and are mid-scroll, make sure we obey the offset
|
/developers/build/prebuilts/gradle/EmojiCompat/app/src/main/res/layout/ |
activity_main.xml | 21 android:id="@+id/scroll"
|
/developers/build/prebuilts/gradle/EmojiCompat/kotlinApp/app/src/main/res/layout/ |
activity_main.xml | 21 android:id="@+id/scroll"
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/res/layout/ |
main.xml | 43 android:id="@+id/scroll"
|
/developers/build/prebuilts/gradle/PictureInPicture/app/src/main/res/layout/ |
activity_main.xml | 35 android:id="@+id/scroll"
|
/developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/app/src/main/res/layout/ |
activity_main.xml | 35 android:id="@+id/scroll"
|