/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_font_manager.cpp | 47 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 D | texgine_font_style_set.cpp | 47 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 D | texgine_typeface.cpp | 83 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 D | texgine_font_style.h | 53 std::shared_ptr<RSFontStyle> GetFontStyle() const;
|
H A D | texgine_font_style.cpp | 36 std::shared_ptr<RSFontStyle> TexgineFontStyle::GetFontStyle() const in GetFontStyle() function in OHOS::Rosen::TextEngine::TexgineFontStyle
|
H A D | texgine_typeface.h | 66 std::shared_ptr<TexgineFontStyle> GetFontStyle() const;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/symbol/ |
H A D | symbol_test_ng.cpp | 196 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 D | timepicker_model_ng.cpp | 302 …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 D | texttimer_composed_element.cpp | 34 …{ "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 D | indexer_composed_element.cpp | 167 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 D | texttimer_composed_element.h | 43 std::string GetFontStyle() const;
|
H A D | utils.cpp | 48 auto fontStyle = textStyle.GetFontStyle(); in GetTextStyleInJson()
|
H A D | textarea_composed_element.cpp | 129 auto fontStyle = placeHoldStyle.GetFontStyle(); in GetPlaceholderFont() 175 render ? render->GetEditingStyle().GetFontStyle() : FontStyle::NORMAL; in GetTextFontStyle()
|
H A D | textinput_composed_element.cpp | 133 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 D | datepicker_model_ng.cpp | 376 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 D | textpicker_model_ng.cpp | 121 …_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 D | typeface.cpp | 69 FontStyle Typeface::GetFontStyle() const in GetFontStyle() function in OHOS::Rosen::Drawing::Typeface 72 return typefaceImpl_->GetFontStyle(); in GetFontStyle()
|
H A D | font.cpp | 211 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 D | indexer_model_ng.cpp | 106 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 D | svg_paint_state.h | 427 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 D | text_component.cpp | 77 … updateType |= static_cast<uint32_t>(declarationStyle.GetFontStyle() == textStyle.GetFontStyle() ? in Compare()
|
H A D | text_component_v2.cpp | 53 spanStyle.SetFontStyle(textStyle.GetFontStyle()); in CheckAndSetChildStyle()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | typeface_impl.h | 36 virtual FontStyle GetFontStyle() const = 0;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/ |
H A D | text_clock_model_ng.cpp | 126 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 D | skia_typeface_test.cpp | 67 ASSERT_TRUE(typeface1->GetFontStyle().GetWidth() >= 0); 231 FontStyle fontStyle = typeface->GetFontStyle();
|