Searched refs:currentScrollY (Results 1 – 1 of 1) sorted by relevance
284 private boolean canSnapAt(int currentScrollY) { in canSnapAt() argument285 return Math.abs(currentScrollY) <= mMaxTranslation; in canSnapAt()288 private void moved(final int currentScrollY) { in moved() argument290 if (currentScrollY <= mSnappedScrolledY) { in moved()291 if (canSnapAt(currentScrollY)) { in moved()292 mSnappedScrolledY = currentScrollY; in moved()297 mTranslationY = currentScrollY; in moved()299 mTranslationY = currentScrollY - mSnappedScrolledY - mMaxTranslation; in moved()304 mSnappedScrolledY = currentScrollY - mMaxTranslation; in moved()