/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | menu_item_modifier.cpp | 72 void SetLabelFont(ArkUINodeHandle node, const char* fontInfo, int32_t styleVal) in SetLabelFont() argument 95 if (styleVal >= 0 && styleVal < static_cast<int32_t>(FONT_STYLES.size())) { in SetLabelFont() 96 MenuItemModelNG::SetLabelFontStyle(frameNode, FONT_STYLES[styleVal]); in SetLabelFont() 120 void SetContentFont(ArkUINodeHandle node, const char* fontInfo, int32_t styleVal) in SetContentFont() argument 144 if (styleVal >= 0 && styleVal < static_cast<int32_t>(FONT_STYLES.size())) { in SetContentFont() 145 MenuItemModelNG::SetFontStyle(frameNode, FONT_STYLES[styleVal]); in SetContentFont()
|
H A D | menu_modifier.cpp | 102 void SetMenuFont(ArkUINodeHandle node, const char* fontInfo, int32_t styleVal) in SetMenuFont() argument 126 if (styleVal >= 0 && styleVal < static_cast<int32_t>(FONT_STYLES.size())) { in SetMenuFont() 127 MenuModelNG::SetFontStyle(frameNode, FONT_STYLES[styleVal]); in SetMenuFont()
|
H A D | node_textpicker_modifier.h | 25 void GetPickerTextStyle(uint32_t color, const char* fontInfo, int32_t styleVal, NG::PickerTextStyle& textStyle);
|
H A D | select_modifier.cpp | 116 void SetFont(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal) in SetFont() argument 151 auto style = static_cast<Ace::FontStyle>(styleVal); in SetFont() 155 void SetOptionFont(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal) in SetOptionFont() argument 189 auto style = static_cast<Ace::FontStyle>(styleVal); in SetOptionFont() 193 void SetSelectedOptionFont(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal) in SetSelectedOptionFont() argument 227 auto style = static_cast<Ace::FontStyle>(styleVal); in SetSelectedOptionFont()
|
H A D | node_textpicker_modifier.cpp | 542 void GetPickerTextStyle(uint32_t color, ArkUI_CharPtr fontInfo, int32_t styleVal, NG::PickerTextStyle& textStyle) in GetPickerTextStyle() argument 567 textStyle.fontStyle = static_cast<Ace::FontStyle>(styleVal); in GetPickerTextStyle()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
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_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_textpicker_bridge.cpp | 175 int32_t styleVal = 0;
in SetTextStyle() local 177 styleVal = fontStyleArg->Int32Value(vm);
in SetTextStyle() 183 nativeNode, textColor.GetValue(), fontInfo.c_str(), styleVal);
in SetTextStyle() 224 int32_t styleVal = 0;
in SetSelectedTextStyle() local 226 styleVal = fontStyleArg->Int32Value(vm);
in SetSelectedTextStyle() 232 nativeNode, textColor.GetValue(), fontInfo.c_str(), styleVal);
in SetSelectedTextStyle() 273 int32_t styleVal = 0;
in SetDisappearTextStyle() local 275 styleVal = fontStyleArg->Int32Value(vm);
in SetDisappearTextStyle() 281 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 GetArkUINodeModifiers()->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 GetArkUINodeModifiers()->getSelectModifier()->setSelectedOptionFont(nativeNode, fontInfo.c_str(), styleVal); in SetSelectedOptionFont() 842 int32_t styleVal in SetMenuBackgroundBlurStyle() local [all...] |
H A D | arkts_native_alphabet_indexer_bridge.cpp | 112 int32_t styleVal = 0; in SetSelectedFont() local 114 styleVal = styleValArg->Int32Value(vm); in SetSelectedFont() 118 GetArkUINodeModifiers()->getAlphabetIndexerModifier()->setSelectedFont(nativeNode, fontInfo.c_str(), styleVal); in SetSelectedFont() 164 int32_t styleVal = 0; in SetPopupFont() local 166 styleVal = styleValArg->Int32Value(vm); in SetPopupFont() 170 GetArkUINodeModifiers()->getAlphabetIndexerModifier()->setPopupFont(nativeNode, fontInfo.c_str(), styleVal); in SetPopupFont() 216 int32_t styleVal = 0; in SetFont() local 218 styleVal = styleValArg->Int32Value(vm); in SetFont() 223 nativeNode, fontInfo.c_str(), styleVal); in SetFont()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_select.cpp | 298 auto styleVal = static_cast<FontStyle>(jsValue->ToNumber<int32_t>()); in ParseFontStyle() local 300 SelectModel::GetInstance()->SetItalicFontStyle(styleVal); in ParseFontStyle() 302 SelectModel::GetInstance()->SetOptionItalicFontStyle(styleVal); in ParseFontStyle() 304 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 | 674 FontStyle styleVal = static_cast<FontStyle>(style->ToNumber<int32_t>()); in SetPlaceholderFont() local 675 font.fontStyle = styleVal; in SetPlaceholderFont() 723 FontStyle styleVal = static_cast<FontStyle>(style->ToNumber<int32_t>()); in SetTextFont() local 724 font.fontStyle = styleVal; in SetTextFont()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/ |
H A D | cjui_api.h | 1058 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
1061 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
1064 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
1929 void (*setFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
2009 void (*setLabelFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
2011 void (*setContentFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
2439 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
2442 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
2445 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 2597 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 2600 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 2603 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 3594 void (*setFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 3691 void (*setLabelFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 3693 void (*setContentFont)(ArkUINodeHandle node, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 4150 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 4153 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal); 4156 ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 styleVal);
|