Home
last modified time | relevance | path

Searched refs:coordinateOffset_ (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scene_viewer/
H A Dscene_viewer_touch_handler.h42 coordinateOffset_ - coordinateOffset_; in SetCoordinateOffset()
51 Offset coordinateOffset_; variable
H A Dscene_viewer_touch_handler.cpp63 event.SetLocalLocation(point.GetOffset() - coordinateOffset_); in CreateSceneTouchEvent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/touch_listener/
H A Drender_touch_listener.cpp92 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 Drender_touch_listener.h91 Offset coordinateOffset_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Ddrag_recognizer.cpp43 .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 Draw_recognizer.cpp119 .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 Dclick_recognizer.cpp77 …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 Draw_recognizer.h90 coordinateOffset_ = coordinateOffset; in SetCoordinateOffset()
101 Offset coordinateOffset_; variable
H A Dlong_press_recognizer.cpp34 …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 Dpress_recognizer.cpp32 …balLocation(trackPoint_.GetOffset()).SetLocalLocation(trackPoint_.GetOffset() - coordinateOffset_); in OnAccepted()
H A Dparallel_recognizer.cpp29 recognizer->SetCoordinateOffset(coordinateOffset_); in OnAccepted()
H A Dexclusive_recognizer.cpp34 activeRecognizer_->SetCoordinateOffset(coordinateOffset_); in OnAccepted()
H A Dsequenced_recognizer.cpp33 recognizers_[activeIndex]->SetCoordinateOffset(coordinateOffset_); in OnAccepted()
H A Dtimeout_recognizer.cpp97 GetChild()->SetCoordinateOffset(coordinateOffset_); in OnAccepted()
H A Dpan_recognizer.cpp350 .SetLocalLocation(Offset(globalPoint_.GetX(), globalPoint_.GetY()) - coordinateOffset_); in SendCallbackMsg()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/
H A Dmodel_touch_handler.h50 coordinateOffset_ = coordinateOffset; in SetCoordinateOffset()
65 Offset coordinateOffset_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/event/
H A Dmouse_raw_recognizer.h89 coordinateOffset_ = coordinateOffset; in SetCoordinateOffset()
96 Offset coordinateOffset_; variable
H A Daxis_event.h354 coordinateOffset_ = coordinateOffset; in SetCoordinateOffset()
386 …event.GetOffset().GetX() - coordinateOffset_.GetX(), event.GetOffset().GetY() - coordinateOffset_.… in HandleAxisEvent()
397 NG::OffsetF coordinateOffset_; variable
H A Dmouse_raw_recognizer.cpp53 info.SetMouseLocationInfo(event - coordinateOffset_); in CreateMouseEventInfo()
H A Dmouse_event.h456 …event.GetOffset().GetX() - coordinateOffset_.GetX(), event.GetOffset().GetY() - coordinateOffset_.… in HandleMouseEvent()
H A Dtouch_event.h813 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 Dtext_overlay_manager.h246 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 Dtouch_event_test_ng.cpp177 EXPECT_EQ(touchEventActuator->coordinateOffset_, Offset(WIDTH, HEIGHT));
H A Dinput_event_hub_test_ng.cpp393 …EXPECT_EQ(inputEventHub->axisEventActuator_->axisEventTarget_->coordinateOffset_, COORDINATE_OFFSE…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dlong_press_recognizer.cpp374 .SetLocalLocation(lastTouchEvent_.GetOffset() - coordinateOffset_); in SendCallbackMsg()

12