Home
last modified time | relevance | path

Searched refs:mTranslationY (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DFloatingHeaderView.java86 private int mTranslationY; field in FloatingHeaderView
255 mTranslationY = currentScrollY; in moved()
257 mTranslationY = currentScrollY - mSnappedScrolledY - mMaxTranslation; in moved()
260 if (mTranslationY >= 0) { // expanded: must not move down further in moved()
261 mTranslationY = 0; in moved()
263 } else if (mTranslationY <= -mMaxTranslation) { // hide or stay hidden in moved()
271 int uncappedTranslationY = mTranslationY; in applyVerticalMove()
272 mTranslationY = Math.max(mTranslationY, -mMaxTranslation); in applyVerticalMove()
274 if (mCollapsed || uncappedTranslationY < mTranslationY - mHeaderTopPadding) { in applyVerticalMove()
285 mTabLayout.setTranslationY(mTranslationY); in applyVerticalMove()
[all …]
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java790 private final FloatProp mTranslationY; in playRemoteAppScaleDownAnim()
807 mTranslationY = new FloatProp(0, endTranslationY, 0, in playRemoteAppScaleDownAnim()
818 m.postTranslate(mTranslationX.value, mTranslationY.value); in playRemoteAppScaleDownAnim()