Home
last modified time | relevance | path

Searched defs:clamp (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicInlines.h94 static inline float4 clamp(float4 amount, float low, float high) { in clamp() function
103 static inline int2 clamp(int2 amount, int low, int high) { in clamp() function
110 static inline float2 clamp(float2 amount, float low, float high) { in clamp() function
117 static inline int clamp(int amount, int low, int high) { in clamp() function
121 static inline float clamp(float amount, float low, float high) { in clamp() function
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dimgprocutil.h27 inline int clamp(int min, int val, int max) { in clamp() function
Dcolorspace.cpp40 static inline uint32 clamp(int32 x) { in clamp() function
/frameworks/native/libs/math/include/math/
Dscalar.h30 static constexpr T clamp(T v, T min, T max) noexcept { in clamp() function
DTVecHelpers.h499 friend inline CONSTEXPR VECTOR<T> PURE clamp(VECTOR<T> v, T min, T max) { in clamp() function
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp227 bool clamp, bool simple) { in mapRawToCorrected()
307 status_t DistortionMapper::mapRawRectToCorrected(int32_t *rects, int rectCount, bool clamp, in mapRawRectToCorrected()
331 status_t DistortionMapper::mapCorrectedToRaw(int32_t *coordPairs, int coordCount, bool clamp, in mapCorrectedToRaw()
337 status_t DistortionMapper::mapCorrectedToRawImpl(T *coordPairs, int coordCount, bool clamp, in mapCorrectedToRawImpl()
394 status_t DistortionMapper::mapCorrectedRectToRaw(int32_t *rects, int rectCount, bool clamp, in mapCorrectedRectToRaw()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DUtils.java99 public static int clamp(int x, int min, int max) { in clamp() method in Utils
106 public static float clamp(float x, float min, float max) { in clamp() method in Utils
113 public static long clamp(long x, long min, long max) { in clamp() method in Utils
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DUtilities.java58 public static float clamp(float value, float min, float max) { in clamp() method in Utilities
/frameworks/native/services/sensorservice/
Dquat.h65 } clamp; in matrixToQuat() local
/frameworks/base/libs/hwui/utils/
DMathUtils.h86 static inline T clamp(T a, T minValue, T maxValue) { in clamp() function
DColor.cpp118 static constexpr T clamp(T x, T min, T max) { in clamp() function
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/
DUtilities.java123 public static int clamp(int value, int min, int max) { in clamp() method in Utilities
335 public static float clamp(float value, float min, float max) { in clamp() method in Utilities
/frameworks/base/core/java/android/view/
DRoundScrollbarRenderer.java104 private static float clamp(float val, float min, float max) { in clamp() method in RoundScrollbarRenderer
/frameworks/native/libs/ui/include_vndk/ui/
DSize.h111 static Size::remove_cv_reference_t<ToType> clamp( in clamp() function
/frameworks/native/libs/ui/include/ui/
DSize.h111 static Size::remove_cv_reference_t<ToType> clamp( in clamp() function
/frameworks/base/core/java/android/util/
DRange.java173 public T clamp(T value) { in clamp() method in Range
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java62 private static int clamp(int c) { in clamp() method in Material
/frameworks/av/services/camera/libcameraservice/tests/
DDistortionMapperTest.cpp215 int32_t* activeArray, DistortionMapper &m, bool clamp, bool simple) { in RandomTransformTest()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java1958 private static float clamp(float x) { in clamp() method in ColorSpace.Xyz
2034 private static float clamp(float x, float min, float max) { in clamp() method in ColorSpace.Lab
2785 DoubleUnaryOperator clamp = this::clamp; in Rgb() local
3200 private double clamp(double x) { in clamp() method in ColorSpace.Rgb
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java203 private float clamp(float target) { in clamp() method in ExpandHelper
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java849 private static int clamp(int min, int value, int max) { in clamp() method in PinnerService
/frameworks/av/include/media/
DVolumeShaper.h95 static constexpr const R &clamp(const R &v, const R &lo, const R &hi) { in clamp() function
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp122 static inline etc1_byte clamp(int x) { in clamp() function
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java1777 private static int clamp(int n, int my, int child) { in clamp() method in HorizontalScrollView
/frameworks/rs/script_api/
Drs_math.spec504 Clamps a value to a specified high and low bound. clamp() returns min_value function

12