Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DLauncherAnimationRunner.java19 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
138 mAnimator.setCurrentPlayTime(getSingleFrameMs(context)); in setAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java18 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
112 int singleFrameMS = getSingleFrameMs(mRootView.getContext()); in onAnimationUpdate()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DInterpolators.java19 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
200 getSingleFrameMs(context) / totalDistancePx / 2;
DSpringAnimationBuilder.java144 int singleFrameMs = DefaultDisplay.getSingleFrameMs(context); in build()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java27 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
409 + velocity * getSingleFrameMs(mLauncher) * mProgressMultiplier, 0f, 1f); in onDragEnd()
424 + velocity * getSingleFrameMs(mLauncher) * mProgressMultiplier, 0f, 1f); in onDragEnd()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DNoButtonQuickSwitchTouchController.java38 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
373 + velocity.x * getSingleFrameMs(mLauncher) / mXRange, 0f, 1f); in onDragEnd()
387 - velocity.y * getSingleFrameMs(mLauncher) / mYRange, 0f, 1f); in onDragEnd()
DTaskViewTouchController.java25 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
274 + velocity * getSingleFrameMs(mActivity) / Math.abs(mEndDisplacement), 0f, 1f);
/packages/apps/Launcher3/src/com/android/launcher3/views/
DBaseDragLayer.java23 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
243 postDelayed(() -> floatingView.close(false), getSingleFrameMs(getContext())); in onViewRemoved()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDefaultDisplay.java95 public static int getSingleFrameMs(Context context) { in getSingleFrameMs() method in DefaultDisplay
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java25 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
778 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor); in handleNormalGestureEnd()