Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGesturePanel.java121 private final float mBaseTranslation; field in EdgeBackGesturePanel
238 mBaseTranslation = dp(BASE_TRANSLATION_DP); in EdgeBackGesturePanel()
554 if (touchTranslation > mBaseTranslation) { in handleMoveEvent()
555 float diff = touchTranslation - mBaseTranslation; in handleMoveEvent()
556 float progress = MathUtils.clamp(diff / (mScreenSize - mBaseTranslation), 0, 1); in handleMoveEvent()
558 * (mMaxTranslation - mBaseTranslation); in handleMoveEvent()
559 touchTranslation = mBaseTranslation + progress; in handleMoveEvent()
561 float diff = mBaseTranslation - touchTranslation; in handleMoveEvent()
562 float progress = MathUtils.clamp(diff / mBaseTranslation, 0, 1); in handleMoveEvent()
564 * (mBaseTranslation / RUBBER_BAND_AMOUNT_APPEAR); in handleMoveEvent()
[all …]