Searched refs:PixelStorageType (Results 1 – 3 of 3) sorted by relevance
220 , mPixelStorageType(PixelStorageType::Heap) { in Bitmap()228 , mPixelStorageType(PixelStorageType::WrappedPixelRef) { in Bitmap()236 , mPixelStorageType(PixelStorageType::Ashmem) { in Bitmap()247 , mPixelStorageType(PixelStorageType::Hardware) in Bitmap()259 case PixelStorageType::WrappedPixelRef: in ~Bitmap()262 case PixelStorageType::Ashmem: in ~Bitmap()268 case PixelStorageType::Heap: in ~Bitmap()274 case PixelStorageType::Hardware: in ~Bitmap()294 case PixelStorageType::Ashmem: in getAshmemFd()303 case PixelStorageType::Heap: in getAllocationByteCount()[all …]
34 enum class PixelStorageType { enum121 bool isHardware() const { return mPixelStorageType == PixelStorageType::Hardware; } in isHardware()123 PixelStorageType pixelStorageType() const { return mPixelStorageType; } in pixelStorageType()189 const PixelStorageType mPixelStorageType;
207 bool fromMalloc = bitmap->pixelStorageType() == PixelStorageType::Heap; in createBitmap()1232 return bitmapHolder->bitmap().pixelStorageType() == PixelStorageType::Ashmem ? JNI_TRUE in Bitmap_isBackedByAshmem()