Home
last modified time | relevance | path

Searched refs:clamped (Results 1 – 7 of 7) 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/ml/nn/tools/test_generator/test_harness/
DTestHarness.cpp803 int32_t clamped = std::clamp<int32_t>(unclamped, std::numeric_limits<T>::min(), in setDataFromFloat32Buffer() local
805 return static_cast<T>(clamped); in setDataFromFloat32Buffer()
/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.java9836 final boolean clamped = grav > 0; in bringPointIntoView()
9838 final int x = (int) layout.getPrimaryHorizontal(offset, clamped); in bringPointIntoView()