Searched refs:clamped (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/ |
D | Swipeable.kt | 203 val clamped = newAbsolute.coerceIn(minBound, maxBound) in <lambda>() constant 204 val overflow = newAbsolute - clamped in <lambda>() 206 offsetState.value = clamped + resistanceDelta in <lambda>() 391 val clamped = potentiallyConsumed.coerceIn(minBound, maxBound) in performDrag() constant 392 val deltaToConsume = clamped - absoluteOffset.value in performDrag()
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 1634 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() argument 1636 return getHorizontal(offset, trailing, clamped); in getPrimaryHorizontal() 1654 public float getSecondaryHorizontal(int offset, boolean clamped) { in getSecondaryHorizontal() argument 1656 return getHorizontal(offset, !trailing, clamped); in getSecondaryHorizontal() 1663 private float getHorizontal(int offset, boolean trailing, boolean clamped) { in getHorizontal() argument 1666 return getHorizontal(offset, trailing, line, clamped); in getHorizontal() 1669 private float getHorizontal(int offset, boolean trailing, int line, boolean clamped) { in getHorizontal() argument 1693 if (clamped && wid > mWidth) { in getHorizontal() 1710 private float[] getLineHorizontals(int line, boolean clamped, boolean primary) { in getLineHorizontals() argument 1740 if (clamped) { in getLineHorizontals() [all …]
|
/frameworks/rs/script_api/ |
D | rs_convert.spec | 107 of this range, the resulting outputs will be clamped to be between 0 and 255. As this
|
/frameworks/proto_logging/stats/atoms/cronet/ |
D | cronet_extension_atoms.proto | 390 // rounded, and clamped to the int64 range. (This should result in distinct
|
/frameworks/rs/script_api/include/ |
D | rs_convert.rsh | 1570 * of this range, the resulting outputs will be clamped to be between 0 and 255. As this
|
D | rs_math.rsh | 736 * value: Value to be clamped.
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 2442 final boolean clamped = layout.shouldClampCursor(line); in updateCursorPosition() 2443 updateCursorPosition(top, bottom, layout.getPrimaryHorizontal(transformedOffset, clamped)); in updateCursorPosition()
|