Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/util/
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
/packages/apps/Dialer/java/com/android/dialer/common/
DMathUtil.java54 public static float clamp(float value, float min, float max) { in clamp() method in MathUtil
/packages/apps/Gallery2/jni/filters/
Dcontrast.c20 unsigned char clamp(int c) in clamp() function
/packages/apps/Camera2/src/com/android/camera/ui/motion/
DLinearScale.java44 public float clamp(float domainValue) { in clamp() method in LinearScale
/packages/apps/Gallery2/gallerycommon/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
/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/
DUtils.java61 public static int clamp(int x, int min, int max) { in clamp() method in Utils
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DPointMeteringParameters.java148 private int clamp(int value, int min, int max) { in clamp() method in PointMeteringParameters
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedSnapHelper.java312 private static int clamp(int value, int min, int max) { in clamp() method in PagedSnapHelper
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationEntry.java346 private int clamp(int x, int low, int high) { in clamp() method in NotificationEntry
/packages/services/Car/evs/app/
DFormatConvert.cpp32 static inline float clamp(float v, float min, float max) { in clamp() function
/packages/services/Car/evs/sampleDriver/
DbufferCopy.cpp40 static inline float clamp(float v, float min, float max) { in clamp() function
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java429 private int clamp(int x, int min, int max) { in clamp() method in FocusOverlayManager
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java572 public static int clamp(int x, int min, int max) { in clamp() method in FocusOverlayManager
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java363 public static int clamp(int x, int min, int max) { in clamp() method in CameraUtil
377 public static float clamp(float x, float min, float max) { in clamp() method in CameraUtil
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java558 public int clamp(int value) { in clamp() method in AppWidgetResizeFrame.IntRange
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java320 public static int clamp(int x, int min, int max) { in clamp() method in Util
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java98 public static float clamp(float i, float low, float high) { in clamp() method in GeometryMathUtils