| /packages/apps/Gallery2/src/com/android/gallery3d/data/ |
| SecureAlbum.java | 37 private int mMinImageId = Integer.MAX_VALUE; // the smallest id of images 39 private int mMinVideoId = Integer.MAX_VALUE; // the smallest id of videos 135 if (minId == Integer.MAX_VALUE || maxId == Integer.MIN_VALUE) return ids;
|
| /art/compiler/optimizing/ |
| induction_var_range_test.cc | 614 const int32_t max_value = std::numeric_limits<int32_t>::max(); local 615 ExpectEqual(Value(max_value), AddValue(Value(max_value - 5), Value(5))); 616 ExpectEqual(Value(), AddValue(Value(max_value - 5), Value(6))); // unsafe 642 const int32_t max_value = std::numeric_limits<int32_t>::max(); local 647 ExpectEqual(Value(), MulValue(Value(min_value), Value(max_value))); 648 ExpectEqual(Value(), MulValue(Value(max_value), Value(max_value))); 652 ExpectEqual(Value(max_value), MulValue(Value(max_value), Value(1))) 669 const int32_t max_value = std::numeric_limits<int32_t>::max(); local 709 const int32_t max_value = std::numeric_limits<int32_t>::max(); local [all...] |
| /libcore/luni/src/test/java/libcore/java/sql/ |
| OldPreparedStatementTest.java | 490 ps.setInt(1, Integer.MAX_VALUE); 494 + Integer.MAX_VALUE); 510 + Integer.MAX_VALUE); 546 ps.setLong(1, Long.MAX_VALUE); 549 st.execute("select * from type where LongVal=" + Long.MAX_VALUE); 563 st.execute("select * from type where LongVal=" + Long.MAX_VALUE); 655 ps.setDouble(1, Double.MAX_VALUE); 659 + Double.MAX_VALUE); [all...] |
| /art/test/906-iterate-heap/src/art/ |
| Test906.java | 42 int all = iterateThroughHeapCount(0, null, Integer.MAX_VALUE); 43 int tagged = iterateThroughHeapCount(HEAP_FILTER_OUT_UNTAGGED, null, Integer.MAX_VALUE); 44 int untagged = iterateThroughHeapCount(HEAP_FILTER_OUT_TAGGED, null, Integer.MAX_VALUE); 46 Integer.MAX_VALUE); 48 Integer.MAX_VALUE);
|
| /external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/ |
| BsPatch.java | 102 if (oldSize > Integer.MAX_VALUE) { 106 if (newSize < 0 || newSize > Integer.MAX_VALUE) { 137 if (diffSegmentLength < 0 || diffSegmentLength > Integer.MAX_VALUE) { 140 if (copySegmentLength < 0 || copySegmentLength > Integer.MAX_VALUE) { 143 if (offsetToNextInput < Integer.MIN_VALUE || offsetToNextInput > Integer.MAX_VALUE) {
|
| /external/guava/guava-tests/test/com/google/common/util/concurrent/ |
| AtomicDoubleArrayTest.java | 27 -Double.MAX_VALUE, 38 (double) Integer.MAX_VALUE, 39 (double) Long.MAX_VALUE, 40 Double.MAX_VALUE, 43 Float.MAX_VALUE,
|
| /external/icu/android_icu4j/src/main/java/android/icu/lang/ |
| UCharacterNameIterator.java | 133 * UCharacter.MIN_VALUE and end at UCharacter.MAX_VALUE.</p> 136 * UCharacter.MAX_VALUE, next(element) will always return false. 157 if (limit > UCharacter.MAX_VALUE + 1) { 158 m_limit_ = UCharacter.MAX_VALUE + 1; 183 m_limit_ = UCharacter.MAX_VALUE + 1;
|
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
| UCharacterNameIterator.java | 133 * UCharacter.MIN_VALUE and end at UCharacter.MAX_VALUE.</p> 136 * UCharacter.MAX_VALUE, next(element) will always return false. 157 if (limit > UCharacter.MAX_VALUE + 1) { 158 m_limit_ = UCharacter.MAX_VALUE + 1; 183 m_limit_ = UCharacter.MAX_VALUE + 1;
|
| /frameworks/base/core/java/com/android/internal/util/ |
| FileRotator.java | 306 long oldestActiveStart = Long.MAX_VALUE; 325 info.endMillis = Long.MAX_VALUE; 433 endMillis = Long.MAX_VALUE; 450 if (endMillis != Long.MAX_VALUE) { 460 return endMillis == Long.MAX_VALUE;
|
| /frameworks/base/media/java/android/media/ |
| MicrophoneInfo.java | 110 -Float.MAX_VALUE, -Float.MAX_VALUE, -Float.MAX_VALUE); 120 public static final float SENSITIVITY_UNKNOWN = -Float.MAX_VALUE; 126 public static final float SPL_UNKNOWN = -Float.MAX_VALUE;
|
| /frameworks/base/tests/net/java/android/net/ |
| NetworkStatsHistoryTest.java | 93 entry = history.getValues(Long.MIN_VALUE, Long.MAX_VALUE, entry); 432 assertEquals(Long.MAX_VALUE, performVarLong(Long.MAX_VALUE)); 434 assertEquals(Long.MAX_VALUE - 40, performVarLong(Long.MAX_VALUE - 40)); 477 assertIndexBeforeAfter(stats, 4, 4, Long.MAX_VALUE); 501 assertFalse(stats.intersects(Long.MAX_VALUE, Long.MIN_VALUE)); 503 assertTrue(stats.intersects(Long.MIN_VALUE, Long.MAX_VALUE)); 507 assertTrue(stats.intersects(TEST_START + DAY_IN_MILLIS, Long.MAX_VALUE)); 508 assertTrue(stats.intersects(TEST_START + 1, Long.MAX_VALUE)); [all...] |
| /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
| ScrollController.java | 353 /** update scroll max and maxEdge, Integer.MAX_VALUE means unknown*/ 361 || mScrollMax == Integer.MAX_VALUE) { 369 mScrollMax = Integer.MAX_VALUE; 370 mMaxEdge = Integer.MAX_VALUE; 371 mTouchScrollMax = Integer.MAX_VALUE; 423 mScrollMax = Integer.MAX_VALUE; 424 mMaxEdge = Integer.MAX_VALUE; 425 mTouchScrollMax = Integer.MAX_VALUE; 435 return mScrollMax == Integer.MAX_VALUE; 775 Integer.MAX_VALUE, [all...] |
| /frameworks/rs/script_api/include/ |
| rs_math.rsh | 728 * if value < min_value, max_value if value > max_value, otherwise value. 733 * If min_value is greater than max_value, the results are undefined. 738 * max_value: High bound, must match the type of low. 741 clamp(float value, float min_value, float max_value); 744 clamp(float2 value, float2 min_value, float2 max_value); 747 clamp(float3 value, float3 min_value, float3 max_value); 750 clamp(float4 value, float4 min_value, float4 max_value); 753 clamp(float2 value, float min_value, float max_value); 756 clamp(float3 value, float min_value, float max_value); [all...] |
| /prebuilts/sdk/renderscript/include/ |
| rs_math.rsh | 728 * if value < min_value, max_value if value > max_value, otherwise value. 733 * If min_value is greater than max_value, the results are undefined. 738 * max_value: High bound, must match the type of low. 741 clamp(float value, float min_value, float max_value); 744 clamp(float2 value, float2 min_value, float2 max_value); 747 clamp(float3 value, float3 min_value, float3 max_value); 750 clamp(float4 value, float4 min_value, float4 max_value); 753 clamp(float2 value, float min_value, float max_value); 756 clamp(float3 value, float min_value, float max_value); [all...] |
| /libcore/json/src/test/java/libcore/org/json/ |
| JSONArrayTest.java | 208 array.put(Double.MAX_VALUE); 217 assertEquals(Double.MAX_VALUE, array.get(2)); 221 assertEquals(Double.MAX_VALUE, array.getDouble(2)); 225 assertEquals(Long.MAX_VALUE, array.getLong(2)); 229 assertEquals(Integer.MAX_VALUE, array.getInt(2)); 243 other.put(Double.MAX_VALUE); 291 assertEquals(Integer.MAX_VALUE, array.getInt(2));
|
| JSONObjectTest.java | 108 assertEquals(Long.MAX_VALUE-1, object.optLong("foo", Long.MAX_VALUE-1)); 157 object.put("bar", Long.MAX_VALUE - 1); 158 assertEquals(Long.MAX_VALUE - 1, object.get("bar")); 272 object.put("baz", Double.MAX_VALUE); 287 assertEquals(Double.MAX_VALUE, object.get("baz")); 291 assertEquals(Double.MAX_VALUE, object.getDouble("baz")); 295 assertEquals(Long.MAX_VALUE, object.getLong("baz")); 299 assertEquals(Integer.MAX_VALUE, object.getInt("baz")); 303 assertEquals(Double.MAX_VALUE, object.optDouble("baz")) [all...] |
| /packages/apps/Launcher3/src/com/android/launcher3/model/ |
| GridSizeMigrationTask.java | 265 int removedCol = Integer.MAX_VALUE; 266 int removedRow = Integer.MAX_VALUE; 271 // Start with Float.MAX_VALUE (assuming full data) and pick the configuration with least 273 float removeWt = Float.MAX_VALUE; 274 float moveWt = Float.MAX_VALUE; 377 col = mShouldRemoveX ? col : Integer.MAX_VALUE; 378 row = mShouldRemoveY ? row : Integer.MAX_VALUE; 417 float lowestWeightLoss = Float.MAX_VALUE; 418 float lowestMoveCost = Float.MAX_VALUE; 548 int newDistance = Integer.MAX_VALUE; [all...] |
| /libcore/ojluni/src/main/java/java/util/ |
| Random.java | 623 (this, 0L, streamSize, Integer.MAX_VALUE, 0), 635 * ints(Long.MAX_VALUE)}. 643 (this, 0L, Long.MAX_VALUE, Integer.MAX_VALUE, 0), 714 * ints(Long.MAX_VALUE, randomNumberOrigin, randomNumberBound)}. 729 (this, 0L, Long.MAX_VALUE, randomNumberOrigin, randomNumberBound), 751 (this, 0L, streamSize, Long.MAX_VALUE, 0L), 763 * longs(Long.MAX_VALUE)}. 771 (this, 0L, Long.MAX_VALUE, Long.MAX_VALUE, 0L) [all...] |
| /libcore/ojluni/src/main/java/java/util/stream/ |
| Streams.java | 63 // is Integer.MAX_VALUE 120 // Ensure ranges of size > Integer.MAX_VALUE report the correct size 158 * implemented as range of 0 to Integer.MAX_VALUE but is likely to be 183 * than Long.MAX_VALUE 187 // is Long.MAX_VALUE 282 * implemented as range of 0 to Long.MAX_VALUE but is likely to be 296 // 2 <= size <= Long.MAX_VALUE 749 // If one or both estimates are Long.MAX_VALUE then the sum 750 // will either be Long.MAX_VALUE or overflow to a negative value 752 return (size >= 0) ? size : Long.MAX_VALUE; [all...] |
| /libcore/ojluni/src/test/java/time/test/java/time/ |
| TestOffsetDateTime_instants.java | 140 doTest_factory_ofInstant_all(Year.MAX_VALUE - 420, Year.MAX_VALUE); 146 long year = Year.MAX_VALUE + 1L; 187 int year = Year.MAX_VALUE; 191 assertEquals(test.getYear(), Year.MAX_VALUE); 203 int year = Year.MAX_VALUE; 207 assertEquals(test.getYear(), Year.MAX_VALUE); 220 Instant instant = Instant.ofEpochSecond(Long.MAX_VALUE); 226 Instant instant = Instant.ofEpochSecond(Long.MAX_VALUE); 238 final LocalDate maxDate = LocalDate.of(Year.MAX_VALUE, 12, 31) [all...] |
| /libcore/ojluni/src/test/java/time/tck/java/time/ |
| TCKLocalDate.java | 223 check(LocalDate.MAX, Year.MAX_VALUE, 12, 31); 490 assertEquals(LocalDate.ofEpochDay(MAX_VALID_EPOCHDAYS), LocalDate.of(Year.MAX_VALUE, 12, 31)); [all...] |
| /external/guava/guava-tests/test/com/google/common/collect/ |
| Collections2Test.java | 298 assertEquals(Integer.MAX_VALUE, Collections2.orderedPermutations( 301 assertEquals(Integer.MAX_VALUE, Collections2.orderedPermutations( 309 assertEquals(Integer.MAX_VALUE, Collections2.orderedPermutations( 442 assertEquals(Integer.MAX_VALUE, Collections2.permutations(newArrayList( 445 assertEquals(Integer.MAX_VALUE, Collections2.orderedPermutations( 448 assertEquals(Integer.MAX_VALUE, Collections2.orderedPermutations(
|
| /external/mesa3d/src/mesa/state_tracker/ |
| st_cb_perfmon.c | 407 c->Maximum.u64 = info.max_value.u64 ? info.max_value.u64 : -1; 412 c->Maximum.u32 = info.max_value.u32 ? info.max_value.u32 : -1; 417 c->Maximum.f = info.max_value.f ? info.max_value.f : -1;
|
| /external/tensorflow/tensorflow/core/kernels/ |
| adjust_contrast_op.cc | 50 const Tensor& max_value = context->input(3); variable 64 OP_REQUIRES(context, TensorShapeUtils::IsScalar(max_value.shape()), 65 errors::InvalidArgument("max_value must be scalar: ", 66 max_value.shape().DebugString())); 83 max_value.scalar<float>(), mean_values.shaped<float, 4>(shape), 112 typename TTypes<float>::ConstScalar max_value, \
|
| /cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/ |
| SustainedPerformanceHostTest.java | 59 private double dhryMin = Double.MAX_VALUE, dhryMax = Double.MIN_VALUE; 117 double min = Double.MAX_VALUE, max = Double.MIN_VALUE; 162 dhryMin = Double.MAX_VALUE;
|