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.java46 private View mChildToScrollTo; field in RequestRectangleVisibleTest
66 mChildToScrollTo = a.findViewById(R.id.childToMakeVisible); in setUp()
81 assertNotNull(mChildToScrollTo); in testPreconditions()
102 ViewAsserts.assertOffScreenBelow(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromTop()
110 ViewAsserts.assertOnScreen(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromTop()
112 mScrollView, mChildToScrollTo, in testScrollToOffScreenRectangleFromTop()
115 - mChildToScrollTo.getHeight() in testScrollToOffScreenRectangleFromTop()
143 ViewAsserts.assertOffScreenAbove(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromBottom()
150 ViewAsserts.assertOnScreen(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromBottom()
152 mScrollView, mChildToScrollTo, 0, mScrollView.getVerticalFadingEdgeLength()); in testScrollToOffScreenRectangleFromBottom()
/frameworks/base/core/java/android/widget/
DScrollView.java131 private View mChildToScrollTo = null; field in ScrollView
1490 mChildToScrollTo = child; in scrollToDescendant()
1588 mChildToScrollTo = focused; in requestChildFocus()
1665 if (mChildToScrollTo != null && isViewDescendantOf(mChildToScrollTo, this)) { in onLayout()
1666 scrollToDescendant(mChildToScrollTo); in onLayout()
1668 mChildToScrollTo = null; in onLayout()
DHorizontalScrollView.java121 private View mChildToScrollTo = null; field in HorizontalScrollView
1549 mChildToScrollTo = focused; in requestChildFocus()
1627 if (mChildToScrollTo != null && isViewDescendantOf(mChildToScrollTo, this)) { in onLayout()
1628 scrollToChild(mChildToScrollTo); in onLayout()
1630 mChildToScrollTo = null; in onLayout()