Searched refs:currentScrollY (Results 1 – 1 of 1) sorted by relevance
274 private boolean canSnapAt(int currentScrollY) { in canSnapAt() argument275 return Math.abs(currentScrollY) <= mMaxTranslation; in canSnapAt()278 private void moved(final int currentScrollY) { in moved() argument280 if (currentScrollY <= mSnappedScrolledY) { in moved()281 if (canSnapAt(currentScrollY)) { in moved()282 mSnappedScrolledY = currentScrollY; in moved()287 mTranslationY = currentScrollY; in moved()289 mTranslationY = currentScrollY - mSnappedScrolledY - mMaxTranslation; in moved()294 mSnappedScrolledY = currentScrollY - mMaxTranslation; in moved()