Searched refs:fontWeightTable (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | text_style.h | 829 static const LinearMapNode<FontWeight> fontWeightTable[] = { variable 846 …auto weightIter = BinarySearchFindIndex(fontWeightTable, ArraySize(fontWeightTable), weight.c_str(… 847 return weightIter != -1 ? std::make_pair(true, fontWeightTable[weightIter].value) 869 static const std::unordered_map<FontWeight, std::string> fontWeightTable = { in FontWeightToString() local 876 auto weightIter = fontWeightTable.find(fontWeight); in FontWeightToString() 877 return weightIter != fontWeightTable.end() ? weightIter->second : ""; in FontWeightToString()
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/selectionmenu/interfaces/ |
H A D | selectionmenu.js | 148 …this.fontWeightTable = ['100', '200', '300', '400', '500', '600', '700', '800', '900', 'bold', 'no… 205 if (params.fontWeightTable !== undefined) { 206 this.fontWeightTable = params.fontWeightTable; 375 'weight': this.fontWeightTable[style.fontWeight],
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | utils.h | 443 static const LinearEnumMapNode<FontWeight, std::string> fontWeightTable[] = { in ConvertWrapFontWeightToStirng() local 461 auto index = BinarySearchFindIndex(fontWeightTable, ArraySize(fontWeightTable), fontWeight); in ConvertWrapFontWeightToStirng() 462 return index < 0 ? "FontWeight.Normal" : fontWeightTable[index].value; in ConvertWrapFontWeightToStirng()
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/selectionmenu/source/ |
H A D | selectionmenu.ets | 114 …private fontWeightTable: string[] = ["100", "200", "300", "400", "500", "600", "700", "800", "900"… 182 'weight': this.fontWeightTable[style.fontWeight],
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-richeditor.md | 2084 …private fontWeightTable: string[] = ["100", "200", "300", "400", "500", "600", "700", "800", "900"… 2152 'weight': this.fontWeightTable[style.fontWeight],
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-richeditor.md | 2083 …private fontWeightTable: string[] = ["100", "200", "300", "400", "500", "600", "700", "800", "900"… 2151 'weight': this.fontWeightTable[style.fontWeight],
|