/foundation/arkui/ace_engine/frameworks/core/components/marquee/ |
H A D | marquee_theme.h | 54 theme->fontSize_ = pattern->GetAttr<Dimension>("marquee_font_size", MARQUEE_FONT_SIZE); in Build() 71 return fontSize_; in GetFontSize() 79 Dimension fontSize_; member in OHOS::Ace::MarqueeTheme
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | text.cpp | 31 fontSize_(0), in Text() 129 ((fontId_ != fontId) || (fontSize_ != size))) { in SetFont() 131 fontSize_ = size; in SetFont() 180 if ((fontId_ == fontId) && (fontSize_ != 0) && !font->IsVectorFont()) { in SetFontId() 192 (fontSize_ != fontParam->size))) { in SetFontId() 194 fontSize_ = fontParam->size; in SetFontId() 199 fontSize_ = fontParam->size; in SetFontId() 206 if (fontSize_ == 0) { in ReMeasureTextSize() 211 textSize_ = TypedText::GetTextSize(text_, fontId_, fontSize_, style.letterSpace_, style.lineHeight_, maxWidth, in ReMeasureTextSize() 215 if (UIFont::GetInstance()->GetFontHeader(head, fontId_, fontSize_) ! in ReMeasureTextSize() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | input_edittext_component.cpp | 28 fontSize_ = ProductAdapter::GetDefaultFontSize(); in CreateNativeViews() 181 edittext_.SetFont(fontFamily_, fontSize_); in PostUpdate() 191 return fontSize_; in GetFontSize() 197 fontSize_ = GetStylePixelValue(style); in SetFontSize()
|
H A D | input_button_component.cpp | 31 fontSize_ = ProductAdapter::GetDefaultFontSize(); in CreateNativeViews() 177 fontSize_ = GetStylePixelValue(style); in SetFontSize() 184 button_.SetFont(fontFamily_, fontSize_); in PostRender() 220 button_.SetFont(fontFamily_, fontSize_); in PostUpdate()
|
H A D | input_edittext_component.h | 37 fontSize_(DEFAULT_FONT_SIZE) in InputEditTextComponent() 66 uint8_t fontSize_; member in OHOS::ACELite::final
|
H A D | input_button_component.h | 43 fontSize_(DEFAULT_FONT_SIZE) in InputButtonComponent() 79 uint8_t fontSize_; member in OHOS::ACELite::final
|
H A D | text_component.cpp | 32 fontSize_(DEFAULT_FONT_SIZE), in TextComponent() 39 fontSize_ = ProductAdapter::GetDefaultFontSize(); in TextComponent() 278 fontSize_ = GetStylePixelValue(styleItem); in SetTextSize() 294 uiLabel_.SetFont(fontFamily_, fontSize_); in OnViewAttached() 323 uiLabel_.SetFont(fontFamily_, fontSize_); in PostUpdate()
|
H A D | picker_view_component.cpp | 88 fontSize_(DEFAULT_FONT_SIZE), in PickerViewComponent() 107 fontSize_ = ProductAdapter::GetDefaultFontSize(); in PickerViewComponent() 313 if ((fontFamily_ == nullptr) || (fontSize_ == 0) || (selectedFontFamily_ == nullptr) || (selectedFontSize_ == 0)) { in UpdatePickerStyles() 325 textPicker->SetBackgroundFont(fontFamily_, fontSize_); in UpdatePickerStyles() 332 timePicker->SetBackgroundFont(fontFamily_, fontSize_); in UpdatePickerStyles() 339 uint8_t fontId = font->GetFontId(fontFamily_, fontSize_); in UpdatePickerStyles() 444 fontSize_ = GetStylePixelValue(styleItem); in ApplyPrivateStyle()
|
H A D | text_component.h | 77 // parse js text size style to fontSize_ 91 uint8_t fontSize_; member in OHOS::ACELite::TextComponent
|
/foundation/graphic/graphic_3d/lume/LumeFont/src/ |
H A D | font.cpp | 31 this->fontSize_ = sizeInPt; in SetSize() 37 return fontSize_; in GetSize() 55 data_ = faceData_->CreateFontData(fontSize_, xDpi_, yDpi_); in GetData()
|
H A D | font.h | 75 FontSize fontSize_ { DEFAULT_FONT_PT_SIZE }; // in PT
|
/foundation/arkui/ace_engine/test/unittest/core/render/ |
H A D | drawing_prop_convertor_test_ng.cpp | 374 EXPECT_EQ(retTextStyle.fontSize_, FONT_SIZE); in HWTEST_F() 386 * @tc.steps4: call ToRSTextStyle and set input textStyle.lineHeight_ is not equal to textStyle.fontSize_. in HWTEST_F() 394 * @tc.steps4: call ToRSTextStyle and set input textStyle.lineHeight_ is not equal to textStyle.fontSize_. in HWTEST_F() 449 EXPECT_EQ(retTextStyle.fontSize_, FONT_SIZE * pipelineContext->fontScale_); in HWTEST_F() 463 * @tc.expected: retTextStyle.fontSize_ is equal to FONT_SIZE. in HWTEST_F() 467 EXPECT_EQ(retTextStyle.fontSize_, FONT_SIZE); in HWTEST_F() 480 * @tc.steps4: call ToRSTextStyle and set textStyle.fontSize_ is FONT_SIZE_FP. in HWTEST_F() 481 * @tc.expected: retTextStyle.fontSize_ is equal to FONT_SIZE. in HWTEST_F() 483 textStyle.fontSize_ = FONT_SIZE_FP; in HWTEST_F() 485 EXPECT_EQ(retTextStyle.fontSize_, FONT_SIZE_F in HWTEST_F() [all...] |
/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() 32 preferFontSizes_ == rhs.preferFontSizes_ && fontSize_ == rhs.fontSize_ && in operator ==() 90 JSON_STRING_PUT_STRINGABLE(jsonValue, fontSize_); in ToString()
|
H A D | popup_param.h | 326 fontSize_ = fontSize; in SetFontSize() 331 return fontSize_; in GetFontSize() 548 std::optional<Dimension> fontSize_; member in OHOS::Ace::PopupParam
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | text_adapter.cpp | 32 fontSize_(0), in TextAdapter() 57 Text::SetFont(name, size, fontName_, fontSize_); in SetFont() 112 newView->SetFont(fontName_, fontSize_); in GetDynamicText() 150 newView->SetFont(fontName_, fontSize_); in GetIntegerText()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_prop_convertor.cpp | 243 rsTextStyle.fontSize_ = context->NormalizeToPx(textStyle.GetFontSize()); in ToRSTextStyle() 249 rsTextStyle.fontSize_ = context->NormalizeToPx(textStyle.GetFontSize() * context->GetFontScale()); in ToRSTextStyle() 256 rsTextStyle.fontSize_ = textStyle.GetFontSize().Value(); in ToRSTextStyle() 270 rsTextStyle.wordSpacing_ = textStyle.GetWordSpacing().Value() * rsTextStyle.fontSize_; in ToRSTextStyle() 300 double fontSize = rsTextStyle.fontSize_; in ToRSTextStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components/search/ |
H A D | search_theme.h | 82 theme->fontSize_ = pattern->GetAttr<Dimension>(PATTERN_TEXT_SIZE, 0.0_fp); in ParsePattern() 139 return fontSize_; in GetFontSize() 278 Dimension fontSize_; member in OHOS::Ace::SearchTheme
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_typography_style.h | 34 double fontSize_ = 14; member in OHOS::Ace::Testing::TestingTypographyStyle
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/mock/ |
H A D | sec_comp_base_mock.h | 75 double fontSize_; member in OHOS::Security::SecurityComponent::SecCompBase
|
/foundation/graphic/graphic_2d/frameworks/bootanimation/include/ |
H A D | boot_compile_progress.h | 52 int32_t fontSize_ = 0; member in OHOS::BootCompileProgress
|
/foundation/arkui/ace_engine/frameworks/core/components/popup/ |
H A D | popup_theme.h | 77 theme->fontSize_ = pattern->GetAttr<Dimension>(PATTERN_TEXT_SIZE, 14.0_fp); in ParsePattern() 145 return fontSize_; in GetFontSize() 353 Dimension fontSize_; member in OHOS::Ace::PopupTheme
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_theme.h | 60 return fontSize_; in GetFontSize() 245 theme->fontSize_ = securityComponentPattern->GetAttr<Dimension>("font_size", 0.0_vp); in ParsePattern() 272 Dimension fontSize_; member in OHOS::Ace::NG::SecurityComponentTheme
|
/foundation/arkui/ace_engine/frameworks/core/components/select/ |
H A D | select_theme.h | 101 theme->fontSize_ = pattern->GetAttr<Dimension>(PATTERN_TEXT_SIZE, theme->fontSize_); in Parse() 104 std::pair<ControlSize, Dimension>(ControlSize::NORMAL, theme->fontSize_)); in Parse() 132 theme->fontSize_ = pattern->GetAttr<Dimension>("text_font_size", 16.0_fp); in ParseNewPattern() 325 theme->fontSize_ = fontSize_; in ClonePartOne() 494 return fontSize_; in GetFontSize() 505 return fontSize_; in GetFontSize() 510 fontSize_ = value; in SetFontSize() 1165 Dimension fontSize_; member in OHOS::Ace::final [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
H A D | calendar_paint_method.cpp | 321 dateTextStyle.fontSize_ = dayFontSize_; in InitTextStyle() 324 lunarTextStyle.fontSize_ = lunarDayFontSize_; in InitTextStyle() 428 offWorkTextStyle.fontSize_ = workDayMarkSize_; in SetOffWorkTextStyle() 436 offWorkTextStyle.fontSize_ = offDayMarkSize_; in SetOffWorkTextStyle() 446 offWorkTextStyle.fontSize_ = workDayMarkSize_; in SetOffWorkTextStyle() 458 offWorkTextStyle.fontSize_ = offDayMarkSize_; in SetOffWorkTextStyle() 516 weekTextStyle.fontSize_ = weekFontSize_; in DrawWeek()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | text_adapter.h | 271 uint8_t fontSize_; member in OHOS::TextAdapter
|