Searched defs:clamped (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/text/ |
D | Layout.java | 1105 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() 1124 public float getSecondaryHorizontal(int offset, boolean clamped) { in getSecondaryHorizontal() 1133 private float getHorizontal(int offset, boolean trailing, boolean clamped) { in getHorizontal() 1139 private float getHorizontal(int offset, boolean trailing, int line, boolean clamped) { in getHorizontal() 1178 private float[] getLineHorizontals(int line, boolean clamped, boolean primary) { in getLineHorizontals()
|
/frameworks/support/wear/src/android/support/wear/widget/ |
D | CircledImageView.java | 418 float clamped = Math.max(0, Math.min(1, percentage)); in setImageCirclePercentage() local
|
/frameworks/ml/nn/common/operations/internal/reference/ |
D | reference_ops.h | 536 float clamped = val < lower ? lower : val; in Relu() local 557 float clamped = val > upper ? upper : val < lower ? lower : val; in Relu1() local 578 float clamped = val > upper ? upper : val < lower ? lower : val; in Relu6() local
|