/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | text_style.cpp | 24 …: fontFamilies_(fontFamilies), fontSize_(fontSize), fontWeight_(fontWeight), fontStyle_(fontStyle), in TextStyle() 35 …fontWeight_ == rhs.fontWeight_ && fontStyle_ == rhs.fontStyle_ && textBaseline_ == rhs.textBaselin… in operator ==() 99 JSON_STRING_PUT_INT(jsonValue, fontWeight_); in ToString()
|
H A D | popup_param.h | 326 fontWeight_ = fontWeight; in SetFontWeight() 331 return fontWeight_; in GetFontWeight() 525 std::optional<FontWeight> fontWeight_; variable
|
H A D | text_style.h | 343 return fontWeight_; in GetFontWeight() 348 fontWeight_ = fontWeight; in SetFontWeight() 786 FontWeight fontWeight_ { FontWeight::NORMAL };
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/ |
H A D | typography_style.cpp | 24 .fontWeight_ = fontWeight_, in GetTextStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/search/ |
H A D | search_theme.h | 73 …theme->fontWeight_ = FontWeight(static_cast<int32_t>(pattern->GetAttr<double>("search_font_weight"… in ParsePattern() 172 return fontWeight_; in GetFontWeight() 278 FontWeight fontWeight_ = FontWeight::NORMAL; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_text_typography_test.cpp | 258 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontWeight_, FontWeight::W100); 264 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontWeight_, FontWeight::W200); 270 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontWeight_, FontWeight::W300); 276 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontWeight_, FontWeight::W400); 282 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontWeight_, FontWeight::W500); 288 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontWeight_, FontWeight::W600); 294 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontWeight_, FontWeight::W700); 300 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontWeight_, FontWeight::W800); 306 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontWeight_, FontWeight::W900); 312 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontWeight_, FontWeight::W400); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_content_modifier.cpp | 282 if (fontWeight_.has_value() && fontWeightFloat_) { in ModifyTextStyle() 329 fontWeight_ = ConvertFontWeight(value); in SetFontWeight() 479 if (fontWeight_.has_value() && fontWeightFloat_ && in NeedMeasureUpdate() 480 !NearEqual(static_cast<float>(fontWeight_.value()), fontWeightFloat_->Get())) { in NeedMeasureUpdate()
|
H A D | text_field_content_modifier.h | 95 std::optional<FontWeight> fontWeight_; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_testtwo.cpp | 726 theme->fontWeight_ = FontWeight::BOLD; 728 theme->fontWeight_ = FontWeight::W100; 733 theme->fontWeight_ = FontWeight::W200; 735 theme->fontWeight_ = FontWeight::W300; 737 theme->fontWeight_ = FontWeight::W500; 739 theme->fontWeight_ = FontWeight::W600; 741 theme->fontWeight_ = FontWeight::W700; 743 theme->fontWeight_ = FontWeight::W800; 745 theme->fontWeight_ = FontWeight::W900;
|
H A D | text_input_base.cpp | 29 textFieldTheme->fontWeight_ = FontWeight::W400; in SetUpTestSuite()
|
H A D | text_input_wordbreak_test.cpp | 139 textFieldTheme->fontWeight_ = FontWeight::W400; in SetUpTestSuite()
|
H A D | text_area_menu_test.cpp | 133 textFieldTheme->fontWeight_ = FontWeight::W400; in SetUpTestSuite()
|
H A D | text_input_area_model_test.cpp | 145 textFieldTheme->fontWeight_ = FontWeight::W400; in SetUpTestSuite()
|
H A D | text_area_test.cpp | 141 textFieldTheme->fontWeight_ = FontWeight::W400; in SetUpTestSuite()
|
H A D | text_input_modify_test.cpp | 144 textFieldTheme->fontWeight_ = FontWeight::W400; in SetUpTestSuite()
|
H A D | text_area_decoration_test.cpp | 123 textFieldTheme->fontWeight_ = FontWeight::W400; in SetUpTestSuite()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select/ |
H A D | select_theme.h | 133 theme->fontWeight_ = FontWeight::NORMAL; in ParseNewPattern() 334 theme->fontWeight_ = fontWeight_; in ClonePartOne() 551 return fontWeight_; in GetFontWeight() 555 fontWeight_ = value; in SetFontWeight() 1174 FontWeight fontWeight_ { FontWeight::NORMAL };
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_text_style.h | 123 TestingFontWeight fontWeight_ = TestingFontWeight::W400; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_content_modifier.cpp | 539 if (fontWeight_.has_value() && fontWeightFloat_) { in ModifyFontWeightInTextStyle() 652 if (fontWeight_.has_value() && fontWeightFloat_ && in UpdateFontWeightMeasureFlag() 654 …static_cast<float>(static_cast<int>(fontWeight_.value())), lastFontWeight_, fontWeightFloat_->Get(… in UpdateFontWeightMeasureFlag() 778 fontWeight_ = ConvertFontWeight(value); in SetFontWeight() 780 fontWeight_ = std::nullopt; in SetFontWeight()
|
H A D | text_content_modifier.h | 161 std::optional<FontWeight> fontWeight_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | textfield_theme.h | 83 theme->fontWeight_ = in ParsePatternSubFirstPart() 252 return fontWeight_; in GetFontWeight() 650 FontWeight fontWeight_ = FontWeight::NORMAL; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
H A D | calendar_paint_method.cpp | 325 dateTextStyle.fontWeight_ = static_cast<RSFontWeight>(dayFontWeight_); in InitTextStyle() 328 lunarTextStyle.fontWeight_ = static_cast<RSFontWeight>(lunarDayFontWeight_); in InitTextStyle() 414 offWorkTextStyle.fontWeight_ = static_cast<RSFontWeight>(workStateFontWeight_); in SetOffWorkTextStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_prop_convertor.cpp | 224 rsTextStyle.fontWeight_ = ToRSFontWeight(textStyle.GetFontWeight()); in ToRSTextStyle()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_base.cpp | 284 textPaintMethod.textContentModifier_->fontWeight_ = FontWeight::LIGHTER; in SetPaintMethodModifier()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_field/ |
H A D | text_field_test.cpp | 108 textFieldTheme->fontWeight_ = FontWeight::W400; in SetUpTestSuite()
|