Home
last modified time | relevance | path

Searched refs:minCapacity (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/v4/java/android/support/v4/util/
DCircularArray.java55 public CircularArray(int minCapacity) { in CircularArray() argument
56 if (minCapacity <= 0) { in CircularArray()
59 int arrayCapacity = minCapacity; in CircularArray()
62 if (Integer.bitCount(minCapacity) != 1) { in CircularArray()
63 arrayCapacity = 1 << (Integer.highestOneBit(minCapacity) + 1); in CircularArray()
/frameworks/base/core/java/android/util/
DIntArray.java96 final int minCapacity = currentSize + count; in ensureCapacity() local
97 if (minCapacity >= mValues.length) { in ensureCapacity()
100 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity()
DLongArray.java95 final int minCapacity = currentSize + count; in ensureCapacity() local
96 if (minCapacity >= mValues.length) { in ensureCapacity()
99 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity()