Searched refs:NativePixelMapType (Results 1 – 4 of 4) sorted by relevance
21 enum class NativePixelMapType : uint8_t { enum32 void Register(void* handle, NativePixelMapType type);34 NativePixelMapType GetNativePixelMapType(void* handle);42 std::unordered_map<void*, NativePixelMapType> mapper_;
24 void NativePixelMapManager::Register(void* handle, NativePixelMapType type) in Register()36 NativePixelMapType NativePixelMapManager::GetNativePixelMapType(void* handle) in GetNativePixelMapType()41 return NativePixelMapType::OBJECT_UNKNOWN; in GetNativePixelMapType()
21 … NativePixelMapManager::GetInstance().Register(nativePixelMap, NativePixelMapType::OBJECT_FROM_JS); in OH_Drawing_PixelMapGetFromNativePixelMap()27 …NativePixelMapManager::GetInstance().Register(ohPixelMapNative, NativePixelMapType::OBJECT_FROM_C); in OH_Drawing_PixelMapGetFromOhPixelMapNative()
396 case NativePixelMapType::OBJECT_FROM_C: in OH_Drawing_CanvasDrawPixelMapRect()401 case NativePixelMapType::OBJECT_FROM_JS: in OH_Drawing_CanvasDrawPixelMapRect()