Home
last modified time | relevance | path

Searched refs:jsStyle (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_menu_item.cpp255 auto jsStyle = obj->GetProperty("style"); in ContentFont() local
256 if (!jsStyle->IsNull()) { in ContentFont()
257 if (jsStyle->IsNumber()) { in ContentFont()
258 … MenuItemModel::GetInstance()->SetFontStyle(static_cast<FontStyle>(jsStyle->ToNumber<int32_t>())); in ContentFont()
261 ParseJsString(jsStyle, style); in ContentFont()
317 auto jsStyle = obj->GetProperty("style"); in LabelFont() local
318 if (!jsStyle->IsNull()) { in LabelFont()
319 if (jsStyle->IsNumber()) { in LabelFont()
320 …MenuItemModel::GetInstance()->SetLabelFontStyle(static_cast<FontStyle>(jsStyle->ToNumber<int32_t>(… in LabelFont()
323 ParseJsString(jsStyle, style); in LabelFont()
H A Djs_menu.cpp99 auto jsStyle = obj->GetProperty("style"); in Font() local
100 if (!jsStyle->IsNull()) { in Font()
101 if (jsStyle->IsNumber()) { in Font()
102 … MenuModel::GetInstance()->SetFontStyle(static_cast<FontStyle>(jsStyle->ToNumber<int32_t>())); in Font()
105 ParseJsString(jsStyle, style); in Font()
H A Djs_progress.cpp81 auto jsStyle = paramObject->GetProperty("type"); in Create() local
82 if (jsStyle->IsNull() || jsStyle->IsUndefined()) { in Create()
83 jsStyle = paramObject->GetProperty("style"); in Create()
86 auto progressStyle = static_cast<ProgressStyle>(jsStyle->ToNumber<int32_t>()); in Create()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_offscreen_canvas_bridge.cpp896 auto jsStyle = value->GetProperty(runtime, "style"); in ParseDomImage() local
897 auto jsWidth = jsStyle->GetProperty(runtime, DOM_WIDTH); in ParseDomImage()
898 auto jsHeight = jsStyle->GetProperty(runtime, DOM_HEIGHT); in ParseDomImage()
H A Djsi_canvas_bridge.cpp1077 auto jsStyle = value->GetProperty(runtime, "style"); in ParseDomImage() local
1078 auto jsWidth = jsStyle->GetProperty(runtime, DOM_WIDTH); in ParseDomImage()
1079 auto jsHeight = jsStyle->GetProperty(runtime, DOM_HEIGHT); in ParseDomImage()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_text_input_bridge.cpp752 Local<JSValueRef> jsStyle = runtimeCallInfo->GetCallArgRef(4); in SetPlaceholderFont() local
780 if (jsStyle->IsNumber()) { in SetPlaceholderFont()
781 style = jsStyle->ToNumber(vm)->Value(); in SetPlaceholderFont()