Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/android/util/
DPools.java78 private final Object[] mPool; field in Pools.SimplePool
93 mPool = new Object[maxPoolSize]; in SimplePool()
101 T instance = (T) mPool[lastPooledIndex]; in acquire()
102 mPool[lastPooledIndex] = null; in acquire()
114 if (mPoolSize < mPool.length) { in release()
115 mPool[mPoolSize] = instance; in release()
124 if (mPool[i] == instance) { in isInPool()
/packages/apps/Launcher3/WallpaperPicker/src/android/util/
DPools.java78 private final Object[] mPool; field in Pools.SimplePool
93 mPool = new Object[maxPoolSize]; in SimplePool()
101 T instance = (T) mPool[lastPooledIndex]; in acquire()
102 mPool[lastPooledIndex] = null; in acquire()
114 if (mPoolSize < mPool.length) { in release()
115 mPool[mPoolSize] = instance; in release()
124 if (mPool[i] == instance) { in isInPool()
/packages/apps/Camera2/src/android/util/
DPools.java78 private final Object[] mPool; field in Pools.SimplePool
93 mPool = new Object[maxPoolSize]; in SimplePool()
101 T instance = (T) mPool[lastPooledIndex]; in acquire()
102 mPool[lastPooledIndex] = null; in acquire()
114 if (mPoolSize < mPool.length) { in release()
115 mPool[mPoolSize] = instance; in release()
124 if (mPool[i] == instance) { in isInPool()
/packages/apps/UnifiedEmail/src/com/android/bitmap/
DAltPooledCache.java45 private final LinkedBlockingQueue<V> mPool; field in AltPooledCache
58 mPool = new LinkedBlockingQueue<V>(); in AltPooledCache()
102 mPool.offer(value); in offer()
107 final V pooled = mPool.poll(); in poll()
156 sb.append(mPool.size()); in toDebugString()
164 for (V val : mPool) { in toDebugString()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java38 private final ThreadPool mPool; field in JobLimiter
132 mPool = Utils.checkNotNull(pool); in JobLimiter()
149 wrapper.setFuture(mPool.submit(wrapper, this)); in submitTasksIfAllowed()