Home
last modified time | relevance | path

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

/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/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/support/design/src/android/support/design/widget/
DSwipeDismissBehavior.java385 private static float clamp(float min, float value, float max) { in clamp() method in SwipeDismissBehavior
389 private static int clamp(int min, int value, int max) { in clamp() method in SwipeDismissBehavior
/frameworks/base/libs/hwui/utils/
DMathUtils.h86 static inline T clamp(T a, T minValue, T maxValue) { in clamp() function
/frameworks/native/services/sensorservice/
Dquat.h65 } clamp; in matrixToQuat() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java122 public static float clamp(float value, float min, float max) { in clamp() method in Utilities
129 public static int clamp(int value, int min, int max) { in clamp() method in Utilities
/frameworks/base/core/java/android/util/
DRange.java173 public T clamp(T value) { in clamp() method in Range
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java62 private static int clamp(int c) { in clamp() method in Material
/frameworks/base/libs/hwui/
DGlop.h125 GLenum clamp; member
/frameworks/av/media/libstagefright/yuv/
DYUVImage.cpp367 uint8_t clamp(uint8_t v, uint8_t minValue, uint8_t maxValue) { in clamp() function
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java196 private float clamp(float target) { in clamp() method in ExpandHelper
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp122 static inline etc1_byte clamp(int x) { in clamp() function
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java1675 private static int clamp(int n, int my, int child) { in clamp() method in HorizontalScrollView
DScrollView.java1779 private static int clamp(int n, int my, int child) { in clamp() method in ScrollView
/frameworks/rs/api/
Drs_math.spec490 Clamps a value to a specified high and low bound. clamp() returns min_value function
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java864 private static int clamp(int x, int min, int max) { in clamp() method in Cea608CCParser.CCMemory
/frameworks/support/v4/java/android/support/v4/widget/
DNestedScrollView.java1793 private static int clamp(int n, int my, int child) { in clamp() method in NestedScrollView
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3244 static int clamp(int x, int low, int high) { in clamp() method in NotificationManagerService
/frameworks/base/core/java/android/view/
DMotionEvent.java3016 private static final float clamp(float value, float low, float high) { in clamp() method in MotionEvent