/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | MoreMath.java | 27 public static int clamp(int input, int lowerBound, int upperBound) { method in class:MoreMath 37 public static float clamp(float input, float lowerBound, float upperBound) { method in class:MoreMath 47 public static double clamp(double input, double lowerBound, double upperBound) { method in class:MoreMath
|
/packages/apps/Gallery2/jni/filters/ |
H A D | contrast.c | 20 unsigned char clamp(int c) function 50 rgb[RED] = clamp((int)(m*rgb[RED]+c)); 51 rgb[GREEN] = clamp((int)(m*rgb[GREEN]+c)); 52 rgb[BLUE] = clamp((int)(m*rgb[BLUE]+c));
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
H A D | GeometryMathUtils.java | 49 public static float clamp(float i, float low, float high) { method in class:GeometryMathUtils
|
H A D | Utils.java | 99 public static int clamp(int x, int min, int max) { method in class:Utils 106 public static float clamp(float x, float min, float max) { method in class:Utils 113 public static long clamp(long x, long min, long max) { method in class:Utils
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Utils.java | 99 public static int clamp(int x, int min, int max) { method in class:Utils 106 public static float clamp(float x, float min, float max) { method in class:Utils 113 public static long clamp(long x, long min, long max) { method in class:Utils
|
/packages/apps/Launcher3/src/com/android/gallery3d/common/ |
H A D | Utils.java | 99 public static int clamp(int x, int min, int max) { method in class:Utils 106 public static float clamp(float x, float min, float max) { method in class:Utils 113 public static long clamp(long x, long min, long max) { method in class:Utils
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | GeometryMathUtils.java | 98 public static float clamp(float i, float low, float high) { method in class:GeometryMathUtils
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Util.java | 320 public static int clamp(int x, int min, int max) { method in class:Util
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | MediaItemView.java | 460 startIdx = clamp(startIdx, 0, mNumberOfThumbnails - 1); 461 endIdx = clamp(endIdx, 0, mNumberOfThumbnails - 1); 536 private static int clamp(int v, int low, int high) { method in class:MediaItemView
|
H A D | HorizontalScrollView.java | 1521 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth()); 1522 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight()); 1579 private static int clamp(int n, int my, int child) { method in class:HorizontalScrollView
|
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | ScrollerView.java | 1831 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth()); 1832 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight()); 1839 private int clamp(int n, int my, int child) { method in class:ScrollerView
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | Util.java | 371 public static int clamp(int x, int min, int max) { method in class:Util
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | CameraUtil.java | 391 public static int clamp(int x, int min, int max) { method in class:CameraUtil 397 public static float clamp(float x, float min, float max) { method in class:CameraUtil
|