Home
last modified time | relevance | path

Searched refs:mMaxTranslation (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DFloatingHeaderView.java99 protected int mMaxTranslation; field in FloatingHeaderView
190 int oldMaxHeight = mMaxTranslation; in onHeightUpdated()
193 if (mMaxTranslation != oldMaxHeight || mFloatingRowsCollapsed) { in onHeightUpdated()
263 mMaxTranslation = 0; in updateExpectedHeight()
267 mMaxTranslation += mFloatingRowsHeight; in updateExpectedHeight()
269 mMaxTranslation += mTabsAdditionalPaddingBottom in updateExpectedHeight()
275 if (mMaxTranslation == 0 && (mTabsHidden || mFloatingRowsCollapsed)) { in getMaxTranslation()
277 } else if (mMaxTranslation > 0 && mTabsHidden) { in getMaxTranslation()
278 return mMaxTranslation + getPaddingTop(); in getMaxTranslation()
280 return mMaxTranslation; in getMaxTranslation()
[all …]
/packages/apps/Car/Notification/src/com/android/car/notification/
DHeadsUpNotificationOnTouchListener.java79 private float mMaxTranslation; field in HeadsUpNotificationOnTouchListener
123 mMaxTranslation = res.getDimension(R.dimen.max_translation_headsup); in HeadsUpNotificationOnTouchListener()
124 if (mMaxTranslation != 0) { in HeadsUpNotificationOnTouchListener()
125 mDismissDelta = mMaxTranslation * mPercentageOfMaxTransaltionToDismiss; in HeadsUpNotificationOnTouchListener()
133 mMaxTranslation = view.getHeight(); in HeadsUpNotificationOnTouchListener()
135 mMaxTranslation = view.getWidth(); in HeadsUpNotificationOnTouchListener()
137 mDismissDelta = mMaxTranslation * mPercentageOfMaxTransaltionToDismiss; in HeadsUpNotificationOnTouchListener()
226 mView.setAlpha(getAlphaForDismissingView(mTranslation, mMaxTranslation)); in onTouch()
327 float dismissTranslation = dismissInPositiveDirection ? mMaxTranslation : -mMaxTranslation; in animateDismissInAxis()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGesturePanel.java169 private float mMaxTranslation; field in EdgeBackGesturePanel
394 mMaxTranslation = getWidth() - mArrowPaddingEnd; in onLayout()
556 * (mMaxTranslation - mBaseTranslation); in handleMoveEvent()