Home
last modified time | relevance | path

Searched refs:pixelMap (Results 1 - 12 of 12) sorted by relevance

/test/xts/acts/graphic/acts_drawing_native/
H A DDrawingNativePixelMapTest.cpp60 NativePixelMap_ *pixelMap = nullptr; in HWTEST_F() local
62 OH_Drawing_PixelMap *drPixelMap = OH_Drawing_PixelMapGetFromNativePixelMap(pixelMap); in HWTEST_F()
91 NativePixelMap_ *pixelMap = nullptr; in HWTEST_F() local
94 OH_Drawing_PixelMap *drPixelMap = OH_Drawing_PixelMapGetFromNativePixelMap(pixelMap); in HWTEST_F()
109 NativePixelMap_ *pixelMap = nullptr; in HWTEST_F() local
111 OH_Drawing_PixelMap *drPixelMap = OH_Drawing_PixelMapGetFromNativePixelMap(pixelMap); in HWTEST_F()
124 OH_PixelmapNative *pixelMap = GET_OH_PixelmapNative(); in HWTEST_F() local
126 OH_Drawing_PixelMap *drPixelMap = OH_Drawing_PixelMapGetFromOhPixelMapNative(pixelMap); in HWTEST_F()
129 OH_PixelmapNative_Release(pixelMap); in HWTEST_F()
156 OH_PixelmapNative *pixelMap in HWTEST_F() local
176 OH_PixelmapNative *pixelMap = GET_OH_PixelmapNative(width, height); HWTEST_F() local
194 OH_PixelmapNative *pixelMap = GET_OH_PixelmapNative(); HWTEST_F() local
[all...]
H A DDrawingNativeCanvasCommon.cpp25 OH_PixelmapNative *pixelMap = nullptr; in GET_OH_PixelmapNative() local
43 OH_PixelmapNative_CreatePixelmap(data, dataLength, options, &pixelMap); in GET_OH_PixelmapNative()
45 return pixelMap; in GET_OH_PixelmapNative()
52 OH_PixelmapNative *pixelMap = nullptr; in GET_OH_PixelmapNative() local
66 OH_PixelmapNative_CreatePixelmap(data, dataLength, options, &pixelMap); in GET_OH_PixelmapNative()
68 return pixelMap; in GET_OH_PixelmapNative()
74 OH_PixelmapNative *pixelMap = nullptr; in GET_OH_PixelmapNative4KBoundary() local
101 OH_PixelmapNative_CreatePixelmap(valueData, dataLength, options, &pixelMap); in GET_OH_PixelmapNative4KBoundary()
103 return pixelMap; in GET_OH_PixelmapNative4KBoundary()
H A DDrawingNativeCanvasTestPart2.cpp72 OH_PixelmapNative *pixelMap = GET_OH_PixelmapNative(); in HWTEST_F() local
73 OH_Drawing_PixelMap *drPixelMap = OH_Drawing_PixelMapGetFromOhPixelMapNative(pixelMap); in HWTEST_F()
105 OH_PixelmapNative *pixelMap = GET_OH_PixelmapNative(); in HWTEST_F() local
106 OH_Drawing_PixelMap *drPixelMap = OH_Drawing_PixelMapGetFromOhPixelMapNative(pixelMap); in HWTEST_F()
156 OH_PixelmapNative *pixelMap = GET_OH_PixelmapNative(); in HWTEST_F() local
157 OH_Drawing_PixelMap *drPixelMap = OH_Drawing_PixelMapGetFromOhPixelMapNative(pixelMap); in HWTEST_F()
216 OH_PixelmapNative *pixelMap = GET_OH_PixelmapNative(); in HWTEST_F() local
217 OH_Drawing_PixelMap *drPixelMap = OH_Drawing_PixelMapGetFromOhPixelMapNative(pixelMap); in HWTEST_F()
264 OH_PixelmapNative *pixelMap = GET_OH_PixelmapNative4KBoundary(); in HWTEST_F() local
265 OH_Drawing_PixelMap *drPixelMap = OH_Drawing_PixelMapGetFromOhPixelMapNative(pixelMap); in HWTEST_F()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/drawabledescriptor/
H A Ddrawabledescriptor_create_test.cpp35 OH_PixelmapNativeHandle pixelMap = nullptr; in TestDrawableDescriptorCreate001() local
58 OH_PixelmapNative_CreatePixelmap(data, NUM_96, options, &pixelMap); in TestDrawableDescriptorCreate001()
60 array[NUM_0] = pixelMap; in TestDrawableDescriptorCreate001()
63 auto descriptor = OH_ArkUI_DrawableDescriptor_CreateFromPixelMap(pixelMap); in TestDrawableDescriptorCreate001()
86 OH_PixelmapNativeHandle pixelMap = nullptr; in TestDrawableDescriptorCreate002() local
109 OH_PixelmapNative_CreatePixelmap(data, NUM_96, options, &pixelMap); in TestDrawableDescriptorCreate002()
111 array[NUM_0] = pixelMap; in TestDrawableDescriptorCreate002()
114 auto descriptor = OH_ArkUI_DrawableDescriptor_CreateFromPixelMap(pixelMap); in TestDrawableDescriptorCreate002()
/test/ostest/wukong/common/src/
H A Dwukong_util.cpp50 bool g_isBwScreen(std::shared_ptr<Media::PixelMap> pixelMap) in g_isBwScreen() argument
52 auto width = static_cast<uint32_t>(pixelMap->GetWidth()); in g_isBwScreen()
53 auto height = static_cast<uint32_t>(pixelMap->GetHeight()); in g_isBwScreen()
54 auto data = pixelMap->GetPixels(); in g_isBwScreen()
55 auto stride = static_cast<uint32_t>(pixelMap->GetRowBytes()); in g_isBwScreen()
80 std::shared_ptr<Media::PixelMap> pixelMap = displayMgr.GetScreenshot(displayMgr.GetDefaultDisplayId()); in TakeWuKongScreenCap() local
82 if (pixelMap == nullptr) { in TakeWuKongScreenCap()
83 DEBUG_LOG("Failed to get display pixelMap"); in TakeWuKongScreenCap()
86 auto width = static_cast<uint32_t>(pixelMap->GetWidth()); in TakeWuKongScreenCap()
87 auto height = static_cast<uint32_t>(pixelMap in TakeWuKongScreenCap()
[all...]
/test/xts/acts/distributeddatamgr/UDMFtest/UDMFndktestHvigor/entry/src/main/cpp/
H A Dnapi_init.cpp706 OH_UdsPixelMap *pixelMap = OH_UdsPixelMap_Create(); in OH_UdmfRecord_GetPixelMap001() local
724 int result1 = OH_UdsPixelMap_SetPixelMap(pixelMap, pixelmapNative); in OH_UdmfRecord_GetPixelMap001()
727 OH_UdmfRecord_AddPixelMap(udmfRecord, pixelMap); in OH_UdmfRecord_GetPixelMap001()
746 OH_UdsPixelMap_Destroy(pixelMap); in OH_UdmfRecord_GetPixelMap001()
891 auto pixelMap = OH_UdsPixelMap_Create(); in OH_UdsPixelMap_Create_0100() local
893 OH_UdsPixelMap_Destroy(pixelMap); in OH_UdsPixelMap_Create_0100()
900 auto pixelMap = OH_UdsPixelMap_Create(); in OH_UdsPixelMap_GetType_0100() local
901 NAPI_ASSERT(env, UDMF_META_OPENHARMONY_PIXEL_MAP == std::string(OH_UdsPixelMap_GetType(pixelMap)), in OH_UdsPixelMap_GetType_0100()
903 OH_UdsPixelMap_Destroy(pixelMap); in OH_UdsPixelMap_GetType_0100()
916 auto pixelMap in OH_UdsPixelMap_SetPixelMap_0100() local
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/Dialog/
H A Ddrawable_descriptor.h69 * @param pixelMap Indicates the pointer to a Pixelmap
73 ArkUI_DrawableDescriptor* OH_ArkUI_DrawableDescriptor_CreateFromPixelMap(OH_PixelmapNativeHandle pixelMap);
H A Darkoala_api.h959 void* pixelMap; member
2155 void (*setInitialPixelMap)(ArkUINodeHandle node, ArkUI_Int64 pixelMap);
/test/xts/acts/multimedia/image/image_ets_standard/pictureNdk/entry/src/main/cpp/
H A DPictureNdk.cpp93 OH_PixelmapNative *pixelMap = nullptr; member
164 IMG_NAPI_RELEASE_PTR(g_ctx.pixelMap, OH_PixelmapNative_Release(g_ctx.pixelMap)); in ReleaseTestContext()
300 IMG_NAPI_RELEASE_PTR(g_ctx.pixelMap, OH_PixelmapNative_Release(g_ctx.pixelMap)); in CreateTestPixelmapByImageSource()
302 IMG_NAPI_NOT_NULL_PTR_RETURN(g_ctx.pixelMap, result); in CreateTestPixelmapByImageSource()
318 errCode = OH_ImageSourceNative_CreatePixelmap(g_ctx.imageSource, ops, &g_ctx.pixelMap); in CreateTestPixelmapByImageSource()
760 IMG_NAPI_CHECK_NULL_PTR(g_ctx.pixelMap, result); in CreatePictureByPixelmap()
761 if (OH_PictureNative_CreatePicture(g_ctx.pixelMap, &g_ctx.picture) != IMAGE_SUCCESS) { in CreatePictureByPixelmap()
1971 IMG_NAPI_CHECK_NULL_PTR(g_ctx.pixelMap, resul in GetPixelmapBuffer()
[all...]
/test/xts/acts/graphic/imageNdk/entry/src/main/cpp/
H A DImageNdk.cpp240 OH_PixelmapNative *pixelMap = nullptr; in TestNativeGetArgbPixels() local
243 Image_ErrorCode errCode = OH_PixelmapNative_GetArgbPixels(pixelMap, result, &dataSize); in TestNativeGetArgbPixels()
/test/testfwk/arkxtest/uitest/server/
H A Dsystem_ui_controller.cpp659 shared_ptr<PixelMap> pixelMap; in TakeScreenCap() local
661 pixelMap = displayMgr.GetScreenshot(displayMgr.GetDefaultDisplayId()); in TakeScreenCap()
666 pixelMap = displayMgr.GetScreenshot(displayMgr.GetDefaultDisplayId(), region, size, 0); in TakeScreenCap()
668 if (pixelMap == nullptr) { in TakeScreenCap()
669 errReceiver << "Failed to get display pixelMap"; in TakeScreenCap()
690 auto width = static_cast<uint32_t>(pixelMap->GetWidth()); in TakeScreenCap()
691 auto height = static_cast<uint32_t>(pixelMap->GetHeight()); in TakeScreenCap()
692 auto data = pixelMap->GetPixels(); in TakeScreenCap()
693 auto stride = static_cast<uint32_t>(pixelMap->GetRowBytes()); in TakeScreenCap()
/test/xts/acts/multimedia/image/image_ets_standard/imageNdk/entry/src/main/cpp/
H A DImageNdk.cpp1993 OH_PixelmapNative *pixelMap = reinterpret_cast<OH_PixelmapNative *>(ptr); in PixelMapRelease() local
1995 Image_ErrorCode errCode = OH_PixelmapNative_Release(pixelMap); in PixelMapRelease()

Completed in 46 milliseconds