Searched refs:jsStyle (Results 1 – 6 of 6) sorted by relevance
255 auto jsStyle = obj->GetProperty("style"); in ContentFont() local256 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() local318 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()
99 auto jsStyle = obj->GetProperty("style"); in Font() local100 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()
81 auto jsStyle = paramObject->GetProperty("type"); in Create() local82 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()
896 auto jsStyle = value->GetProperty(runtime, "style"); in ParseDomImage() local897 auto jsWidth = jsStyle->GetProperty(runtime, DOM_WIDTH); in ParseDomImage()898 auto jsHeight = jsStyle->GetProperty(runtime, DOM_HEIGHT); in ParseDomImage()
1077 auto jsStyle = value->GetProperty(runtime, "style"); in ParseDomImage() local1078 auto jsWidth = jsStyle->GetProperty(runtime, DOM_WIDTH); in ParseDomImage()1079 auto jsHeight = jsStyle->GetProperty(runtime, DOM_HEIGHT); in ParseDomImage()
752 Local<JSValueRef> jsStyle = runtimeCallInfo->GetCallArgRef(4); in SetPlaceholderFont() local780 if (jsStyle->IsNumber()) { in SetPlaceholderFont()781 style = jsStyle->ToNumber(vm)->Value(); in SetPlaceholderFont()