/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | menu_item_modifier.cpp | 77 void SetLabelFont(ArkUINodeHandle node, const char* fontInfo, int32_t styleVal) in SetLabelFont() argument 100 if (styleVal >= 0 && styleVal < static_cast<int32_t>(FONT_STYLES.size())) { in SetLabelFont() 101 MenuItemModelNG::SetLabelFontStyle(frameNode, FONT_STYLES[styleVal]); in SetLabelFont() 125 void SetContentFont(ArkUINodeHandle node, const char* fontInfo, int32_t styleVal) in SetContentFont() argument 149 if (styleVal >= 0 && styleVal < static_cast<int32_t>(FONT_STYLES.size())) { in SetContentFont() 150 MenuItemModelNG::SetFontStyle(frameNode, FONT_STYLES[styleVal]); in SetContentFont()
|
H A D | menu_modifier.cpp | 105 void SetMenuFont(ArkUINodeHandle node, const char* fontInfo, int32_t styleVal) in SetMenuFont() argument 129 if (styleVal >= 0 && styleVal < static_cast<int32_t>(FONT_STYLES.size())) { in SetMenuFont() 130 MenuModelNG::SetFontStyle(frameNode, FONT_STYLES[styleVal]); in SetMenuFont()
|
H A D | select_modifier.cpp | 123 void SetFont(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal) in SetFont() argument 158 auto style = static_cast<Ace::FontStyle>(styleVal); in SetFont() 162 void SetOptionFont(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal) in SetOptionFont() argument 196 auto style = static_cast<Ace::FontStyle>(styleVal); in SetOptionFont() 200 void SetSelectedOptionFont(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal) in SetSelectedOptionFont() argument 234 auto style = static_cast<Ace::FontStyle>(styleVal); in SetSelectedOptionFont()
|
H A D | node_textpicker_modifier.h | 25 void GetPickerTextStyle(uint32_t color, const char* fontInfo, int32_t styleVal, NG::PickerTextStyle…
|
H A D | node_textpicker_modifier.cpp | 530 void GetPickerTextStyle(uint32_t color, ArkUI_CharPtr fontInfo, int32_t styleVal, NG::PickerTextSty… in GetPickerTextStyle() argument 555 textStyle.fontStyle = static_cast<Ace::FontStyle>(styleVal); in GetPickerTextStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_timepicker_bridge.cpp | 90 int32_t styleVal = 0; in SetTextStyle() local 92 styleVal = fontStyleArg->Int32Value(vm); in SetTextStyle() 98 nativeNode, color.GetValue(), fontInfo.c_str(), styleVal); in SetTextStyle() 139 int32_t styleVal = 0; in SetSelectedTextStyle() local 141 styleVal = fontStyleArg->Int32Value(vm); in SetSelectedTextStyle() 147 nativeNode, color.GetValue(), fontInfo.c_str(), styleVal); in SetSelectedTextStyle() 188 int32_t styleVal = 0; in SetDisappearTextStyle() local 190 styleVal = fontStyleArg->Int32Value(vm); in SetDisappearTextStyle() 196 nativeNode, color.GetValue(), fontInfo.c_str(), styleVal); in SetDisappearTextStyle()
|
H A D | arkts_native_grid_item_bridge.cpp | 184 Local<JSValueRef> styleVal = runtimeCallInfo->GetCallArgRef(NUM_1); in SetGridItemOptions() local 188 …if (styleVal->IsNumber() && styleVal->Int32Value(vm) >= static_cast<int32_t>(GridItemStyle::NONE) … in SetGridItemOptions() 189 styleVal->Int32Value(vm) <= static_cast<int32_t>(GridItemStyle::PLAIN)) { in SetGridItemOptions() 190 gridItemStyle = styleVal->Int32Value(vm); in SetGridItemOptions()
|
H A D | arkts_native_textpicker_bridge.cpp | 174 int32_t styleVal = 0; in SetTextStyle() local 176 styleVal = fontStyleArg->Int32Value(vm); in SetTextStyle() 182 nativeNode, textColor.GetValue(), fontInfo.c_str(), styleVal); in SetTextStyle() 223 int32_t styleVal = 0; in SetSelectedTextStyle() local 225 styleVal = fontStyleArg->Int32Value(vm); in SetSelectedTextStyle() 231 nativeNode, textColor.GetValue(), fontInfo.c_str(), styleVal); in SetSelectedTextStyle() 272 int32_t styleVal = 0; in SetDisappearTextStyle() local 274 styleVal = fontStyleArg->Int32Value(vm); in SetDisappearTextStyle() 280 nativeNode, textColor.GetValue(), fontInfo.c_str(), styleVal); in SetDisappearTextStyle()
|
H A D | arkts_native_select_bridge.cpp | 299 int32_t styleVal = 0; in SetFont() local 301 styleVal = styleArg->Int32Value(vm); in SetFont() 307 GetArkUINodeModifiers()->getSelectModifier()->setFont(nativeNode, fontInfo.c_str(), styleVal); in SetFont() 345 int32_t styleVal = 0; in SetOptionFont() local 347 styleVal = styleArg->Int32Value(vm); in SetOptionFont() 353 …etArkUINodeModifiers()->getSelectModifier()->setOptionFont(nativeNode, fontInfo.c_str(), styleVal); in SetOptionFont() 392 int32_t styleVal = 0; in SetSelectedOptionFont() local 394 styleVal = styleArg->Int32Value(vm); in SetSelectedOptionFont() 400 …odeModifiers()->getSelectModifier()->setSelectedOptionFont(nativeNode, fontInfo.c_str(), styleVal); in SetSelectedOptionFont() 842 int32_t styleVal = styleArg->Int32Value(vm); in SetMenuBackgroundBlurStyle() local [all …]
|
H A D | arkts_native_alphabet_indexer_bridge.cpp | 110 int32_t styleVal = 0; in SetSelectedFont() local 112 styleVal = styleValArg->Int32Value(vm); in SetSelectedFont() 116 …Modifiers()->getAlphabetIndexerModifier()->setSelectedFont(nativeNode, fontInfo.c_str(), styleVal); in SetSelectedFont() 160 int32_t styleVal = 0; in SetPopupFont() local 162 styleVal = styleValArg->Int32Value(vm); in SetPopupFont() 166 …odeModifiers()->getAlphabetIndexerModifier()->setPopupFont(nativeNode, fontInfo.c_str(), styleVal); in SetPopupFont() 210 int32_t styleVal = 0; in SetFont() local 212 styleVal = styleValArg->Int32Value(vm); in SetFont() 217 nativeNode, fontInfo.c_str(), styleVal); in SetFont()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_select.cpp | 318 auto styleVal = static_cast<FontStyle>(jsValue->ToNumber<int32_t>()); in ParseFontStyle() local 320 SelectModel::GetInstance()->SetItalicFontStyle(styleVal); in ParseFontStyle() 322 SelectModel::GetInstance()->SetOptionItalicFontStyle(styleVal); in ParseFontStyle() 324 SelectModel::GetInstance()->SetSelectedOptionItalicFontStyle(styleVal); in ParseFontStyle()
|
H A D | js_progress.cpp | 461 auto styleVal = static_cast<FontStyle>(style->ToNumber<int32_t>()); in JsSetFont() local 462 ProgressModel::GetInstance()->SetItalicFontStyle(styleVal); in JsSetFont()
|
H A D | js_search.cpp | 654 FontStyle styleVal = static_cast<FontStyle>(style->ToNumber<int32_t>()); in SetPlaceholderFont() local 655 font.fontStyle = styleVal; in SetPlaceholderFont() 703 FontStyle styleVal = static_cast<FontStyle>(style->ToNumber<int32_t>()); in SetTextFont() local 704 font.fontStyle = styleVal; in SetTextFont()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/ |
H A D | cjui_api.h | 1042 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 1045 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 1048 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 1908 void (*setFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 1988 void (*setLabelFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 1990 void (*setContentFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 2418 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 2421 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 2424 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 2625 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 2628 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 2631 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 3622 void (*setFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 3719 void (*setLabelFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 3721 void (*setContentFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 4176 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 4179 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 4182 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
|