Home
last modified time | relevance | path

Searched refs:argsValue (Results 1 - 19 of 19) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_camera.cpp111 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in GetParamFromJson() local
114 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() == 0) { in GetParamFromJson()
117 std::unique_ptr<JsonValue> firstItem = argsValue->GetArrayItem(0); in GetParamFromJson()
H A Ddom_list.cpp635 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
636 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != 1) { in CallSpecializedMethod()
640 std::unique_ptr<JsonValue> indexValue = argsValue->GetArrayItem(0)->GetValue("index"); in CallSpecializedMethod()
647 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
648 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != 1) { in CallSpecializedMethod()
652 std::unique_ptr<JsonValue> scrollArrowParams = argsValue in CallSpecializedMethod()
661 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); CallSpecializedMethod() local
770 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); ScrollToEdgeMethod() local
796 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); ScrollPageMethod() local
[all...]
H A Ddom_grid_container.cpp85 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
86 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != 1) { in CallSpecializedMethod()
90 auto callbackId = argsValue->GetArrayItem(0)->GetString(); in CallSpecializedMethod()
H A Ddom_stepper.cpp112 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
113 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != METHOD_TO_ARGS_SIZE) { in CallSpecializedMethod()
117 std::unique_ptr<JsonValue> valueParams = argsValue->GetArrayItem(0); in CallSpecializedMethod()
H A Ddom_video.cpp199 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(json); in GetParamFromJson() local
200 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != METHOD_VIDEO_TO_ARGS_SIZE) { in GetParamFromJson()
205 std::unique_ptr<JsonValue> Value = argsValue->GetArrayItem(0)->GetValue(key); in GetParamFromJson()
H A Ddom_calendar.cpp178 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in HandleGoTo() local
179 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != METHOD_GO_TO_ARGS_SIZE) { in HandleGoTo()
182 auto gotoArg = argsValue->GetArrayItem(0); in HandleGoTo()
H A Ddom_chart.cpp404 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
405 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != METHOD_APPEND_ARGS_SIZE) { in CallSpecializedMethod()
409 std::unique_ptr<JsonValue> serialValue = argsValue->GetArrayItem(0)->GetValue("serial"); in CallSpecializedMethod()
415 std::unique_ptr<JsonValue> dataValue = argsValue->GetArrayItem(0)->GetValue("data"); in CallSpecializedMethod()
H A Ddom_menu.cpp202 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
203 double x = GetJsonDouble(argsValue, "x", 0); in CallSpecializedMethod()
204 double y = GetJsonDouble(argsValue, "y", 0); in CallSpecializedMethod()
H A Ddom_input.cpp149 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
150 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != METHOD_SHOW_ERROR_ARGS_SIZE) { in CallSpecializedMethod()
155 std::unique_ptr<JsonValue> error = argsValue->GetArrayItem(0)->GetValue("error"); in CallSpecializedMethod()
164 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
165 std::unique_ptr<JsonValue> text = argsValue->GetArrayItem(0); in CallSpecializedMethod()
H A Ddom_node.cpp214 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallMethod() local
215 if (argsValue && argsValue->IsArray() && argsValue->GetArraySize() == COMMON_METHOD_FOCUS_ARGS_SIZE) { in CallMethod()
216 std::unique_ptr<JsonValue> focusValue = argsValue->GetArrayItem(0)->GetValue(COMMON_METHOD_FOCUS); in CallMethod()
223 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallMethod() local
224 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != 1) { in CallMethod()
228 std::unique_ptr<JsonValue> scrollByPara = argsValue in CallMethod()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_xcomponent_bridge.cpp212 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(arguments); in JsSetXComponentSurfaceSize()
213 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() < 1) { in JsSetXComponentSurfaceSize()
217 std::unique_ptr<JsonValue> surfaceSizePara = argsValue->GetArrayItem(0); in JsSetXComponentSurfaceSize()
H A Djsi_component_api_bridge.cpp150 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(arguments); in JsScrollTo()
151 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() < 1) { in JsScrollTo()
155 std::unique_ptr<JsonValue> scrollToPara = argsValue->GetArrayItem(0); in JsScrollTo()
H A Djsi_canvas_bridge.cpp257 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in HandleJsContext() local
258 if (argsValue && argsValue->IsArray() && argsValue->GetArraySize() > 0) { in HandleJsContext()
259 auto typeArg = argsValue->GetArrayItem(0); in HandleJsContext()
H A Djsi_engine.cpp2177 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(arguments); in JsCallComponent() local
2178 if (argsValue && argsValue->IsArray()) { in JsCallComponent()
2179 std::unique_ptr<JsonValue> cNodeId = argsValue->GetArrayItem(0)->GetValue("__nodeId"); in JsCallComponent()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/swiper/
H A Dswiper_declaration.cpp242 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
243 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != METHOD_SWIPE_TO_ARGS_SIZE) { in CallSpecializedMethod()
248 std::unique_ptr<JsonValue> indexValue = argsValue->GetArrayItem(0)->GetValue("index"); in CallSpecializedMethod()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Djs_ace_page.cpp137 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(pageParams_); in GetCardId() local
138 if (argsValue && argsValue->IsObject()) { in GetCardId()
140 if (!argsValue->GetString(DOM_TRANSITION_CARD_COMPOSEID).empty()) { in GetCardId()
141 return argsValue->GetString(DOM_TRANSITION_CARD_COMPOSEID); in GetCardId()
145 const auto& paramsData = argsValue->GetObject(DOM_TRANSITION_CARD_PARAMS); in GetCardId()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/textfield/
H A Dtextfield_declaration.cpp324 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
325 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != METHOD_SHOW_ERROR_ARGS_SIZE) { in CallSpecializedMethod()
330 std::unique_ptr<JsonValue> error = argsValue->GetArrayItem(0)->GetValue("error"); in CallSpecializedMethod()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/button/
H A Dbutton_declaration.cpp252 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args); in CallSpecializedMethod() local
253 if ((!argsValue) || (!argsValue->IsArray()) || (argsValue->GetArraySize() != METHOD_SET_PROGRESS_ARGS_SIZE)) { in CallSpecializedMethod()
256 std::unique_ptr<JsonValue> progressValue = argsValue->GetArrayItem(0)->GetValue("progress"); in CallSpecializedMethod()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/
H A Ddeclaration.cpp1985 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args);
1986 if (argsValue && argsValue->IsArray() && argsValue->GetArraySize() == COMMON_METHOD_FOCUS_ARGS_SIZE) {
1987 std::unique_ptr<JsonValue> focusValue = argsValue->GetArrayItem(0)->GetValue(COMMON_METHOD_FOCUS);
1994 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(args);
1995 if (!argsValue || !argsValue->IsArray() || argsValue->GetArraySize() != 1) {
1999 std::unique_ptr<JsonValue> scrollByPara = argsValue
[all...]

Completed in 26 milliseconds