Home
last modified time | relevance | path

Searched refs:opacity (Results 1 – 25 of 116) sorted by relevance

12345

/foundation/ace/ace_engine/frameworks/core/components/tab_bar/
Dtab_bar_size_animation.h33 …nstexpr ItemAnimationProp(Dimension fontSize, double opacity) : fontSize(fontSize), opacity(opacit… in ItemAnimationProp()
36 return ItemAnimationProp(fontSize + prop.fontSize, opacity + prop.opacity);
40 return ItemAnimationProp(fontSize - prop.fontSize, opacity - prop.opacity);
44 return ItemAnimationProp(fontSize * value, opacity * value);
48 double opacity = 0; member
/foundation/graphic/ui/frameworks/engines/gfx/
Dgfx_engine_manager.cpp32 OpacityType opacity, in DrawArc() argument
35 DrawArc::GetInstance()->Draw(dst, arcInfo, mask, style, opacity, cap); in DrawArc()
44 OpacityType opacity) in DrawLine() argument
46 DrawLine::Draw(dst, start, end, mask, width, color, opacity); in DrawLine()
68 OpacityType opacity) in DrawCubicBezier() argument
70 DrawCurve::DrawCubicBezier(dst, start, control1, control2, end, mask, width, color, opacity); in DrawCubicBezier()
77 OpacityType opacity) in DrawRect() argument
79 DrawRect::Draw(dst, rect, dirtyRect, style, opacity); in DrawRect()
86 OpacityType opacity, in DrawTransform() argument
91 opacity, transMap, dataInfo); in DrawTransform()
[all …]
/foundation/graphic/ui/frameworks/draw/
Ddraw_line.cpp65 OpacityType opacity) in Draw() argument
67 if ((width == 0) || (opacity == OPA_TRANSPARENT)) { in Draw()
87 DrawHorizontalLine(gfxDstBuffer, start, end, mask, width, color, opacity); in Draw()
89 DrawVerticalLine(gfxDstBuffer, start, end, mask, width, color, opacity); in Draw()
91 DrawWuLine(gfxDstBuffer, start, end, mask, width, color, opacity); in Draw()
101 OpacityType opacity) in DrawVerticalLine() argument
117 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity); in DrawVerticalLine()
125 OpacityType opacity) in DrawHorizontalLine() argument
141 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, color, opacity); in DrawHorizontalLine()
145 const Rect& mask, int16_t width, const ColorType& color, OpacityType opacity) in DrawWuLine() argument
[all …]
Ddraw_line.h27 int16_t width, const ColorType& color, OpacityType opacity);
31 const Rect& mask, int16_t width, const ColorType& color, OpacityType opacity);
34 const Rect& mask, int16_t width, const ColorType& color, OpacityType opacity);
37 const Rect& mask, int16_t width, const ColorType& color, OpacityType opacity);
40 int16_t width, const ColorType& color, OpacityType opacity);
Ddraw_curve.cpp23 int16_t width, const ColorType& color, OpacityType opacity) in DrawCubicBezier() argument
25 if ((width == 0) || (opacity == OPA_TRANSPARENT)) { in DrawCubicBezier()
37 …BaseGfxEngine::GetInstance()->DrawLine(gfxDstBuffer, prePoint, point, mask, width, color, opacity); in DrawCubicBezier()
/foundation/ace/ace_engine/frameworks/core/components/display/
Ddisplay_component.h71 void SetOpacity(double opacity, const AnimationOption& animationOption = AnimationOption())
73 opacity_ = AnimatableDouble(opacity, animationOption);
96 void SetTransition(TransitionType type, double opacity) in SetTransition() argument
100 disappearingOpacity_ = opacity; in SetTransition()
103 appearingOpacity_ = opacity; in SetTransition()
107 disappearingOpacity_ = opacity; in SetTransition()
108 appearingOpacity_ = opacity; in SetTransition()
Drender_display.h66 void UpdateOpacity(uint8_t opacity) override in UpdateOpacity() argument
70 callback(opacity); in UpdateOpacity()
74 if (opacity_ != opacity) { in UpdateOpacity()
75 opacity_ = opacity; in UpdateOpacity()
119 void CreateAppearingAnimation(uint8_t opacity, int32_t limit);
Drosen_render_display.h39 void UpdateOpacity(uint8_t opacity) override in UpdateOpacity() argument
41 RenderNode::UpdateOpacity(opacity); in UpdateOpacity()
/foundation/ace/ace_engine/frameworks/core/components/common/painter/
Drosen_svg_painter.h37 double opacity = 1.0; member
54 uint8_t opacity = UINT8_MAX; member
69 … SkPaint& skPaint, const FillState& fillState, uint8_t opacity = UINT8_MAX, bool antiAlias = true);
71 uint8_t opacity = UINT8_MAX, bool antiAlias = true);
75 …SkPaint& skPaint, const StrokeState& strokeState, uint8_t opacity = UINT8_MAX, bool antiAlias = tr…
77 uint8_t opacity = UINT8_MAX, bool antiAlias = true);
90 static void SetGradientStyle(SkPaint& skPaint, const FillState& fillState, double opacity);
Dflutter_svg_painter.h40 double opacity = 1.0; member
57 uint8_t opacity = UINT8_MAX; member
71 …static void SetFillStyle(SkPaint& skPaint, const FillState& fillState, uint8_t opacity = UINT8_MAX,
74 uint8_t opacity = UINT8_MAX, bool antiAlias = true);
77 …static void SetStrokeStyle(SkPaint& skPaint, const StrokeState& strokeState, uint8_t opacity = UIN…
80 uint8_t opacity = UINT8_MAX, bool antiAlias = true);
93 static void SetGradientStyle(SkPaint& skPaint, const FillState& fillState, double opacity);
Drosen_checkable_painter.cpp37 uint8_t opacity = disabled ? DISABLED_ALPHA : ENABLED_ALPHA; in ConfigureOpacity() local
38 return opacity / 255.0; in ConfigureOpacity()
Drosen_svg_painter.cpp68 void RosenSvgPainter::SetFillStyle(SkPaint& skPaint, const FillState& fillState, uint8_t opacity, b… in SetFillStyle() argument
70 double curOpacity = fillState.GetOpacity().GetValue() * opacity * (1.0f / UINT8_MAX); in SetFillStyle()
81 …SkCanvas* skCanvas, const SkPath& skPath, const FillState& fillState, uint8_t opacity, bool antiAl… in SetFillStyle() argument
87 SetFillStyle(paint, fillState, opacity, antiAlias); in SetFillStyle()
91 void RosenSvgPainter::SetGradientStyle(SkPaint& skPaint, const FillState& fillState, double opacity) in SetGradientStyle() argument
106 …gradientColor.GetColor().BlendOpacity(gradientColor.GetOpacity()).BlendOpacity(opacity).GetValue()… in SetGradientStyle()
146 return SetFillStyle(canvas, skPath, fillState, renderInfo.opacity, renderInfo.antiAlias); in SetFillStyle()
158 skPaint.setAlphaf(fillState.GetOpacity().GetValue() * renderInfo.opacity * (1.0f / UINT8_MAX)); in SetFillStyle()
163 …::SetStrokeStyle(SkPaint& skPaint, const StrokeState& strokeState, uint8_t opacity, bool antiAlias) in SetStrokeStyle() argument
166 double curOpacity = strokeState.GetOpacity().GetValue() * opacity * (1.0f / UINT8_MAX); in SetStrokeStyle()
[all …]
Dflutter_svg_painter.cpp70 void FlutterSvgPainter::SetFillStyle(SkPaint& skPaint, const FillState& fillState, uint8_t opacity,… in SetFillStyle() argument
72 double curOpacity = fillState.GetOpacity().GetValue() * opacity * (1.0f / UINT8_MAX); in SetFillStyle()
83 …SkCanvas* skCanvas, const SkPath& skPath, const FillState& fillState, uint8_t opacity, bool antiAl… in SetFillStyle() argument
89 SetFillStyle(paint, fillState, opacity, antiAlias); in SetFillStyle()
93 …d FlutterSvgPainter::SetGradientStyle(SkPaint& skPaint, const FillState& fillState, double opacity) in SetGradientStyle() argument
108 …gradientColor.GetColor().BlendOpacity(gradientColor.GetOpacity()).BlendOpacity(opacity).GetValue()… in SetGradientStyle()
148 return SetFillStyle(canvas, skPath, fillState, renderInfo.opacity, renderInfo.antiAlias); in SetFillStyle()
160 skPaint.setAlphaf(fillState.GetOpacity().GetValue() * renderInfo.opacity * (1.0f / UINT8_MAX)); in SetFillStyle()
165 …lutterSvgPainter::SetStrokeStyle(SkPaint& skPaint, const StrokeState& strokeState, uint8_t opacity, in SetStrokeStyle() argument
169 double curOpacity = strokeState.GetOpacity().GetValue() * opacity * (1.0f / UINT8_MAX); in SetStrokeStyle()
[all …]
Dflutter_checkable_painter.cpp46 uint8_t opacity = disabled ? DISABLED_ALPHA : ENABLED_ALPHA; in ConfigureOpacityLayer() local
48 layer_->SetOpacity(opacity, 0.0, 0.0); in ConfigureOpacityLayer()
/foundation/graphic/ui/frameworks/engines/gfx/hi3516/
Dhi3516_engine.cpp32 const OpacityType opacity) in Fill() argument
35 if ((opacity != OPA_OPAQUE) && (fillArea.GetSize() >= HARDWARE_ACC_SIZE_LIMIT)) { in Fill()
42 if (GfxEngines::GetInstance()->GfxFillArea(data, fillArea, color, opacity)) { in Fill()
47 BaseGfxEngine::Fill(dst, fillArea, color, opacity); in Fill()
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/transition/16/
Dindex.css50 opacity: 20;
53 opacity: 255;
59 opacity: 0.1;
62 opacity: 1;
68 opacity: "dd";
71 opacity: "255";
/foundation/graphic/ui/interfaces/innerkits/engines/gfx/
Dgfx_engine_manager.h56 OpacityType opacity; member
86 const Style& style, OpacityType opacity, uint8_t cap);
89 const Rect& mask, int16_t width, ColorType color, OpacityType opacity);
101 int16_t width, ColorType color, OpacityType opacity);
107 OpacityType opacity);
113 OpacityType opacity,
129 const OpacityType opacity);
/foundation/ace/ace_engine/frameworks/core/components/test/json/
Ddisplay_creator.cpp41 auto opacity = std::max(componentJson.GetValue(DISPLAY_OPACITY)->GetDouble(), 0.0); in CreateFromJson() local
42 opacity = std::min(opacity, 1.0); in CreateFromJson()
43 displayComponent->SetOpacity(opacity); in CreateFromJson()
/foundation/ace/ace_engine/frameworks/core/components/scroll/
Dscroll_fade_effect.cpp35 … fadeController_->SetCallback([weakFade = AceType::WeakClaim(this)](double opacity, double scale) { in ResetFadeEffect() argument
38 fade->SetOpacityAndScale(opacity, scale); in ResetFadeEffect()
116 … fadeController_->SetCallback([weakFade = AceType::WeakClaim(this)](double opacity, double scale) { in HandleOverScroll() argument
119 fade->SetOpacityAndScale(opacity, scale); in HandleOverScroll()
136 void ScrollFadeEffect::SetOpacityAndScale(double opacity, double scale) in SetOpacityAndScale() argument
139 fadePainter_->SetOpacity(opacity); in SetOpacityAndScale()
Dscroll_fade_painter.h59 void SetOpacity(double opacity) in SetOpacity() argument
61 opacity_ = opacity; in SetOpacity()
/foundation/ace/ace_engine/frameworks/core/pipeline/layers/
Dtexture_layer.h27 TextureLayer(int64_t textureId, bool freeze, double width, double height, uint8_t opacity) in DECLARE_ACE_TYPE()
28 …fsetLayer(0, 0), id_(textureId), freeze_(freeze), width_(width), height_(height), opacity_(opacity) in DECLARE_ACE_TYPE()
32 void Update(int64_t textureId, bool freeze, double width, double height, uint8_t opacity);
Dtexture_layer.cpp27 … TextureLayer::Update(int64_t textureId, bool freeze, double width, double height, uint8_t opacity) in Update() argument
33 opacity_ = opacity; in Update()
/foundation/ace/ace_engine/frameworks/core/components/svg/
Dsvg_shape.h27 void SetOpacity(double opacity) in SetOpacity() argument
29 opacity_ = opacity; in SetOpacity()
/foundation/graphic/ui/frameworks/components/
Dui_abstract_scroll_bar.h49 void SetOpacity(uint8_t opacity) in SetOpacity() argument
51 opacity_ = opacity; in SetOpacity()
/foundation/graphic/standard/frameworks/wmserver/src/
Dscreen_info.h29 double opacity; member
44 double opacity; member

12345