Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java18 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs;
112 int singleFrameMS = getSingleFrameMs(mRootView.getContext()); in onAnimationUpdate()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DLauncherAnimationRunner.java21 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs;
200 Math.min(getSingleFrameMs(context), mAnimator.getTotalDuration())); in setAnimation()
DQuickstepTransitionManager.java64 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs;
429 int startDelay = getSingleFrameMs(mLauncher); in composeIconLaunchAnimator()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java32 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs;
339 + progressVelocity * getSingleFrameMs(mLauncher), 0f, 1f); in onDragEnd()
355 + progressVelocity * getSingleFrameMs(mLauncher), 0f, 1f); in onDragEnd()
/packages/apps/Launcher3/src/com/android/launcher3/util/window/
DRefreshRateTracker.java53 public static int getSingleFrameMs(Context context) { in getSingleFrameMs() method in RefreshRateTracker
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAnimatorPlaybackController.java22 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs;
149 float oneFrameProgress = velocityProgressPerMs * getSingleFrameMs(context); in startWithVelocity()
DSpringAnimationBuilder.java137 int singleFrameMs = RefreshRateTracker.getSingleFrameMs(mContext); in computeParams()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DNoButtonQuickSwitchTouchController.java51 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs;
383 + velocity.x * getSingleFrameMs(mLauncher) / mXRange, 0f, 1f); in onDragEnd()
397 - velocity.y * getSingleFrameMs(mLauncher) / mYRange, 0f, mMaxYProgress); in onDragEnd()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DBaseDragLayer.java24 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs;
251 postDelayed(() -> floatingView.close(false), getSingleFrameMs(getContext())); in onViewRemoved()
DFloatingSurfaceView.java97 RefreshRateTracker.getSingleFrameMs(mLauncher)); in handleClose()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java22 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs;
359 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor); in handleSwipeUpToHome()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java32 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs;
766 anim.setCurrentPlayTime(Math.min(getSingleFrameMs(getContext()), anim.getTotalDuration())); in animateOpen()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DAbsSwipeUpHandler.java47 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs;
1366 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor);