Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DBitmap.cpp193 , 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 …]
DBitmap.h30 enum class PixelStorageType { enum
104 bool isHardware() const { return mPixelStorageType == PixelStorageType::Hardware; } in isHardware()
106 PixelStorageType pixelStorageType() const { return mPixelStorageType; } in pixelStorageType()
146 const PixelStorageType mPixelStorageType;
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp203 bool fromMalloc = bitmap->pixelStorageType() == PixelStorageType::Heap; in createBitmap()