/frameworks/base/core/java/android/text/ |
D | AutoGrowArray.java | 66 public ByteArray(@IntRange(from = 0) int initialCapacity) { in ByteArray() 67 if (initialCapacity == 0) { in ByteArray() 70 mValues = ArrayUtils.newUnpaddedByteArray(initialCapacity); in ByteArray() 175 public IntArray(@IntRange(from = 0) int initialCapacity) { in IntArray() 176 if (initialCapacity == 0) { in IntArray() 179 mValues = ArrayUtils.newUnpaddedIntArray(initialCapacity); in IntArray() 284 public FloatArray(@IntRange(from = 0) int initialCapacity) { in FloatArray() 285 if (initialCapacity == 0) { in FloatArray() 288 mValues = ArrayUtils.newUnpaddedFloatArray(initialCapacity); in FloatArray()
|
/frameworks/base/core/java/android/net/metrics/ |
D | DnsEvent.java | 53 public DnsEvent(int netId, long transports, int initialCapacity) { in DnsEvent() argument 56 eventTypes = new byte[initialCapacity]; in DnsEvent() 57 returnCodes = new byte[initialCapacity]; in DnsEvent() 58 latenciesMs = new int[initialCapacity]; in DnsEvent()
|
/frameworks/base/core/java/android/util/ |
D | LongArrayQueue.java | 45 public LongArrayQueue(int initialCapacity) { in LongArrayQueue() argument 46 if (initialCapacity == 0) { in LongArrayQueue() 49 mValues = ArrayUtils.newUnpaddedLongArray(initialCapacity); in LongArrayQueue()
|
D | LongSparseArray.java | 74 public LongSparseArray(int initialCapacity) { in LongSparseArray() argument 75 if (initialCapacity == 0) { in LongSparseArray() 79 mKeys = ArrayUtils.newUnpaddedLongArray(initialCapacity); in LongSparseArray() 80 mValues = ArrayUtils.newUnpaddedObjectArray(initialCapacity); in LongSparseArray()
|
D | IntArray.java | 52 public IntArray(int initialCapacity) { in IntArray() argument 53 if (initialCapacity == 0) { in IntArray() 56 mValues = ArrayUtils.newUnpaddedIntArray(initialCapacity); in IntArray()
|
D | LongSparseLongArray.java | 71 public LongSparseLongArray(int initialCapacity) { in LongSparseLongArray() argument 72 if (initialCapacity == 0) { in LongSparseLongArray() 76 mKeys = ArrayUtils.newUnpaddedLongArray(initialCapacity); in LongSparseLongArray()
|
D | SparseIntArray.java | 71 public SparseIntArray(int initialCapacity) { in SparseIntArray() argument 72 if (initialCapacity == 0) { in SparseIntArray() 76 mKeys = ArrayUtils.newUnpaddedIntArray(initialCapacity); in SparseIntArray()
|
D | SparseLongArray.java | 64 public SparseLongArray(int initialCapacity) { in SparseLongArray() argument 65 if (initialCapacity == 0) { in SparseLongArray() 69 mValues = ArrayUtils.newUnpaddedLongArray(initialCapacity); in SparseLongArray()
|
D | LongArray.java | 56 public LongArray(int initialCapacity) { in LongArray() argument 57 if (initialCapacity == 0) { in LongArray() 60 mValues = ArrayUtils.newUnpaddedLongArray(initialCapacity); in LongArray()
|
D | SparseBooleanArray.java | 63 public SparseBooleanArray(int initialCapacity) { in SparseBooleanArray() argument 64 if (initialCapacity == 0) { in SparseBooleanArray() 68 mKeys = ArrayUtils.newUnpaddedIntArray(initialCapacity); in SparseBooleanArray()
|
D | SparseArray.java | 81 public SparseArray(int initialCapacity) { in SparseArray() argument 82 if (initialCapacity == 0) { in SparseArray() 86 mValues = ArrayUtils.newUnpaddedObjectArray(initialCapacity); in SparseArray()
|
/frameworks/base/core/java/android/database/ |
D | MatrixCursor.java | 45 public MatrixCursor(String[] columnNames, int initialCapacity) { in MatrixCursor() argument 49 if (initialCapacity < 1) { in MatrixCursor() 50 initialCapacity = 1; in MatrixCursor() 53 this.data = new Object[columnCount * initialCapacity]; in MatrixCursor()
|
/frameworks/base/core/java/com/android/internal/infra/ |
D | AbstractMultiplePendingRequestsRemoteService.java | 47 int bindingFlags, boolean verbose, int initialCapacity) { in AbstractMultiplePendingRequestsRemoteService() argument 50 mInitialCapacity = initialCapacity; in AbstractMultiplePendingRequestsRemoteService()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LineBreakBufferedWriter.java | 79 public LineBreakBufferedWriter(Writer out, int bufferSize, int initialCapacity) { in LineBreakBufferedWriter() argument 81 this.buffer = new char[Math.min(initialCapacity, bufferSize)]; in LineBreakBufferedWriter()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | SparseWeakArray.java | 62 public SparseWeakArray(int initialCapacity) { in SparseWeakArray() argument 63 mKeys = ArrayUtils.newUnpaddedLongArray(initialCapacity); in SparseWeakArray()
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | CompositeCursorAdapter.java | 74 public CompositeCursorAdapter(Context context, int initialCapacity) { in CompositeCursorAdapter() argument
|