Searched refs:getSingleFrameMs (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | LauncherAnimationRunner.java | 19 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs; 138 mAnimator.setCurrentPlayTime(getSingleFrameMs(context)); in setAnimation()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FirstFrameAnimatorHelper.java | 18 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs; 112 int singleFrameMS = getSingleFrameMs(mRootView.getContext()); in onAnimationUpdate()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | Interpolators.java | 19 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs; 200 getSingleFrameMs(context) / totalDistancePx / 2;
|
D | SpringAnimationBuilder.java | 144 int singleFrameMs = DefaultDisplay.getSingleFrameMs(context); in build()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 27 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/ |
D | NoButtonQuickSwitchTouchController.java | 38 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()
|
D | TaskViewTouchController.java | 25 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/ |
D | BaseDragLayer.java | 23 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/ |
D | DefaultDisplay.java | 95 public static int getSingleFrameMs(Context context) { in getSingleFrameMs() method in DefaultDisplay
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | WindowTransformSwipeHandler.java | 25 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs; 778 * getSingleFrameMs(mContext) / mTransitionDragLength, 0, mDragLengthFactor); in handleNormalGestureEnd()
|