Home
last modified time | relevance | path

Searched refs:newCapacity (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/text/
DAutoGrowArray.java100 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()
/frameworks/base/core/java/android/util/
DIntArray.java155 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local
156 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity()
DLongArray.java142 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local
143 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity()
/frameworks/base/media/java/android/media/
DMediaMetrics.java775 int newCapacity = mBuffer.position() + size; in reserveProperty() local
776 if (newCapacity > Integer.MAX_VALUE >> 1) { in reserveProperty()
778 "Item memory requirements too large: " + newCapacity); in reserveProperty()
780 newCapacity <<= 1; in reserveProperty()
781 ByteBuffer buffer = ByteBuffer.allocateDirect(newCapacity); in reserveProperty()
DAudioMetadata.java491 int newCapacity = mBuffer.position() + count; in ensureCapacity() local
492 if (newCapacity > Integer.MAX_VALUE >> 1) { in ensureCapacity()
494 "Item memory requirements too large: " + newCapacity); in ensureCapacity()
496 newCapacity <<= 1; in ensureCapacity()
497 ByteBuffer buffer = ByteBuffer.allocateDirect(newCapacity); in ensureCapacity()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp2431 size_t newCapacity = in append() local
2434 newCapacity = (newCapacity + 1023) & ~1023; in append()
2436 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java949 final int newCapacity = oldCapacity * 2;
950 final char[] newChars = new char[newCapacity];
/frameworks/base/config/
Dboot-image-profile.txt32617 HSPLjava/lang/AbstractStringBuilder;->newCapacity(I)I