Home
last modified time | relevance | path

Searched refs:pixelColors (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/service/connect_manager/test/
H A Dmultimodal_input_connect_proxy_ex_test.cpp89 uint32_t *pixelColors = new (std::nothrow) uint32_t[colorLen]; in CreatePixelMap() local
90 CHKPP(pixelColors); in CreatePixelMap()
92 errno_t ret = memset_s(pixelColors, colorByteCount, DEFAULT_ICON_COLOR, colorByteCount); in CreatePixelMap()
94 delete[] pixelColors; in CreatePixelMap()
97 … std::shared_ptr<Media::PixelMap> pixelMap = Media::PixelMap::Create(pixelColors, colorLen, opts); in CreatePixelMap()
99 delete[] pixelColors; in CreatePixelMap()
102 delete[] pixelColors; in CreatePixelMap()
H A Dmultimodal_input_connect_stub_ex_test.cpp372 uint32_t *pixelColors = new (std::nothrow) uint32_t[colorLen]; in CreatePixelMap() local
373 CHKPP(pixelColors); in CreatePixelMap()
375 errno_t ret = memset_s(pixelColors, colorByteCount, DEFAULT_ICON_COLOR, colorByteCount); in CreatePixelMap()
377 delete[] pixelColors; in CreatePixelMap()
380 … std::unique_ptr<Media::PixelMap> pixelMap = Media::PixelMap::Create(pixelColors, colorLen, opts); in CreatePixelMap()
382 delete[] pixelColors; in CreatePixelMap()
385 delete[] pixelColors; in CreatePixelMap()
/ohos5.0/foundation/arkui/ui_lite/frameworks/render/
H A Drender_pixfmt_rgba_blend.h460 virtual inline void NeonBlendPix(PixelColorType* pixelColors, const Rgba8T& color) in NeonBlendPix() argument
462 blender_.NeonBlendPix(pixelColors->colors, color.red, color.green, in NeonBlendPix()
466 … virtual inline void NeonBlendPix(PixelColorType* pixelColors, const Rgba8T& color, uint8_t cover) in NeonBlendPix() argument
468 blender_.NeonBlendPix(pixelColors->colors, color.red, color.green, in NeonBlendPix()
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/src/
H A Dintention_service_test.cpp167 uint32_t *pixelColors = new (std::nothrow) uint32_t[BUFF_SIZE]; in CreatePixelMap() local
168 CHKPP(pixelColors); in CreatePixelMap()
170 errno_t ret = memset_s(pixelColors, BUFF_SIZE, DEFAULT_ICON_COLOR, colorByteCount); in CreatePixelMap()
173 delete[] pixelColors; in CreatePixelMap()
176 … std::shared_ptr<Media::PixelMap> pixelMap = Media::PixelMap::Create(pixelColors, colorLen, opts); in CreatePixelMap()
179 delete[] pixelColors; in CreatePixelMap()
182 delete[] pixelColors; in CreatePixelMap()
/ohos5.0/base/msdp/device_status/test/unittest/frameworks/src/
H A Dinteraction_drag_drawing_test.cpp102 uint32_t *pixelColors = new (std::nothrow) uint32_t[colorLen]; in CreatePixelMap() local
103 CHKPP(pixelColors); in CreatePixelMap()
105 errno_t ret = memset_s(pixelColors, colorByteCount, DEFAULT_ICON_COLOR, colorByteCount); in CreatePixelMap()
108 delete[] pixelColors; in CreatePixelMap()
111 … std::shared_ptr<Media::PixelMap> pixelMap = Media::PixelMap::Create(pixelColors, colorLen, opts); in CreatePixelMap()
114 delete[] pixelColors; in CreatePixelMap()
117 delete[] pixelColors; in CreatePixelMap()
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/
H A Dpointer_drawing_manager_ex_test.cpp104 uint32_t *pixelColors = new (std::nothrow) uint32_t[colorLen]; in CreatePixelMap() local
105 CHKPP(pixelColors); in CreatePixelMap()
107 errno_t ret = memset_s(pixelColors, colorByteCount, DEFAULT_ICON_COLOR, colorByteCount); in CreatePixelMap()
109 delete[] pixelColors; in CreatePixelMap()
112 … std::shared_ptr<Media::PixelMap> pixelMap = Media::PixelMap::Create(pixelColors, colorLen, opts); in CreatePixelMap()
114 delete[] pixelColors; in CreatePixelMap()
117 delete[] pixelColors; in CreatePixelMap()
H A Dpointer_drawing_manager_test.cpp94 uint32_t *pixelColors = new (std::nothrow) uint32_t[colorLen]; in CreatePixelMap() local
95 CHKPP(pixelColors); in CreatePixelMap()
97 errno_t ret = memset_s(pixelColors, colorByteCount, DEFAULT_ICON_COLOR, colorByteCount); in CreatePixelMap()
99 delete[] pixelColors; in CreatePixelMap()
102 … std::shared_ptr<Media::PixelMap> pixelMap = Media::PixelMap::Create(pixelColors, colorLen, opts); in CreatePixelMap()
104 delete[] pixelColors; in CreatePixelMap()
107 delete[] pixelColors; in CreatePixelMap()
H A Dinput_windows_manager_test.cpp128 uint32_t *pixelColors = new (std::nothrow) uint32_t[colorLen]; in CreatePixelMap() local
129 CHKPP(pixelColors); in CreatePixelMap()
131 errno_t ret = memset_s(pixelColors, colorByteCount, DEFAULT_ICON_COLOR, colorByteCount); in CreatePixelMap()
133 delete[] pixelColors; in CreatePixelMap()
136 … std::shared_ptr<Media::PixelMap> pixelMap = Media::PixelMap::Create(pixelColors, colorLen, opts); in CreatePixelMap()
138 delete[] pixelColors; in CreatePixelMap()
141 delete[] pixelColors; in CreatePixelMap()
/ohos5.0/base/msdp/device_status/test/unittest/intention/drag/src/
H A Ddrag_server_test.cpp185 uint32_t *pixelColors = new (std::nothrow) uint32_t[BUFF_SIZE]; in CreatePixelMap() local
186 CHKPP(pixelColors); in CreatePixelMap()
188 errno_t ret = memset_s(pixelColors, BUFF_SIZE, DEFAULT_ICON_COLOR, colorByteCount); in CreatePixelMap()
191 delete[] pixelColors; in CreatePixelMap()
194 … std::shared_ptr<Media::PixelMap> pixelMap = Media::PixelMap::Create(pixelColors, colorLen, opts); in CreatePixelMap()
197 delete[] pixelColors; in CreatePixelMap()
200 delete[] pixelColors; in CreatePixelMap()
H A Ddrag_manager_test.cpp86 uint32_t *pixelColors = new (std::nothrow) uint32_t[BUFF_SIZE]; in CreatePixelMap() local
87 CHKPP(pixelColors); in CreatePixelMap()
89 errno_t ret = memset_s(pixelColors, BUFF_SIZE, DEFAULT_ICON_COLOR, colorByteCount); in CreatePixelMap()
92 delete[] pixelColors; in CreatePixelMap()
95 … std::shared_ptr<Media::PixelMap> pixelMap = Media::PixelMap::Create(pixelColors, colorLen, opts); in CreatePixelMap()
98 delete[] pixelColors; in CreatePixelMap()
101 delete[] pixelColors; in CreatePixelMap()