Home
last modified time | relevance | path

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

/aosp12/hardware/interfaces/automotive/audiocontrol/1.0/
H A DIAudioControl.hal48 * A value outside the range -1 to 1 must be clamped by the implementation to the -1 to 1
60 * A value outside the range -1 to 1 must be clamped by the implementation to the -1 to 1
/aosp12/hardware/interfaces/automotive/audiocontrol/2.0/
H A DIAudioControl.hal63 * A value outside the range -1 to 1 must be clamped by the implementation to the -1 to 1
74 * A value outside the range -1 to 1 must be clamped by the implementation to the -1 to 1
/aosp12/frameworks/base/core/java/android/text/
H A DLayout.java1159 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() argument
1161 return getHorizontal(offset, trailing, clamped); in getPrimaryHorizontal()
1179 public float getSecondaryHorizontal(int offset, boolean clamped) { in getSecondaryHorizontal() argument
1181 return getHorizontal(offset, !trailing, clamped); in getSecondaryHorizontal()
1188 private float getHorizontal(int offset, boolean trailing, boolean clamped) { in getHorizontal() argument
1191 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() argument
1263 if (clamped) { in getLineHorizontals()
1880 boolean clamped = shouldClampCursor(line); in getCursorPath()
[all …]
/aosp12/packages/modules/Permission/PermissionController/src/android/support/wearable/view/
H A DCircledImageView.java399 float clamped = Math.max(0, Math.min(1, percentage)); in setImageCirclePercentage() local
400 if (clamped != mImageCirclePercentage) { in setImageCirclePercentage()
401 mImageCirclePercentage = clamped; in setImageCirclePercentage()
/aosp12/art/libartbase/base/metrics/
H A DREADME.md49 arithmetic and an add. Values outside the range get clamped to the nearest
/aosp12/frameworks/rs/script_api/
H A Drs_convert.spec107 of this range, the resulting outputs will be clamped to be between 0 and 255. As this
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
H A DTestHarness.cpp803 int32_t clamped = std::clamp<int32_t>(unclamped, std::numeric_limits<T>::min(), in setDataFromFloat32Buffer() local
805 return static_cast<T>(clamped); in setDataFromFloat32Buffer()
/aosp12/frameworks/rs/script_api/include/
H A Drs_convert.rsh1570 * of this range, the resulting outputs will be clamped to be between 0 and 255. As this
H A Drs_math.rsh736 * value: Value to be clamped.
/aosp12/frameworks/base/core/java/android/widget/
H A DEditor.java2304 final boolean clamped = layout.shouldClampCursor(line); in updateCursorPosition()
2305 updateCursorPosition(top, bottom, layout.getPrimaryHorizontal(offset, clamped)); in updateCursorPosition()
H A DTextView.java9961 final boolean clamped = grav > 0; in bringPointIntoView()
9963 final int x = (int) layout.getPrimaryHorizontal(offset, clamped); in bringPointIntoView()
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
H A Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
H A Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...