Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java1131 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() argument
1133 return getHorizontal(offset, trailing, clamped); in getPrimaryHorizontal()
1150 public float getSecondaryHorizontal(int offset, boolean clamped) { in getSecondaryHorizontal() argument
1152 return getHorizontal(offset, !trailing, clamped); in getSecondaryHorizontal()
1159 private float getHorizontal(int offset, boolean trailing, boolean clamped) { in getHorizontal() argument
1162 return getHorizontal(offset, trailing, line, clamped); in getHorizontal()
1165 private float getHorizontal(int offset, boolean trailing, int line, boolean clamped) { in getHorizontal() argument
1187 if (clamped && wid > mWidth) { in getHorizontal()
1204 private float[] getLineHorizontals(int line, boolean clamped, boolean primary) { in getLineHorizontals() argument
1232 if (clamped) { in getLineHorizontals()
[all …]
/frameworks/support/wear/src/main/java/androidx/wear/widget/
DCircledImageView.java412 float clamped = Math.max(0, Math.min(1, percentage)); in setImageCirclePercentage() local
413 if (clamped != mImageCirclePercentage) { in setImageCirclePercentage()
414 mImageCirclePercentage = clamped; in setImageCirclePercentage()
/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.java2047 final boolean clamped = layout.shouldClampCursor(line); in updateCursorPosition()
2048 updateCursorPosition(top, bottom, layout.getPrimaryHorizontal(offset, clamped)); in updateCursorPosition()
DTextView.java9047 final boolean clamped = grav > 0; in bringPointIntoView()
9049 final int x = (int) layout.getPrimaryHorizontal(offset, clamped); in bringPointIntoView()
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dadvs.txt7827 "It was clamped to the floor. Did you ever see a bed fastened like
8010 clamped to the floor, instantly gave rise to the suspicion that the
Dcase.txt4179 iron-clamped and massive door. It struck me as I looked at it that if