Home
last modified time | relevance | path

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

123

/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DMoreMath.java27 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 Dcolor_filter.cpp31 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 Dskia_color_filter.cpp32 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 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
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dimgprocutil.h27 inline int clamp(int min, int val, int max) { in clamp() function
/aosp12/frameworks/native/libs/math/include/math/
H A Dscalar.h30 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 DMathUtil.java54 public static float clamp(float value, float min, float max) { in clamp() method in MathUtil
/aosp12/packages/apps/Gallery2/jni/filters/
H A Dcontrast.c20 unsigned char clamp(int c) in clamp() function
/aosp12/frameworks/av/services/camera/libcameraservice/device3/
H A DDistortionMapper.cpp270 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 DLinearScale.java44 public float clamp(float domainValue) { in clamp() method in LinearScale
/aosp12/frameworks/av/services/camera/libcameraservice/fuzzer/
H A DDistortionMapperFuzzer.cpp60 bool clamp = fdp.ConsumeBool(); in LLVMFuzzerTestOneInput() local
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A 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
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A 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
/aosp12/frameworks/base/services/core/java/com/android/server/display/color/
H A DReduceBrightColorsTintController.java77 private float clamp(float value) { in clamp() method in ReduceBrightColorsTintController
/aosp12/frameworks/native/services/sensorservice/
H A Dquat.h65 } clamp; in matrixToQuat() local
/aosp12/frameworks/base/libs/hwui/utils/
H A DMathUtils.h88 static inline T clamp(T a, T minValue, T maxValue) { in clamp() function
/aosp12/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/
H A DUtils.java61 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 DPointMeteringParameters.java148 private int clamp(int value, int min, int max) { in clamp() method in PointMeteringParameters
/aosp12/frameworks/base/core/java/android/view/
H A DRoundScrollbarRenderer.java104 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 DUtilities.java88 public static float clamp(float value, float min, float max) { in clamp() method in Utilities
/aosp12/frameworks/base/core/java/android/util/
H A DRange.java174 public T clamp(T value) { in clamp() method in Range
/aosp12/system/core/libprocessgroup/
H A Dtask_profiles.h61 SetClampsAction(int boost, int clamp) noexcept : boost_(boost), clamp_(clamp) {} in SetClampsAction()
/ohos5.0/docs/en/application-dev/reference/apis-arkts/
H A Djs-apis-arkts-decimal.md255 ### clamp subsection
2767 ### clamp subsection
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/
H A Djs-apis-arkts-decimal.md257 ### clamp subsection
2769 ### clamp subsection
/aosp12/system/media/audio_utils/include/audio_utils/
H A DChannelMix.h227 static inline float clamp(float value) { in clamp() function

123