/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_image.cpp | 29 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 D | draw_rect.cpp | 58 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 D | draw_utils.cpp | 74 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 D | draw_line.cpp | 117 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 D | draw_triangle.cpp | 63 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, area, mask, color, opa); in Draw()
|
H A D | draw_arc.cpp | 64 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 D | draw_label.cpp | 102 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 D | draw_utils.h | 200 class DrawUtils : public HeapBase { class 202 static DrawUtils* GetInstance();
|
H A D | draw_canvas.cpp | 137 uint8_t pixelByteSize = DrawUtils::GetPxSizeByColorMode(gfxDstBuffer.mode) >> 3; // 3: Shift right 3 bits in DoDrawShadow()
|
/foundation/arkui/ui_lite/frameworks/engines/gfx/ |
H A D | soft_engine.cpp | 57 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 D | screen_device_proxy.cpp | 53 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 D | ui_surface_view.cpp | 149 DrawUtils::GetInstance()->DrawWithBuffer(gfxDstBuffer, GetRect(), invalidatedArea, in Draw() 154 DrawUtils::GetInstance()->DrawTranspantArea(gfxDstBuffer, GetRect(), invalidatedArea); in Draw()
|
H A D | root_view.cpp | 571 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 D | ui_image_view.cpp | 95 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 D | ui_checkbox.cpp | 171 uint8_t opa = DrawUtils::GetMixOpacity(opaScale_, backgroundOpacity_); in SelectedStateSoftwareDrawing()
|
H A D | ui_canvas.cpp | 1465 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 D | ui_analog_clock.cpp | 282 uint8_t pxSize = DrawUtils::GetPxSizeByColorMode(hand.imageInfo_.header.colorMode); in DrawHandImage()
|
/foundation/arkui/ui_lite/frameworks/render/ |
H A D | render_pixfmt_rgba_blend.h | 43 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 D | ui_font_allocator.cpp | 187 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 D | screen.cpp | 53 info.dataSize = screenWidth * screenHeight * DrawUtils::GetByteSizeByColorMode(info.header.colorMode); in GetCurrentScreenBitmap()
|
H A D | image.cpp | 337 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 D | monitor.cpp | 76 bufferInfo->stride = HORIZONTAL_RESOLUTION * (DrawUtils::GetPxSizeByColorMode(bufferInfo->mode) >> 3); in GetFBBufferInfo()
|
/foundation/arkui/ui_lite/frameworks/imgdecode/ |
H A D | file_img_decoder.cpp | 148 uint8_t pxSizeInBit = DrawUtils::GetPxSizeByColorMode(dsc.imgInfo.header.colorMode); in ReadLineTrueColor()
|
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_image_unit_test.cpp | 258 uint8_t pxSize = DrawUtils::GetPxSizeByColorMode(colorMode); in HWTEST_F()
|
/foundation/arkui/ui_lite/test/autotest/src/ |
H A D | compare_tools.cpp | 247 uint8_t sizeByColorMode = DrawUtils::GetByteSizeByColorMode(ScreenDeviceProxy::GetInstance()->GetBufferMode()); in SaveByBit()
|