Searched refs:scrollYDelta (Results 1 – 3 of 3) sorted by relevance
139 int scrollYDelta = 0; in computeScrollAmount() local148 scrollYDelta += (requested.top - top); in computeScrollAmount()151 scrollYDelta += (requested.bottom - bottom); in computeScrollAmount()160 scrollYDelta -= (bottom - requested.bottom); in computeScrollAmount()163 scrollYDelta -= (top - requested.top); in computeScrollAmount()166 return scrollYDelta; in computeScrollAmount()
1704 int scrollYDelta = 0; in computeScrollDeltaToGetChildRectOnScreen() local1713 scrollYDelta += (rect.top - screenTop); in computeScrollDeltaToGetChildRectOnScreen()1716 scrollYDelta += (rect.bottom - screenBottom); in computeScrollDeltaToGetChildRectOnScreen()1722 scrollYDelta = Math.min(scrollYDelta, distanceToBottom); in computeScrollDeltaToGetChildRectOnScreen()1731 scrollYDelta -= (screenBottom - rect.bottom); in computeScrollDeltaToGetChildRectOnScreen()1734 scrollYDelta -= (screenTop - rect.top); in computeScrollDeltaToGetChildRectOnScreen()1738 scrollYDelta = Math.max(scrollYDelta, -getScrollY()); in computeScrollDeltaToGetChildRectOnScreen()1740 return scrollYDelta; in computeScrollDeltaToGetChildRectOnScreen()
694 int scrollYDelta = 0; in requestChildRectangleOnScreen() local703 scrollYDelta += (rect.top - listUnfadedTop); in requestChildRectangleOnScreen()706 scrollYDelta += (rect.bottom - listUnfadedBottom); in requestChildRectangleOnScreen()711 scrollYDelta = Math.min(scrollYDelta, distanceToBottom); in requestChildRectangleOnScreen()719 scrollYDelta -= (listUnfadedBottom - rect.bottom); in requestChildRectangleOnScreen()722 scrollYDelta -= (listUnfadedTop - rect.top); in requestChildRectangleOnScreen()728 scrollYDelta = Math.max(scrollYDelta, deltaToTop); in requestChildRectangleOnScreen()731 final boolean scroll = scrollYDelta != 0; in requestChildRectangleOnScreen()733 scrollListItemsBy(-scrollYDelta); in requestChildRectangleOnScreen()