Searched refs:clamped (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/text/ |
D | Layout.java | 1158 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/ |
D | rs_convert.spec | 107 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/ |
D | TestHarness.cpp | 803 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/ |
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 | 2070 final boolean clamped = layout.shouldClampCursor(line); in updateCursorPosition() 2071 updateCursorPosition(top, bottom, layout.getPrimaryHorizontal(offset, clamped)); in updateCursorPosition()
|
D | TextView.java | 9836 final boolean clamped = grav > 0; in bringPointIntoView() 9838 final int x = (int) layout.getPrimaryHorizontal(offset, clamped); in bringPointIntoView()
|