Home
last modified time | relevance | path

Searched refs:BASE_SIZE (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/util/
DArraySet.java59 private static final int BASE_SIZE = 4; field in ArraySet
166 if (size == (BASE_SIZE * 2)) { in allocArrays()
191 } else if (size == BASE_SIZE) { in allocArrays()
224 if (hashes.length == (BASE_SIZE * 2)) { in freeArrays()
240 } else if (hashes.length == BASE_SIZE) { in freeArrays()
436 final int n = mSize >= (BASE_SIZE * 2) ? (mSize + (mSize >> 1)) in add()
437 : (mSize >= BASE_SIZE ? (BASE_SIZE * 2) : BASE_SIZE); in add()
535 return mHashes.length > (BASE_SIZE * 2) && mSize < mHashes.length / 3; in shouldShrink()
545 return mSize > (BASE_SIZE * 2) ? (mSize + (mSize >> 1)) : (BASE_SIZE * 2); in getNewShrunkenSize()
DArrayMap.java72 private static final int BASE_SIZE = 4; field in ArrayMap
211 if (size == (BASE_SIZE*2)) { in allocArrays()
225 } else if (size == BASE_SIZE) { in allocArrays()
247 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
261 } else if (hashes.length == BASE_SIZE) { in freeArrays()
551 final int n = osize >= (BASE_SIZE*2) ? (osize+(osize>>1)) in put()
552 : (osize >= BASE_SIZE ? (BASE_SIZE*2) : BASE_SIZE); in put()
727 if (mHashes.length > (BASE_SIZE*2) && mSize < mHashes.length/3) { in removeAt()
731 final int n = osize > (BASE_SIZE*2) ? (osize + (osize>>1)) : (BASE_SIZE*2); in removeAt()
/frameworks/av/media/codec2/core/include/
DC2ParamDef.h190 BASE_SIZE = sizeof(S) + sizeof(C2Param), ///< size of the base param
194 inline static size_t CalcSize(size_t flexCount, size_t size = BASE_SIZE) {
266 static_assert(sizeof(_Type) == _Type::BASE_SIZE, "incorrect BASE_SIZE"); \
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt71511 Landroid/util/ArrayMap;->BASE_SIZE:I
71523 Landroid/util/ArraySet;->BASE_SIZE:I