Home
last modified time | relevance | path

Searched refs:globalLocation (Results 1 - 25 of 35) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_touch_function.cpp30 const OHOS::Ace::Offset& globalLocation = touchInfo.GetGlobalLocation(); in CreateTouchInfo() local
37 touchInfoObj->SetProperty<double>("windowX", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetX())); in CreateTouchInfo()
38 touchInfoObj->SetProperty<double>("windowY", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetY())); in CreateTouchInfo()
39 touchInfoObj->SetProperty<double>("screenX", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetX())); in CreateTouchInfo()
40 touchInfoObj->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetY())); in CreateTouchInfo()
H A Djs_pan_function.cpp25 const OHOS::Ace::Offset& globalLocation = info.GetGlobalLocation(); in createPanInfo() local
27 panInfoObj->SetProperty<double>("globalX", globalLocation.GetX()); in createPanInfo()
28 panInfoObj->SetProperty<double>("globalY", globalLocation.GetY()); in createPanInfo()
H A Djs_gesture_function.cpp105 const OHOS::Ace::Offset& globalLocation = fingerInfo.globalLocation_; in CreateFingerInfo() local
109 fingerInfoObj->SetProperty<double>("globalX", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetX())); in CreateFingerInfo()
110 fingerInfoObj->SetProperty<double>("globalY", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetY())); in CreateFingerInfo()
H A Djs_hover_function.cpp68 const OHOS::Ace::Offset& globalLocation = hoverInfo.GetGlobalLocation(); in AccessibilityHoverExecute() local
74 hoverObj->SetProperty<double>("windowX", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetX())); in AccessibilityHoverExecute()
75 hoverObj->SetProperty<double>("windowY", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetY())); in AccessibilityHoverExecute()
H A Djs_gesture_judge_function.cpp80 const OHOS::Ace::Offset& globalLocation = fingerInfo.globalLocation_; in CreateFingerInfo() local
84 fingerInfoObj->SetProperty<double>("globalX", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetX())); in CreateFingerInfo()
85 fingerInfoObj->SetProperty<double>("globalY", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetY())); in CreateFingerInfo()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Djs_frontend.cpp32 auto globalLocation = location.GetGlobalLocation(); in TouchInfoToString() local
34 .append(std::to_string(globalLocation.GetX())) in TouchInfoToString()
36 .append(std::to_string(globalLocation.GetY())) in TouchInfoToString()
57 auto globalLocation = change.GetGlobalLocation(); in TouchInfoToString() local
59 .append(std::to_string(globalLocation.GetX())) in TouchInfoToString()
61 .append(std::to_string(globalLocation.GetY())) in TouchInfoToString()
86 auto globalLocation = touchInfo->GetGlobalLocation(); in DragStartInfoToString() local
88 .append(std::to_string(globalLocation.GetX())) in DragStartInfoToString()
90 .append(std::to_string(globalLocation.GetY())); in DragStartInfoToString()
100 auto globalLocation in DragUpdateInfoToString() local
114 auto globalLocation = touchInfo->GetGlobalLocation(); DragEnterInfoToString() local
128 auto globalLocation = touchInfo->GetGlobalLocation(); DragOverInfoToString() local
142 auto globalLocation = touchInfo->GetGlobalLocation(); DragLeaveInfoToString() local
156 auto globalLocation = touchInfo->GetGlobalLocation(); DragDropInfoToString() local
170 auto globalLocation = touchInfo->GetGlobalLocation(); DragEndInfoToString() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_picker_pattern.h91 void HandleClickEvent(const Offset& globalLocation);
111 CalendarPickerSelectedType CheckRegion(const Offset& globalLocation);
170 void HandleHoverEvent(bool state, const Offset& globalLocation);
171 void HandleTouchEvent(bool isPressed, const Offset& globalLocation);
H A Dcalendar_dialog_pattern.h154 bool IsInEntryRegion(const Offset& globalLocation);
155 void HandleEntryNodeHoverEvent(bool state, const Offset& globalLocation);
156 void HandleEntryNodeTouchEvent(bool isPressed, const Offset& globalLocation);
H A Dcalendar_picker_pattern.cpp247 void CalendarPickerPattern::HandleHoverEvent(bool state, const Offset& globalLocation) in HandleHoverEvent() argument
251 switch (CheckRegion(globalLocation)) { in HandleHoverEvent()
278 void CalendarPickerPattern::HandleTouchEvent(bool isPressed, const Offset& globalLocation) in HandleTouchEvent() argument
282 switch (CheckRegion(globalLocation)) { in HandleTouchEvent()
322 void CalendarPickerPattern::HandleClickEvent(const Offset& globalLocation) in HandleClickEvent() argument
324 switch (CheckRegion(globalLocation)) { in HandleClickEvent()
385 CalendarPickerSelectedType CalendarPickerPattern::CheckRegion(const Offset& globalLocation) in CheckRegion() argument
392 auto location = PointF(globalLocation.GetX(), globalLocation.GetY()); in CheckRegion()
H A Dcalendar_dialog_pattern.cpp308 bool CalendarDialogPattern::IsInEntryRegion(const Offset& globalLocation) in IsInEntryRegion() argument
313 PointF(globalLocation.GetX(), globalLocation.GetY())); in IsInEntryRegion()
316 void CalendarDialogPattern::HandleEntryNodeHoverEvent(bool state, const Offset& globalLocation) in HandleEntryNodeHoverEvent() argument
322 pattern->HandleHoverEvent(state, globalLocation); in HandleEntryNodeHoverEvent()
325 void CalendarDialogPattern::HandleEntryNodeTouchEvent(bool isPressed, const Offset& globalLocation) in HandleEntryNodeTouchEvent() argument
329 if (IsInEntryRegion(globalLocation)) { in HandleEntryNodeTouchEvent()
332 pattern->HandleTouchEvent(isPressed, globalLocation); in HandleEntryNodeTouchEvent()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A Djs_types.cpp96 const OHOS::Ace::Offset& globalLocation = point.GetGlobalLocation(); in JsGetHistoricalPoints() local
106 ToJSValue("screenX"), ToJSValue(PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetX()))); in JsGetHistoricalPoints()
108 ToJSValue("screenY"), ToJSValue(PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetY()))); in JsGetHistoricalPoints()
110 ToJSValue("windowX"), ToJSValue(PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetX()))); in JsGetHistoricalPoints()
112 ToJSValue("windowY"), ToJSValue(PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetY()))); in JsGetHistoricalPoints()
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dgesture_event.h107 GestureEvent& SetGlobalLocation(const Offset& globalLocation) in SetGlobalLocation() argument
109 globalLocation_ = globalLocation; in SetGlobalLocation()
110 globalPoint_.SetX(globalLocation.GetX()); in SetGlobalLocation()
111 globalPoint_.SetY(globalLocation.GetY()); in SetGlobalLocation()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/
H A Dcj_frontend.cpp83 auto globalLocation = location.GetGlobalLocation(); in TouchInfoToString() local
85 .append(std::to_string(globalLocation.GetX())) in TouchInfoToString()
87 .append(std::to_string(globalLocation.GetY())) in TouchInfoToString()
103 auto globalLocation = change.GetGlobalLocation(); in TouchInfoToString() local
105 .append(std::to_string(globalLocation.GetX())) in TouchInfoToString()
107 .append(std::to_string(globalLocation.GetY())) in TouchInfoToString()
/foundation/arkui/ace_engine/test/unittest/core/pattern/linear_split/
H A Dlinear_split_test_ng.cpp297 Offset globalLocation(1, 1); in HWTEST_F()
298 info.SetGlobalLocation(globalLocation); in HWTEST_F()
473 Offset globalLocation(0, 500); in HWTEST_F()
474 info.SetGlobalLocation(globalLocation); in HWTEST_F()
485 mouseInfo.SetGlobalLocation(globalLocation); in HWTEST_F()
763 Offset globalLocation(0, 500); in HWTEST_F()
764 info.SetGlobalLocation(globalLocation); in HWTEST_F()
774 gestureInfo.SetGlobalLocation(globalLocation); in HWTEST_F()
1069 Offset globalLocation(0, 500); in HWTEST_F()
1070 info.SetGlobalLocation(globalLocation); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/event/
H A Dmouse_event.h303 MouseInfo& SetGlobalLocation(const Offset& globalLocation) in SetGlobalLocation() argument
305 globalLocation_ = globalLocation; in SetGlobalLocation()
374 AccessibilityHoverInfo& SetGlobalLocation(const Offset& globalLocation) in SetGlobalLocation() argument
376 globalLocation_ = globalLocation; in SetGlobalLocation()
H A Daxis_event.h273 AxisInfo& SetGlobalLocation(const Offset& globalLocation) in SetGlobalLocation() argument
275 globalLocation_ = globalLocation; in SetGlobalLocation()
H A Dtouch_event.cpp415 TouchLocationInfo& TouchLocationInfo::SetGlobalLocation(const Offset& globalLocation) in SetGlobalLocation() argument
417 globalLocation_ = globalLocation; in SetGlobalLocation()
/foundation/arkui/ace_engine/test/unittest/core/pattern/dialog/
H A Ddialog_test_ng.cpp802 Offset globalLocation(10, 6); in HWTEST_F()
827 info.SetGlobalLocation(globalLocation); in HWTEST_F()
843 Offset globalLocation(10, 6); in HWTEST_F()
868 info.SetGlobalLocation(globalLocation); in HWTEST_F()
1497 Offset globalLocation(10, 6); in HWTEST_F()
1522 info.SetGlobalLocation(globalLocation); in HWTEST_F()
1539 Offset globalLocation(10, 6); in HWTEST_F()
1564 info.SetGlobalLocation(globalLocation); in HWTEST_F()
1584 Offset globalLocation(10, 6); in HWTEST_F()
1610 info.SetGlobalLocation(globalLocation); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/
H A Dplugin_frontend.cpp65 auto globalLocation = location.GetGlobalLocation(); in TouchInfoToString() local
67 .append(std::to_string(globalLocation.GetX())) in TouchInfoToString()
69 .append(std::to_string(globalLocation.GetY())) in TouchInfoToString()
85 auto globalLocation = change.GetGlobalLocation(); in TouchInfoToString() local
87 .append(std::to_string(globalLocation.GetX())) in TouchInfoToString()
89 .append(std::to_string(globalLocation.GetY())) in TouchInfoToString()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/wrapper/
H A Dmenu_wrapper_pattern.h382 dumpInfo_.globalLocation = dumpInfo.globalLocation; in SetDumpInfo()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_pattern_testfive_ng.cpp300 Offset globalLocation = Offset(54.0, 20.0); in HWTEST_F() local
340 bool show = richEditorPattern->HandleUrlSpanShowShadow(localLocation, globalLocation, Color(Color::BLUE)); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
H A Dmenu_patternEx_test_ng.cpp242 Offset globalLocation(1, 1); in HWTEST_F()
244 auto touchLocationInfo = locationInfo.SetGlobalLocation(globalLocation); in HWTEST_F()
263 Offset globalLocation(1, 1); in HWTEST_F()
265 auto touchLocationInfo = locationInfo.SetGlobalLocation(globalLocation); in HWTEST_F()
284 Offset globalLocation(1, 1); in HWTEST_F()
285 auto touchLocationInfo = locationInfo.SetGlobalLocation(globalLocation); in HWTEST_F()
1018 Offset globalLocation(1, 1); in HWTEST_F()
1020 auto touchLocationInfo = locationInfo.SetGlobalLocation(globalLocation); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Ddeclarative_frontend.cpp69 auto globalLocation = location.GetGlobalLocation(); in TouchInfoToString() local
71 .append(std::to_string(globalLocation.GetX())) in TouchInfoToString()
73 .append(std::to_string(globalLocation.GetY())) in TouchInfoToString()
89 auto globalLocation = change.GetGlobalLocation(); in TouchInfoToString() local
91 .append(std::to_string(globalLocation.GetX())) in TouchInfoToString()
93 .append(std::to_string(globalLocation.GetY())) in TouchInfoToString()
/foundation/arkui/ace_engine/interfaces/napi/kits/observer/
H A Dui_observer_listener.cpp519 const OHOS::Ace::Offset& globalLocation = finger.globalLocation_; in AddFingerListInfo() local
522 napi_create_double(env_, globalLocation.GetX() / scale, &napiGlobalX); in AddFingerListInfo()
525 napi_create_double(env_, globalLocation.GetY() / scale, &napiGlobalY); in AddFingerListInfo()
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Ddrag_event.h162 void SetTextAnimation(const RefPtr<GestureEventHub>& gestureHub, const Offset& globalLocation);

Completed in 28 milliseconds

12