Home
last modified time | relevance | path

Searched refs:clamped (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/text/
DLayout.java1158 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() argument
1160 return getHorizontal(offset, trailing, clamped); in getPrimaryHorizontal()
1178 public float getSecondaryHorizontal(int offset, boolean clamped) { in getSecondaryHorizontal() argument
1180 return getHorizontal(offset, !trailing, clamped); in getSecondaryHorizontal()
1187 private float getHorizontal(int offset, boolean trailing, boolean clamped) { in getHorizontal() argument
1190 return getHorizontal(offset, trailing, line, clamped); in getHorizontal()
1193 private float getHorizontal(int offset, boolean trailing, int line, boolean clamped) { in getHorizontal() argument
1216 if (clamped && wid > mWidth) { in getHorizontal()
1233 private float[] getLineHorizontals(int line, boolean clamped, boolean primary) { in getLineHorizontals() argument
1262 if (clamped) { in getLineHorizontals()
[all …]
/frameworks/rs/script_api/
Drs_convert.spec107 of this range, the resulting outputs will be clamped to be between 0 and 255. As this
/frameworks/rs/script_api/include/
Drs_convert.rsh1570 * of this range, the resulting outputs will be clamped to be between 0 and 255. As this
Drs_math.rsh736 * value: Value to be clamped.
/frameworks/base/core/java/android/widget/
DEditor.java2070 final boolean clamped = layout.shouldClampCursor(line); in updateCursorPosition()
2071 updateCursorPosition(top, bottom, layout.getPrimaryHorizontal(offset, clamped)); in updateCursorPosition()
DTextView.java9831 final boolean clamped = grav > 0; in bringPointIntoView()
9833 final int x = (int) layout.getPrimaryHorizontal(offset, clamped); in bringPointIntoView()