/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/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | TaskViewTouchController.java | 301 Utilities.boundToRange(totalDisplacement * mProgressMultiplier / 2, 0, 1)); in onDrag() 325 Utilities.boundToRange(totalDisplacement * mProgressMultiplier, 0, 1)); in onDrag() 340 velocity = Utilities.boundToRange(velocity, -maxTaskDismissDragVelocity, in onDragEnd() 365 animationDuration = Utilities.boundToRange(animationDuration, in onDragEnd()
|
D | NoButtonQuickSwitchTouchController.java | 366 float startXProgress = Utilities.boundToRange(xProgress in onDragEnd() 380 float startYProgress = Utilities.boundToRange(yProgress in onDragEnd()
|
D | QuickSwitchTouchController.java | 149 updateFullscreenProgress(Utilities.boundToRange(progress, 0, 1)); in updateProgress()
|
/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 | LauncherAnimUtils.java | 91 return (int) Utilities.boundToRange(Math.abs(velocity) / 2, 2f, 6f); in blockedFlingDurationFactor() 259 mProperty.set(t, Utilities.boundToRange(v, mMinValue, mMaxValue)); in setValue()
|
D | Utilities.java | 395 return mapToRange(boundToRange(t, lowerBound, upperBound), lowerBound, upperBound, in mapBoundToRange() 493 public static int boundToRange(int value, int lowerBound, int upperBound) { in boundToRange() method in Utilities 500 public static float boundToRange(float value, float lowerBound, float upperBound) { in boundToRange() method in Utilities 507 public static long boundToRange(long value, long lowerBound, long upperBound) { in boundToRange() method in Utilities
|
D | PagedView.java | 289 newPage = Utilities.boundToRange(newPage, 0, getPageCount() - 1); in validateNewPage() 519 x = Utilities.boundToRange(x, in scrollTo() 521 y = Utilities.boundToRange(y, in scrollTo()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ClipIconView.java | 18 import static com.android.launcher3.Utilities.boundToRange; 135 float shapeRevealProgress = boundToRange(mapToRange(max(shapeProgressStart, progress), in update()
|
D | AbstractSlideInView.java | 267 displacement = Utilities.boundToRange(displacement, 0, range); in onDrag()
|
D | RecyclerViewFastScroller.java | 434 top = Utilities.boundToRange(top, 0, in updatePopupY()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 323 startProgress = Utilities.boundToRange(progress in onDragEnd() 339 startProgress = Utilities.boundToRange(progress in onDragEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | MultiScalePropertyFactory.java | 94 mLastAggregatedValue = Utilities.boundToRange(multValue, minValue, maxValue); in setValue()
|
D | WallpaperOffsetInterpolator.java | 114 adjustedScroll = Utilities.boundToRange(adjustedScroll, 0, scrollRange); in wallpaperOffsetForScroll()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | FallbackSwipeHandler.java | 132 Utilities.boundToRange(1 - mCurrentShift.value, 0, 1)); in updateHomeActivityTransformDuringSwipeUp() 254 mHomeAlpha.value = Utilities.boundToRange(1 - mCurrentShift.value, 0, 1); in FallbackHomeAnimationFactory()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | BaseDepthController.java | 151 depth = Utilities.boundToRange(depth, 0, 1);
|
D | TransformParams.java | 157 float progress = Utilities.boundToRange(getProgress(), 0, 1); in createSurfaceParams()
|
D | AnimatorControllerWithResistance.java | 112 float normalProgress = Utilities.boundToRange(progress, 0, 1); in setProgress()
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | WorkspacePageIndicator.java | 135 float progress = Utilities.boundToRange(((float) mCurrentScroll) / mTotalScroll, 0f, 1f); in onDraw()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | WorkProfileManager.java | 262 totalDelta = Utilities.boundToRange(totalDelta, in newScrollListener()
|
D | ActivityAllAppsContainerView.java | 617 float prog1 = Utilities.boundToRange((float) scrolledOffset / mHeaderThreshold, 0f, 1f); in updateHeaderScroll() 620 : (int) (Utilities.boundToRange( in updateHeaderScroll() 632 float prog = Utilities.boundToRange((float) scrolledOffset / mHeaderThreshold, 0f, 1f); in updateHeaderScroll()
|
D | AllAppsRecyclerView.java | 169 int index = Utilities.boundToRange((int) (touchFraction * count), 0, count - 1); in scrollToPositionAtProgress()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | RecentsView.java | 3382 dismissTranslationInterpolationEnd = Utilities.boundToRange( in createTaskDismissAnimation() 3390 dismissTranslationInterpolationEnd = Utilities.boundToRange( in createTaskDismissAnimation() 3470 ? Utilities.boundToRange(splitTimings.getGridSlideStartOffset(), 0f, 1f) in createTaskDismissAnimation() 3471 : Utilities.boundToRange( in createTaskDismissAnimation() 3476 ? Utilities.boundToRange(splitTimings.getGridSlideStartOffset() in createTaskDismissAnimation() 3527 ? Utilities.boundToRange( in createTaskDismissAnimation() 3533 : Utilities.boundToRange( in createTaskDismissAnimation() 3538 ? Utilities.boundToRange( in createTaskDismissAnimation() 4039 alpha = Utilities.boundToRange(alpha, 0, 1); in setContentAlpha()
|
/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/src/com/android/launcher3/folder/ |
D | Folder.java | 1033 info.rank = Utilities.boundToRange(info.rank, 0, views.size()); in onDropCompleted() 1121 int left = Utilities.boundToRange(centeredLeft, sTempRect.left, sTempRect.right - width); in centerAboutIcon() 1122 int top = Utilities.boundToRange(centeredTop, sTempRect.top, sTempRect.bottom - height); in centerAboutIcon()
|