Home
last modified time | relevance | path

Searched refs:selectedFont (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_layout_property.h85 auto selectedFont = JsonUtil::Create(true); in ToJsonValue() local
86 selectedFont->Put("size", GetSelectedFontSizeValue(Dimension(0)).ToString().c_str()); in ToJsonValue()
87 selectedFont->Put("weight", V2::ConvertWrapFontWeightToStirng( in ToJsonValue()
91 selectedTextStyle->Put("font", selectedFont); in ToJsonValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_row_layout_property.h92 auto selectedFont = JsonUtil::Create(true); in ToJsonValue() local
93 selectedFont->Put("size", GetSelectedFontSizeValue(Dimension(0)).ToString().c_str()); in ToJsonValue()
94 selectedFont->Put("weight", V2::ConvertWrapFontWeightToStirng( in ToJsonValue()
98 selectedTextStyle->Put("font", selectedFont); in ToJsonValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_layout_property.h137 auto selectedFont = JsonUtil::Create(true); in ToJsonValue() local
138 selectedFont->Put("size", GetSelectedFontSizeValue(Dimension(0)).ToString().c_str()); in ToJsonValue()
139 selectedFont->Put("weight", V2::ConvertWrapFontWeightToStirng( in ToJsonValue()
143 selectedTextStyle->Put("font", selectedFont); in ToJsonValue()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-alphabet-indexer.md136 ### selectedFont subsection
138 selectedFont(value: Font)
572 .selectedFont({ size: 16, weight: FontWeight.Bolder }) // 选中项文本样式
693 .selectedFont({ size: 16, weight: FontWeight.Bolder }) // 选中项文本样式
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/
H A Dindexer_layout_test_ng.cpp219 auto selectedFont = indexerTheme_->GetSelectTextStyle(); variable
220 EXPECT_EQ(itemLayoutProperty->GetFontSize(), selectedFont.GetFontSize());
221 EXPECT_EQ(itemLayoutProperty->GetFontFamily(), selectedFont.GetFontFamilies());
222 EXPECT_EQ(itemLayoutProperty->GetFontWeight(), selectedFont.GetFontWeight());
223 EXPECT_EQ(itemLayoutProperty->GetItalicFontStyle(), selectedFont.GetFontStyle());
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_pattern.cpp807 …auto selectedFont = layoutProperty->GetSelectedFont().value_or(indexerTheme->GetSelectTextStyle()); in ApplyIndexChanged() local
811 selectedFont.SetFontFamilies(customFonts); in ApplyIndexChanged()
813 nodeLayoutProperty->UpdateFontSize(selectedFont.GetFontSize()); in ApplyIndexChanged()
814 auto fontWeight = selectedFont.GetFontWeight(); in ApplyIndexChanged()
816 nodeLayoutProperty->UpdateFontFamily(selectedFont.GetFontFamilies()); in ApplyIndexChanged()
817 nodeLayoutProperty->UpdateItalicFontStyle(selectedFont.GetFontStyle()); in ApplyIndexChanged()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-alphabet-indexer.md144 ### selectedFont subsection
146 selectedFont(value: Font)
616 .selectedFont({size: 16, weight: FontWeight.Bolder}) // Font style of the selected text.
731 … .selectedFont({size: 16, weight: FontWeight.Bolder})// Font style of the selected item.
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkAlphabetIndexer.ts60 selectedFont(value: Font): this {
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/export/
H A DarkComponent.d.ts1136 selectedFont(value: Font): this;
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-arkui.md1290 …tribute;<br>方法or属性:selectedFont(value: Font): AlphabetIndexerAttribute;<br>旧版本信息:|类名:AlphabetIndex…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js21823 selectedFont(value) { method in ArkAlphabetIndexerComponent
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-arkui.md1290selectedFont(value: Font): AlphabetIndexerAttribute;<br>Old version information: |Class name: Alph…