Searched defs:scroll (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DButtonAboveTallInternalSelectionViewTest.java17 package android.widget.scroll;
20 import android.widget.scroll.ButtonAboveTallInternalSelectionView;
39 assertEquals("scrollview scroll y",
H A DRequestRectangleVisible.java17 package android.widget.scroll;
H A DTallTextAboveButton.java17 package android.widget.scroll;
H A DButtonAboveTallInternalSelectionView.java17 package android.widget.scroll;
25 * A button above a tall internal selection view, wrapped in a scroll view.
H A DButtonsWithTallTextViewInBetween.java17 package android.widget.scroll;
H A DRequestRectangleVisibleWithInternalScrollTest.java17 package android.widget.scroll;
H A DRequestRectangleVisibleWithInternalScroll.java17 package android.widget.scroll;
66 // the internal scroll
H A DScrollViewButtonsAndLabels.java17 package android.widget.scroll;
30 * Basic scroll view example
H A DShortButtons.java17 package android.widget.scroll;
H A DScrollViewButtonsAndLabelsTest.java17 package android.widget.scroll;
80 + "button in the scroll view for this test to work (since we "
H A DRequestRectangleVisibleTest.java17 package android.widget.scroll;
20 import android.widget.scroll.RequestRectangleVisible;
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DMultiPageTextWithPadding.java17 package android.widget.scroll.arrowscroll;
H A DMultiPageTextWithPaddingTest.java17 package android.widget.scroll.arrowscroll;
20 import android.widget.scroll.arrowscroll.MultiPageTextWithPadding;
H A DShortButtonsTest.java17 package android.widget.scroll.arrowscroll;
19 import android.widget.scroll.ShortButtons;
H A DTallTextAboveButtonTest.java17 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",
H A DButtonsWithTallTextViewInBetweenTest.java17 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());
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DAutoScroller.java44 public abstract void scroll(@NonNull Point location); method in class:AutoScroller
H A DViewAutoScroller.java35 * 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 tha
[all...]
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
H A DTestAutoScroller.java30 public void scroll(Point location) { method in class:TestAutoScroller
/frameworks/native/services/vr/virtual_touchpad/
H A DVirtualTouchpadService.cpp90 binder::Status VirtualTouchpadService::scroll(int touchpad, float x, float y) { function in class:android::dvr::VirtualTouchpadService
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridTest.java73 void scroll(int distance) { method in class:GridTest.Provider
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DScrollManagerTest.java71 // Pretend to scroll in a straight line from center left to upper left
72 scroll(mScrollManagerUnderTest, 30, 30, 200, 150);
73 // The scroll manager should require the recycler view to scroll up and only up
80 // Pretend to scroll in a straight line upper left to center left
81 scroll(mScrollManagerUnderTest, 30, 30, 150, 200);
82 // The scroll manager should require the recycler view to scroll down and only down
89 // Pretend to scroll in a straight line from center right to upper right
90 scroll(mScrollManagerUnderTes
123 private static void scroll(ScrollManager scrollManager, float fromX, float toX, float fromY, method in class:ScrollManagerTest
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/
H A DTaskStackLowRamLayoutAlgorithm.java144 * Finds the closest task to the scroll percentage in the y axis and returns the percentage of
145 * the task to scroll to.
172 * Convert a scroll value to a percentage
173 * @param scroll a scroll value
174 * @return a percentage that represents the scroll from the total height of tasks
176 public float scrollToPercentage(int scroll) { argument
177 return (float) scroll / (mTaskRect.height() + mPadding);
181 * Converts a percentage to the scroll value from the total height of tasks
182 * @param p a percentage that represents the scroll valu
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackViewScroller.java109 /** Gets the current stack scroll */
115 * Sets the current stack scroll immediately.
122 * Sets the current stack scroll immediately, and returns the difference between the target
123 * scroll and the actual scroll after accounting for the effect on the focus state.
135 * Sets the current stack scroll, but indicates to the callback the preferred animation to
136 * update to this new scroll.
147 * Sets the current stack scroll to the initial state when you first enter recents.
170 /** Bounds the current scroll if necessary */
181 /** Returns the bounded stack scroll */
182 getBoundedStackScroll(float scroll) argument
187 getScrollAmountOutOfBounds(float scroll) argument
[all...]
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
H A DGridModelTest.java204 scroll(CHILD_VIEW_EDGE_PX);
210 scroll(CHILD_VIEW_EDGE_PX);
213 scroll(-2 * CHILD_VIEW_EDGE_PX);
295 private void scroll(int dy) { method in class:GridModelTest

Completed in 145 milliseconds

12