Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/util/
DCircularIntArray.java31 int newCapacity = n << 1; in doubleCapacity() local
32 if (newCapacity < 0) { in doubleCapacity()
35 int[] a = new int[newCapacity]; in doubleCapacity()
41 mCapacityBitmask = newCapacity - 1; in doubleCapacity()
DCircularArray.java30 int newCapacity = n << 1; in doubleCapacity() local
31 if (newCapacity < 0) { in doubleCapacity()
34 Object[] a = new Object[newCapacity]; in doubleCapacity()
40 mCapacityBitmask = newCapacity - 1; in doubleCapacity()
/frameworks/base/core/java/android/util/
DLongArray.java99 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local
100 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity()
DIntArray.java119 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local
120 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity()
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2PSExtractor.cpp170 size_t newCapacity = mBuffer->capacity() + kChunkSize; in feedMore() local
171 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in feedMore()
DATSParser.cpp1668 size_t newCapacity = in append() local
1671 newCapacity = (newCapacity + 1023) & ~1023; in append()
1673 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java870 final int newCapacity = oldCapacity * 2;
871 final char[] newChars = new char[newCapacity];
/frameworks/av/media/libstagefright/
DAVIExtractor.cpp252 size_t newCapacity = in append() local
255 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append()