/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scene_viewer/ |
H A D | scene_viewer_touch_handler.h | 42 coordinateOffset_ - coordinateOffset_; in SetCoordinateOffset() 51 Offset coordinateOffset_; variable
|
H A D | scene_viewer_touch_handler.cpp | 63 event.SetLocalLocation(point.GetOffset() - coordinateOffset_); in CreateSceneTouchEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/touch_listener/ |
H A D | render_touch_listener.cpp | 92 coordinateOffset_ = coordinateOffset; in OnTouchTestHit() 146 float localX = changedPoint.x - coordinateOffset_.GetX(); in TriggerTouchCallBack() 147 float localY = changedPoint.y - coordinateOffset_.GetY(); in TriggerTouchCallBack() 168 float localX = pointPair.second.x - coordinateOffset_.GetX(); in TriggerTouchCallBack() 169 float localY = pointPair.second.y - coordinateOffset_.GetY(); in TriggerTouchCallBack()
|
H A D | render_touch_listener.h | 91 Offset coordinateOffset_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | drag_recognizer.cpp | 43 .SetLocalLocation(firstPoint.GetOffset() - coordinateOffset_); in OnAccepted() 55 .SetLocalLocation(currentPoint.GetOffset() - coordinateOffset_); in OnAccepted() 118 .SetLocalLocation(event.GetOffset() - coordinateOffset_); in HandleTouchMoveEvent() 169 .SetLocalLocation(event.GetOffset() - coordinateOffset_); in HandleTouchUpEvent() 180 .SetLocalLocation(event.GetOffset() - coordinateOffset_); in HandleTouchUpEvent()
|
H A D | raw_recognizer.cpp | 119 .SetLocalLocation(point.GetOffset() - coordinateOffset_) in CreateTouchEventInfo() 134 .SetLocalLocation(offset - coordinateOffset_) in CreateTouchEventInfo() 162 .SetLocalLocation(lastPoint_.GetOffset() - coordinateOffset_) in CreateTouchEventInfo() 200 .SetLocalLocation(point.GetOffset() - coordinateOffset_) in CreateTouchEventInfo()
|
H A D | click_recognizer.cpp | 77 …lobalLocation(touchPoint.GetOffset()).SetLocalLocation(touchPoint.GetOffset() - coordinateOffset_); in OnAccepted() 100 …lobalLocation(touchPoint.GetOffset()).SetLocalLocation(touchPoint.GetOffset() - coordinateOffset_); in OnAccepted() 103 SetFingerList(touchPoints_, coordinateOffset_, fingerList_); in OnAccepted() 302 …lobalLocation(touchPoint.GetOffset()).SetLocalLocation(touchPoint.GetOffset() - coordinateOffset_); in SendCallbackMsg()
|
H A D | raw_recognizer.h | 90 coordinateOffset_ = coordinateOffset; in SetCoordinateOffset() 101 Offset coordinateOffset_; variable
|
H A D | long_press_recognizer.cpp | 34 …lobalLocation(trackPoint.GetOffset()).SetLocalLocation(trackPoint.GetOffset() - coordinateOffset_); in OnAccepted() 39 SetFingerList(touchMap_, coordinateOffset_, fingerList_); in OnAccepted() 247 …lobalLocation(trackPoint.GetOffset()).SetLocalLocation(trackPoint.GetOffset() - coordinateOffset_); in SendCallbackMsg()
|
H A D | press_recognizer.cpp | 32 …balLocation(trackPoint_.GetOffset()).SetLocalLocation(trackPoint_.GetOffset() - coordinateOffset_); in OnAccepted()
|
H A D | parallel_recognizer.cpp | 29 recognizer->SetCoordinateOffset(coordinateOffset_); in OnAccepted()
|
H A D | exclusive_recognizer.cpp | 34 activeRecognizer_->SetCoordinateOffset(coordinateOffset_); in OnAccepted()
|
H A D | sequenced_recognizer.cpp | 33 recognizers_[activeIndex]->SetCoordinateOffset(coordinateOffset_); in OnAccepted()
|
H A D | timeout_recognizer.cpp | 97 GetChild()->SetCoordinateOffset(coordinateOffset_); in OnAccepted()
|
H A D | pan_recognizer.cpp | 350 .SetLocalLocation(Offset(globalPoint_.GetX(), globalPoint_.GetY()) - coordinateOffset_); in SendCallbackMsg()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/ |
H A D | model_touch_handler.h | 50 coordinateOffset_ = coordinateOffset; in SetCoordinateOffset() 65 Offset coordinateOffset_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | mouse_raw_recognizer.h | 89 coordinateOffset_ = coordinateOffset; in SetCoordinateOffset() 96 Offset coordinateOffset_; variable
|
H A D | axis_event.h | 354 coordinateOffset_ = coordinateOffset; in SetCoordinateOffset() 386 …event.GetOffset().GetX() - coordinateOffset_.GetX(), event.GetOffset().GetY() - coordinateOffset_.… in HandleAxisEvent() 397 NG::OffsetF coordinateOffset_; variable
|
H A D | mouse_raw_recognizer.cpp | 53 info.SetMouseLocationInfo(event - coordinateOffset_); in CreateMouseEventInfo()
|
H A D | mouse_event.h | 456 …event.GetOffset().GetX() - coordinateOffset_.GetX(), event.GetOffset().GetY() - coordinateOffset_.… in HandleMouseEvent()
|
H A D | touch_event.h | 813 coordinateOffset_ = coordinateOffset; in SetCoordinateOffset() 819 return coordinateOffset_; in GetCoordinateOffset() 917 Offset coordinateOffset_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | text_overlay_manager.h | 246 coordinateOffset_ = coordinateOffset; in SetCoordinateOffset() 252 return coordinateOffset_; in GetCoordinateOffset() 267 Offset coordinateOffset_; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | touch_event_test_ng.cpp | 177 EXPECT_EQ(touchEventActuator->coordinateOffset_, Offset(WIDTH, HEIGHT));
|
H A D | input_event_hub_test_ng.cpp | 393 …EXPECT_EQ(inputEventHub->axisEventActuator_->axisEventTarget_->coordinateOffset_, COORDINATE_OFFSE…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | long_press_recognizer.cpp | 374 .SetLocalLocation(lastTouchEvent_.GetOffset() - coordinateOffset_); in SendCallbackMsg()
|