Home
last modified time | relevance | path

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

/ohos5.0/docs/zh-cn/third-party-cases/
H A Dfloat-window.md192 @State @Watch("moveWindow") windowPosition: Position = { x: 0, y: 0 };
200 this.floatWindow.moveWindowTo(this.windowPosition.x, this.windowPosition.y);
220 // 发生拖拽时,获取到触摸点的位置,并将位置信息传递给windowPosition
221 this.windowPosition.x += event.offsetX;
222 this.windowPosition.y += event.offsetY;
349 @State @Watch("moveWindow") windowPosition: Position = { x: 0, y: 0 };
357 this.floatWindow.moveWindowTo(this.windowPosition.x, this.windowPosition.y);
377 // 发生拖拽时,获取到触摸点的位置,并将位置信息传递给windowPosition
379 this.windowPosition.x += event.offsetX;
380 this.windowPosition.y += event.offsetY;
H A Dsubwindow-mainwindow-communication.md95 @State @Watch("moveWindow") windowPosition: Position = { x: 0, y: 0 };
104 this.subWindow.moveWindowTo(this.windowPosition.x, this.windowPosition.y);
128 // 发生拖拽时,获取到触摸点的位置,并将位置信息传递给windowPosition
130 this.windowPosition.x += event.offsetX;
131 this.windowPosition.y += event.offsetY;
367 @State @Watch("moveWindow") windowPosition: Position = { x: 0, y: 0 };
376 this.subWindow.moveWindowTo(this.windowPosition.x, this.windowPosition.y);
401 // 发生拖拽时,获取到触摸点的位置,并将位置信息传递给windowPosition
403 this.windowPosition.x += event.offsetX;
404 this.windowPosition.y += event.offsetY;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dframe_node_modifier.cpp302 void GetPositionToWindowWithTransform(ArkUINodeHandle node, ArkUI_Float32 (*windowPosition)[2], Ark… in GetPositionToWindowWithTransform()
308 (*windowPosition)[0] = PipelineBase::Px2VpWithCurrentDensity(offset.GetX()); in GetPositionToWindowWithTransform()
309 (*windowPosition)[1] = PipelineBase::Px2VpWithCurrentDensity(offset.GetY()); in GetPositionToWindowWithTransform()
311 (*windowPosition)[0] = offset.GetX(); in GetPositionToWindowWithTransform()
312 (*windowPosition)[1] = offset.GetY(); in GetPositionToWindowWithTransform()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_frame_node_bridge.cpp1045 ArkUI_Float32 windowPosition[2]; in GetPositionToWindowWithTransform() local
1047 nativeNode, &windowPosition, true); in GetPositionToWindowWithTransform()
1048 CHECK_NULL_RETURN(windowPosition, panda::JSValueRef::Undefined(vm)); in GetPositionToWindowWithTransform()
1049 … Framework::ArrayRef::SetValueAt(vm, valueArray, 0, panda::NumberRef::New(vm, windowPosition[0])); in GetPositionToWindowWithTransform()
1050 … Framework::ArrayRef::SetValueAt(vm, valueArray, 1, panda::NumberRef::New(vm, windowPosition[1])); in GetPositionToWindowWithTransform()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/
H A Dcjui_api.h2993 ArkUINodeHandle node, ArkUI_Float32 (*windowPosition)[2], ArkUI_Bool useVp);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h4808 ArkUINodeHandle node, ArkUI_Float32 (*windowPosition)[2], ArkUI_Bool useVp);