Searched refs:capacityBytes (Results 1 – 2 of 2) sorted by relevance
57 private GalleryBitmapPool(int capacityBytes) { in GalleryBitmapPool() argument59 mPools[POOL_INDEX_SQUARE] = new SparseArrayBitmapPool(capacityBytes / 3, mSharedNodePool); in GalleryBitmapPool()60 mPools[POOL_INDEX_PHOTO] = new SparseArrayBitmapPool(capacityBytes / 3, mSharedNodePool); in GalleryBitmapPool()61 mPools[POOL_INDEX_MISC] = new SparseArrayBitmapPool(capacityBytes / 3, mSharedNodePool); in GalleryBitmapPool()62 mCapacityBytes = capacityBytes; in GalleryBitmapPool()
58 public SparseArrayBitmapPool(int capacityBytes, Pool<Node> nodePool) { in SparseArrayBitmapPool() argument59 mCapacityBytes = capacityBytes; in SparseArrayBitmapPool()70 public synchronized void setCapacity(int capacityBytes) { in setCapacity() argument71 mCapacityBytes = capacityBytes; in setCapacity()