HomeSort by relevance Sort by last modified time
    Searched refs:ByteArrayPool (Results 1 - 13 of 13) sorted by null

  /frameworks/volley/src/test/java/com/android/volley/toolbox/
PoolingByteArrayOutputStreamTest.java 28 ByteArrayPool pool = new ByteArrayPool(32768);
35 ByteArrayPool pool = new ByteArrayPool(32768);
42 ByteArrayPool pool = new ByteArrayPool(0);
49 ByteArrayPool pool = new ByteArrayPool(0);
55 private void writeOneBuffer(ByteArrayPool pool) throws IOException {
66 private void writeBytesIndividually(ByteArrayPool pool)
    [all...]
ByteArrayPoolTest.java 28 ByteArrayPool pool = new ByteArrayPool(32);
44 ByteArrayPool pool = new ByteArrayPool(32);
65 ByteArrayPool pool = new ByteArrayPool(32);
  /external/glide/library/src/main/java/com/bumptech/glide/util/
ByteArrayPool.java 10 public final class ByteArrayPool {
11 private static final String TAG = "ByteArrayPool";
19 private static final ByteArrayPool BYTE_ARRAY_POOL = new ByteArrayPool();
24 public static ByteArrayPool get() {
28 private ByteArrayPool() { }
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
ByteArrayPool.java 22 public final class ByteArrayPool {
27 private final static ByteArrayPool sChunk16K = new ByteArrayPool(CHUNK16K, DEFAULT_MAX_NUM);
33 private ByteArrayPool(int chunkSize, int maxNum) {
42 public static ByteArrayPool get16KBPool() {
CachedInputStream.java 36 private static final int CHUNK_SIZE = ByteArrayPool.CHUNK16K;
115 ByteArrayPool.get16KBPool().releaseChunks(bufs);
119 return ByteArrayPool.get16KBPool().allocateChunk();
  /external/glide/library/src/main/java/com/bumptech/glide/load/model/
StreamEncoder.java 6 import com.bumptech.glide.util.ByteArrayPool;
20 byte[] buffer = ByteArrayPool.get().getBytes();
33 ByteArrayPool.get().releaseBytes(buffer);
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
PoolingByteArrayOutputStream.java 28 * If the {@link #PoolingByteArrayOutputStream(ByteArrayPool)} constructor is called, this is
33 private final ByteArrayPool mPool;
39 public PoolingByteArrayOutputStream(ByteArrayPool pool) {
51 public PoolingByteArrayOutputStream(ByteArrayPool pool, int size) {
ByteArrayPool.java 26 * ByteArrayPool is a source and repository of <code>byte[]</code> objects. Its purpose is to
54 public class ByteArrayPool {
79 public ByteArrayPool(int sizeLimit) {
BasicNetwork.java 65 protected final ByteArrayPool mPool;
73 this(httpStack, new ByteArrayPool(DEFAULT_POOL_SIZE));
80 public BasicNetwork(HttpStack httpStack, ByteArrayPool pool) {
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
GifBitmapWrapperResourceDecoder.java 13 import com.bumptech.glide.util.ByteArrayPool;
56 ByteArrayPool pool = ByteArrayPool.get();
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
Downsampler.java 11 import com.bumptech.glide.util.ByteArrayPool;
104 final ByteArrayPool byteArrayPool = ByteArrayPool.get();
105 final byte[] bytesForOptions = byteArrayPool.getBytes();
106 final byte[] bytesForStream = byteArrayPool.getBytes();
163 byteArrayPool.releaseBytes(bytesForOptions);
164 byteArrayPool.releaseBytes(bytesForStream);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
BitmapWorkerTask.java 37 import com.android.tv.settings.util.ByteArrayPool;
209 bitmapOptions.inTempStorage = ByteArrayPool.get16KBPool().allocateChunk();
251 ByteArrayPool.get16KBPool().releaseChunk(bitmapOptions.inTempStorage);
DrawableLoader.java 36 import com.android.tv.settings.util.ByteArrayPool;
194 bitmapOptions.inTempStorage = ByteArrayPool.get16KBPool().allocateChunk();
261 ByteArrayPool.get16KBPool().releaseChunk(bitmapOptions.inTempStorage);

Completed in 271 milliseconds