Searched refs:clamped (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/text/ |
D | Layout.java | 1131 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/ |
D | CircledImageView.java | 412 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/ |
D | rs_convert.spec | 107 of this range, the resulting outputs will be clamped to be between 0 and 255. As this
|
/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 | 2047 final boolean clamped = layout.shouldClampCursor(line); in updateCursorPosition() 2048 updateCursorPosition(top, bottom, layout.getPrimaryHorizontal(offset, clamped)); in updateCursorPosition()
|
D | TextView.java | 9047 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/ |
D | advs.txt | 7827 "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
|
D | case.txt | 4179 iron-clamped and massive door. It struck me as I looked at it that if
|