Searched refs:clamped (Results 1 – 14 of 14) sorted by relevance
48 * A value outside the range -1 to 1 must be clamped by the implementation to the -1 to 160 * A value outside the range -1 to 1 must be clamped by the implementation to the -1 to 1
63 * A value outside the range -1 to 1 must be clamped by the implementation to the -1 to 174 * A value outside the range -1 to 1 must be clamped by the implementation to the -1 to 1
1159 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() argument1161 return getHorizontal(offset, trailing, clamped); in getPrimaryHorizontal()1179 public float getSecondaryHorizontal(int offset, boolean clamped) { in getSecondaryHorizontal() argument1181 return getHorizontal(offset, !trailing, clamped); in getSecondaryHorizontal()1188 private float getHorizontal(int offset, boolean trailing, boolean clamped) { in getHorizontal() argument1191 return getHorizontal(offset, trailing, line, clamped); in getHorizontal()1217 if (clamped && wid > mWidth) { in getHorizontal()1234 private float[] getLineHorizontals(int line, boolean clamped, boolean primary) { in getLineHorizontals() argument1263 if (clamped) { in getLineHorizontals()1880 boolean clamped = shouldClampCursor(line); in getCursorPath()[all …]
399 float clamped = Math.max(0, Math.min(1, percentage)); in setImageCirclePercentage() local400 if (clamped != mImageCirclePercentage) { in setImageCirclePercentage()401 mImageCirclePercentage = clamped; in setImageCirclePercentage()
49 arithmetic and an add. Values outside the range get clamped to the nearest
107 of this range, the resulting outputs will be clamped to be between 0 and 255. As this
803 int32_t clamped = std::clamp<int32_t>(unclamped, std::numeric_limits<T>::min(), in setDataFromFloat32Buffer() local805 return static_cast<T>(clamped); in setDataFromFloat32Buffer()
1570 * of this range, the resulting outputs will be clamped to be between 0 and 255. As this
736 * value: Value to be clamped.
2304 final boolean clamped = layout.shouldClampCursor(line); in updateCursorPosition()2305 updateCursorPosition(top, bottom, layout.getPrimaryHorizontal(offset, clamped)); in updateCursorPosition()
9961 final boolean clamped = grav > 0; in bringPointIntoView()9963 final int x = (int) layout.getPrimaryHorizontal(offset, clamped); in bringPointIntoView()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...