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

12

/frameworks/base/core/tests/coretests/src/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 DButtonAboveTallInternalSelectionViewTest.java17 package android.widget.scroll;
20 import android.widget.scroll.ButtonAboveTallInternalSelectionView;
39 assertEquals("scrollview scroll y",
H A DButtonsWithTallTextViewInBetween.java17 package android.widget.scroll;
H A DShortButtons.java17 package android.widget.scroll;
H A DRequestRectangleVisibleWithInternalScroll.java17 package android.widget.scroll;
66 // the internal scroll
H A DRequestRectangleVisibleWithInternalScrollTest.java17 package android.widget.scroll;
H A DScrollViewButtonsAndLabels.java17 package android.widget.scroll;
30 * Basic scroll view example
H A DScrollViewButtonsAndLabelsTest.java17 package android.widget.scroll;
20 import android.widget.scroll.ScrollViewButtonsAndLabels;
79 + "button in the scroll view for this test to work (since we "
H A DRequestRectangleVisible.java17 package android.widget.scroll;
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 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());
H A DShortButtonsTest.java17 package android.widget.scroll.arrowscroll;
19 import android.widget.scroll.ShortButtons;
/frameworks/native/services/vr/virtual_touchpad/
H A DVirtualTouchpadService.h26 binder::Status scroll(int touchpad, float x, float y) override;
H A DVirtualTouchpadClient.cpp67 return service_->scroll(touchpad, x, y).transactionError();
/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/wear/tests/src/android/support/wear/widget/
H A DScrollManagerTest.java70 // Pretend to scroll in a straight line from center left to upper left
71 scroll(mScrollManagerUnderTest, 30, 30, 200, 150);
72 // The scroll manager should require the recycler view to scroll up and only up
79 // Pretend to scroll in a straight line upper left to center left
80 scroll(mScrollManagerUnderTest, 30, 30, 150, 200);
81 // The scroll manager should require the recycler view to scroll down and only down
88 // Pretend to scroll in a straight line from center right to upper right
89 scroll(mScrollManagerUnderTes
122 private static void scroll(ScrollManager scrollManager, float fromX, float toX, float fromY, method in class:ScrollManagerTest
[all...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridTest.java73 void scroll(int distance) { method in class:GridTest.Provider
H A DSingleRowTest.java136 mProvider.scroll(90);
159 mProvider.scroll(-90);
224 mProvider.scroll(90);
251 mProvider.scroll(-90);
/frameworks/support/design/src/android/support/design/widget/
H A DBottomSheetBehavior.java283 View scroll = mNestedScrollingChildRef != null
285 if (scroll != null && parent.isPointInChildBounds(scroll, initialX, mInitialY)) {
299 View scroll = mNestedScrollingChildRef.get();
300 return action == MotionEvent.ACTION_MOVE && scroll != null &&
302 !parent.isPointInChildBounds(scroll, (int) event.getX(), (int) event.getY()) &&
652 View scroll = mNestedScrollingChildRef.get();
653 if (scroll != null && scroll.canScrollVertically(-1)) {
654 // Let the content scroll u
[all...]
H A DHeaderBehavior.java159 // We're being dragged so scroll the ABL
160 scroll(parent, child, dy, getMaxDragOffset(child), 0);
220 final int scroll(CoordinatorLayout coordinatorLayout, V header, method in class:HeaderBehavior
/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...]

Completed in 220 milliseconds

12