Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/android/util/
DPools.java80 private int mPoolSize; field in Pools.SimplePool
99 if (mPoolSize > 0) { in acquire()
100 final int lastPooledIndex = mPoolSize - 1; in acquire()
103 mPoolSize--; in acquire()
114 if (mPoolSize < mPool.length) { in release()
115 mPool[mPoolSize] = instance; in release()
116 mPoolSize++; in release()
123 for (int i = 0; i < mPoolSize; i++) { in isInPool()
/packages/apps/Camera2/src/android/util/
DPools.java80 private int mPoolSize; field in Pools.SimplePool
99 if (mPoolSize > 0) { in acquire()
100 final int lastPooledIndex = mPoolSize - 1; in acquire()
103 mPoolSize--; in acquire()
114 if (mPoolSize < mPool.length) { in release()
115 mPool[mPoolSize] = instance; in release()
116 mPoolSize++; in release()
123 for (int i = 0; i < mPoolSize; i++) { in isInPool()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBytesBufferPool.java64 private final int mPoolSize; field in BytesBufferPool
70 mPoolSize = poolSize; in BytesBufferPool()
81 if (mList.size() < mPoolSize) { in recycle()