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

  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
BaseKeyPool.java 9 private final Queue<T> keyPool = Util.createQueue(MAX_SIZE);
12 T result = keyPool.poll();
20 if (keyPool.size() < MAX_SIZE) {
21 keyPool.offer(key);
SizeStrategy.java 18 private final KeyPool keyPool = new KeyPool();
25 final Key key = keyPool.get(size);
36 Key key = keyPool.get(size);
40 keyPool.offer(key);
41 key = keyPool.get(possibleSize);
124 static class KeyPool extends BaseKeyPool<Key> {
140 private final KeyPool pool;
143 Key(KeyPool pool)
    [all...]
AttributeStrategy.java 11 private final KeyPool keyPool = new KeyPool();
15 final Key key = keyPool.get(bitmap.getWidth(), bitmap.getHeight(), bitmap.getConfig());
22 final Key key = keyPool.get(width, height, config);
61 static class KeyPool extends BaseKeyPool<Key> {
76 private final KeyPool pool;
82 public Key(KeyPool pool) {

Completed in 224 milliseconds