Home
last modified time | relevance | path

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

/aosp12/packages/apps/Gallery2/src/com/android/photos/data/
H A DGalleryBitmapPool.java54 private SparseArrayBitmapPool [] mPools; field in GalleryBitmapPool
58 mPools = new SparseArrayBitmapPool[3]; in GalleryBitmapPool()
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()
76 return mPools[index]; in getPoolForDimensions()
118 for (SparseArrayBitmapPool p : mPools) { in getSize()
157 for (SparseArrayBitmapPool p : mPools) { in clear()
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/
H A DQCameraMem.cpp607 mPools[streamType].push_back(memInfo); in releaseBuffer()
627 it = mPools[i].begin(); in clear()
628 for( ; it != mPools[i].end() ; it++) { in clear()
632 mPools[i].clear(); in clear()
660 if (mPools[streamType].empty()) { in findBufferLocked()
664 List<struct QCameraMemory::QCameraMemInfo>::iterator it = mPools[streamType].begin(); in findBufferLocked()
666 for( ; it != mPools[streamType].end() ; it++) { in findBufferLocked()
673 mPools[streamType].erase(it); in findBufferLocked()
679 for( ; it != mPools[streamType].end() ; it++) { in findBufferLocked()
686 mPools[streamType].erase(it); in findBufferLocked()
H A DQCameraMem.h182 android::List<QCameraMemory::QCameraMemInfo> mPools[CAM_STREAM_TYPE_MAX]; variable