Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/widget/
DNestedScrollView.java1513 int scrollYDelta = 0; in computeScrollDeltaToGetChildRectOnScreen() local
1522 scrollYDelta += (rect.top - screenTop); in computeScrollDeltaToGetChildRectOnScreen()
1525 scrollYDelta += (rect.bottom - screenBottom); in computeScrollDeltaToGetChildRectOnScreen()
1531 scrollYDelta = Math.min(scrollYDelta, distanceToBottom); in computeScrollDeltaToGetChildRectOnScreen()
1540 scrollYDelta -= (screenBottom - rect.bottom); in computeScrollDeltaToGetChildRectOnScreen()
1543 scrollYDelta -= (screenTop - rect.top); in computeScrollDeltaToGetChildRectOnScreen()
1547 scrollYDelta = Math.max(scrollYDelta, -getScrollY()); in computeScrollDeltaToGetChildRectOnScreen()
1549 return scrollYDelta; in computeScrollDeltaToGetChildRectOnScreen()
/frameworks/base/core/java/android/widget/
DScrollView.java1417 int scrollYDelta = 0; in computeScrollDeltaToGetChildRectOnScreen() local
1426 scrollYDelta += (rect.top - screenTop); in computeScrollDeltaToGetChildRectOnScreen()
1429 scrollYDelta += (rect.bottom - screenBottom); in computeScrollDeltaToGetChildRectOnScreen()
1435 scrollYDelta = Math.min(scrollYDelta, distanceToBottom); in computeScrollDeltaToGetChildRectOnScreen()
1444 scrollYDelta -= (screenBottom - rect.bottom); in computeScrollDeltaToGetChildRectOnScreen()
1447 scrollYDelta -= (screenTop - rect.top); in computeScrollDeltaToGetChildRectOnScreen()
1451 scrollYDelta = Math.max(scrollYDelta, -getScrollY()); in computeScrollDeltaToGetChildRectOnScreen()
1453 return scrollYDelta; in computeScrollDeltaToGetChildRectOnScreen()
DListView.java608 int scrollYDelta = 0; in requestChildRectangleOnScreen() local
617 scrollYDelta += (rect.top - listUnfadedTop); in requestChildRectangleOnScreen()
620 scrollYDelta += (rect.bottom - listUnfadedBottom); in requestChildRectangleOnScreen()
625 scrollYDelta = Math.min(scrollYDelta, distanceToBottom); in requestChildRectangleOnScreen()
633 scrollYDelta -= (listUnfadedBottom - rect.bottom); in requestChildRectangleOnScreen()
636 scrollYDelta -= (listUnfadedTop - rect.top); in requestChildRectangleOnScreen()
642 scrollYDelta = Math.max(scrollYDelta, deltaToTop); in requestChildRectangleOnScreen()
645 final boolean scroll = scrollYDelta != 0; in requestChildRectangleOnScreen()
647 scrollListItemsBy(-scrollYDelta); in requestChildRectangleOnScreen()