Searched refs:screenBottom (Results 1 – 5 of 5) sorted by relevance
26 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 …]
95 final int screenBottom = mScrollView.getScrollY() + mScrollView.getHeight(); in testScrollDownToBottomButton() local97 …((getBottomWithinScrollView(mBottomButton) - screenBottom)) / mScrollView.getMaxScrollAmount() + 1; in testScrollDownToBottomButton()
1141 int screenBottom = getScrollY() + getHeight() - mPaddingBottom; in arrowScroll() local1142 if (daBottom - screenBottom < maxJump) { in arrowScroll()1143 scrollDelta = daBottom - screenBottom; in arrowScroll()1418 int screenBottom = screenTop + height; in computeScrollDeltaToGetChildRectOnScreen() local1429 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()
1256 int screenBottom = getScrollY() + getHeight() - getPaddingBottom(); in arrowScroll() local1257 if (daBottom - screenBottom < maxJump) { in arrowScroll()1258 scrollDelta = daBottom - screenBottom; in arrowScroll()1552 int screenBottom = screenTop + height; in computeScrollDeltaToGetChildRectOnScreen() local1563 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()
154 public static ViewAssertion screenBottom(final Matcher<Integer> matcher) {