Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DByteArrayPool.java22 public final class ByteArrayPool { class
27 private final static ByteArrayPool sChunk16K = new ByteArrayPool(CHUNK16K, DEFAULT_MAX_NUM);
33 private ByteArrayPool(int chunkSize, int maxNum) { in ByteArrayPool() method in ByteArrayPool
42 public static ByteArrayPool get16KBPool() { in get16KBPool()
DCachedInputStream.java36 private static final int CHUNK_SIZE = ByteArrayPool.CHUNK16K;
115 ByteArrayPool.get16KBPool().releaseChunks(bufs); in releaseChunks()
119 return ByteArrayPool.get16KBPool().allocateChunk(); in allocateChunk()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DDrawableLoader.java36 import com.android.tv.settings.util.ByteArrayPool;
194 bitmapOptions.inTempStorage = ByteArrayPool.get16KBPool().allocateChunk(); in decodeBitmap()
261 ByteArrayPool.get16KBPool().releaseChunk(bitmapOptions.inTempStorage); in decodeBitmap()
DBitmapWorkerTask.java37 import com.android.tv.settings.util.ByteArrayPool;
209 bitmapOptions.inTempStorage = ByteArrayPool.get16KBPool().allocateChunk();
251 ByteArrayPool.get16KBPool().releaseChunk(bitmapOptions.inTempStorage);