/frameworks/base/core/java/android/gesture/ |
InstanceLearner.java | 62 weight = Double.MAX_VALUE;
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
MediaSet.java | 43 public long mMinTimestamp = Long.MAX_VALUE; 45 public long mMinAddedTimestamp = Long.MAX_VALUE; 328 return (mMinTimestamp < Long.MAX_VALUE && mMaxTimestamp > 0); 335 return (mMinAddedTimestamp < Long.MAX_VALUE && mMaxAddedTimestamp > 0);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
DefaultCorpusRanker.java | 68 return Integer.MAX_VALUE;
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
FloatTest.java | 127 Float f = new Float(Double.MAX_VALUE); 180 float[] values = new float[] { Float.NEGATIVE_INFINITY, -Float.MAX_VALUE, -2f, 181 -Float.MIN_VALUE, -0f, 0f, Float.MIN_VALUE, 2f, Float.MAX_VALUE, 303 assertTrue(new Float(Float.MAX_VALUE).hashCode() != new Float(Float.MIN_VALUE).hashCode()); 344 assertEquals(Integer.MAX_VALUE, new Float(Float.MAX_VALUE).intValue()); 408 && !Float.isNaN(Float.MAX_VALUE) && !Float.isNaN(Float.MIN_VALUE)); 425 assertEquals(Long.MAX_VALUE, new Float(Float.MAX_VALUE).longValue()); [all...] |
ByteTest.java | 40 assertEquals(new Byte(Byte.MAX_VALUE), Byte.valueOf(Byte.MAX_VALUE)); 44 while (b < Byte.MAX_VALUE) { 479 final Byte max = new Byte(Byte.MAX_VALUE); 603 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 621 assertTrue("Failed to throw exception for hex MAX_VALUE + 1", exception); 788 fail("Failed to throw exception for MAX_VALUE + 1"); 800 fail("Failed to throw exception for hex MAX_VALUE + 1");
|
ShortTest.java | 44 assertEquals("Returned incorrect byte value", -1, new Short(Short.MAX_VALUE) 123 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 141 assertTrue("Failed to throw exception for hex MAX_VALUE + 1", exception); 182 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 263 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 281 assertTrue("Failed to throw exception for hex MAX_VALUE + 1", exception); 414 assertEquals(new Short(Short.MAX_VALUE), Short.valueOf(Short.MAX_VALUE));
|
DoubleTest.java | 261 d= new Double(Byte.MAX_VALUE); 262 assertEquals("Returned incorrect byte value", Byte.MAX_VALUE, d.byteValue()); 265 d= new Double(Double.MAX_VALUE); 280 double[] values = new double[] { Double.NEGATIVE_INFINITY, -Double.MAX_VALUE, -2d, 281 -Double.MIN_VALUE, -0d, 0d, Double.MIN_VALUE, 2d, Double.MAX_VALUE, 320 Double d = new Double(Double.MAX_VALUE); 364 assertEquals(Double.MAX_VALUE, new Double("1.7976931348623157E308").doubleValue()); 385 assertEquals(Float.MAX_VALUE, new Double("3.4028235E38").floatValue()); 426 assertEquals("Returned incorrect int value", Integer.MAX_VALUE, 463 && !(Double.isInfinite(Double.MAX_VALUE))); [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ColorDrawableTest.java | 121 colorDrawable.setChangingConfigurations(Integer.MAX_VALUE); 122 assertEquals(Integer.MAX_VALUE, colorDrawable.getChangingConfigurations());
|
GradientDrawableTest.java | 159 gradientDrawable.setSize(Integer.MAX_VALUE, Integer.MIN_VALUE); 160 assertEquals(Integer.MAX_VALUE, gradientDrawable.getIntrinsicWidth()); 178 gradientDrawable.setShape(Integer.MAX_VALUE); 196 gradientDrawable.setGradientType(Integer.MAX_VALUE); 274 gradientDrawable.setColor(Integer.MAX_VALUE);
|
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 168 mMemoryFile = new MemoryFile("Test File", Integer.MAX_VALUE); 169 assertEquals(Integer.MAX_VALUE, mMemoryFile.length());
|
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 124 text, p, Float.MAX_VALUE, "more 1", "%d more").toString()); 301 TextUtils.copySpansFrom(source2, Integer.MAX_VALUE, source2.length() - 1, 311 TextUtils.copySpansFrom(source2, 0, Integer.MAX_VALUE, Object.class, dest6, 0); 331 Object.class, dest6, Integer.MAX_VALUE); 398 TextUtils.ellipsize(text, p, Float.MAX_VALUE, TruncateAt.END).toString()); 542 TextUtils.ellipsize(text, p, Float.MAX_VALUE, TruncateAt.END, true, [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/packed_switch/ |
Test_packed_switch.java | 56 * @title Argument = Integer.MAX_VALUE 60 assertEquals(-1, t.run(Integer.MAX_VALUE));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/rem_int_lit16/ |
Test_rem_int_lit16.java | 110 * @title Arguments = Short.MAX_VALUE, 1 114 assertEquals(0, t.run(Short.MAX_VALUE));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/rem_int_lit8/ |
Test_rem_int_lit8.java | 110 * @title Arguments = Byte.MAX_VALUE, 1 114 assertEquals(0, t.run(Byte.MAX_VALUE));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/sparse_switch/ |
Test_sparse_switch.java | 56 * @title Argument = Integer.MAX_VALUE 60 assertEquals(-1, t.run(Integer.MAX_VALUE));
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
SerializationStressTest0.java | 386 oos.writeDouble(Double.MAX_VALUE); 390 ois.readDouble() == Double.MAX_VALUE); 405 oos.writeFloat(Float.MAX_VALUE); 409 ois.readFloat() == Float.MAX_VALUE); 426 oos.writeInt(Integer.MAX_VALUE); 430 ois.readInt() == Integer.MAX_VALUE); 446 oos.writeLong(Long.MAX_VALUE); 450 ois.readLong() == Long.MAX_VALUE); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CameraPreview.java | 95 double minDiff = Double.MAX_VALUE; 111 minDiff = Double.MAX_VALUE;
|
/external/apache-http/src/org/apache/http/util/ |
EntityUtils.java | 68 if (entity.getContentLength() > Integer.MAX_VALUE) { 116 if (entity.getContentLength() > Integer.MAX_VALUE) {
|
/external/easymock/src/org/easymock/internal/ |
MocksControl.java | 271 public static final Range AT_LEAST_ONCE = new Range(1, Integer.MAX_VALUE);
276 public static final Range ZERO_OR_MORE = new Range(0, Integer.MAX_VALUE);
|
/external/proguard/src/proguard/evaluation/value/ |
InstructionOffsetValue.java | 91 * Returns <code>Integer.MAX_VALUE</code> if the list is empty. 95 int minimumValue = Integer.MAX_VALUE;
|
/external/proguard/src/proguard/gui/splash/ |
SplashPanel.java | 43 private long startTime = Long.MAX_VALUE; 58 this(sprite, processorLoad, (long)Integer.MAX_VALUE);
|
/external/v8/test/mjsunit/ |
double-equals.js | 42 assertTrue(Number.MAX_VALUE == Number.MAX_VALUE, "MAX == MAX");
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.11.js | 78 array[item++] = new TestCase( SECTION, "Math.max(Infinity, Number.MAX_VALUE)", Number.POSITIVE_INFINITY, Math.max(Number.POSITIVE_INFINITY, Number.MAX_VALUE) );
|
/packages/apps/Email/src/org/apache/commons/io/output/ |
CountingOutputStream.java | 100 if (result > Integer.MAX_VALUE) {
118 if (result > Integer.MAX_VALUE) {
|
/dalvik/libcore/sql/src/test/java/tests/sql/ |
PreparedStatementTest.java | 613 ps.setInt(1, Integer.MAX_VALUE); 617 + Integer.MAX_VALUE); 635 + Integer.MAX_VALUE); 685 ps.setLong(1, Long.MAX_VALUE); 690 + Long.MAX_VALUE); 708 + Long.MAX_VALUE); 834 ps.setDouble(1, Double.MAX_VALUE); 838 + Double.MAX_VALUE); [all...] |