Home
last modified time | relevance | path

Searched refs:scrolled (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java150 int scrolled = 0; in scrollVerticallyBy() local
154 while (scrolled > dy) { in scrollVerticallyBy()
157 final int scrollBy = Math.min(scrolled - dy, hangingTop); in scrollVerticallyBy()
158 scrolled -= scrollBy; in scrollVerticallyBy()
160 if (mFirstPosition > 0 && scrolled > dy) { in scrollVerticallyBy()
174 while (scrolled < dy) { in scrollVerticallyBy()
178 final int scrollBy = -Math.min(dy - scrolled, hangingBottom); in scrollVerticallyBy()
179 scrolled -= scrollBy; in scrollVerticallyBy()
181 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) { in scrollVerticallyBy()
194 return scrolled; in scrollVerticallyBy()
DAnimatedRecyclerView.java531 int scrolled = 0; in scrollVerticallyBy() local
535 while (scrolled > dy) { in scrollVerticallyBy()
538 final int scrollBy = Math.min(scrolled - dy, hangingTop); in scrollVerticallyBy()
539 scrolled -= scrollBy; in scrollVerticallyBy()
541 if (mFirstPosition > 0 && scrolled > dy) { in scrollVerticallyBy()
555 while (scrolled < dy) { in scrollVerticallyBy()
558 final int scrollBy = -Math.min(dy - scrolled, hangingBottom); in scrollVerticallyBy()
559 scrolled -= scrollBy; in scrollVerticallyBy()
561 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) { in scrollVerticallyBy()
574 return scrolled; in scrollVerticallyBy()
/frameworks/support/wear/src/android/support/wear/widget/
DWearableLinearLayoutManager.java96 int scrolled = super.scrollVerticallyBy(dy, recycler, state); in scrollVerticallyBy() local
99 return scrolled; in scrollVerticallyBy()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerBaseConfigSetTest.java95 int scrolled = mGlm.scrollBy(scrollStep, in scrollBackAndPreservePositionsTest()
97 globalScrollPosition += scrolled; in scrollBackAndPreservePositionsTest()
98 if (scrolled == 0) { in scrollBackAndPreservePositionsTest()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
DR$layout.class ... indeterminate_progressbar public static final int layout public static final int scrolled public static final int simple_activity public static final int vector_drawable ...
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiScrollable.java272 boolean scrolled = scrollForward(); in scrollIntoView()
276 if (!scrolled) { in scrollIntoView()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1314 final int scrolled = absDy > consumed ? layoutDirection * consumed : dy; in scrollBy() local
1315 mOrientationHelper.offsetChildren(-scrolled); in scrollBy()
1317 Log.d(TAG, "scroll req: " + dy + " scrolled: " + scrolled); in scrollBy()
1319 mLayoutState.mLastScrollDelta = scrolled; in scrollBy()
1320 return scrolled; in scrollBy()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java1339 final int scrolled = absDy > consumed ? layoutDirection * consumed : dy; in scrollBy() local
1340 mOrientationHelper.offsetChildren(-scrolled); in scrollBy()
1342 Log.d(TAG, "scroll req: " + dy + " scrolled: " + scrolled); in scrollBy()
1344 mLayoutState.mLastScrollDelta = scrolled; in scrollBy()
1345 return scrolled; in scrollBy()
DStaggeredGridLayoutManager.java1744 int scrolled = layoutState.mStartLine - getMaxStart(layoutState.mStartLine);
1746 if (scrolled < 0) {
1749 line = layoutState.mEndLine - Math.min(scrolled, layoutState.mAvailable);
1754 int scrolled = getMinEnd(layoutState.mEndLine) - layoutState.mEndLine;
1756 if (scrolled < 0) {
1759 line = layoutState.mStartLine + Math.min(scrolled, layoutState.mAvailable);
/frameworks/native/services/inputflinger/
DInputReader.cpp2821 bool scrolled = vscroll != 0 || hscroll != 0; in sync() local
2830 if (moved || scrolled || buttonsChanged) { in sync()
2865 if ((buttonsPressed || moved || scrolled) && getDevice()->isExternal()) { in sync()
2874 if (downChanged || moved || scrolled || buttonsChanged) { in sync()
2935 if (scrolled) { in sync()
3049 bool scrolled = scroll != 0; in sync() local
3056 if (scrolled && getDevice()->isExternal()) { in sync()
3065 if (scrolled) { in sync()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java2639 final boolean[] scrolled = new boolean[]{false}; in testFocusableViewAvailable()
2644 scrolled[0] = true; in testFocusableViewAvailable()
2656 assertFalse("GridView should not be scrolled", scrolled[0]); in testFocusableViewAvailable()
/frameworks/base/core/java/android/view/
DViewRootImpl.java7330 final boolean scrolled = scrollToRectOrFocus(rectangle, immediate); in requestChildRectangleOnScreen()
7339 return scrolled; in requestChildRectangleOnScreen()
DView.java6739 boolean scrolled = false;
6744 scrolled |= parent.requestChildRectangleOnScreen(child, rectangle, immediate);
6757 return scrolled;