/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | style.h | 120 class Style : public HeapBase { class 123 * @brief A constructor used to create a <b>Style</b> instance. 128 Style(); 131 * @brief A destructor used to delete the <b>Style</b> instance. 136 virtual ~Style() {} in ~Style() 228 static Style& GetDefaultStyle() in GetDefaultStyle() 240 static Style& GetBrightStyle() in GetBrightStyle() 252 static Style& GetBrightColorStyle() in GetBrightColorStyle() 264 static Style& GetButtonPressedStyle() in GetButtonPressedStyle() 276 static Style [all...] |
/foundation/arkui/ui_lite/interfaces/kits/themes/ |
H A D | theme.h | 46 /** Style when released */ 47 Style released; 48 /** Style when pressed */ 49 Style pressed; 50 /** Style when inactive */ 51 Style inactive; 85 Style& GetMainStyle() in GetMainStyle() 109 Style& GetLabelStyle() in GetLabelStyle() 119 Style& GetEditTextStyle() in GetEditTextStyle() 131 Style [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | style.h | 64 struct Style { struct 79 struct CommonStyle : Style { 85 struct CommonSizeStyle : Style { 96 struct CommonMarginStyle : Style { 100 struct CommonPaddingStyle : Style { 104 struct CommonBorderStyle : Style { 108 struct CommonFlexStyle : Style { 117 struct CommonPositionStyle : Style { 125 struct CommonBackgroundStyle : Style { 136 struct CommonShadowStyle : Style { [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 [all...] |
H A D | draw_arc.h | 34 const Style& style, uint8_t opaScale, uint8_t cap); 89 const Style& style, 98 const Style& style, 106 const Style& style, 116 void DrawCircleNoEndpoint(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, const Rect& mask, const Style& style, 119 void DrawAxisLine(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, const Rect& mask, const Style& style, uint8_t opa); 127 const Style& style, 137 const Style& style, 141 void DrawLineAnti(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, const Rect& mask, const Style& style, uint8_t opa); 146 const Style [all...] |
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_rect.cpp | 25 const Style& style, OpacityType opaScale) in Draw() 83 const Style& style, OpacityType opaScale) in DrawRectRadiusWithoutBorder() 98 const Style& style, OpacityType opaScale) in DrawRectRadiusWithoutBorderCon1() 108 Style arcStyle = style; in DrawRectRadiusWithoutBorderCon1() 141 const Style& style, OpacityType opaScale) in DrawRectRadiusWithoutBorderCon2() 151 Style arcStyle = style; in DrawRectRadiusWithoutBorderCon2() 179 const Style& style, OpacityType opaScale) in DrawRectRadiusWithoutBorderCon3() 185 Style arcStyle = style; in DrawRectRadiusWithoutBorderCon3() 201 const Style& style, OpacityType opaScale) in DrawRectRadiusWithoutBorderCon4() 228 Style arcStyl in DrawRectRadiusWithoutBorderCon4() [all...] |
/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | style.cpp | 19 Style StyleDefault::defaultStyle_; 20 Style StyleDefault::brightStyle_; 21 Style StyleDefault::brightColorStyle_; 22 Style StyleDefault::buttonReleasedStyle_; 23 Style StyleDefault::buttonPressedStyle_; 24 Style StyleDefault::buttonInactiveStyle_; 25 Style StyleDefault::labelStyle_; 26 Style StyleDefault::editTextStyle_; 27 Style StyleDefault::backgroundTransparentStyle_; 28 Style StyleDefaul 36 Style::Style() Style() function in OHOS::Style [all...] |
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_canvas.cpp | 28 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawLine() 32 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawLine() 50 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawRect() 54 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawRect() 72 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawRRect() 76 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawRRect() 95 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawTextBlob() 99 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawTextBlob() 117 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawSymbol() 121 } else if (paint.GetStyle() == TexginePaint::Style in DrawSymbol() [all...] |
H A D | texgine_paint.h | 31 enum Style : uint8_t { 82 * @brief Gets Style from TexginePaint 84 Style GetStyle() const; 129 void SetStyle(Style style); 158 Style style_;
|
H A D | texgine_path_1d_path_effect.h | 31 enum Style { enum in OHOS::Rosen::TextEngine::TexginePath1DPathEffect 44 static std::shared_ptr<TexginePathEffect> Make(const TexginePath& path, float advance, float phase, Style style);
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_abstract_progress.h | 222 * @param style Indicates the background style of the progress bar. For details, see {@link Style}. 227 void SetBackgroundStyle(const Style& style); 247 const Style& GetBackgroundStyle() const; 262 * @param style Indicates the foreground style of this progress bar. For details, see {@link Style}. 267 void SetForegroundStyle(const Style& style); 287 const Style& GetForegroundStyle() const; 322 Style* backgroundStyle_; 323 Style* foregroundStyle_;
|
H A D | ui_canvas.h | 300 void (*DrawGraphics)(BufferInfo&, void*, const Paint&, const Rect&, const Rect&, const Style&); 606 const Style& style); 612 const Style& style); 618 const Style& style); 624 const Style& style); 630 const Style& style); 636 const Style& style); 643 const Style& style); 651 const Style& style); 657 const Style [all...] |
H A D | ui_button.h | 264 Style* style = buttonStyles_[state_]; 278 Style* style = buttonStyles_[state_]; 319 Style* style = buttonStyles_[state_]; 330 Style* style = buttonStyles_[state_]; 354 void SetStyle(Style& style) override 451 Style* buttonStyles_[BTN_STATE_NUM];
|
H A D | ui_label_button.h | 197 void SetLabelStyle(Style& labelStyle) in SetLabelStyle() 222 const Style& GetLabelStyle() const in GetLabelStyle() 308 Style labelStyle_;
|
H A D | ui_box_progress.h | 225 void GetBackgroundParam(Point& startPoint, int16_t& width, int16_t& height, uint16_t& radius, const Style& style); 234 const Style& style); 239 const Style& style,
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_abstract_progress.cpp | 140 void UIAbstractProgress::SetBackgroundStyle(const Style& style) in SetBackgroundStyle() 143 backgroundStyle_ = new Style(); in SetBackgroundStyle() 156 backgroundStyle_ = new Style(*backgroundStyle_); in SetBackgroundStyle() 166 const Style& UIAbstractProgress::GetBackgroundStyle() const in GetBackgroundStyle() 176 void UIAbstractProgress::SetForegroundStyle(const Style& style) in SetForegroundStyle() 179 foregroundStyle_ = new Style(); in SetForegroundStyle() 192 foregroundStyle_ = new Style(*foregroundStyle_); in SetForegroundStyle() 202 const Style& UIAbstractProgress::GetForegroundStyle() const in GetForegroundStyle()
|
H A D | ui_edit_text.cpp | 103 Style& style = (theme != nullptr) ? (theme->GetEditTextStyle()) : (StyleDefault::GetEditTextStyle()); in UIEditText() 143 Style style = GetStyleConst(); in DealPressEvents() 200 void UIEditText::SetStyle(Style& style) in SetStyle() 334 Style style = GetStyleConst(); in ReMeasure() 354 Style style = GetStyleConst(); in UpdateOffsetX() 398 Style style = GetStyleConst(); in GetFirstVisibleIndex() 417 Style style = GetStyleConst(); in GetLastVisibleIndex() 433 Style style = GetStyleConst(); in UpdateExtraOffsetX() 493 Style style = GetStyleConst(); in OnDraw() 500 Style styl in OnDraw() [all...] |
H A D | ui_abstract_scroll_bar.h | 63 Style* backgroundStyle_ = nullptr; 64 Style* foregroundStyle_ = nullptr;
|
/foundation/arkui/ui_lite/interfaces/kits/common/ |
H A D | text.h | 369 virtual void ReMeasureTextSize(const Rect& textRect, const Style& style); 371 void ReMeasureTextWidthInEllipsisMode(const Rect& textRect, const Style& style, uint16_t ellipsisIndex); 378 const Style& style, 446 uint16_t GetEllipsisIndex(const Rect& textRect, const Style& style); 524 virtual uint16_t GetLetterIndexByLinePosition(const Style& style, int16_t contentWidth, 526 virtual uint16_t GetPosXByLetterIndex(const Rect& textRect, const Style& style, 555 const Style& style, uint16_t beginIndex, uint16_t num); 564 virtual int16_t GetMetaTextWidth(const Style& style); 584 virtual uint16_t GetLetterIndexByPosition(const Rect& textRect, const Style& style, const Point& pos); 589 const Style [all...] |
/foundation/arkui/ui_lite/interfaces/innerkits/engines/gfx/ |
H A D | soft_engine.h | 27 const Style& style, 60 const Style& style, 87 const Style& style) override; 94 const Style& style) override;
|
H A D | gfx_engine_manager.h | 84 const Style& style, 117 DrawRect(BufferInfo& dst, const Rect& rect, const Rect& dirtyRect, const Style& style, OpacityType opacity) = 0; 143 const Style& style) = 0; 150 const Style& style) = 0;
|
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_scroll_bar_test.cpp | 50 const Style* GetBackStyle() const in GetBackStyle() 55 const Style* GetForeStyle() const in GetForeStyle() 83 const Style* GetBackStyle() const in GetBackStyle() 88 const Style* GetForeStyle() const in GetForeStyle() 195 Style& defaultBackStyle = StyleDefault::GetScrollBarBackgroundStyle(); in HWTEST_F() 196 Style& defaultForeStyle = StyleDefault::GetScrollBarForegroundStyle(); in HWTEST_F()
|
/foundation/arkui/ui_lite/frameworks/engines/gfx/ |
H A D | soft_engine.cpp | 31 const Style& style, in DrawArc() 76 const Style& style, in DrawRect() 122 const Style& style) in DrawPath() 134 const Style& style) in FillPath()
|
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | rosen_render_grid_layout.cpp | 59 fillGeometry.setStyle(SkPaint::Style::kFill_Style); in PaintSelectedZone() 64 strokeGeometry.setStyle(SkPaint::Style::kStroke_Style); in PaintSelectedZone() 110 fillGeometry.setStyle(SkPaint::Style::kFill_Style); in PaintItemZone()
|