Searched refs:mPools (Results 1 – 3 of 3) sorted by relevance
54 private SparseArrayBitmapPool [] mPools; field in GalleryBitmapPool58 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()
607 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()
182 android::List<QCameraMemory::QCameraMemInfo> mPools[CAM_STREAM_TYPE_MAX]; variable