Home
last modified time | relevance | path

Searched refs:scroll (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java182 float getBoundedStackScroll(float scroll) { in getBoundedStackScroll() argument
183 return Utilities.clamp(scroll, mLayoutAlgorithm.mMinScrollP, mLayoutAlgorithm.mMaxScrollP); in getBoundedStackScroll()
187 float getScrollAmountOutOfBounds(float scroll) { in getScrollAmountOutOfBounds() argument
188 if (scroll < mLayoutAlgorithm.mMinScrollP) { in getScrollAmountOutOfBounds()
189 return Math.abs(scroll - mLayoutAlgorithm.mMinScrollP); in getScrollAmountOutOfBounds()
190 } else if (scroll > mLayoutAlgorithm.mMaxScrollP) { in getScrollAmountOutOfBounds()
191 return Math.abs(scroll - mLayoutAlgorithm.mMaxScrollP); in getScrollAmountOutOfBounds()
/frameworks/support/wear/tests/src/android/support/wear/widget/
DScrollManagerTest.java71 scroll(mScrollManagerUnderTest, 30, 30, 200, 150); in testStraightUpScrollingGestureLeft()
80 scroll(mScrollManagerUnderTest, 30, 30, 150, 200); in testStraightDownScrollingGestureLeft()
89 scroll(mScrollManagerUnderTest, 370, 370, 200, 150); in testStraightUpScrollingGestureRight()
98 scroll(mScrollManagerUnderTest, 370, 370, 150, 200); in testStraightDownScrollingGestureRight()
122 private static void scroll(ScrollManager scrollManager, float fromX, float toX, float fromY, in scroll() method in ScrollManagerTest
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DButtonAboveTallInternalSelectionViewTest.java17 package android.widget.scroll;
20 import android.widget.scroll.ButtonAboveTallInternalSelectionView;
DTallTextAboveButton.java17 package android.widget.scroll;
DButtonAboveTallInternalSelectionView.java17 package android.widget.scroll;
DButtonsWithTallTextViewInBetween.java17 package android.widget.scroll;
DScrollViewButtonsAndLabelsTest.java17 package android.widget.scroll;
20 import android.widget.scroll.ScrollViewButtonsAndLabels;
DShortButtons.java17 package android.widget.scroll;
DRequestRectangleVisibleTest.java17 package android.widget.scroll;
20 import android.widget.scroll.RequestRectangleVisible;
DRequestRectangleVisibleWithInternalScroll.java17 package android.widget.scroll;
DRequestRectangleVisibleWithInternalScrollTest.java17 package android.widget.scroll;
DScrollViewButtonsAndLabels.java17 package android.widget.scroll;
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
DMultiPageTextWithPaddingTest.java17 package android.widget.scroll.arrowscroll;
20 import android.widget.scroll.arrowscroll.MultiPageTextWithPadding;
DTallTextAboveButtonTest.java17 package android.widget.scroll.arrowscroll;
19 import android.widget.scroll.TallTextAboveButton;
DShortButtonsTest.java17 package android.widget.scroll.arrowscroll;
19 import android.widget.scroll.ShortButtons;
DButtonsWithTallTextViewInBetweenTest.java17 package android.widget.scroll.arrowscroll;
19 import android.widget.scroll.ButtonsWithTallTextViewInBetween;
DMultiPageTextWithPadding.java17 package android.widget.scroll.arrowscroll;
/frameworks/support/design/src/android/support/design/widget/
DBottomSheetBehavior.java283 View scroll = mNestedScrollingChildRef != null in onInterceptTouchEvent() local
285 if (scroll != null && parent.isPointInChildBounds(scroll, initialX, mInitialY)) { in onInterceptTouchEvent()
299 View scroll = mNestedScrollingChildRef.get(); in onInterceptTouchEvent() local
300 return action == MotionEvent.ACTION_MOVE && scroll != null && in onInterceptTouchEvent()
302 !parent.isPointInChildBounds(scroll, (int) event.getX(), (int) event.getY()) && in onInterceptTouchEvent()
652 View scroll = mNestedScrollingChildRef.get();
653 if (scroll != null && scroll.canScrollVertically(-1)) {
DHeaderBehavior.java160 scroll(parent, child, dy, getMaxDragOffset(child), 0); in onTouchEvent()
220 final int scroll(CoordinatorLayout coordinatorLayout, V header, in scroll() method in HeaderBehavior
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DSingleRowTest.java136 mProvider.scroll(90); in testPrependWithSpacing()
159 mProvider.scroll(-90); in testPrependWithSpacingReversed()
224 mProvider.scroll(90); in testPrefetchItems()
251 mProvider.scroll(-90); in testPrefetchItemsReversed()
DGridTest.java73 void scroll(int distance) { in scroll() method in GridTest.Provider
/frameworks/native/services/vr/virtual_touchpad/aidl/android/dvr/
DVirtualTouchpadService.aidl47 void scroll(int touchpad, float x, float y) = 4; in scroll() method
/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadService.h26 binder::Status scroll(int touchpad, float x, float y) override;
DVirtualTouchpadClient.cpp67 return service_->scroll(touchpad, x, y).transactionError(); in Scroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/
DTaskStackLowRamLayoutAlgorithm.java176 public float scrollToPercentage(int scroll) { in scrollToPercentage() argument
177 return (float) scroll / (mTaskRect.height() + mPadding); in scrollToPercentage()

12