/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | TaskViewTouchController.java | 294 Utilities.boundToRange(totalDisplacement * mProgressMultiplier / 2, 0, 1)); in onDrag() 318 Utilities.boundToRange(totalDisplacement * mProgressMultiplier, 0, 1)); in onDrag() 333 velocity = Utilities.boundToRange(velocity, -maxTaskDismissDragVelocity, in onDragEnd() 358 animationDuration = Utilities.boundToRange(animationDuration, in onDragEnd()
|
D | NoButtonQuickSwitchTouchController.java | 346 float startXProgress = Utilities.boundToRange(xProgress in onDragEnd() 360 float startYProgress = Utilities.boundToRange(yProgress in onDragEnd()
|
D | QuickSwitchTouchController.java | 144 updateFullscreenProgress(Utilities.boundToRange(progress, 0, 1)); in updateProgress()
|
/packages/apps/Launcher3/src/com/android/launcher3/dot/ |
D | FolderDotInfo.java | 38 mNumNotifications = Utilities.boundToRange( in addDotInfo() 47 mNumNotifications = Utilities.boundToRange( in subtractDotInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | AnimatorPlaybackController.java | 18 import static com.android.launcher3.Utilities.boundToRange; 150 float nextFrameProgress = boundToRange(getProgressFraction() in startWithVelocity() 245 float progress = boundToRange(fraction, 0, 1); in setPlayFraction()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 404 return mapToRange(boundToRange(t, lowerBound, upperBound), lowerBound, upperBound, in mapBoundToRange() 420 return boundToRange(a, 0, 1.0f); in saturate() 515 public static int boundToRange(int value, int lowerBound, int upperBound) { in boundToRange() method in Utilities 522 public static float boundToRange(float value, float lowerBound, float upperBound) { in boundToRange() method in Utilities 529 public static long boundToRange(long value, long lowerBound, long upperBound) { in boundToRange() method in Utilities
|
D | LauncherAnimUtils.java | 69 return (int) Utilities.boundToRange(Math.abs(velocity) / 2, 2f, 6f); in blockedFlingDurationFactor()
|
D | PagedView.java | 285 newPage = Utilities.boundToRange(newPage, 0, getPageCount() - 1); in validateNewPage() 450 x = Utilities.boundToRange(x, in scrollTo() 452 y = Utilities.boundToRange(y, in scrollTo()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/ |
D | DepthController.java | 83 depthController.setDepth(Utilities.boundToRange(depth, mMinValue, mMaxValue)); in setValue() 242 depth = Utilities.boundToRange(depth, 0, 1); in setDepth()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 306 startProgress = Utilities.boundToRange(progress in onDragEnd() 322 startProgress = Utilities.boundToRange(progress in onDragEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ClipIconView.java | 18 import static com.android.launcher3.Utilities.boundToRange; 193 float shapeRevealProgress = boundToRange(mapToRange(max(shapeProgressStart, progress), in update()
|
D | AbstractSlideInView.java | 163 displacement = Utilities.boundToRange(displacement, 0, range); in onDrag()
|
D | RecyclerViewFastScroller.java | 435 top = Utilities.boundToRange(top, 0, in updatePopupY()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | FallbackSwipeHandler.java | 119 Utilities.boundToRange(1 - mCurrentShift.value, 0, 1)); in updateHomeActivityTransformDuringSwipeUp() 201 mHomeAlpha.value = Utilities.boundToRange(1 - mCurrentShift.value, 0, 1); in FallbackHomeAnimationFactory()
|
D | LauncherSwipeHandlerV2.java | 21 import static com.android.launcher3.Utilities.boundToRange; 323 long playTime = boundToRange(round(duration * progress), 0, duration);
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TransformParams.java | 156 float progress = Utilities.boundToRange(getProgress(), 0, 1); in createSurfaceParams()
|
D | AnimatorControllerWithResistance.java | 104 float normalProgress = Utilities.boundToRange(progress, 0, 1); in setProgress()
|
D | TaskViewSimulator.java | 264 float fullScreenProgress = Utilities.boundToRange(this.fullScreenProgress.value, 0, 1); in apply()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | WallpaperOffsetInterpolator.java | 105 adjustedScroll = Utilities.boundToRange(adjustedScroll, 0, scrollRange); in wallpaperOffsetForScroll()
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | WorkspacePageIndicator.java | 138 float progress = Utilities.boundToRange(((float) mCurrentScroll) / mTotalScroll, 0f, 1f); in onDraw()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 1023 info.rank = Utilities.boundToRange(info.rank, 0, views.size()); in onDropCompleted() 1112 int left = Utilities.boundToRange(centeredLeft, sTempRect.left, sTempRect.right - width); in centerAboutIcon() 1113 int top = Utilities.boundToRange(centeredTop, sTempRect.top, sTempRect.bottom - height); in centerAboutIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | FolderInfo.java | 129 rank = Utilities.boundToRange(rank, 0, contents.size()); in add()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | SwipeUpGestureTutorialController.java | 283 final float startShift = Utilities.boundToRange(currentShift - velocityPxPerMs.y in handleSwipeUpToHome()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 591 mSpring.animateToFinalPosition(Utilities.boundToRange(value, -mDelta, mDelta)); in animateToPos()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | RecentsView.java | 1459 mActionsView.getScrollAlpha().setValue(Utilities.boundToRange(delta, 0, 1)); in computeScrollHelper() 2366 Utilities.boundToRange(INITIAL_DISMISS_TRANSLATION_INTERPOLATION_OFFSET in createTaskDismissAnimation() 2393 clampToProgress(LINEAR, Utilities.boundToRange( in createTaskDismissAnimation() 2656 alpha = Utilities.boundToRange(alpha, 0, 1); in setContentAlpha()
|