Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/util/
DSimpleArrayMap.java39 private static final int BASE_SIZE = 4; field in SimpleArrayMap
138 if (size == (BASE_SIZE*2)) { in allocArrays()
152 } else if (size == BASE_SIZE) { in allocArrays()
173 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
187 } else if (hashes.length == BASE_SIZE) { in freeArrays()
392 final int n = mSize >= (BASE_SIZE*2) ? (mSize+(mSize>>1)) in put()
393 : (mSize >= BASE_SIZE ? (BASE_SIZE*2) : BASE_SIZE); in put()
474 if (mHashes.length > (BASE_SIZE*2) && mSize < mHashes.length/3) { in removeAt()
478 final int n = mSize > (BASE_SIZE*2) ? (mSize + (mSize>>1)) : (BASE_SIZE*2); in removeAt()
/frameworks/base/core/java/android/util/
DArraySet.java56 private static final int BASE_SIZE = 4; field in ArraySet
156 if (size == (BASE_SIZE*2)) { in allocArrays()
170 } else if (size == BASE_SIZE) { in allocArrays()
191 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
205 } else if (hashes.length == BASE_SIZE) { in freeArrays()
357 final int n = mSize >= (BASE_SIZE*2) ? (mSize+(mSize>>1)) in add()
358 : (mSize >= BASE_SIZE ? (BASE_SIZE*2) : BASE_SIZE); in add()
439 if (mHashes.length > (BASE_SIZE*2) && mSize < mHashes.length/3) { in removeAt()
443 final int n = mSize > (BASE_SIZE*2) ? (mSize + (mSize>>1)) : (BASE_SIZE*2); in removeAt()
DArrayMap.java55 private static final int BASE_SIZE = 4; field in ArrayMap
168 if (size == (BASE_SIZE*2)) { in allocArrays()
182 } else if (size == BASE_SIZE) { in allocArrays()
203 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
217 } else if (hashes.length == BASE_SIZE) { in freeArrays()
452 final int n = mSize >= (BASE_SIZE*2) ? (mSize+(mSize>>1)) in put()
453 : (mSize >= BASE_SIZE ? (BASE_SIZE*2) : BASE_SIZE); in put()
600 if (mHashes.length > (BASE_SIZE*2) && mSize < mHashes.length/3) { in removeAt()
604 final int n = mSize > (BASE_SIZE*2) ? (mSize + (mSize>>1)) : (BASE_SIZE*2); in removeAt()