Home
last modified time | relevance | path

Searched refs:screenLocation (Results 1 - 16 of 16) sorted by relevance

/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_extra_input_data.cpp65 const auto& screenLocation = point.GetScreenLocation(); in InsertInterpolatePoints() local
67 location.GetX(), location.GetY(), screenLocation.GetX(), screenLocation.GetY(), info.GetTimeStamp()); in InsertInterpolatePoints()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_gesture_function.cpp107 const OHOS::Ace::Offset& screenLocation = fingerInfo.screenLocation_; in CreateFingerInfo() local
113 fingerInfoObj->SetProperty<double>("displayX", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetX())); in CreateFingerInfo()
114 fingerInfoObj->SetProperty<double>("displayY", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetY())); in CreateFingerInfo()
H A Djs_hover_function.cpp70 const OHOS::Ace::Offset& screenLocation = hoverInfo.GetScreenLocation(); in AccessibilityHoverExecute() local
72 hoverObj->SetProperty<double>("displayX", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetX())); in AccessibilityHoverExecute()
73 hoverObj->SetProperty<double>("displayY", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetY())); in AccessibilityHoverExecute()
H A Djs_touch_function.cpp32 const OHOS::Ace::Offset& screenLocation = touchInfo.GetScreenLocation(); in CreateTouchInfo() local
35 touchInfoObj->SetProperty<double>("displayX", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetX())); in CreateTouchInfo()
36 touchInfoObj->SetProperty<double>("displayY", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetY())); in CreateTouchInfo()
H A Djs_gesture_judge_function.cpp82 const OHOS::Ace::Offset& screenLocation = fingerInfo.screenLocation_; in CreateFingerInfo() local
88 fingerInfoObj->SetProperty<double>("displayX", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetX())); in CreateFingerInfo()
89 fingerInfoObj->SetProperty<double>("displayY", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetY())); in CreateFingerInfo()
/foundation/arkui/ace_engine/test/unittest/core/pattern/container_modal/
H A Dcontainer_modal_view_enhance_test_ng.cpp469 Offset screenLocation; in HWTEST_F() local
470 screenLocation.deltaX_ = 10.2; in HWTEST_F()
472 info.SetScreenLocation(screenLocation); in HWTEST_F()
504 Offset screenLocation; in HWTEST_F() local
505 screenLocation.deltaX_ = 10.2; in HWTEST_F()
507 info.SetScreenLocation(screenLocation); in HWTEST_F()
538 Offset screenLocation; in HWTEST_F() local
539 screenLocation.Zero(); in HWTEST_F()
541 info.SetScreenLocation(screenLocation); in HWTEST_F()
572 Offset screenLocation; in HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A Djs_types.cpp98 const OHOS::Ace::Offset& screenLocation = point.GetScreenLocation(); in JsGetHistoricalPoints() local
114 ToJSValue("displayX"), ToJSValue(PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetX()))); in JsGetHistoricalPoints()
116 ToJSValue("displayY"), ToJSValue(PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetY()))); in JsGetHistoricalPoints()
/foundation/arkui/ace_engine/frameworks/core/event/
H A Dmouse_event.h314 MouseInfo& SetScreenLocation(const Offset& screenLocation) in SetScreenLocation() argument
316 screenLocation_ = screenLocation; in SetScreenLocation()
385 AccessibilityHoverInfo& SetScreenLocation(const Offset& screenLocation) in SetScreenLocation() argument
387 screenLocation_ = screenLocation; in SetScreenLocation()
H A Daxis_event.h284 AxisInfo& SetScreenLocation(const Offset& screenLocation) in SetScreenLocation() argument
286 screenLocation_ = screenLocation; in SetScreenLocation()
H A Dtouch_event.cpp427 TouchLocationInfo& TouchLocationInfo::SetScreenLocation(const Offset& screenLocation) in SetScreenLocation() argument
429 screenLocation_ = screenLocation; in SetScreenLocation()
H A Dtouch_event.h217 TouchLocationInfo& SetScreenLocation(const Offset& screenLocation);
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dgesture_event.h96 GestureEvent& SetScreenLocation(const Offset& screenLocation) in SetScreenLocation() argument
98 screenLocation_ = screenLocation; in SetScreenLocation()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_web.cpp4895 const OHOS::Ace::Offset& screenLocation = touchInfo.GetScreenLocation(); in CreateTouchInfo() local
4898 touchInfoObj->SetProperty<double>("displayX", screenLocation.GetX()); in CreateTouchInfo()
4899 touchInfoObj->SetProperty<double>("displayY", screenLocation.GetY()); in CreateTouchInfo()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.cpp6470 const OHOS::Ace::Offset& screenLocation = location.GetScreenLocation(); in SetTouchLocationInfo() local
6473 info.SetScreenLocation(Offset(screenLocation.GetX() - scaleX, screenLocation.GetY() - scaleY)); in SetTouchLocationInfo()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_common_modifier.cpp6548 const OHOS::Ace::Offset& screenLocation = locationInfo.GetScreenLocation(); in ConvertTouchLocationInfoToPoint() local
6555 touchPoint.screenX = screenLocation.GetX() / density; in ConvertTouchLocationInfoToPoint()
6556 touchPoint.screenY = screenLocation.GetY() / density; in ConvertTouchLocationInfoToPoint()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_common_bridge.cpp6130 const OHOS::Ace::Offset& screenLocation = fingerInfo.screenLocation_; in CreateFingerInfo() local
6138 panda::NumberRef::New(vm, screenLocation.GetX() / density), in CreateFingerInfo()
6139 panda::NumberRef::New(vm, screenLocation.GetY() / density) }; in CreateFingerInfo()

Completed in 56 milliseconds