Home
last modified time | relevance | path

Searched defs:clamp (Results 1 – 18 of 18) 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/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/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/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/java/src/android/ext/services/notification/
DNotificationEntry.java337 private int clamp(int x, int low, int high) { in clamp() method in NotificationEntry
/packages/services/Car/cpp/evs/apps/default/
DFormatConvert.cpp33 static inline float clamp(float v, float min, float max) { in clamp() function
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java462 private static int clamp(int value, int min, int max) { in clamp() method in CarUiSnapHelper
/packages/services/Car/cpp/evs/support_library/
DFormatConvert.cpp36 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/LegacyCamera/src/com/android/camera/
DUtil.java320 public static int clamp(int x, int min, int max) { in clamp() method in Util
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java639 public int clamp(int value) { in clamp() method in AppWidgetResizeFrame.IntRange
/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