/cts/tests/tests/widget/src/android/widget/cts/ |
ProgressBarTest.java | 126 progressBar.setProgress(Integer.MAX_VALUE); 153 progressBar.setSecondaryProgress(Integer.MAX_VALUE); 179 progressBar.incrementProgressBy(Integer.MAX_VALUE); 204 progressBar.incrementSecondaryProgressBy(Integer.MAX_VALUE); 245 visibility = 0x7fffffff; // Integer.MAX_VALUE; 247 progressBar.setVisibility(Integer.MAX_VALUE); 308 progressBar.setMax(Integer.MAX_VALUE); 309 assertEquals(Integer.MAX_VALUE, progressBar.getMax());
|
/external/v8/test/mjsunit/ |
math-round.js | 81 testRound(Number.MAX_VALUE, Number.MAX_VALUE); 82 testRound(-Number.MAX_VALUE, -Number.MAX_VALUE); 139 var max_non_infinite = Number.MAX_VALUE;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
GradientDrawableTest.java | 104 gradientDrawable.setSize(Integer.MAX_VALUE, Integer.MIN_VALUE); 105 assertEquals(Integer.MAX_VALUE, gradientDrawable.getIntrinsicWidth()); 115 gradientDrawable.setShape(Integer.MAX_VALUE); 125 gradientDrawable.setGradientType(Integer.MAX_VALUE); 165 gradientDrawable.setColor(Integer.MAX_VALUE);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AtomicDoubleArrayTest.java | 26 -Double.MAX_VALUE, 37 (double) Integer.MAX_VALUE, 38 (double) Long.MAX_VALUE, 39 Double.MAX_VALUE, 42 Float.MAX_VALUE,
|
/frameworks/base/core/java/com/android/internal/util/ |
FileRotator.java | 306 long oldestActiveStart = Long.MAX_VALUE; 325 info.endMillis = Long.MAX_VALUE; 428 endMillis = Long.MAX_VALUE; 445 if (endMillis != Long.MAX_VALUE) { 455 return endMillis == Long.MAX_VALUE;
|
TypedProperties.java | 268 if (value < Byte.MIN_VALUE || value > Byte.MAX_VALUE) { 273 if (value < Short.MIN_VALUE || value > Short.MAX_VALUE) { 278 if (value < Integer.MIN_VALUE || value > Integer.MAX_VALUE) { 283 if (value < Long.MIN_VALUE || value > Long.MAX_VALUE) { 316 if (absValue < Float.MIN_VALUE || absValue > Float.MAX_VALUE) {
|
/libcore/luni/src/test/java/tests/api/java/util/ |
SimpleTimeZoneTest.java | 194 Integer.MAX_VALUE, 204 1, Calendar.SUNDAY, 0, Integer.MAX_VALUE, Calendar.NOVEMBER, -1, Calendar.SUNDAY, 205 0, Integer.MAX_VALUE, 1000 * 60 * 60); 213 10, Calendar.SUNDAY, 0, Integer.MAX_VALUE, Calendar.NOVEMBER, -1, Calendar.SUNDAY, 214 0, Integer.MAX_VALUE, 1000 * 60 * 60); 222 1, 10, 0, Calendar.NOVEMBER, Integer.MAX_VALUE, -1, Calendar.SUNDAY, 223 0, Integer.MAX_VALUE, 1000 * 60 * 60); 231 1, Calendar.SUNDAY, 0, Calendar.NOVEMBER, Integer.MAX_VALUE, -10, Calendar.SUNDAY, 232 0, Integer.MAX_VALUE, 1000 * 60 * 60); [all...] |
/libcore/json/src/test/java/org/json/ |
JSONObjectTest.java | 99 assertEquals(Long.MAX_VALUE-1, object.optLong("foo", Long.MAX_VALUE-1)); 148 object.put("bar", Long.MAX_VALUE - 1); 149 assertEquals(Long.MAX_VALUE - 1, object.get("bar")); 263 object.put("baz", Double.MAX_VALUE); 278 assertEquals(Double.MAX_VALUE, object.get("baz")); 282 assertEquals(Double.MAX_VALUE, object.getDouble("baz")); 286 assertEquals(Long.MAX_VALUE, object.getLong("baz")); 290 assertEquals(Integer.MAX_VALUE, object.getInt("baz")); 294 assertEquals(Double.MAX_VALUE, object.optDouble("baz")) [all...] |
/libcore/luni/src/test/java/libcore/io/ |
DiskLruCacheTest.java | 55 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 92 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 221 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 233 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 241 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 249 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 257 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 265 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 274 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 286 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); [all...] |
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerConvertTest.java | 166 * The result is Double.MAX_VALUE. 180 assertTrue(aNumber == Double.MAX_VALUE); 186 * The result is -Double.MAX_VALUE. 200 assertTrue(aNumber == -Double.MAX_VALUE); 440 * The result is Float.MAX_VALUE. 446 assertTrue(aNumber == Float.MAX_VALUE); 453 * The result is -Float.MAX_VALUE. 459 assertTrue(aNumber == -Float.MAX_VALUE); 658 * valueOf (long val): convert Integer.MAX_VALUE to a BigInteger. 661 long longVal = Integer.MAX_VALUE; [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
UVCoordinatesGenerator.java | 283 float maxx = -Float.MAX_VALUE, minx = Float.MAX_VALUE; 284 float maxy = -Float.MAX_VALUE, miny = Float.MAX_VALUE; 285 float maxz = -Float.MAX_VALUE, minz = Float.MAX_VALUE;
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
FloatToFixed.java | 51 private static final float shortSize = Short.MAX_VALUE - Short.MIN_VALUE; 52 private static final float shortOff = (Short.MAX_VALUE + Short.MIN_VALUE) * 0.5f; 54 private static final float byteSize = Byte.MAX_VALUE - Byte.MIN_VALUE; 55 private static final float byteOff = (Byte.MAX_VALUE + Byte.MIN_VALUE) * 0.5f; 274 sb.put( (short) (temp.getX()*Short.MAX_VALUE) ); 275 sb.put( (short) (temp.getY()*Short.MAX_VALUE) );
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaLteServiceStateTracker.java | 141 mcc = Integer.MAX_VALUE; 149 mnc = Integer.MAX_VALUE; 159 tac = Integer.MAX_VALUE; 166 pci = Integer.MAX_VALUE; 173 eci = Integer.MAX_VALUE; 181 csgid = Integer.MAX_VALUE;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
IntegerTest.java | 111 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 129 assertTrue("Failed to throw exception for hex MAX_VALUE + 1", exception); 339 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 393 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 411 assertTrue("Failed to throw exception for hex MAX_VALUE + 1", exception); 448 Integer.MAX_VALUE)); 468 + Integer.toHexString(Integer.MAX_VALUE), Integer.toHexString( 469 Integer.MAX_VALUE).equals("7fffffff")); 482 Integer.MAX_VALUE)); 507 Integer.MAX_VALUE)); [all...] |
LongTest.java | 43 assertEquals("Returned incorrect byte value", -1, new Long(Long.MAX_VALUE) 112 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 130 assertTrue("Failed to throw exception for hex MAX_VALUE + 1", exception); 218 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 274 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 292 assertTrue("Failed to throw exception for hex MAX_VALUE + 1", exception); 329 .toBinaryString(Long.MAX_VALUE) 343 Long.MAX_VALUE)); 356 Long.MAX_VALUE)); 369 assertEquals("Returned incorrect String", "9223372036854775807", new Long(Long.MAX_VALUE) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 118 text, p, Float.MAX_VALUE, "more 1", "%d more").toString()); 272 TextUtils.copySpansFrom(source2, Integer.MAX_VALUE, source2.length() - 1, 282 TextUtils.copySpansFrom(source2, 0, Integer.MAX_VALUE, Object.class, dest6, 0); 302 Object.class, dest6, Integer.MAX_VALUE); 357 TextUtils.ellipsize(text, p, Float.MAX_VALUE, TruncateAt.END).toString()); 486 TextUtils.ellipsize(text, p, Float.MAX_VALUE, TruncateAt.END, true, [all...] |
/cts/tests/tests/text/src/android/text/util/cts/ |
Rfc822TokenizerTest.java | 74 assertEquals(Integer.MAX_VALUE, rfc822Tokenizer.findTokenEnd(text1, Integer.MAX_VALUE));
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
Stats.java | 86 int min = Integer.MAX_VALUE; 130 int min = Integer.MAX_VALUE;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
LookaheadStream.m | 39 public static final int UNINITIALIZED_EOF_ELEMENT_INDEX = Integer.MAX_VALUE;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest1Test.java | 74 // offset + len > Integer.MAX_VALUE 75 md.update(bytes, Integer.MAX_VALUE, 1); 164 // offset + len > Integer.MAX_VALUE 165 md.digest(bytes, Integer.MAX_VALUE, 1);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
RegularContiguousSet.java | 95 return (distance >= Integer.MAX_VALUE) ? Integer.MAX_VALUE : (int) distance + 1;
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
ByteArrayAsListTest.java | 92 Byte[] suffix = {Byte.MIN_VALUE, Byte.MAX_VALUE}; 108 Byte[] prefix = {Byte.MIN_VALUE, Byte.MAX_VALUE};
|
CharArrayAsListTest.java | 92 Character[] suffix = {Character.MIN_VALUE, Character.MAX_VALUE}; 108 Character[] prefix = {Character.MIN_VALUE, Character.MAX_VALUE};
|
DoubleArrayAsListTest.java | 92 Double[] suffix = {Double.MIN_VALUE, Double.MAX_VALUE}; 108 Double[] prefix = {Double.MIN_VALUE, Double.MAX_VALUE};
|
FloatArrayAsListTest.java | 92 Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE}; 108 Float[] prefix = {Float.MIN_VALUE, Float.MAX_VALUE};
|