Home
last modified time | relevance | path

Searched refs:GetFontStyle (Results 1 - 25 of 99) sorted by relevance

1234

/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_typeface.h66 std::shared_ptr<TexgineFontStyle> GetFontStyle() const;
H A Dtexgine_font_style.cpp36 std::shared_ptr<RSFontStyle> TexgineFontStyle::GetFontStyle() const in GetFontStyle() function in OHOS::Rosen::TextEngine::TexgineFontStyle
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dtexttimer_composed_element.cpp32 { "fontStyle", [](const TextTimerComposedElement& inspector) { return inspector.GetFontStyle(); } },
110 std::string TextTimerComposedElement::GetFontStyle() const in GetFontStyle() function in OHOS::Ace::V2::TextTimerComposedElement
114 render ? render->GetTextStyle().GetFontStyle() : FontStyle::NORMAL; in GetFontStyle()
H A Dtexttimer_composed_element.h43 std::string GetFontStyle() const;
H A Dutils.cpp48 auto fontStyle = textStyle.GetFontStyle(); in GetTextStyleInJson()
H A Dindexer_composed_element.cpp162 auto fontStyle = render ? render->GetActiveTextStyle().GetFontStyle() : FontStyle::NORMAL; in GetSelectedFont()
181 auto fontStyle = render ? render->GetBubbleText()->GetTextStyle().GetFontStyle() : FontStyle::NORMAL; in GetPopupFont()
200 auto fontStyle = render ? render->GetNormalTextStyle().GetFontStyle() : FontStyle::NORMAL; in GetFont()
/foundation/arkui/ace_engine/test/unittest/core/pattern/symbol/
H A Dsymbol_test_ng.cpp196 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle(); in HWTEST_F()
228 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle(); in HWTEST_F()
260 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle(); in HWTEST_F()
293 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle(); in HWTEST_F()
327 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle(); in HWTEST_F()
361 const std::unique_ptr<FontStyle>& symbolStyle = textLayoutProperty->GetFontStyle(); in HWTEST_F()
395 const std::unique_ptr<FontStyle>& symbolStyle = textProperty->GetFontStyle(); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dtypeface_impl.h36 virtual FontStyle GetFontStyle() const = 0;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_model_ng.cpp376 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle());
398 DataPickerRowLayoutProperty, DisappearFontStyle, value.fontStyle.value_or(disappearStyle.GetFontStyle()));
419 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle());
441 DataPickerRowLayoutProperty, FontStyle, value.fontStyle.value_or(normalStyle.GetFontStyle()));
462 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle());
484 DataPickerRowLayoutProperty, SelectedFontStyle, value.fontStyle.value_or(selectedStyle.GetFontStyle()));
500 DataPickerRowLayoutProperty, SelectedFontStyle, selectedStyle.GetFontStyle(), frameNode);
513 DataPickerRowLayoutProperty, DisappearFontStyle, disappearStyle.GetFontStyle(), frameNode);
521 ACE_UPDATE_NODE_LAYOUT_PROPERTY(DataPickerRowLayoutProperty, FontStyle, normalStyle.GetFontStyle(), frameNode);
720 value.fontStyle.value_or(selectedStyle.GetFontStyle()), frameNod
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_model_ng.cpp301 TimePickerLayoutProperty, DisappearFontStyle, value.fontStyle.value_or(disappearStyle.GetFontStyle()));
320 TimePickerLayoutProperty, FontStyle, value.fontStyle.value_or(normalStyle.GetFontStyle()));
341 TimePickerLayoutProperty, SelectedFontStyle, value.fontStyle.value_or(selectedStyle.GetFontStyle()));
506 value.fontStyle.value_or(disappearStyle.GetFontStyle()), frameNode);
527 TimePickerLayoutProperty, FontStyle, value.fontStyle.value_or(normalStyle.GetFontStyle()), frameNode);
553 TimePickerLayoutProperty, SelectedFontStyle, value.fontStyle.value_or(selectedStyle.GetFontStyle()), frameNode);
566 TimePickerLayoutProperty, SelectedFontStyle, selectedStyle.GetFontStyle(), frameNode);
579 TimePickerLayoutProperty, DisappearFontStyle, disappearStyle.GetFontStyle(), frameNode);
587 ACE_UPDATE_NODE_LAYOUT_PROPERTY(TimePickerLayoutProperty, FontStyle, normalStyle.GetFontStyle(), frameNode);
651 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle());
[all...]
/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()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_model_ng.cpp121 ACE_UPDATE_LAYOUT_PROPERTY(TextPickerLayoutProperty, SelectedFontStyle, selectedStyle.GetFontStyle()); in SetDefaultAttributes()
129 ACE_UPDATE_LAYOUT_PROPERTY(TextPickerLayoutProperty, DisappearFontStyle, disappearStyle.GetFontStyle()); in SetDefaultAttributes()
137 ACE_UPDATE_LAYOUT_PROPERTY(TextPickerLayoutProperty, FontStyle, normalStyle.GetFontStyle()); in SetDefaultAttributes()
309 TextPickerLayoutProperty, DisappearFontStyle, value.fontStyle.value_or(disappearStyle.GetFontStyle()));
330 TextPickerLayoutProperty, FontStyle, value.fontStyle.value_or(normalStyle.GetFontStyle()));
351 TextPickerLayoutProperty, SelectedFontStyle, value.fontStyle.value_or(selectedStyle.GetFontStyle()));
413 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle());
435 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle());
457 pickerTextStyle.fontStyle, frameNode, style.GetFontStyle());
814 TextPickerLayoutProperty, FontStyle, value.fontStyle.value_or(normalStyle.GetFontStyle()), frameNod
[all...]
/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.cpp52 spanStyle.SetFontStyle(textStyle.GetFontStyle()); in CheckAndSetChildStyle()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_typeface.h45 FontStyle GetFontStyle() const override;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_model_ng.cpp100 textStyle.SetFontStyle(fontStyle.value_or(selectTextStyle.GetFontStyle())); in SetSelectedFont()
118 textStyle.SetFontStyle(fontStyle.value_or(popupTextStyle.GetFontStyle())); in SetPopupFont()
136 textStyle.SetFontStyle(fontStyle.value_or(defaultTextStyle.GetFontStyle())); in SetFont()
408 textStyle.SetFontStyle(fontStyle.value_or(selectTextStyle.GetFontStyle())); in SetSelectedFont()
425 textStyle.SetFontStyle(fontStyle.value_or(popupTextStyle.GetFontStyle())); in SetPopupFont()
442 textStyle.SetFontStyle(fontStyle.value_or(defaultTextStyle.GetFontStyle())); in SetFont()
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
H A Dfont_parser.cpp306 auto fontStyle = typeface->GetFontStyle(); in SetFontDescriptor()
410 auto fontStyle = item->GetFontStyle(); in GetSystemFonts()
431 auto fontStyle = typeface->GetFontStyle(); in ParserFontDescriptorFromPath()
473 auto fontStyle = typeface->GetFontStyle(); in ParseFontDescriptor()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dsvg_paint_state.h438 FontStyle GetFontStyle() const in GetFontStyle() function in OHOS::Ace::SvgTextStyle
440 return textStyle_.GetFontStyle(); in GetFontStyle()
490 textStyle_.SetFontStyle(parent.GetFontStyle()); in Inherit()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_span.cpp57 currentStyle.SetFontStyle(parentStyle.GetFontStyle()); in CheckAndSetCurrentSpanStyle()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/
H A Dtypeface.h60 FontStyle GetFontStyle() const;

Completed in 13 milliseconds

1234