Searched refs:MAX_SIZE (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/location/java/com/android/internal/location/altitude/ |
D | S2CellIdUtils.java | 34 private static final int MAX_SIZE = 1 << MAX_LEVEL; field in S2CellIdUtils 35 private static final double ONE_OVER_MAX_SIZE = 1.0 / MAX_SIZE; 132 boolean iPlusSizeLtMax = iPlusSize < MAX_SIZE; in getEdgeNeighbors() 134 boolean jPlusSizeLtMax = jPlusSize < MAX_SIZE; in getEdgeNeighbors() 303 return Math.max(0, Math.min(MAX_SIZE - 1, (int) Math.round(MAX_SIZE * s - 0.5))); in uToI() 330 int satI = Math.max(-1, Math.min(MAX_SIZE, i)); in iToU() 333 Math.min(UV_LIMIT, ONE_OVER_MAX_SIZE * ((satI << 1) + 1 - MAX_SIZE))); in iToU() 371 return Math.max(0, Math.min(MAX_SIZE - 1, (int) Math.round(MAX_SIZE * s - 0.5))); in uShiftIntoI()
|
/frameworks/base/core/java/android/util/ |
D | MemoryIntArray.java | 55 private static final int MAX_SIZE = 1024; field in MemoryIntArray 72 if (size > MAX_SIZE) { in MemoryIntArray() 73 throw new IllegalArgumentException("Max size is " + MAX_SIZE); in MemoryIntArray() 240 return MAX_SIZE; in getMaxSize()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | CustomPrinterIconCache.java | 44 private final static int MAX_SIZE = 1024; field in CustomPrinterIconCache 154 removeOldFiles(MAX_SIZE); in onCustomPrinterIconLoaded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | TableLogBufferTest.kt | 61 MAX_SIZE, in <lambda>() 696 for (i in 0 until MAX_SIZE + 3) { in <lambda>() 718 for (i in 0 until MAX_SIZE) { in <lambda>() 762 for (i in 0 until MAX_SIZE) { in <lambda>() 816 for (i in 0 until MAX_SIZE) { in <lambda>() 858 for (i in 0 until MAX_SIZE) { in <lambda>() 903 for (i in 0 until MAX_SIZE) { in <lambda>() 1056 private const val MAX_SIZE = 10 constant
|
D | LogDiffsForTableTest.kt | 54 MAX_SIZE, in setUp() 1440 const val MAX_SIZE = 50 constant
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 2209 private static final int MAX_SIZE = 8; 2231 private final ArrayDeque<RotationLockHistory.Record> mRecords = new ArrayDeque<>(MAX_SIZE); 2235 if (mRecords.size() >= MAX_SIZE) { 2243 private static final int MAX_SIZE = 8; field in DisplayRotation.RotationHistory 2337 final ArrayDeque<Record> mRecords = new ArrayDeque<>(MAX_SIZE); 2340 if (mRecords.size() >= MAX_SIZE) { in addRecord()
|
/frameworks/av/media/codec2/core/include/ |
D | C2ParamDef.h | 191 … MAX_SIZE = (uint32_t)std::min((size_t)UINT32_MAX, SIZE_MAX), // TODO: is this always u32 max? 198 if (flexCount <= (MAX_SIZE - size) / S::FLEX_SIZE) {
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 251 static final int MAX_SIZE = 100000; field in GridLayout 1274 private MutableInt parentMax = new MutableInt(-MAX_SIZE); 1889 return getMeasure(0, MAX_SIZE); 2421 return MAX_SIZE;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 57400 Landroid/util/MemoryIntArray;->MAX_SIZE:I 67260 Landroid/widget/GridLayout;->MAX_SIZE:I
|