Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsTransitionController.java82 private float mShiftRange; // changes depending on the orientation field in AllAppsTransitionController
89 mShiftRange = mLauncher.getDeviceProfile().heightPx; in AllAppsTransitionController()
98 return mShiftRange; in getShiftRange()
125 float shiftCurrent = progress * mShiftRange; in setProgress()
143 float hotseatShift = (progress - overviewProgress) * mShiftRange; in setProgress()
202 return new SpringObjectAnimator<>(this, ALL_APPS_PROGRESS, 1f / mShiftRange, in createSpringAnimation()
247 mShiftRange = mLauncher.getDeviceProfile().heightPx - mScrollRangeDelta;
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DShelfScrimView.java80 private float mShiftRange; field in ShelfScrimView
149 mShiftRange = mLauncher.getAllAppsController().getShiftRange(); in reInitUi()
160 mMidProgress = 1 - (arrowTop / mShiftRange); in reInitUi()
164 mShelfTopAtThreshold = mShiftRange * SCRIM_CATCHUP_THRESHOLD + mTopOffset; in reInitUi()
181 mShelfTop = mShiftRange * mProgress + mTopOffset; in updateColors()
202 mDragHandleOffset += mShiftRange * (mMidProgress - mProgress); in updateColors()