/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_arc.cpp | 132 uint8_t opa, in DrawCircleNoEndpoint() argument 135 DrawAxisLine(gfxDstBuffer, arcInfo, mask, style, opa); in DrawCircleNoEndpoint() 176 DrawLineAnti(gfxDstBuffer, arcInfo, mask, style, opa); in DrawCircleNoEndpoint() 207 uint8_t opa) in DrawAxisLine() argument 220 arcInfo.imgPos, mask, lineWidth, style, opa, arcInfo.imgSrc); in DrawAxisLine() 225 arcInfo.imgPos, mask, lineWidth, style, opa, arcInfo.imgSrc); in DrawAxisLine() 324 const Style& style, uint8_t opa) in DrawLineAnti() argument 353 antiOpa = (opa == OPA_OPAQUE) ? antiOpa : (static_cast<uint16_t>(antiOpa) * opa) >> SHIFT_8; in DrawLineAnti() 363 antiOpa = (opa == OPA_OPAQUE) ? antiOpa : (static_cast<uint16_t>(antiOpa) * opa) >> SHIFT_8; in DrawLineAnti() 416 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.lineOpa_); in Draw() local [all …]
|
H A D | draw_rect.cpp | 58 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.bgOpa_); in Draw() local 132 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.bgOpa_); in DrawRectRadiusWithoutBorderCon1() local 133 drawUtils->DrawColorArea(gfxDstBuffer, topRect, dirtyRect, style.bgColor_, opa); in DrawRectRadiusWithoutBorderCon1() 174 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.bgOpa_); in DrawRectRadiusWithoutBorderCon2() local 214 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.bgOpa_); in DrawRectRadiusWithoutBorderCon4() local 275 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.borderOpa_); in DrawRectBorderWithoutRadius() local 345 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.borderOpa_); in DrawRectRadiusEqualBorder() local 424 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.borderOpa_); in DrawRectRadiusSmallThanBorder() local 519 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.borderOpa_); in DrawRectRadiusBiggerThanBorderCon1() local 587 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.borderOpa_); in DrawRectRadiusBiggerThanBorderCon2() local [all …]
|
H A D | draw_utils.h | 90 OpacityType opa; member 205 const ColorType& color, OpacityType opa) const; 208 OpacityType opa, const EdgeSides& sides) const; 211 const ColorType& color, OpacityType opa) const; 230 const OpacityType opa) const; 281 OpacityType opa, 285 const ColorType& color, OpacityType opa, uint16_t w) const; 293 OpacityType opa, 302 OpacityType opa, 311 OpacityType opa, [all …]
|
H A D | draw_image.cpp | 29 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.imageOpa_); in DrawCommon() local 31 DrawUtils::GetInstance()->DrawImage(gfxDstBuffer, coords, mask, img->data, opa, pxBitSize, in DrawCommon() 41 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.imageOpa_); in DrawCommon() local 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_utils.cpp | 96 if (opa == OPA_TRANSPARENT) { in DrawColorArea() 161 OpacityType opa) const in DrawPixel() 167 DRAW_UTILS_PREPROCESS(gfxDstBuffer, opa); in DrawPixel() 337 DRAW_UTILS_PREPROCESS(gfxDstBuffer, opa); in DrawLetter() 359 if (opa != OPA_OPAQUE) { in DrawLetter() 382 OpacityType opa, in DrawImage() argument 412 blendOption.opacity = opa; in DrawImage() 2076 DRAW_UTILS_PREPROCESS(gfxDstBuffer, opa); 2100 DRAW_UTILS_PREPROCESS(gfxDstBuffer, opa); 2135 if (opa == OPA_OPAQUE) { [all …]
|
H A D | clip_utils.cpp | 159 void ClipUtils::DrawPixel(int16_t x, int16_t y, uint8_t opa, const ImageInfo* imageInfo) in DrawPixel() argument 169 buffer[offset].alpha = buffer[offset].alpha * opa / OPA_OPAQUE; in DrawPixel() 179 void ClipUtils::DrawHorLine(int16_t x, int16_t y, int16_t width, uint8_t opa, const ImageInfo* imag… in DrawHorLine() argument 182 DrawPixel(i, y, opa, imageInfo); in DrawHorLine()
|
H A D | clip_utils.h | 69 void DrawPixel(int16_t x, int16_t y, uint8_t opa, const ImageInfo* imageInfo); 70 void DrawHorLine(int16_t x, int16_t y, int16_t width, uint8_t opa, const ImageInfo* imageInfo);
|
H A D | draw_arc.h | 117 uint8_t opa, bool anti); 119 …ine(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, const Rect& mask, const Style& style, uint8_t opa); 141 …nti(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, const Rect& mask, const Style& style, uint8_t opa);
|
H A D | draw_triangle.cpp | 25 OpacityType opa) in Draw() argument 63 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, area, mask, color, opa); in Draw()
|
H A D | draw_triangle.h | 27 const Rect& mask, const ColorType& color, OpacityType opa);
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_abstract_scroll.cpp | 70 uint8_t opa = OPA_OPAQUE * animator_.GetRunTime() / ANIMATOR_DURATION; in Callback() local 72 opa = OPA_OPAQUE - opa; in Callback() 74 float bezielY = opa; in Callback() 77 opa = static_cast<uint8_t>(bezielY * opa); in Callback() 79 scrollView_.yScrollBar_->SetOpacity(opa); in Callback() 82 scrollView_.xScrollBar_->SetOpacity(opa); in Callback() 434 uint8_t opa = GetMixOpaScale(); in OnPostDraw() local 444 yScrollBar_->OnDraw(gfxDstBuffer, invalidatedArea, opa); in OnPostDraw() 455 xScrollBar_->OnDraw(gfxDstBuffer, invalidatedArea, opa); in OnPostDraw() 470 yScrollBar_->OnDraw(gfxDstBuffer, invalidatedArea, opa); in OnPostDraw()
|
H A D | ui_label_button.cpp | 36 OpacityType opa = GetMixOpaScale(); in OnDraw() local 39 labelStyle_, ellipsisIndex, opa); in OnDraw()
|
H A D | ui_button.cpp | 92 OpacityType opa = GetMixOpaScale(); in OnDraw() local 93 …GetInstance()->DrawRect(gfxDstBuffer, GetOrigRect(), invalidatedArea, *buttonStyles_[state_], opa); in OnDraw() 94 DrawImg(gfxDstBuffer, invalidatedArea, opa); in OnDraw() 334 OpacityType opa = button_.GetMixOpaScale(); in DrawMask() local 335 …xEngine::GetInstance()->DrawRect(gfxDstBuffer, button_.GetRect(), invalidatedArea, maskStyle, opa); in DrawMask()
|
H A D | ui_image_view.cpp | 428 OpacityType opa = GetMixOpaScale(); in OnDraw() local 430 baseGfxEngine->DrawRect(gfxDstBuffer, GetRect(), invalidatedArea, *style_, opa); in OnDraw() 445 SetCordsTmpRect(gfxDstBuffer, viewRect, trunc, cordsTmp, opa); in OnDraw() 462 OpacityType opaScale = DrawUtils::GetMixOpacity(opa, style_->imageOpa_); in OnDraw() 474 Rect& cordsTmp, OpacityType opa) in SetCordsTmpRect() argument 480 image_.DrawImage(gfxDstBuffer, cordsTmp, trunc, *style_, opa); in SetCordsTmpRect()
|
H A D | ui_checkbox.cpp | 171 uint8_t opa = DrawUtils::GetMixOpacity(opaScale_, backgroundOpacity_); in SelectedStateSoftwareDrawing() local 174 … baseGfxEngine->DrawLine(gfxDstBuffer, start, mid, trunc, rectLineWidth * 2, Color::White(), opa); in SelectedStateSoftwareDrawing() 177 baseGfxEngine->DrawLine(gfxDstBuffer, mid, end, trunc, rectLineWidth * 2, Color::White(), opa); in SelectedStateSoftwareDrawing()
|
H A D | ui_edit_text.cpp | 495 OpacityType opa = GetMixOpaScale(); in OnDraw() local 497 Text::TEXT_ELLIPSIS_END_INV, opa); in OnDraw() 502 OpacityType opa = GetMixOpaScale(); in OnDraw() local 504 style, placeholderEllipsisIndex_, opa); in OnDraw()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | screen_device_proxy.h | 49 OpacityType opa, in HardwareFill() argument 55 return device_->HardwareFill(fillArea, color, opa, dst, dstStride, dstColorMode); in HardwareFill() 66 OpacityType opa, in HardwareBlend() argument 75 color, opa, dst, dstStride, dstColorMode, x, y); in HardwareBlend() 84 OpacityType opa, in HardwareTransform() argument 93 …return device_->HardwareTransform(src, srcColorMode, srcRect, transformMatrix, opa, color, mask, d… in HardwareTransform()
|
H A D | screen_device.h | 118 OpacityType opa, in HardwareFill() argument 151 OpacityType opa, in HardwareBlend() argument 183 OpacityType opa, in HardwareTransform() argument
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_scroll_bar_test.cpp | 245 uint8_t opa[] = {0, 255}; variable 246 for (int8_t i = 0; i < sizeof(opa) / sizeof(uint8_t); i++) { 247 arcBar.SetOpacity(opa[i]); 248 EXPECT_EQ(arcBar.GetOpacity(), opa[i]); 250 boxBar.SetOpacity(opa[i]); 251 EXPECT_EQ(boxBar.GetOpacity(), opa[i]);
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_neon_utils.h | 197 uint8_t opa) in LoadBufA_ARGB8888() argument 203 a = NeonMulDiv255(vBuf.val[NEON_A], vdup_n_u8(opa)); in LoadBufA_ARGB8888() 211 uint8_t opa) in LoadBufA_XRGB8888() argument 217 a = vdup_n_u8(opa); in LoadBufA_XRGB8888() 225 uint8_t opa) in LoadBufA_RGB888() argument 231 a = vdup_n_u8(opa); in LoadBufA_RGB888() 239 uint8_t opa) in LoadBufA_RGB565() argument 248 a = vdup_n_u8(opa); in LoadBufA_RGB565()
|
H A D | graphic_neon_pipeline.h | 28 …BufA = void (*)(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t& a, uint8_t opa); 62 void Construct(ColorMode dm, ColorMode sm, void* srcColor = nullptr, uint8_t opa = OPA_OPAQUE) 81 ConstructSrcColor(sm, srcColor, opa, r2_, g2_, b2_, a2_); 85 void Invoke(uint8_t* dst, uint8_t* src, uint8_t opa) in Invoke() argument 88 loadSrcFunc_(src, r2_, g2_, b2_, a2_, opa); in Invoke() 329 void ConstructSrcColor(ColorMode sm, void* srcColor, uint8_t opa, in ConstructSrcColor() argument 337 a = NeonMulDiv255(vdup_n_u8(opa), vdup_n_u8(color->alpha)); in ConstructSrcColor() 343 a = vdup_n_u8(opa); in ConstructSrcColor() 349 a = vdup_n_u8(opa); in ConstructSrcColor() 355 a = vdup_n_u8(opa); in ConstructSrcColor()
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/common/ |
H A D | hardware_acceleration_unit_test.cpp | 41 OpacityType opa, in HardwareFill() argument 56 OpacityType opa, in HardwareBlend() argument 71 OpacityType opa, in HardwareTransform() argument
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/hals/ |
H A D | gfx_engines.cpp | 117 const OpacityType& opa) in GfxFillArea() argument 130 opt.globalAlpha = opa; in GfxFillArea()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/engines/gfx/ |
H A D | soft_engine.cpp | 55 const OpacityType opa) in DrawLetter() argument 57 …Utils::GetInstance()->DrawLetter(gfxDstBuffer, fontMap, fontRect, subRect, fontWeight, color, opa); in DrawLetter()
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/innerkits/hals/ |
H A D | gfx_engines.h | 36 const OpacityType& opa);
|