/libcore/ojluni/src/test/java/lang/Math/ |
D | Clamp.java | 74 …kEquals("(int) Math.clamp(" + value + ", " + min + ", " + max + ")", Math.clamp(value, min, max), … in testIntClamp() 75 …t) StrictMath.clamp(" + value + ", " + min + ", " + max + ")", StrictMath.clamp(value, min, max), … in testIntClamp() 82 () -> Math.clamp(value, min, max)); in testIntClamp() 84 () -> StrictMath.clamp(value, min, max)); in testIntClamp() 114 …Equals("(long) Math.clamp(" + value + ", " + min + ", " + max + ")", Math.clamp(value, min, max), … in testLongClamp() 115 …g) StrictMath.clamp(" + value + ", " + min + ", " + max + ")", StrictMath.clamp(value, min, max), … in testLongClamp() 122 () -> Math.clamp(value, min, max)); in testLongClamp() 124 () -> StrictMath.clamp(value, min, max)); in testLongClamp() 178 …uals("(double) Math.clamp(" + value + ", " + min + ", " + max + ")", Math.clamp(value, min, max), … in testDoubleClamp() 179 …e) StrictMath.clamp(" + value + ", " + min + ", " + max + ")", StrictMath.clamp(value, min, max), … in testDoubleClamp() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 1873 public static int clamp(long value, int min, int max) { in clamp() method in StrictMath 1874 return Math.clamp(value, min, max); in clamp() 1891 public static long clamp(long value, long min, long max) { in clamp() method in StrictMath 1892 return Math.clamp(value, min, max); in clamp() 1915 public static double clamp(double value, double min, double max) { in clamp() method in StrictMath 1916 return Math.clamp(value, min, max); in clamp() 1939 public static float clamp(float value, float min, float max) { in clamp() method in StrictMath 1940 return Math.clamp(value, min, max); in clamp()
|
D | Math.java | 2360 public static int clamp(long value, int min, int max) { in clamp() method in Math 2381 public static long clamp(long value, long min, long max) { in clamp() method in Math 2408 public static double clamp(double value, double min, double max) { in clamp() method in Math 2449 public static float clamp(float value, float min, float max) { in clamp() method in Math
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | StrictMath.annotated.java | 190 public static int clamp(long value, int min, int max) { throw new RuntimeException("Stub!"); } in clamp() method in StrictMath 193 public static long clamp(long value, long min, long max) { throw new RuntimeException("Stub!"); } in clamp() method in StrictMath 196 public static double clamp(double value, double min, double max) { throw new RuntimeException("Stub… in clamp() method in StrictMath 199 public static float clamp(float value, float min, float max) { throw new RuntimeException("Stub!");… in clamp() method in StrictMath
|
D | Math.annotated.java | 191 public static int clamp(long value, int min, int max) { throw new RuntimeException("Stub!"); } in clamp() method in Math 194 public static long clamp(long value, long min, long max) { throw new RuntimeException("Stub!"); } in clamp() method in Math 197 public static double clamp(double value, double min, double max) { throw new RuntimeException("Stub… in clamp() method in Math 200 public static float clamp(float value, float min, float max) { throw new RuntimeException("Stub!");… in clamp() method in Math
|
/libcore/ojluni/src/main/java/java/util/ |
D | HashSet.java | 325 loadFactor = Math.clamp(loadFactor, 0.25f, 4.0f); in readObject()
|
D | HashMap.java | 1525 lf = Math.clamp(lf, 0.25f, 4.0f); in readObject()
|
/libcore/api/ |
D | current.txt | 3579 method @FlaggedApi("com.android.libcore.v_apis") public static int clamp(long, int, int); 3580 method @FlaggedApi("com.android.libcore.v_apis") public static long clamp(long, long, long); 3581 …method @FlaggedApi("com.android.libcore.v_apis") public static double clamp(double, double, double… 3582 method @FlaggedApi("com.android.libcore.v_apis") public static float clamp(float, float, float); 4021 method @FlaggedApi("com.android.libcore.v_apis") public static int clamp(long, int, int); 4022 method @FlaggedApi("com.android.libcore.v_apis") public static long clamp(long, long, long); 4023 …method @FlaggedApi("com.android.libcore.v_apis") public static double clamp(double, double, double… 4024 method @FlaggedApi("com.android.libcore.v_apis") public static float clamp(float, float, float);
|