Searched refs:mBaseTranslation (Results 1 – 1 of 1) sorted by relevance
121 private final float mBaseTranslation; field in EdgeBackGesturePanel238 mBaseTranslation = dp(BASE_TRANSLATION_DP); in EdgeBackGesturePanel()552 if (touchTranslation > mBaseTranslation) { in handleMoveEvent()553 float diff = touchTranslation - mBaseTranslation; in handleMoveEvent()554 float progress = MathUtils.clamp(diff / (mScreenSize - mBaseTranslation), 0, 1); in handleMoveEvent()556 * (mMaxTranslation - mBaseTranslation); in handleMoveEvent()557 touchTranslation = mBaseTranslation + progress; in handleMoveEvent()559 float diff = mBaseTranslation - touchTranslation; in handleMoveEvent()560 float progress = MathUtils.clamp(diff / mBaseTranslation, 0, 1); in handleMoveEvent()562 * (mBaseTranslation / RUBBER_BAND_AMOUNT_APPEAR); in handleMoveEvent()[all …]