/ohos5.0/foundation/multimodalinput/input/service/connect_manager/test/ |
H A D | multimodal_input_connect_proxy_ex_test.cpp | 89 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 D | multimodal_input_connect_stub_ex_test.cpp | 372 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 D | render_pixfmt_rgba_blend.h | 460 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 D | intention_service_test.cpp | 167 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 D | interaction_drag_drawing_test.cpp | 102 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 D | pointer_drawing_manager_ex_test.cpp | 104 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 D | pointer_drawing_manager_test.cpp | 94 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 D | input_windows_manager_test.cpp | 128 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 D | drag_server_test.cpp | 185 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 D | drag_manager_test.cpp | 86 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()
|