Home
last modified time | relevance | path

Searched refs:DrawUtils (Results 1 - 25 of 27) sorted by relevance

12

/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_image.cpp29 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.imageOpa_); in DrawCommon()
30 uint8_t pxBitSize = DrawUtils::GetPxSizeByColorMode(img->header.colorMode); in DrawCommon()
31 DrawUtils::GetInstance()->DrawImage(gfxDstBuffer, coords, mask, img->data, opa, pxBitSize, in DrawCommon()
41 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.imageOpa_); in DrawCommon()
48 uint8_t pxBitSize = DrawUtils::GetPxSizeByColorMode(entry.GetImageInfo().header.colorMode); in DrawCommon()
50 DrawUtils::GetInstance()->DrawImage(gfxDstBuffer, coords, mask, entry.GetImgData(), opa, pxBitSize, in DrawCommon()
78 DrawUtils::GetInstance()->DrawImage(gfxDstBuffer, line, mask, buf, opa, pxBitSize, in DrawCommon()
H A Ddraw_rect.cpp58 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.bgOpa_); in Draw()
59 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, dirtyRect, style.bgColor_, opa); in Draw()
130 DrawUtils* drawUtils = DrawUtils::GetInstance(); in DrawRectRadiusWithoutBorderCon1()
132 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.bgOpa_); in DrawRectRadiusWithoutBorderCon1()
174 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.bgOpa_); in DrawRectRadiusWithoutBorderCon2()
175 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, middleRect, dirtyRect, style.bgColor_, opa); in DrawRectRadiusWithoutBorderCon2()
214 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.bgOpa_); in DrawRectRadiusWithoutBorderCon4()
217 DrawUtils* drawUtils = DrawUtils in DrawRectRadiusWithoutBorderCon4()
[all...]
H A Ddraw_utils.cpp74 DrawUtils* DrawUtils::GetInstance() in GetInstance()
76 static DrawUtils instance; in GetInstance()
80 void DrawUtils::DrawColorAreaBySides(BufferInfo& gfxDstBuffer, in DrawColorAreaBySides()
87 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, area, mask, color, opa); in DrawColorAreaBySides()
90 void DrawUtils::DrawColorArea(BufferInfo& gfxDstBuffer, in DrawColorArea()
108 uint8_t DrawUtils::GetPxSizeByColorMode(uint8_t colorMode) in GetPxSizeByColorMode()
139 uint8_t DrawUtils::GetByteSizeByColorMode(uint8_t colorMode) in GetByteSizeByColorMode()
156 void DrawUtils::DrawPixel(BufferInfo& gfxDstBuffer, in DrawPixel()
176 void DrawUtils
[all...]
H A Ddraw_line.cpp117 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity); in DrawVerticalLine()
141 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity); in DrawHorizontalLine()
239 DrawUtils* drawUtils = DrawUtils::GetInstance(); in DrawWuLine()
454 DrawUtils* drawUtils = DrawUtils::GetInstance(); in DrawThinWuLine()
H A Ddraw_triangle.cpp63 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, area, mask, color, opa); in Draw()
H A Ddraw_arc.cpp64 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, style.lineColor_, opaScale); in DrawVerLine()
82 DrawUtils::GetInstance()->DrawPixel(gfxDstBuffer, begin.x, begin.y, mask, style.lineColor_, opaScale); in DrawHorLine()
85 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, style.lineColor_, opaScale); in DrawHorLine()
416 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.lineOpa_); in Draw()
H A Ddraw_label.cpp102 DrawUtils::GetInstance()->DrawColorLetter(gfxDstBuffer, letterInfo, fontMap, in DrawTextOneLine()
107 DrawUtils::GetInstance()->DrawNormalLetter(gfxDstBuffer, letterInfo, fontMap, glyphNode, maxLetterSize); in DrawTextOneLine()
163 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.textOpa_); in DrawArcText()
H A Ddraw_utils.h200 class DrawUtils : public HeapBase { class
202 static DrawUtils* GetInstance();
H A Ddraw_canvas.cpp137 uint8_t pixelByteSize = DrawUtils::GetPxSizeByColorMode(gfxDstBuffer.mode) >> 3; // 3: Shift right 3 bits in DoDrawShadow()
/foundation/arkui/ui_lite/frameworks/engines/gfx/
H A Dsoft_engine.cpp57 DrawUtils::GetInstance()->DrawLetter(gfxDstBuffer, fontMap, fontRect, subRect, fontWeight, color, opa); in DrawLetter()
90 DrawUtils::GetInstance()->DrawTransform(dst, mask, position, color, opacity, transMap, dataInfo); in DrawTransform()
107 DrawUtils::GetInstance()->BlendWithSoftWare( in Blit()
114 DrawUtils::GetInstance()->FillAreaWithSoftWare(dst, fillArea, color, opacity); in Fill()
/foundation/arkui/ui_lite/frameworks/dock/
H A Dscreen_device_proxy.cpp53 animatorImageInfo_.dataSize = bufferWidth * bufferHeight * DrawUtils::GetByteSizeByColorMode(animatorBufferMode_); in SetAnimatorRect()
121 uint8_t byteSize = DrawUtils::GetByteSizeByColorMode(frameBufferMode_); in GetScreenBitmapBuffer()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_surface_view.cpp149 DrawUtils::GetInstance()->DrawWithBuffer(gfxDstBuffer, GetRect(), invalidatedArea, in Draw()
154 DrawUtils::GetInstance()->DrawTranspantArea(gfxDstBuffer, GetRect(), invalidatedArea); in Draw()
H A Droot_view.cpp571 uint8_t pxSize = DrawUtils::GetPxSizeByColorMode(dc_.mapBufferInfo->mode); in Render()
587 uint8_t pxSize = DrawUtils::GetPxSizeByColorMode(dc_.mapBufferInfo->mode); in Render()
603 dc_.mapBufferInfo->width * (DrawUtils::GetPxSizeByColorMode(dc_.mapBufferInfo->mode) >> 3); // 3: Shift 3 bits in Render()
611 dc_.mapBufferInfo->width * (DrawUtils::GetPxSizeByColorMode(dc_.mapBufferInfo->mode) >> 3); // 3: Shift 3 bits in Render()
840 dc_.mapBufferInfo->stride = dc_.mapBufferInfo->width * (DrawUtils::GetPxSizeByColorMode(dc_.mapBufferInfo->mode) >> in Render()
H A Dui_image_view.cpp95 uint8_t pixelByteSize = DrawUtils::GetPxSizeByColorMode(ARGB8888) >> 3; in OpenGifFile()
458 uint8_t pxSize = DrawUtils::GetPxSizeByColorMode(imgInfo.header.colorMode); in OnDraw()
462 OpacityType opaScale = DrawUtils::GetMixOpacity(opa, style_->imageOpa_); in OnDraw()
H A Dui_checkbox.cpp171 uint8_t opa = DrawUtils::GetMixOpacity(opaScale_, backgroundOpacity_); in SelectedStateSoftwareDrawing()
H A Dui_canvas.cpp1465 uint8_t pxSize = DrawUtils::GetPxSizeByColorMode(gfxDstBuffer.mode); in BlitMapBuffer()
1469 DrawUtils::GetByteSizeByColorMode(gfxDstBuffer.mode); in BlitMapBuffer()
1518 OpacityType opa = DrawUtils::GetMixOpacity(textParam->fontOpa, style.bgOpa_); in DoDrawText()
1547 uint8_t destByteSize = DrawUtils::GetByteSizeByColorMode(srcBuff.mode); in InitGfxMapBuffer()
H A Dui_analog_clock.cpp282 uint8_t pxSize = DrawUtils::GetPxSizeByColorMode(hand.imageInfo_.header.colorMode); in DrawHandImage()
/foundation/arkui/ui_lite/frameworks/render/
H A Drender_pixfmt_rgba_blend.h43 DrawUtils::GetInstance()->BlendLerpPix(color, red, green, blue, alpha, covers); in NeonBlendPix()
55 DrawUtils::GetInstance()->BlendLerpPix(color, red, green, blue, alpha, cover); in NeonBlendPix()
67 DrawUtils::GetInstance()->BlendLerpPix(color, red, green, blue, alpha); in NeonBlendPix()
72 DrawUtils::GetInstance()->BlendLerpPix(dstColors, srcColors, srcCover); in NeonBlendPix()
77 DrawUtils::GetInstance()->BlendLerpPix(dstColors, srcColors, srcCovers); in NeonBlendPix()
/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_allocator.cpp187 bufInfo.stride = BIT_TO_BYTE(bufInfo.width * DrawUtils::GetPxSizeByColorMode(bufInfo.mode)); in GetCacheBuffer()
202 word = BIT_TO_BYTE(word * DrawUtils::GetPxSizeByColorMode(bufInfo.mode)); in RearrangeBitmap()
/foundation/arkui/ui_lite/frameworks/common/
H A Dscreen.cpp53 info.dataSize = screenWidth * screenHeight * DrawUtils::GetByteSizeByColorMode(info.header.colorMode); in GetCurrentScreenBitmap()
H A Dimage.cpp337 uint8_t pixelByteSize = DrawUtils::GetPxSizeByColorMode(ARGB8888) >> 3; // 3: Shift right 3 bits in SetPNGSrc()
429 uint8_t pixelByteSize = DrawUtils::GetPxSizeByColorMode(ARGB8888) >> 3; // 3: Shift right 3 bits in SetJPEGSrc()
/foundation/arkui/ui_lite/tools/qt/simulator/drivers/display/
H A Dmonitor.cpp76 bufferInfo->stride = HORIZONTAL_RESOLUTION * (DrawUtils::GetPxSizeByColorMode(bufferInfo->mode) >> 3); in GetFBBufferInfo()
/foundation/arkui/ui_lite/frameworks/imgdecode/
H A Dfile_img_decoder.cpp148 uint8_t pxSizeInBit = DrawUtils::GetPxSizeByColorMode(dsc.imgInfo.header.colorMode); in ReadLineTrueColor()
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_image_unit_test.cpp258 uint8_t pxSize = DrawUtils::GetPxSizeByColorMode(colorMode); in HWTEST_F()
/foundation/arkui/ui_lite/test/autotest/src/
H A Dcompare_tools.cpp247 uint8_t sizeByColorMode = DrawUtils::GetByteSizeByColorMode(ScreenDeviceProxy::GetInstance()->GetBufferMode()); in SaveByBit()

Completed in 22 milliseconds

12