Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java890 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() argument
892 return getHorizontal(offset, trailing, clamped); in getPrimaryHorizontal()
909 public float getSecondaryHorizontal(int offset, boolean clamped) { in getSecondaryHorizontal() argument
911 return getHorizontal(offset, !trailing, clamped); in getSecondaryHorizontal()
918 private float getHorizontal(int offset, boolean trailing, boolean clamped) { in getHorizontal() argument
921 return getHorizontal(offset, trailing, line, clamped); in getHorizontal()
924 private float getHorizontal(int offset, boolean trailing, int line, boolean clamped) { in getHorizontal() argument
946 if (clamped && wid > mWidth) { in getHorizontal()
1432 boolean clamped = shouldClampCursor(line); in getCursorPath()
1433 float h1 = getPrimaryHorizontal(point, clamped) - 0.5f; in getCursorPath()
[all …]
/frameworks/rs/api/
Drs_convert.spec107 of this range, the resulting outputs will be clamped to be between 0 and 255. As this
/frameworks/base/docs/html/guide/appendix/
Dapp-intents.jd72 zoom level is 23. A larger zoom level will be clamped to 23.
Dg-app-intents.jd82 zoom level is 23. A larger zoom level will be clamped to 23.
/frameworks/base/core/java/android/widget/
DEditor.java1864 boolean clamped = layout.shouldClampCursor(line); in updateCursorsPositions()
1865 updateCursorPosition(0, top, middle, layout.getPrimaryHorizontal(offset, clamped)); in updateCursorsPositions()
1868 updateCursorPosition(1, middle, bottom, layout.getSecondaryHorizontal(offset, clamped)); in updateCursorsPositions()
DTextView.java7501 final boolean clamped = grav > 0; in bringPointIntoView()
7503 final int x = (int)layout.getPrimaryHorizontal(offset, clamped); in bringPointIntoView()
/frameworks/rs/scriptc/
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/docs/html/guide/topics/renderscript/reference/
Drs_convert.jd1772 of this range, the resulting outputs will be clamped to be between 0 and 255. As this
Drs_math.jd2336 <tr><th>value</th><td>Value to be clamped.</td></tr>