Home
last modified time | relevance | path

Searched refs:mChildToScrollTo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisibleTest.java44 private View mChildToScrollTo; field in RequestRectangleVisibleTest
64 mChildToScrollTo = a.findViewById(R.id.childToMakeVisible); in setUp()
79 assertNotNull(mChildToScrollTo); in testPreconditions()
100 ViewAsserts.assertOffScreenBelow(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromTop()
108 ViewAsserts.assertOnScreen(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromTop()
110 mScrollView, mChildToScrollTo, in testScrollToOffScreenRectangleFromTop()
113 - mChildToScrollTo.getHeight() in testScrollToOffScreenRectangleFromTop()
141 ViewAsserts.assertOffScreenAbove(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromBottom()
148 ViewAsserts.assertOnScreen(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromBottom()
150 mScrollView, mChildToScrollTo, 0, mScrollView.getVerticalFadingEdgeLength()); in testScrollToOffScreenRectangleFromBottom()
/frameworks/base/core/java/android/widget/
DScrollView.java101 private View mChildToScrollTo = null; field in ScrollView
1429 mChildToScrollTo = focused; in requestChildFocus()
1505 if (mChildToScrollTo != null && isViewDescendantOf(mChildToScrollTo, this)) { in onLayout()
1506 scrollToChild(mChildToScrollTo); in onLayout()
1508 mChildToScrollTo = null; in onLayout()
DHorizontalScrollView.java95 private View mChildToScrollTo = null; field in HorizontalScrollView
1409 mChildToScrollTo = focused; in requestChildFocus()
1486 if (mChildToScrollTo != null && isViewDescendantOf(mChildToScrollTo, this)) { in onLayout()
1487 scrollToChild(mChildToScrollTo); in onLayout()
1489 mChildToScrollTo = null; in onLayout()