/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/widget/ |
D | WidgetImageView.java | 113 int left = Utilities.boundToRange( in updateDstRectF() 116 int top = Utilities.boundToRange( in updateDstRectF()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | TaskViewTouchController.java | 234 mCurrentAnimation.setPlayFraction(Utilities.boundToRange( in onDrag() 269 float nextFrameProgress = Utilities.boundToRange(
|
D | QuickSwitchTouchController.java | 138 updateFullscreenProgress(Utilities.boundToRange(progress, 0, 1)); in updateProgress()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 545 public static int boundToRange(int value, int lowerBound, int upperBound) { in boundToRange() method in Utilities 552 public static float boundToRange(float value, float lowerBound, float upperBound) { in boundToRange() method in Utilities 559 public static long boundToRange(long value, long lowerBound, long upperBound) { in boundToRange() method in Utilities
|
D | LauncherAnimUtils.java | 67 return (int) Utilities.boundToRange(Math.abs(velocity) / 2, 2f, 6f); in blockedFlingDurationFactor()
|
D | FolderInfo.java | 75 rank = Utilities.boundToRange(rank, 0, contents.size()); in add()
|
D | PagedView.java | 273 return Utilities.boundToRange(newPage, 0, getPageCount() - 1); in validateNewPage() 1050 int x = Utilities.boundToRange(getScrollX(), mMinScrollX, mMaxScrollX); in dampedOverScroll()
|
D | AppWidgetResizeFrame.java | 559 return Utilities.boundToRange(value, start, end); in clamp()
|
D | Workspace.java | 1303 leftScreen = Utilities.boundToRange(getCurrentPage() - 1, 0, rightScreen); in enableHwLayersOnVisiblePages() 1304 rightScreen = Utilities.boundToRange(getCurrentPage() + 1, in enableHwLayersOnVisiblePages()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 416 startProgress = Utilities.boundToRange( in onDragEnd() 434 startProgress = Utilities.boundToRange( in onDragEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | AbstractSlideInView.java | 133 displacement = Utilities.boundToRange(displacement, 0, range); in onDrag()
|
D | RecyclerViewFastScroller.java | 382 top = Utilities.boundToRange(top, 0, in updatePopupY()
|
D | FloatingIconView.java | 233 float shapeRevealProgress = Utilities.boundToRange(mapToRange( in update()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | Interpolators.java | 197 overshootBy = Utilities.boundToRange(overshootBy, 0.02f, 0.15f);
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | WallpaperOffsetInterpolator.java | 103 adjustedScroll = Utilities.boundToRange(adjustedScroll, 0, scrollRange); in wallpaperOffsetForScroll()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | WindowTransformSwipeHandler.java | 972 startShift = Utilities.boundToRange(currentShift - velocityPxPerMs.y in handleNormalGestureEnd() 983 duration = Utilities.boundToRange(overshoot.duration, MIN_OVERSHOOT_DURATION, in handleNormalGestureEnd() 1183 float windowAlpha = Utilities.boundToRange(Utilities.mapToRange(alphaProgress, 0, in createWindowAnimationToHome()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | TaskView.java | 504 mFooterAlpha = Utilities.boundToRange(1.0f - 2 * scrollState.linearInterpolation, 0f, 1f); in onPageScroll() 801 progress = Utilities.boundToRange(progress, 0, 1); in setFullscreenProgress()
|
D | TaskThumbnailView.java | 389 intensity = Utilities.boundToRange(intensity, 0, 255); in getColorFilter()
|
D | RecentsView.java | 1300 alpha = Utilities.boundToRange(alpha, 0, 1); in setContentAlpha()
|
/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_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ |
D | ColorExtractionAlgorithm.java | 198 fitData[i] = Utilities.boundToRange(data[i] + delta, min, max); in fit()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 609 mSpring.animateToFinalPosition(Utilities.boundToRange(value, -mDelta, mDelta)); in animateToPos()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsContainerView.java | 149 super.setDampedScrollShift(Utilities.boundToRange(shift, -maxShift, maxShift)); in setDampedScrollShift()
|