Searched refs:getSingleFrameMs (Results 1 – 13 of 13) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FirstFrameAnimatorHelper.java | 18 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/ |
D | LauncherAnimationRunner.java | 21 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs; 200 Math.min(getSingleFrameMs(context), mAnimator.getTotalDuration())); in setAnimation()
|
D | QuickstepTransitionManager.java | 64 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs; 429 int startDelay = getSingleFrameMs(mLauncher); in composeIconLaunchAnimator()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 32 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/ |
D | RefreshRateTracker.java | 53 public static int getSingleFrameMs(Context context) { in getSingleFrameMs() method in RefreshRateTracker
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | AnimatorPlaybackController.java | 22 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs; 149 float oneFrameProgress = velocityProgressPerMs * getSingleFrameMs(context); in startWithVelocity()
|
D | SpringAnimationBuilder.java | 137 int singleFrameMs = RefreshRateTracker.getSingleFrameMs(mContext); in computeParams()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NoButtonQuickSwitchTouchController.java | 51 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/ |
D | BaseDragLayer.java | 24 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs; 251 postDelayed(() -> floatingView.close(false), getSingleFrameMs(getContext())); in onViewRemoved()
|
D | FloatingSurfaceView.java | 97 RefreshRateTracker.getSingleFrameMs(mLauncher)); in handleClose()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | SwipeUpGestureTutorialController.java | 22 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/ |
D | Folder.java | 32 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/ |
D | AbsSwipeUpHandler.java | 47 import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFrameMs; 1366 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor);
|