/aosp12/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | MoreMath.java | 27 public static int clamp(int input, int lowerBound, int upperBound) { in clamp() method in MoreMath 37 public static float clamp(float input, float lowerBound, float upperBound) { in clamp() method in MoreMath 47 public static double clamp(double input, double lowerBound, double upperBound) { in clamp() method in MoreMath
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/ |
H A D | color_filter.cpp | 31 ColorFilter::ColorFilter(FilterType t, const ColorMatrix& m, Clamp clamp) noexcept : ColorFilter() in ColorFilter() 37 ColorFilter::ColorFilter(FilterType t, const float f[20], Clamp clamp) noexcept : ColorFilter() in ColorFilter() 50 const float f2[MATRIX_SIZE], Clamp clamp) noexcept : ColorFilter() in ColorFilter() 63 …ColorFilter::InitWithCompose(const float f1[MATRIX_SIZE], const float f2[MATRIX_SIZE], Clamp clamp) in InitWithCompose() 115 const float (&f1)[MATRIX_SIZE], const float (&f2)[MATRIX_SIZE], Clamp clamp) in CreateComposeColorFilter() 120 std::shared_ptr<ColorFilter> ColorFilter::CreateMatrixColorFilter(const ColorMatrix& m, Clamp clamp) in CreateMatrixColorFilter() 125 …ed_ptr<ColorFilter> ColorFilter::CreateFloatColorFilter(const float (&f)[MATRIX_SIZE], Clamp clamp) in CreateFloatColorFilter()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_color_filter.cpp | 32 static SkColorFilters::Clamp ConverToSkClamp(Drawing::Clamp clamp) in ConverToSkClamp() 42 void SkiaColorFilter::InitWithColorMatrix(const ColorMatrix& m, Clamp clamp) in InitWithColorMatrix() 49 void SkiaColorFilter::InitWithColorFloat(const float f[20], Clamp clamp) in InitWithColorFloat() 81 …ColorFilter::InitWithCompose(const float f1[MATRIX_SIZE], const float f2[MATRIX_SIZE], Clamp clamp) in InitWithCompose()
|
/aosp12/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicInlines.h | 94 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
|
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | imgprocutil.h | 27 inline int clamp(int min, int val, int max) { in clamp() function
|
/aosp12/frameworks/native/libs/math/include/math/ |
H A D | scalar.h | 30 static constexpr T clamp(T v, T min, T max) noexcept { in clamp() function
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/common/ |
H A D | MathUtil.java | 54 public static float clamp(float value, float min, float max) { in clamp() method in MathUtil
|
/aosp12/packages/apps/Gallery2/jni/filters/ |
H A D | contrast.c | 20 unsigned char clamp(int c) in clamp() function
|
/aosp12/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | DistortionMapper.cpp | 270 DistortionMapperInfo *mapperInfo, bool clamp, bool simple) { in mapRawToCorrected() 351 DistortionMapperInfo *mapperInfo, bool clamp, bool simple) { in mapRawRectToCorrected() 375 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const { in mapCorrectedToRaw() 381 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const { in mapCorrectedToRawImpl() 437 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const { in mapCorrectedRectToRaw()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
H A D | LinearScale.java | 44 public float clamp(float domainValue) { in clamp() method in LinearScale
|
/aosp12/frameworks/av/services/camera/libcameraservice/fuzzer/ |
H A D | DistortionMapperFuzzer.cpp | 60 bool clamp = fdp.ConsumeBool(); in LLVMFuzzerTestOneInput() local
|
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | Utils.java | 99 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
|
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Utils.java | 99 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
|
/aosp12/frameworks/base/services/core/java/com/android/server/display/color/ |
H A D | ReduceBrightColorsTintController.java | 77 private float clamp(float value) { in clamp() method in ReduceBrightColorsTintController
|
/aosp12/frameworks/native/services/sensorservice/ |
H A D | quat.h | 65 } clamp; in matrixToQuat() local
|
/aosp12/frameworks/base/libs/hwui/utils/ |
H A D | MathUtils.h | 88 static inline T clamp(T a, T minValue, T maxValue) { in clamp() function
|
/aosp12/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/ |
H A D | Utils.java | 61 public static int clamp(int x, int min, int max) { in clamp() method in Utils
|
/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
H A D | PointMeteringParameters.java | 148 private int clamp(int value, int min, int max) { in clamp() method in PointMeteringParameters
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | RoundScrollbarRenderer.java | 104 private static float clamp(float val, float min, float max) { in clamp() method in RoundScrollbarRenderer
|
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
H A D | Utilities.java | 88 public static float clamp(float value, float min, float max) { in clamp() method in Utilities
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | Range.java | 174 public T clamp(T value) { in clamp() method in Range
|
/aosp12/system/core/libprocessgroup/ |
H A D | task_profiles.h | 61 SetClampsAction(int boost, int clamp) noexcept : boost_(boost), clamp_(clamp) {} in SetClampsAction()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkts/ |
H A D | js-apis-arkts-decimal.md | 255 ### clamp subsection 2767 ### clamp subsection
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/ |
H A D | js-apis-arkts-decimal.md | 257 ### clamp subsection 2769 ### clamp subsection
|
/aosp12/system/media/audio_utils/include/audio_utils/ |
H A D | ChannelMix.h | 227 static inline float clamp(float value) { in clamp() function
|