Searched refs:newCapacity (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/text/ |
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()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | SimPhonebookRecordCache.java | 426 private void handlePhonebookCapacityChanged(AdnCapacity newCapacity) { in handlePhonebookCapacityChanged() argument 428 mAdnCapacity.set(newCapacity); in handlePhonebookCapacityChanged() 429 if (oldCapacity == null && newCapacity != null) { in handlePhonebookCapacityChanged() 430 if (newCapacity.getMaxAdnCount() > 0){ in handlePhonebookCapacityChanged() 439 if (newCapacity != null && newCapacity.getMaxAdnCount() == 0) { in handlePhonebookCapacityChanged()
|
/frameworks/base/core/java/android/util/ |
D | IntArray.java | 166 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local 167 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity()
|
D | LongArray.java | 143 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local 144 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetrics.java | 763 int newCapacity = mBuffer.position() + size; in reserveProperty() local 764 if (newCapacity > Integer.MAX_VALUE >> 1) { in reserveProperty() 766 "Item memory requirements too large: " + newCapacity); in reserveProperty() 768 newCapacity <<= 1; in reserveProperty() 769 ByteBuffer buffer = ByteBuffer.allocateDirect(newCapacity); in reserveProperty()
|
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()
|
/frameworks/av/media/extractors/mpeg2/ |
D | MPEG2PSExtractor.cpp | 178 size_t newCapacity = mBuffer->capacity() + kChunkSize; in feedMore() local 179 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in feedMore()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 2431 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/ |
D | PointerLocationView.java | 952 final int newCapacity = oldCapacity * 2; 953 final char[] newChars = new char[newCapacity];
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 2262 static uint8_t* reallocZeroFree(uint8_t* data, size_t oldCapacity, size_t newCapacity, bool zero) { in reallocZeroFree() argument 2264 return (uint8_t*)realloc(data, newCapacity); in reallocZeroFree() 2266 uint8_t* newData = (uint8_t*)malloc(newCapacity); in reallocZeroFree() 2271 memcpy(newData, data, std::min(oldCapacity, newCapacity)); in reallocZeroFree()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 24450 HSPLjava/lang/AbstractStringBuilder;->newCapacity(I)I
|