/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
H A D | js_touch_function.cpp | 30 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 D | js_pan_function.cpp | 25 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 D | js_gesture_function.cpp | 105 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 D | js_hover_function.cpp | 68 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 D | js_gesture_judge_function.cpp | 80 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 D | js_frontend.cpp | 32 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 D | calendar_picker_pattern.h | 91 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 D | calendar_dialog_pattern.h | 154 bool IsInEntryRegion(const Offset& globalLocation); 155 void HandleEntryNodeHoverEvent(bool state, const Offset& globalLocation); 156 void HandleEntryNodeTouchEvent(bool isPressed, const Offset& globalLocation);
|
H A D | calendar_picker_pattern.cpp | 247 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 D | calendar_dialog_pattern.cpp | 308 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 D | js_types.cpp | 96 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 D | gesture_event.h | 107 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 D | cj_frontend.cpp | 83 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 D | linear_split_test_ng.cpp | 297 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 D | mouse_event.h | 303 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 D | axis_event.h | 273 AxisInfo& SetGlobalLocation(const Offset& globalLocation) in SetGlobalLocation() argument 275 globalLocation_ = globalLocation; in SetGlobalLocation()
|
H A D | touch_event.cpp | 415 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 D | dialog_test_ng.cpp | 802 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 D | plugin_frontend.cpp | 65 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 D | menu_wrapper_pattern.h | 382 dumpInfo_.globalLocation = dumpInfo.globalLocation; in SetDumpInfo()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_pattern_testfive_ng.cpp | 300 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 D | menu_patternEx_test_ng.cpp | 242 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 D | declarative_frontend.cpp | 69 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 D | ui_observer_listener.cpp | 519 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 D | drag_event.h | 162 void SetTextAnimation(const RefPtr<GestureEventHub>& gestureHub, const Offset& globalLocation);
|