Searched refs:scrolled (Results 1 – 11 of 11) sorted by relevance
151 int scrolled = 0; in scrollVerticallyBy() local155 while (scrolled > dy) { in scrollVerticallyBy()158 final int scrollBy = Math.min(scrolled - dy, hangingTop); in scrollVerticallyBy()159 scrolled -= scrollBy; in scrollVerticallyBy()161 if (mFirstPosition > 0 && scrolled > dy) { in scrollVerticallyBy()175 while (scrolled < dy) { in scrollVerticallyBy()179 final int scrollBy = -Math.min(dy - scrolled, hangingBottom); in scrollVerticallyBy()180 scrolled -= scrollBy; in scrollVerticallyBy()182 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) { in scrollVerticallyBy()195 return scrolled; in scrollVerticallyBy()
526 int scrolled = 0; in scrollVerticallyBy() local530 while (scrolled > dy) { in scrollVerticallyBy()533 final int scrollBy = Math.min(scrolled - dy, hangingTop); in scrollVerticallyBy()534 scrolled -= scrollBy; in scrollVerticallyBy()536 if (mFirstPosition > 0 && scrolled > dy) { in scrollVerticallyBy()550 while (scrolled < dy) { in scrollVerticallyBy()553 final int scrollBy = -Math.min(dy - scrolled, hangingBottom); in scrollVerticallyBy()554 scrolled -= scrollBy; in scrollVerticallyBy()556 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) { in scrollVerticallyBy()569 return scrolled; in scrollVerticallyBy()
97 int scrolled = super.scrollVerticallyBy(dy, recycler, state); in scrollVerticallyBy() local100 return scrolled; in scrollVerticallyBy()
95 int scrolled = mGlm.scrollBy(scrollStep, in scrollBackAndPreservePositionsTest()97 globalScrollPosition += scrolled; in scrollBackAndPreservePositionsTest()98 if (scrolled == 0) { in scrollBackAndPreservePositionsTest()
... four_corners public static final int layout public static final int scrolled public static final int shadows_test public static final int themable_widget_layout ...
272 boolean scrolled = scrollForward(); in scrollIntoView()276 if (!scrolled) { in scrollIntoView()
1310 final int scrolled = absDy > consumed ? layoutDirection * consumed : dy; in scrollBy() local1311 mOrientationHelper.offsetChildren(-scrolled); in scrollBy()1313 Log.d(TAG, "scroll req: " + dy + " scrolled: " + scrolled); in scrollBy()1315 mLayoutState.mLastScrollDelta = scrolled; in scrollBy()1316 return scrolled; in scrollBy()
1338 final int scrolled = absDy > consumed ? layoutDirection * consumed : dy; in scrollBy() local1339 mOrientationHelper.offsetChildren(-scrolled); in scrollBy()1341 Log.d(TAG, "scroll req: " + dy + " scrolled: " + scrolled); in scrollBy()1343 mLayoutState.mLastScrollDelta = scrolled; in scrollBy()1344 return scrolled; in scrollBy()
1783 int scrolled = layoutState.mStartLine - getMaxStart(layoutState.mStartLine);1785 if (scrolled < 0) {1788 line = layoutState.mEndLine - Math.min(scrolled, layoutState.mAvailable);1793 int scrolled = getMinEnd(layoutState.mEndLine) - layoutState.mEndLine;1795 if (scrolled < 0) {1798 line = layoutState.mStartLine + Math.min(scrolled, layoutState.mAvailable);
1761 final boolean[] scrolled = new boolean[1]; in testScrollAfterRequestLayout()1765 if (dx != 0) scrolled[0] = true; in testScrollAfterRequestLayout()1776 assertFalse(scrolled[0]); in testScrollAfterRequestLayout()1798 final boolean[] scrolled = new boolean[1]; in testScrollAfterItemAnimator()1802 if (dx != 0) scrolled[0] = true; in testScrollAfterItemAnimator()1813 assertFalse(scrolled[0]); in testScrollAfterItemAnimator()3039 final boolean[] scrolled = new boolean[]{false}; in testFocusableViewAvailable()3044 scrolled[0] = true; in testFocusableViewAvailable()3056 assertFalse("GridView should not be scrolled", scrolled[0]); in testFocusableViewAvailable()
7771 final boolean scrolled = scrollToRectOrFocus(rectangle, immediate); in requestChildRectangleOnScreen()7780 return scrolled; in requestChildRectangleOnScreen()