MCPcopy Create free account
hub / github.com/LeongAndroid/Launcher3 / boundToRange

Method boundToRange

src/com/android/launcher3/Utilities.java:519–521  ·  view source on GitHub ↗

Ensures that a value is within given bounds. Specifically: If value is less than lowerBound, return lowerBound; else if value is greater than upperBound, return upperBound; else return value unchanged.

(int value, int lowerBound, int upperBound)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

addMethod · 0.95
validateNewPageMethod · 0.95
clampMethod · 0.95
animateToPosMethod · 0.95
updateDstRectFMethod · 0.95
onDragMethod · 0.95
updatePopupYMethod · 0.95
onDrawMethod · 0.95
calculateSpringValuesMethod · 0.95
setProgressMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected