Searched refs:PixelStorageType (Results 1 – 3 of 3) sorted by relevance
193 , mPixelStorageType(PixelStorageType::Heap) { in Bitmap()202 , mPixelStorageType(PixelStorageType::External) { in Bitmap()211 , mPixelStorageType(PixelStorageType::Ashmem) { in Bitmap()221 , mPixelStorageType(PixelStorageType::Hardware) in Bitmap()233 case PixelStorageType::External: in ~Bitmap()237 case PixelStorageType::Ashmem: in ~Bitmap()241 case PixelStorageType::Heap: in ~Bitmap()245 case PixelStorageType::Hardware: in ~Bitmap()263 case PixelStorageType::External: in getStorage()265 case PixelStorageType::Ashmem: in getStorage()[all …]
30 enum class PixelStorageType { enum104 bool isHardware() const { return mPixelStorageType == PixelStorageType::Hardware; } in isHardware()106 PixelStorageType pixelStorageType() const { return mPixelStorageType; } in pixelStorageType()146 const PixelStorageType mPixelStorageType;
203 bool fromMalloc = bitmap->pixelStorageType() == PixelStorageType::Heap; in createBitmap()