Home
last modified time | relevance | path

Searched refs:opaScale (Results 1 - 24 of 24) sorted by relevance

/foundation/arkui/ui_lite/test/uitest/test_opacity/
H A Dui_test_opacity.h106 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 Dui_test_opacity.cpp93 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 Ddraw_rect.h33 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 Ddraw_rect.cpp25 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 Ddraw_arc.h34 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 Ddraw_image.cpp24 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 Ddraw_image.h34 const ImageInfo* img, const Style& style, uint8_t opaScale);
37 const char* path, const Style& style, uint8_t opaScale);
H A Ddraw_arc.cpp33 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 Ddraw_utils.h65 uint8_t opaScale; member
167 const OpacityType opaScale; member
189 const OpacityType opaScale; member
247 OpacityType opaScale,
255 OpacityType opaScale,
H A Ddraw_label.cpp73 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 Ddraw_label.h33 TextOrientation orientation, const Style& style, uint8_t opaScale, bool compatibilityMode);
H A Ddraw_utils.cpp791 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 Dtext.h118 opaScale = inOpaScale; in InitData()
134 OpacityType opaScale; member
380 OpacityType opaScale);
592 OpacityType opaScale);
H A Dimage.h150 uint8_t opaScale) const;
/foundation/arkui/ui_lite/frameworks/common/
H A Dimage.cpp276 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 Dtext.cpp251 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 Dui_arc_label.h421 OpacityType opaScale,
H A Dui_button.h483 void DrawImg(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, OpacityType opaScale);
H A Dui_view.h1292 * @param opaScale Indicates the opacity to set.
1296 void SetOpaScale(uint8_t opaScale);
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_button.cpp68 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 Dui_arc_label.cpp260 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 Dui_image_view.cpp462 OpacityType opaScale = DrawUtils::GetMixOpacity(opa, style_->imageOpa_); in OnDraw() local
467 opaScale, *drawTransMap_, imageTranDataInfo); in OnDraw()
H A Dui_view.cpp258 void UIView::SetOpaScale(uint8_t opaScale) in SetOpaScale() argument
260 opaScale_ = opaScale; in SetOpaScale()
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_view_unit_test.cpp813 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()

Completed in 20 milliseconds