Searched refs:currentScrollY (Results 1 – 1 of 1) sorted by relevance
242 private boolean canSnapAt(int currentScrollY) { in canSnapAt() argument243 return Math.abs(currentScrollY) <= mMaxTranslation; in canSnapAt()246 private void moved(final int currentScrollY) { in moved() argument248 if (currentScrollY <= mSnappedScrolledY) { in moved()249 if (canSnapAt(currentScrollY)) { in moved()250 mSnappedScrolledY = currentScrollY; in moved()255 mTranslationY = currentScrollY; in moved()257 mTranslationY = currentScrollY - mSnappedScrolledY - mMaxTranslation; in moved()262 mSnappedScrolledY = currentScrollY - mMaxTranslation; in moved()