Home
last modified time | relevance | path

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

12

/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/
DMathUtils.kt162 fun clamp(value: Double, min: Double, max: Double): Double { in clamp() method
178 fun clamp(value: Float, min: Float, max: Float): Float { in clamp() method
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/
DMathUtils.kt157 fun clamp(value: Double, min: Double, max: Double): Double { in clamp() method
172 fun clamp(value: Float, min: Float, max: Float): Float { in clamp() method
/frameworks/rs/toolkit/
DUtils.h92 inline int4 clamp(int4 amount, int low, int high) { in clamp() function
101 inline float4 clamp(float4 amount, float low, float high) { in clamp() function
110 inline int2 clamp(int2 amount, int low, int high) { in clamp() function
117 inline float2 clamp(float2 amount, float low, float high) { in clamp() function
124 inline int clamp(int amount, int low, int high) { in clamp() function
128 inline float clamp(float amount, float low, float high) { in clamp() function
/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/packages/SystemUI/src/com/android/systemui/brightness/shared/model/
DLinearBrightness.kt25 fun clamp(min: LinearBrightness, max: LinearBrightness): LinearBrightness { in <lambda>() method
/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
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp272 DistortionMapperInfo *mapperInfo, bool clamp, bool simple) { in mapRawToCorrected()
353 DistortionMapperInfo *mapperInfo, bool clamp, bool simple) { in mapRawRectToCorrected()
377 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const { in mapCorrectedToRaw()
383 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const { in mapCorrectedToRawImpl()
439 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const { 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/av/services/camera/libcameraservice/fuzzer/
DDistortionMapperFuzzer.cpp60 bool clamp = fdp.ConsumeBool(); in LLVMFuzzerTestOneInput() local
/frameworks/base/services/core/java/com/android/server/display/color/
DReduceBrightColorsTintController.java77 private float clamp(float value) { in clamp() method in ReduceBrightColorsTintController
/frameworks/native/services/sensorservice/
Dquat.h65 } clamp; in matrixToQuat() local
/frameworks/base/libs/hwui/utils/
DMathUtils.h88 static inline T clamp(T a, T minValue, T maxValue) { in clamp() function
/frameworks/base/core/java/android/util/
DRange.java176 public T clamp(T value) { in clamp() method in Range
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DUtilities.java100 public static float clamp(float value, float min, float max) { in clamp() method in Utilities
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/domain/interactor/
DScreenBrightnessInteractor.kt94 private fun GammaBrightness.clamp(): GammaBrightness { in <lambda>() method in com.android.systemui.brightness.domain.interactor.ScreenBrightnessInteractor
/frameworks/base/core/java/android/view/
DRoundScrollbarRenderer.java164 private static float clamp(float val, float min, float max) { in clamp() method in RoundScrollbarRenderer
/frameworks/native/libs/ui/include_vndk/ui/
DSize.h89 static constexpr remove_cvref_t<ToType> clamp(FromType v) { in clamp() function
/frameworks/native/include/ui/
DSize.h89 static constexpr remove_cvref_t<ToType> clamp(FromType v) { in clamp() function
/frameworks/native/libs/ui/include/ui/
DSize.h89 static constexpr remove_cvref_t<ToType> clamp(FromType v) { in clamp() function
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DUtils.java182 public static int clamp(int c) { in clamp() method in Utils
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DHdrClamper.java93 public float clamp(float brightness) { in clamp() method in HdrClamper
DBrightnessClamperController.java166 public DisplayBrightnessState clamp(DisplayManagerInternal.DisplayPowerRequest request, in clamp() method in BrightnessClamperController
/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

12