/foundation/arkui/ui_lite/test/uitest/test_opacity/ |
H A D | ui_test_opacity.h | 106 UILabel* CreateTestCaseUILabel(const char* title, uint8_t opaScale) const; 107 UIButton* CreateTestCaseUIButton(uint8_t opaScale) const; 108 UILabelButton* CreateTestCaseUILabelButton(const char* title, uint8_t opaScale) const; 109 UIArcLabel* CreateTestCaseUIArcLabel(const char* title, uint8_t opaScale) const; 110 UIImageView* CreateTestCaseUIImageView(const char* path, uint8_t opaScale) const; 112 uint8_t opaScale) const; 113 UIView* CreateTestCaseUIView(uint8_t opaScale) const; 114 UIList* CreateTestCaseUIList(uint8_t opaScale) const;
|
H A D | ui_test_opacity.cpp | 93 UILabel* UITestOpacity::CreateTestCaseUILabel(const char* title, uint8_t opaScale) const in CreateTestCaseUILabel() 102 label->SetOpaScale(opaScale); // 200: opacity in CreateTestCaseUILabel() 158 UIButton* UITestOpacity::CreateTestCaseUIButton(uint8_t opaScale) const in CreateTestCaseUIButton() 165 button->SetOpaScale(opaScale); // 200: opacity in CreateTestCaseUIButton() 186 UILabelButton* UITestOpacity::CreateTestCaseUILabelButton(const char* title, uint8_t opaScale) const in CreateTestCaseUILabelButton() 191 labelButton->SetOpaScale(opaScale); in CreateTestCaseUILabelButton() 211 UIArcLabel* UITestOpacity::CreateTestCaseUIArcLabel(const char* title, uint8_t opaScale) const in CreateTestCaseUIArcLabel() 222 label->SetOpaScale(opaScale); // 200: opacity in CreateTestCaseUIArcLabel() 241 UIImageView* UITestOpacity::CreateTestCaseUIImageView(const char* path, uint8_t opaScale) const in CreateTestCaseUIImageView() 248 imageView->SetOpaScale(opaScale); // 20 in CreateTestCaseUIImageView() [all...] |
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_rect.h | 33 const Style& style, OpacityType opaScale); 37 const Style& style, OpacityType opaScale); 40 const Style& style, OpacityType opaScale); 43 const Style& style, OpacityType opaScale); 46 const Style& style, OpacityType opaScale); 49 const Style& style, OpacityType opaScale); 52 const Style& style, OpacityType opaScale); 55 const Style& style, OpacityType opaScale); 58 const Style& style, OpacityType opaScale); 61 const Style& style, OpacityType opaScale); [all...] |
H A D | draw_rect.cpp | 25 const Style& style, OpacityType opaScale) in Draw() 58 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.bgOpa_); in Draw() 63 DrawRectRadiusWithoutBorder(gfxDstBuffer, rect, dirtyRect, style, opaScale); in Draw() 68 DrawRectBorderWithoutRadius(gfxDstBuffer, rect, dirtyRect, style, opaScale); in Draw() 71 DrawRectRadiusSmallThanBorder(gfxDstBuffer, rect, dirtyRect, style, opaScale); in Draw() 74 DrawRectRadiusEqualBorder(gfxDstBuffer, rect, dirtyRect, style, opaScale); in Draw() 77 DrawRectRadiusBiggerThanBorder(gfxDstBuffer, rect, dirtyRect, style, opaScale); in Draw() 83 const Style& style, OpacityType opaScale) in DrawRectRadiusWithoutBorder() 87 DrawRectRadiusWithoutBorderCon1(gfxDstBuffer, rect, dirtyRect, style, opaScale); in DrawRectRadiusWithoutBorder() 89 DrawRectRadiusWithoutBorderCon2(gfxDstBuffer, rect, dirtyRect, style, opaScale); in DrawRectRadiusWithoutBorder() 24 Draw(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) Draw() argument 82 DrawRectRadiusWithoutBorder(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusWithoutBorder() argument 97 DrawRectRadiusWithoutBorderCon1(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusWithoutBorderCon1() argument 140 DrawRectRadiusWithoutBorderCon2(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusWithoutBorderCon2() argument 178 DrawRectRadiusWithoutBorderCon3(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusWithoutBorderCon3() argument 200 DrawRectRadiusWithoutBorderCon4(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusWithoutBorderCon4() argument 262 DrawRectBorderWithoutRadius(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectBorderWithoutRadius() argument 299 DrawRectRadiusEqualBorder(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusEqualBorder() argument 369 DrawRectRadiusSmallThanBorder(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusSmallThanBorder() argument 452 DrawRectRadiusBiggerThanBorder(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusBiggerThanBorder() argument 467 DrawRectRadiusBiggerThanBorderCon1(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusBiggerThanBorderCon1() argument 536 DrawRectRadiusBiggerThanBorderCon2(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusBiggerThanBorderCon2() argument 603 DrawRectRadiusBiggerThanBorderCon3(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusBiggerThanBorderCon3() argument 639 DrawRectRadiusBiggerThanBorderCon4(BufferInfo& gfxDstBuffer, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opaScale) DrawRectRadiusBiggerThanBorderCon4() argument [all...] |
H A D | draw_arc.h | 34 const Style& style, uint8_t opaScale, uint8_t cap); 90 uint8_t opaScale, 99 uint8_t opaScale, 107 uint8_t opaScale, 128 uint8_t opaScale, 138 uint8_t opaScale,
|
H A D | draw_image.cpp | 24 const ImageInfo* img, const Style& style, uint8_t opaScale) in DrawCommon() 29 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.imageOpa_); in DrawCommon() 36 const char* path, const Style& style, uint8_t opaScale) in DrawCommon() 41 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.imageOpa_); in DrawCommon() 23 DrawCommon(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask, const ImageInfo* img, const Style& style, uint8_t opaScale) DrawCommon() argument 35 DrawCommon(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask, const char* path, const Style& style, uint8_t opaScale) DrawCommon() argument
|
H A D | draw_image.h | 34 const ImageInfo* img, const Style& style, uint8_t opaScale); 37 const char* path, const Style& style, uint8_t opaScale);
|
H A D | draw_arc.cpp | 33 uint8_t opaScale, in DrawImg() 47 image->DrawImage(gfxDstBuffer, cordsTmp, area, style, opaScale); in DrawImg() 57 uint8_t opaScale, in DrawVerLine() 62 DrawImg(gfxDstBuffer, imgPos, rect, mask, style, opaScale, image); in DrawVerLine() 64 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, style.lineColor_, opaScale); in DrawVerLine() 74 uint8_t opaScale, in DrawHorLine() 79 DrawImg(gfxDstBuffer, imgPos, rect, mask, style, opaScale, image); in DrawHorLine() 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() 246 uint8_t opaScale, in DrawLineWithDegree() 28 DrawImg(BufferInfo& gfxDstBuffer, const Point& imgPos, Rect& area, const Rect& invalidatedArea, const Style& style, uint8_t opaScale, const Image* image) DrawImg() argument 51 DrawVerLine(BufferInfo& gfxDstBuffer, const Point& begin, const Point& imgPos, const Rect& mask, int16_t len, const Style& style, uint8_t opaScale, const Image* image) DrawVerLine() argument 68 DrawHorLine(BufferInfo& gfxDstBuffer, const Point& begin, const Point& imgPos, const Rect& mask, int16_t len, const Style& style, uint8_t opaScale, const Image* image) DrawHorLine() argument 239 DrawLineWithDegree(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, int16_t start, int16_t end, int16_t y, const Rect& mask, const Style& style, uint8_t opaScale, uint8_t quadrant) DrawLineWithDegree() argument 285 DrawLineWithDegreeInner(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, int16_t start, int16_t end, int16_t y, const Rect& mask, const Style& style, uint8_t opaScale, uint8_t quadrant) DrawLineWithDegreeInner() argument 413 Draw(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, const Rect& mask, const Style& style, uint8_t opaScale, uint8_t cap) Draw() argument [all...] |
H A D | draw_utils.h | 65 uint8_t opaScale; member 167 const OpacityType opaScale; member 189 const OpacityType opaScale; member 247 OpacityType opaScale, 255 OpacityType opaScale,
|
H A D | draw_label.cpp | 73 labelLine.opaScale, in DrawTextOneLine() 156 OpacityType opaScale, in DrawArcText() 163 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.textOpa_); in DrawArcText() 202 static_cast<int16_t>(rotateAngle), style.textColor_, opaScale, arcTextInfo.startAngle, in DrawArcText() 307 letterInfo.opaScale, transMap, letterTranDataInfo); in DrawLetterWithRotate() 146 DrawArcText(BufferInfo& gfxDstBuffer, const Rect& mask, const char* text, const Point& arcCenter, uint16_t fontId, uint8_t fontSize, const ArcTextInfo arcTextInfo, const float changeAngle, TextOrientation orientation, const Style& style, OpacityType opaScale, bool compatibilityMode) DrawArcText() argument
|
H A D | draw_label.h | 33 TextOrientation orientation, const Style& style, uint8_t opaScale, bool compatibilityMode);
|
H A D | draw_utils.cpp | 791 COLOR_FILL_BLEND(screenBuffer, bufferMode, &result, ARGB8888, in.opaScale); 907 if (in.opaScale == OPA_OPAQUE) { 910 COLOR_FILL_BLEND(screenBuffer, bufferMode, &result, RGB565, in.opaScale); 1027 if (in.opaScale == OPA_OPAQUE) { 1030 COLOR_FILL_BLEND(screenBuffer, bufferMode, &result, RGB888, in.opaScale); 1105 if ((in.opaScale == OPA_OPAQUE) && (result.alpha == OPA_OPAQUE)) { 1108 COLOR_FILL_BLEND(screenBuffer, bufferMode, &result, ARGB8888, in.opaScale); 1174 if ((in.opaScale == OPA_OPAQUE) && (result.alpha == OPA_OPAQUE)) { 1177 COLOR_FILL_BLEND(screenBuffer, bufferMode, &result, ARGB8888, in.opaScale); 1295 vOutA = NeonMulDiv255(vdup_n_u8(in.opaScale), vOut 1717 DrawTriangleTransform(BufferInfo& gfxDstBuffer, const Rect& mask, const Point& position, const ColorType& color, OpacityType opaScale, const TransformMap& transMap, const TriangleTransformDataInfo& triangleInfo) global() argument 1886 DrawTransform(BufferInfo& gfxDstBuffer, const Rect& mask, const Point& position, const ColorType& color, OpacityType opaScale, const TransformMap& transMap, const TransformDataInfo& dataInfo) const global() argument [all...] |
/foundation/arkui/ui_lite/interfaces/kits/common/ |
H A D | text.h | 118 opaScale = inOpaScale; in InitData() 134 OpacityType opaScale; member 380 OpacityType opaScale); 592 OpacityType opaScale);
|
H A D | image.h | 150 uint8_t opaScale) const;
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | image.cpp | 276 uint8_t opaScale) const in DrawImage() 279 DrawImage::DrawCommon(gfxDstBuffer, coords, mask, imageInfo_, style, opaScale); in DrawImage() 281 DrawImage::DrawCommon(gfxDstBuffer, coords, mask, path_, style, opaScale); in DrawImage()
|
H A D | text.cpp | 251 OpacityType opaScale) in OnDraw() 259 Draw(gfxDstBuffer, mask, textRect, style, offsetX, ellipsisIndex, opaScale); in OnDraw() 269 OpacityType opaScale) in Draw() 284 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.textOpa_); in Draw() 244 OnDraw(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, const Rect& viewOrigRect, const Rect& textRect, int16_t offsetX, const Style& style, uint16_t ellipsisIndex, OpacityType opaScale) OnDraw() argument 263 Draw(BufferInfo& gfxDstBuffer, const Rect& mask, const Rect& coords, const Style& style, int16_t offsetX, uint16_t ellipsisIndex, OpacityType opaScale) Draw() argument
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_arc_label.h | 421 OpacityType opaScale,
|
H A D | ui_button.h | 483 void DrawImg(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, OpacityType opaScale);
|
H A D | ui_view.h | 1292 * @param opaScale Indicates the opacity to set. 1296 void SetOpaScale(uint8_t opaScale);
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_button.cpp | 68 void UIButton::DrawImg(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, OpacityType opaScale) in DrawImg() argument 86 image->DrawImage(gfxDstBuffer, coords, trunc, *buttonStyles_[state_], opaScale); in DrawImg()
|
H A D | ui_arc_label.cpp | 260 OpacityType opaScale, in DrawArcText() 278 orientation, *style_, opaScale, compatibilityMode_); in DrawArcText() 258 DrawArcText(BufferInfo& gfxDstBuffer, const Rect& mask, OpacityType opaScale, ArcTextInfo arcTextInfo, TextOrientation orientation) DrawArcText() argument
|
H A D | ui_image_view.cpp | 462 OpacityType opaScale = DrawUtils::GetMixOpacity(opa, style_->imageOpa_); in OnDraw() local 467 opaScale, *drawTransMap_, imageTranDataInfo); in OnDraw()
|
H A D | ui_view.cpp | 258 void UIView::SetOpaScale(uint8_t opaScale) in SetOpaScale() argument 260 opaScale_ = opaScale; in SetOpaScale()
|
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_view_unit_test.cpp | 813 uint8_t opaScale = OPA_OPAQUE; in HWTEST_F() local 816 view_->SetStyle(STYLE_BACKGROUND_OPA, opaScale >> 1); in HWTEST_F() 817 view_->SetStyle(STYLE_BORDER_OPA, opaScale >> 1); in HWTEST_F()
|