Searched refs:BytesBuffer (Results 1 – 3 of 3) sorted by relevance
30 public static class BytesBuffer { class in BytesBufferPool35 private BytesBuffer(int capacity) { in BytesBuffer() method in BytesBufferPool.BytesBuffer66 private final ArrayList<BytesBuffer> mList;69 mList = new ArrayList<BytesBuffer>(poolSize); in BytesBufferPool()74 public synchronized BytesBuffer get() { in get()76 return n > 0 ? mList.remove(n - 1) : new BytesBuffer(mBufferSize); in get()79 public synchronized void recycle(BytesBuffer buffer) { in recycle()
24 import com.android.gallery3d.data.BytesBufferPool.BytesBuffer;58 public boolean getImageData(Path path, long timeModified, int type, BytesBuffer buffer) { in getImageData()
24 import com.android.gallery3d.data.BytesBufferPool.BytesBuffer;56 BytesBuffer buffer = MediaItem.getBytesBufferPool().get(); in run()