Home
last modified time | relevance | path

Searched refs:GetFontStyle (Results 1 – 25 of 95) sorted by relevance

1234

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_font_manager.cpp47 if (fontMgr_ == nullptr || style.GetFontStyle() == nullptr) { in MatchFamilyStyleCharacter()
52 *style.GetFontStyle(), bcp47, bcp47Count, character); in MatchFamilyStyleCharacter()
74 rsTypeface = fontMgr_->MatchFamilyStyle(familyName.c_str(), *style.GetFontStyle()); in MatchFamilyStyle()
76 rsTypeface = fontMgr_->MatchFamilyStyle(nullptr, *style.GetFontStyle()); in MatchFamilyStyle()
H A Dtexgine_font_style_set.cpp47 set_->GetStyle(index, style->GetFontStyle().get(), name->GetString()); in GetStyle()
61 if (set_ == nullptr || pattern == nullptr || pattern->GetFontStyle() == nullptr) { in MatchStyle()
64 auto style = *pattern->GetFontStyle(); in MatchStyle()
H A Dtexgine_typeface.cpp83 std::shared_ptr<TexgineFontStyle> TexgineTypeface::GetFontStyle() const in GetFontStyle() function in OHOS::Rosen::TextEngine::TexgineTypeface
88 auto style = typeface_->GetFontStyle(); in GetFontStyle()
96 return static_cast<size_t>(typeface_->GetFontStyle().GetSlant()); in FontStyleDetection()
H A Dtexgine_font_style.h53 std::shared_ptr<RSFontStyle> GetFontStyle() const;
H A Dtexgine_font_style.cpp36 std::shared_ptr<RSFontStyle> TexgineFontStyle::GetFontStyle() const in GetFontStyle() function in OHOS::Rosen::TextEngine::TexgineFontStyle
H A Dtexgine_typeface.h66 std::shared_ptr<TexgineFontStyle> GetFontStyle() const;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/symbol/
H A Dsymbol_test_ng.cpp196 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle();
228 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle();
260 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle();
293 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle();
327 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle();
361 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle();
395 const std::unique_ptr<FontStyle>& symbolStyle = textProperty->GetFontStyle();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_model_ng.cpp302 …PickerLayoutProperty, DisappearFontStyle, value.fontStyle.value_or(disappearStyle.GetFontStyle())); in SetDisappearTextStyle()
321 TimePickerLayoutProperty, FontStyle, value.fontStyle.value_or(normalStyle.GetFontStyle())); in SetNormalTextStyle()
342 …mePickerLayoutProperty, SelectedFontStyle, value.fontStyle.value_or(selectedStyle.GetFontStyle())); in SetSelectedTextStyle()
506 value.fontStyle.value_or(disappearStyle.GetFontStyle()), frameNode); in SetDisappearTextStyle()
527 …TimePickerLayoutProperty, FontStyle, value.fontStyle.value_or(normalStyle.GetFontStyle()), frameNo… in SetNormalTextStyle()
566 TimePickerLayoutProperty, SelectedFontStyle, selectedStyle.GetFontStyle(), frameNode); in SetDefaultAttributes()
579 TimePickerLayoutProperty, DisappearFontStyle, disappearStyle.GetFontStyle(), frameNode); in SetDefaultAttributes()
587 …ACE_UPDATE_NODE_LAYOUT_PROPERTY(TimePickerLayoutProperty, FontStyle, normalStyle.GetFontStyle(), f… in SetDefaultAttributes()
652 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle()); in getDisappearTextStyle()
675 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle()); in getNormalTextStyle()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dtexttimer_composed_element.cpp34 …{ "fontStyle", [](const TextTimerComposedElement& inspector) { return inspector.GetFontStyle(); } … in __anon977ee0c20802()
112 std::string TextTimerComposedElement::GetFontStyle() const in GetFontStyle() function in OHOS::Ace::V2::TextTimerComposedElement
116 render ? render->GetTextStyle().GetFontStyle() : FontStyle::NORMAL; in GetFontStyle()
H A Dindexer_composed_element.cpp167 auto fontStyle = render ? render->GetActiveTextStyle().GetFontStyle() : FontStyle::NORMAL; in GetSelectedFont()
186 …auto fontStyle = render ? render->GetBubbleText()->GetTextStyle().GetFontStyle() : FontStyle::NORM… in GetPopupFont()
205 auto fontStyle = render ? render->GetNormalTextStyle().GetFontStyle() : FontStyle::NORMAL; in GetFont()
H A Dtexttimer_composed_element.h43 std::string GetFontStyle() const;
H A Dutils.cpp48 auto fontStyle = textStyle.GetFontStyle(); in GetTextStyleInJson()
H A Dtextarea_composed_element.cpp129 auto fontStyle = placeHoldStyle.GetFontStyle(); in GetPlaceholderFont()
175 render ? render->GetEditingStyle().GetFontStyle() : FontStyle::NORMAL; in GetTextFontStyle()
H A Dtextinput_composed_element.cpp133 auto fontStyle = placeHoldStyle.GetFontStyle(); in GetPlaceholderFont()
171 render ? render->GetEditingStyle().GetFontStyle() : FontStyle::NORMAL; in GetTextInputFontStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_model_ng.cpp376 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle()); in getDisappearTextStyle()
398 …kerRowLayoutProperty, DisappearFontStyle, value.fontStyle.value_or(disappearStyle.GetFontStyle())); in SetDisappearTextStyle()
420 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle()); in getNormalTextStyle()
442 … DataPickerRowLayoutProperty, FontStyle, value.fontStyle.value_or(normalStyle.GetFontStyle())); in SetNormalTextStyle()
464 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle()); in getSelectedTextStyle()
486 …ickerRowLayoutProperty, SelectedFontStyle, value.fontStyle.value_or(selectedStyle.GetFontStyle())); in SetSelectedTextStyle()
502 DataPickerRowLayoutProperty, SelectedFontStyle, selectedStyle.GetFontStyle(), frameNode); in SetDefaultAttributes()
515 DataPickerRowLayoutProperty, DisappearFontStyle, disappearStyle.GetFontStyle(), frameNode); in SetDefaultAttributes()
722 value.fontStyle.value_or(selectedStyle.GetFontStyle()), frameNode); in SetSelectedTextStyle()
744 …DataPickerRowLayoutProperty, FontStyle, value.fontStyle.value_or(normalStyle.GetFontStyle()), fram… in SetNormalTextStyle()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_model_ng.cpp121 …_UPDATE_LAYOUT_PROPERTY(TextPickerLayoutProperty, SelectedFontStyle, selectedStyle.GetFontStyle()); in SetDefaultAttributes()
129 …PDATE_LAYOUT_PROPERTY(TextPickerLayoutProperty, DisappearFontStyle, disappearStyle.GetFontStyle()); in SetDefaultAttributes()
137 ACE_UPDATE_LAYOUT_PROPERTY(TextPickerLayoutProperty, FontStyle, normalStyle.GetFontStyle()); in SetDefaultAttributes()
330 TextPickerLayoutProperty, FontStyle, value.fontStyle.value_or(normalStyle.GetFontStyle())); in SetNormalTextStyle()
351 …xtPickerLayoutProperty, SelectedFontStyle, value.fontStyle.value_or(selectedStyle.GetFontStyle())); in SetSelectedTextStyle()
808 value.fontStyle.value_or(disappearStyle.GetFontStyle()), frameNode); in SetDisappearTextStyle()
853 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle()); in getDisappearTextStyle()
876 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle()); in getNormalTextStyle()
899 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle()); in getSelectedTextStyle()
1071 TextPickerLayoutProperty, SelectedFontStyle, selectedStyle.GetFontStyle(), frameNode); in SetDefaultAttributes()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/
H A Dtypeface.cpp69 FontStyle Typeface::GetFontStyle() const in GetFontStyle() function in OHOS::Rosen::Drawing::Typeface
72 return typefaceImpl_->GetFontStyle(); in GetFontStyle()
H A Dfont.cpp211 currentTypeface->GetFontStyle(), nullptr, 0, unicode < 0 ? 0xFFFD : unicode)); in GetFallbackFont()
215 … ? defaultTypeface->GetFontStyle() : FontStyle(), nullptr, 0, unicode < 0 ? 0xFFFD : unicode)); in GetFallbackFont()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_model_ng.cpp106 textStyle.SetFontStyle(fontStyle.value_or(selectTextStyle.GetFontStyle())); in SetSelectedFont()
122 textStyle.SetFontStyle(fontStyle.value_or(popupTextStyle.GetFontStyle())); in SetPopupFont()
138 textStyle.SetFontStyle(fontStyle.value_or(defaultTextStyle.GetFontStyle())); in SetFont()
410 textStyle.SetFontStyle(fontStyle.value_or(selectTextStyle.GetFontStyle())); in SetSelectedFont()
427 textStyle.SetFontStyle(fontStyle.value_or(popupTextStyle.GetFontStyle())); in SetPopupFont()
444 textStyle.SetFontStyle(fontStyle.value_or(defaultTextStyle.GetFontStyle())); in SetFont()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dsvg_paint_state.h427 FontStyle GetFontStyle() const in GetFontStyle() function
429 return textStyle_.GetFontStyle(); in GetFontStyle()
479 textStyle_.SetFontStyle(parent.GetFontStyle()); in Inherit()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Dtext_component.cpp77 … updateType |= static_cast<uint32_t>(declarationStyle.GetFontStyle() == textStyle.GetFontStyle() ? in Compare()
H A Dtext_component_v2.cpp53 spanStyle.SetFontStyle(textStyle.GetFontStyle()); in CheckAndSetChildStyle()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dtypeface_impl.h36 virtual FontStyle GetFontStyle() const = 0;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/
H A Dtext_clock_model_ng.cpp126 SetItalicFontStyle(textStyle.GetFontStyle()); in InitFontDefault()
244 SetFontStyle(frameNode, textStyle.GetFontStyle()); in InitFontDefault()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_typeface_test.cpp67 ASSERT_TRUE(typeface1->GetFontStyle().GetWidth() >= 0);
231 FontStyle fontStyle = typeface->GetFontStyle();

1234