Home
last modified time | relevance | path

Searched refs:capacityBytes (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/data/
DGalleryBitmapPool.java57 private GalleryBitmapPool(int capacityBytes) { in GalleryBitmapPool() argument
59 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()
DSparseArrayBitmapPool.java58 public SparseArrayBitmapPool(int capacityBytes, Pool<Node> nodePool) { in SparseArrayBitmapPool() argument
59 mCapacityBytes = capacityBytes; in SparseArrayBitmapPool()
70 public synchronized void setCapacity(int capacityBytes) { in setCapacity() argument
71 mCapacityBytes = capacityBytes; in setCapacity()
/packages/services/Mtp/src/com/android/mtp/
DMtpDatabase.java171 long capacityBytes = 0; in queryRoots() local
181 capacityBytes += storageCursor.getLong(capacityIndex); in queryRoots()
187 values.put(Root.COLUMN_CAPACITY_BYTES, capacityBytes); in queryRoots()