Searched refs:ByteArrayPool (Results 1 – 4 of 4) sorted by relevance
22 public final class ByteArrayPool { class27 private final static ByteArrayPool sChunk16K = new ByteArrayPool(CHUNK16K, DEFAULT_MAX_NUM);33 private ByteArrayPool(int chunkSize, int maxNum) { in ByteArrayPool() method in ByteArrayPool42 public static ByteArrayPool get16KBPool() { in get16KBPool()
36 private static final int CHUNK_SIZE = ByteArrayPool.CHUNK16K;115 ByteArrayPool.get16KBPool().releaseChunks(bufs); in releaseChunks()119 return ByteArrayPool.get16KBPool().allocateChunk(); in allocateChunk()
36 import com.android.tv.settings.util.ByteArrayPool;194 bitmapOptions.inTempStorage = ByteArrayPool.get16KBPool().allocateChunk(); in decodeBitmap()261 ByteArrayPool.get16KBPool().releaseChunk(bitmapOptions.inTempStorage); in decodeBitmap()
37 import com.android.tv.settings.util.ByteArrayPool;209 bitmapOptions.inTempStorage = ByteArrayPool.get16KBPool().allocateChunk();251 ByteArrayPool.get16KBPool().releaseChunk(bitmapOptions.inTempStorage);