Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DArraySet.java368 final int oSize = mSize; in ensureCapacity() local
379 if (mSize != oSize) { in ensureCapacity()
455 final int oSize = mSize; in add() local
470 if (oSize >= mHashes.length) { in add()
471 final int n = oSize >= (BASE_SIZE * 2) ? (oSize + (oSize >> 1)) in add()
472 : (oSize >= BASE_SIZE ? (BASE_SIZE * 2) : BASE_SIZE); in add()
480 if (oSize != mSize) { in add()
485 if (DEBUG) Log.d(TAG, "add: copy 0-" + oSize + " to 0"); in add()
490 freeArrays(ohashes, oarray, oSize); in add()
493 if (index < oSize) { in add()
[all …]