Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DBitmap.cpp231 , mPixelStorageType(PixelStorageType::Heap) { in Bitmap()
240 , mPixelStorageType(PixelStorageType::External) { in Bitmap()
249 , mPixelStorageType(PixelStorageType::Ashmem) { in Bitmap()
260 , mPixelStorageType(PixelStorageType::Hardware) in Bitmap()
272 case PixelStorageType::External: in ~Bitmap()
276 case PixelStorageType::Ashmem: in ~Bitmap()
282 case PixelStorageType::Heap: in ~Bitmap()
288 case PixelStorageType::Hardware: in ~Bitmap()
308 case PixelStorageType::External: in getStorage()
310 case PixelStorageType::Ashmem: in getStorage()
[all …]
DBitmap.h34 enum class PixelStorageType { enum
114 bool isHardware() const { return mPixelStorageType == PixelStorageType::Hardware; } in isHardware()
116 PixelStorageType pixelStorageType() const { return mPixelStorageType; } in pixelStorageType()
185 const PixelStorageType mPixelStorageType;
/frameworks/base/libs/hwui/jni/
DBitmap.cpp199 bool fromMalloc = bitmap->pixelStorageType() == PixelStorageType::Heap; in createBitmap()