Searched refs:newCapacity (Results 1 – 9 of 9) sorted by relevance
/aosp14/frameworks/base/core/java/android/text/ |
H A D | AutoGrowArray.java | 100 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() local 101 final byte[] newValues = ArrayUtils.newUnpaddedByteArray(newCapacity); in ensureCapacity() 209 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() local 210 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity() 318 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() local 319 final float[] newValues = ArrayUtils.newUnpaddedFloatArray(newCapacity); in ensureCapacity()
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | IntArray.java | 166 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local 167 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity()
|
H A D | LongArray.java | 143 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local 144 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | MediaMetrics.java | 811 int newCapacity = mBuffer.position() + size; in reserveProperty() local 812 if (newCapacity > Integer.MAX_VALUE >> 1) { in reserveProperty() 814 "Item memory requirements too large: " + newCapacity); in reserveProperty() 816 newCapacity <<= 1; in reserveProperty() 817 ByteBuffer buffer = ByteBuffer.allocateDirect(newCapacity); in reserveProperty()
|
H A D | AudioMetadata.java | 546 int newCapacity = mBuffer.position() + count; in ensureCapacity() local 547 if (newCapacity > Integer.MAX_VALUE >> 1) { in ensureCapacity() 549 "Item memory requirements too large: " + newCapacity); in ensureCapacity() 551 newCapacity <<= 1; in ensureCapacity() 552 ByteBuffer buffer = ByteBuffer.allocateDirect(newCapacity); in ensureCapacity()
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/ |
H A D | WatcherTest.java | 969 int newCapacity, int[] indexes) { in fillNew() argument 970 final int size = newCapacity; in fillNew() 1058 private void matrixSetCapacity(WatchedSparseBooleanMatrix matrix, int newCapacity, in matrixSetCapacity() argument 1061 final int[] indexes = indexer.indexes(Math.max(initialCapacity, newCapacity)); in matrixSetCapacity() 1064 matrix.setCapacity(newCapacity); in matrixSetCapacity() 1065 fillNew(matrix, initialCapacity, newCapacity, indexes); in matrixSetCapacity()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 965 final int newCapacity = oldCapacity * 2; 966 final char[] newChars = new char[newCapacity];
|
/aosp14/frameworks/base/packages/CredentialManager/ |
H A D | profile.txt.prof | 9396 HSPLkotlin/collections/ArrayDeque$Companion;->newCapacity$kotlin_stdlib(II)I
|
/aosp14/frameworks/base/config/ |
H A D | boot-image-profile.txt | 24615 HSPLjava/lang/AbstractStringBuilder;->newCapacity(I)I
|