Home
last modified time | relevance | path

Searched refs:positionObj (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/particle/
H A Dparticle_pattern.cpp77 auto positionObj = JsonUtil::Create(true); in ToJsonValue() local
78 positionObj->Put("x", std::to_string(props[i].position->x).c_str()); in ToJsonValue()
79 positionObj->Put("y", std::to_string(props[i].position->y).c_str()); in ToJsonValue()
80 object->Put("position", positionObj); in ToJsonValue()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_badge_bridge.cpp71 Local<JSValueRef> positionObj = runtimeCallInfo->GetCallArgRef(11); // 11: parameter index in ParsePosition() local
76 (positionObj->IsBoolean() && positionObj->ToBoolean(vm)->Value())) { in ParsePosition()
H A Darkts_native_frame_node_bridge.cpp269 auto positionObj = panda::ObjectRef::NewWithNamedProperties(vm, ArraySize(keys), keys, valuesOfPosition);
270 panda::Local<panda::JSValueRef> params[1] = { positionObj };
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_layout_manager.cpp250 auto positionObj = panda::NumberRef::New(vm, static_cast<int32_t>(value.position_)); in GetGlyphPositionAtCoordinate() local
254 positionWithAffinityObj->Set(vm, panda::StringRef::NewFromUtf8(vm, "position"), positionObj); in GetGlyphPositionAtCoordinate()
H A Djs_web.cpp4819 JSRef<JSObject> positionObj = objectTemplate->NewInstance(); in EmbedLifecycleChangeToJSValue() local
4820 positionObj->SetProperty("x", eventInfo.GetEmebdInfo().x); in EmbedLifecycleChangeToJSValue()
4821 positionObj->SetProperty("y", eventInfo.GetEmebdInfo().y); in EmbedLifecycleChangeToJSValue()
4822 requestObj->SetPropertyObject("position", positionObj); in EmbedLifecycleChangeToJSValue()

Completed in 14 milliseconds