Home
last modified time | relevance | path

Searched refs:screenBottom (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/wear/tests/src/android/support/wear/widget/
DBoxInsetLayoutTest.java26 import static android.support.wear.widget.util.MoreViewAssertions.screenBottom;
102 .check(screenBottom(equalTo(parentBottom - desiredPadding))); in testCase1()
111 .check(screenBottom(equalTo(parentBottom - desiredPadding))); in testCase1()
167 .check(screenBottom(is(equalTo(parentTop + desiredPadding + child1.getHeight())))); in testCase2()
183 .check(screenBottom(is(equalTo(parentBottom - desiredPadding)))); in testCase2()
191 .check(screenBottom(equalTo(parentBottom - desiredPadding))); in testCase2()
273 .check(screenBottom(is(equalTo(parentTop + desiredPadding + child1.getHeight())))); in testCase3()
287 .check(screenBottom(is(equalTo(parentTop + desiredPadding + child2.getHeight())))); in testCase3()
302 .check(screenBottom(is(equalTo(parentBottom - desiredPadding)))); in testCase3()
307 .check(screenBottom(equalTo(parentBottom - desiredPadding))) in testCase3()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
DButtonsWithTallTextViewInBetweenTest.java95 final int screenBottom = mScrollView.getScrollY() + mScrollView.getHeight(); in testScrollDownToBottomButton() local
97 …((getBottomWithinScrollView(mBottomButton) - screenBottom)) / mScrollView.getMaxScrollAmount() + 1; in testScrollDownToBottomButton()
/frameworks/base/core/java/android/widget/
DScrollView.java1141 int screenBottom = getScrollY() + getHeight() - mPaddingBottom; in arrowScroll() local
1142 if (daBottom - screenBottom < maxJump) { in arrowScroll()
1143 scrollDelta = daBottom - screenBottom; in arrowScroll()
1418 int screenBottom = screenTop + height; in computeScrollDeltaToGetChildRectOnScreen() local
1429 screenBottom -= fadingEdge; in computeScrollDeltaToGetChildRectOnScreen()
1434 if (rect.bottom > screenBottom && rect.top > screenTop) { in computeScrollDeltaToGetChildRectOnScreen()
1444 scrollYDelta += (rect.bottom - screenBottom); in computeScrollDeltaToGetChildRectOnScreen()
1449 int distanceToBottom = bottom - screenBottom; in computeScrollDeltaToGetChildRectOnScreen()
1452 } else if (rect.top < screenTop && rect.bottom < screenBottom) { in computeScrollDeltaToGetChildRectOnScreen()
1459 scrollYDelta -= (screenBottom - rect.bottom); in computeScrollDeltaToGetChildRectOnScreen()
/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java1256 int screenBottom = getScrollY() + getHeight() - getPaddingBottom(); in arrowScroll() local
1257 if (daBottom - screenBottom < maxJump) { in arrowScroll()
1258 scrollDelta = daBottom - screenBottom; in arrowScroll()
1552 int screenBottom = screenTop + height; in computeScrollDeltaToGetChildRectOnScreen() local
1563 screenBottom -= fadingEdge; in computeScrollDeltaToGetChildRectOnScreen()
1568 if (rect.bottom > screenBottom && rect.top > screenTop) { in computeScrollDeltaToGetChildRectOnScreen()
1578 scrollYDelta += (rect.bottom - screenBottom); in computeScrollDeltaToGetChildRectOnScreen()
1583 int distanceToBottom = bottom - screenBottom; in computeScrollDeltaToGetChildRectOnScreen()
1586 } else if (rect.top < screenTop && rect.bottom < screenBottom) { in computeScrollDeltaToGetChildRectOnScreen()
1593 scrollYDelta -= (screenBottom - rect.bottom); in computeScrollDeltaToGetChildRectOnScreen()
/frameworks/support/wear/tests/src/android/support/wear/widget/util/
DMoreViewAssertions.java154 public static ViewAssertion screenBottom(final Matcher<Integer> matcher) {