Searched refs:mTranslationY (Results 1 – 1 of 1) sorted by relevance
88 private int mTranslationY; field in FloatingHeaderView257 mTranslationY = currentScrollY; in moved()259 mTranslationY = currentScrollY - mSnappedScrolledY - mMaxTranslation; in moved()262 if (mTranslationY >= 0) { // expanded: must not move down further in moved()263 mTranslationY = 0; in moved()265 } else if (mTranslationY <= -mMaxTranslation) { // hide or stay hidden in moved()273 int uncappedTranslationY = mTranslationY; in applyVerticalMove()274 mTranslationY = Math.max(mTranslationY, -mMaxTranslation); in applyVerticalMove()276 if (mCollapsed || uncappedTranslationY < mTranslationY - mHeaderTopPadding) { in applyVerticalMove()287 mTabLayout.setTranslationY(mTranslationY); in applyVerticalMove()[all …]