/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 | 237 mCurrentAnimation.setPlayFraction(Utilities.boundToRange( in onDrag() 273 float nextFrameProgress = Utilities.boundToRange(progress
|
D | NoButtonQuickSwitchTouchController.java | 372 float startXProgress = Utilities.boundToRange(xProgress in onDragEnd() 386 float startYProgress = Utilities.boundToRange(yProgress in onDragEnd()
|
D | QuickSwitchTouchController.java | 141 updateFullscreenProgress(Utilities.boundToRange(progress, 0, 1)); in updateProgress()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 420 public static int boundToRange(int value, int lowerBound, int upperBound) { in boundToRange() method in Utilities 427 public static float boundToRange(float value, float lowerBound, float upperBound) { in boundToRange() method in Utilities 434 public static long boundToRange(long value, long lowerBound, long upperBound) { in boundToRange() method in Utilities
|
D | FolderInfo.java | 75 rank = Utilities.boundToRange(rank, 0, contents.size() + 1); in add()
|
D | LauncherAnimUtils.java | 67 return (int) Utilities.boundToRange(Math.abs(velocity) / 2, 2f, 6f); in blockedFlingDurationFactor()
|
D | PagedView.java | 273 return Utilities.boundToRange(newPage, 0, getPageCount() - 1); in validateNewPage() 1054 int x = Utilities.boundToRange(getScrollX(), mMinScrollX, mMaxScrollX); in dampedOverScroll()
|
D | AppWidgetResizeFrame.java | 559 return Utilities.boundToRange(value, start, end); in clamp()
|
D | Workspace.java | 1312 leftScreen = Utilities.boundToRange(getCurrentPage() - 1, 0, rightScreen); in enableHwLayersOnVisiblePages() 1313 rightScreen = Utilities.boundToRange(getCurrentPage() + 1, in enableHwLayersOnVisiblePages()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 408 startProgress = Utilities.boundToRange(progress in onDragEnd() 423 startProgress = Utilities.boundToRange(progress in onDragEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | AbstractSlideInView.java | 135 displacement = Utilities.boundToRange(displacement, 0, range); in onDrag()
|
D | RecyclerViewFastScroller.java | 382 top = Utilities.boundToRange(top, 0, in updatePopupY()
|
D | FloatingIconView.java | 237 float shapeRevealProgress = Utilities.boundToRange(mapToRange( in update()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | Interpolators.java | 201 overshootBy = Utilities.boundToRange(overshootBy, 0.02f, 0.15f);
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | WallpaperOffsetInterpolator.java | 105 adjustedScroll = Utilities.boundToRange(adjustedScroll, 0, scrollRange); in wallpaperOffsetForScroll()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | TaskView.java | 494 mFooterAlpha = Utilities.boundToRange(1.0f - 2 * scrollState.linearInterpolation, 0f, 1f); in onPageScroll() 791 progress = Utilities.boundToRange(progress, 0, 1); in setFullscreenProgress()
|
D | TaskThumbnailView.java | 426 intensity = Utilities.boundToRange(intensity, 0, 255); in getColorFilter()
|
D | RecentsView.java | 1330 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/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | WindowTransformSwipeHandler.java | 777 startShift = Utilities.boundToRange(currentShift - velocityPxPerMs.y in handleNormalGestureEnd() 788 duration = Utilities.boundToRange(overshoot.duration, MIN_OVERSHOOT_DURATION, in handleNormalGestureEnd()
|
/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 | 147 super.setDampedScrollShift(Utilities.boundToRange(shift, -maxShift, maxShift)); in setDampedScrollShift()
|