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.java64 private static final int BASE_SIZE = 4; field in ArraySet
186 if (size == (BASE_SIZE * 2)) { in allocArrays()
213 } else if (size == BASE_SIZE) { in allocArrays()
252 if (hashes.length == (BASE_SIZE * 2)) { in freeArrays()
268 } else if (hashes.length == BASE_SIZE) { in freeArrays()
473 final int n = oSize >= (BASE_SIZE * 2) ? (oSize + (oSize >> 1)) in add()
474 : (oSize >= BASE_SIZE ? (BASE_SIZE * 2) : BASE_SIZE); in add()
589 return mHashes.length > (BASE_SIZE * 2) && mSize < mHashes.length / 3; in shouldShrink()
599 return mSize > (BASE_SIZE * 2) ? (mSize + (mSize >> 1)) : (BASE_SIZE * 2); in getNewShrunkenSize()
DArrayMap.java78 private static final int BASE_SIZE = 4; field in ArrayMap
223 if (size == (BASE_SIZE*2)) { in allocArrays()
250 } else if (size == BASE_SIZE) { in allocArrays()
289 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
305 } else if (hashes.length == BASE_SIZE) { in freeArrays()
597 final int n = osize >= (BASE_SIZE*2) ? (osize+(osize>>1)) in put()
598 : (osize >= BASE_SIZE ? (BASE_SIZE*2) : BASE_SIZE); in put()
773 if (mHashes.length > (BASE_SIZE*2) && mSize < mHashes.length/3) { in removeAt()
777 final int n = osize > (BASE_SIZE*2) ? (osize + (osize>>1)) : (BASE_SIZE*2); in removeAt()
/frameworks/av/media/codec2/core/include/
DC2ParamDef.h193 BASE_SIZE = sizeof(S) + sizeof(C2Param), ///< size of the base param
197 inline static size_t CalcSize(size_t flexCount, size_t size = BASE_SIZE) {
269 static_assert(sizeof(_Type) == _Type::BASE_SIZE, "incorrect BASE_SIZE"); \
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt57488 Landroid/util/ArrayMap;->BASE_SIZE:I
57500 Landroid/util/ArraySet;->BASE_SIZE:I