Searched refs:lastAxisEvent_ (Results 1 – 16 of 16) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | rotation_recognizer.cpp | 117 lastAxisEvent_ = event; in HandleTouchDownEvent() 176 lastAxisEvent_ = event; in HandleTouchUpEvent() 253 lastAxisEvent_ = event; in HandleTouchMoveEvent() 362 info.SetVerticalAxis(lastAxisEvent_.verticalAxis); in SendCallbackMsg() 363 info.SetHorizontalAxis(lastAxisEvent_.horizontalAxis); in SendCallbackMsg() 364 info.SetSourceTool(lastAxisEvent_.sourceTool); in SendCallbackMsg() 365 info.SetPressedKeyCodes(lastAxisEvent_.pressedCodes); in SendCallbackMsg()
|
H A D | pinch_recognizer.cpp | 131 lastAxisEvent_ = event; in HandleTouchDownEvent() 199 lastAxisEvent_ = event; in HandleTouchUpEvent() 287 lastAxisEvent_ = event; in HandleTouchMoveEvent() 424 info.SetVerticalAxis(lastAxisEvent_.verticalAxis); in SendCallbackMsg() 425 info.SetHorizontalAxis(lastAxisEvent_.horizontalAxis); in SendCallbackMsg() 426 info.SetSourceTool(lastAxisEvent_.sourceTool); in SendCallbackMsg() 427 info.SetPressedKeyCodes(lastAxisEvent_.pressedCodes); in SendCallbackMsg()
|
H A D | swipe_recognizer.cpp | 155 lastAxisEvent_ = event; in HandleTouchDownEvent() 217 lastAxisEvent_ = event; in HandleTouchUpEvent() 294 lastAxisEvent_ = event; in HandleTouchMoveEvent() 410 info.SetVerticalAxis(lastAxisEvent_.verticalAxis); in SendCallbackMsg() 411 info.SetHorizontalAxis(lastAxisEvent_.horizontalAxis); in SendCallbackMsg() 412 info.SetSourceTool(lastAxisEvent_.sourceTool); in SendCallbackMsg() 413 info.SetPressedKeyCodes(lastAxisEvent_.pressedCodes); in SendCallbackMsg()
|
H A D | pan_recognizer.cpp | 185 auto revertAxisValue = event.ConvertToSummationAxisValue(lastAxisEvent_); in UpdateAxisPointInVelocityTracker() 189 lastAxisEvent_ = event; in UpdateAxisPointInVelocityTracker() 191 lastAxisEvent_.horizontalAxis = pesudoTouchEvent.x; in UpdateAxisPointInVelocityTracker() 192 lastAxisEvent_.verticalAxis = pesudoTouchEvent.y; in UpdateAxisPointInVelocityTracker() 282 lastAxisEvent_ = event; in HandleTouchDownEvent() 680 info.SetScreenLocation(lastAxisEvent_.GetScreenOffset()); in GetGestureEventInfo() 681 info.SetSourceTool(lastAxisEvent_.sourceTool); in GetGestureEventInfo() 682 info.SetVerticalAxis(lastAxisEvent_.verticalAxis); in GetGestureEventInfo() 683 info.SetHorizontalAxis(lastAxisEvent_.horizontalAxis); in GetGestureEventInfo() 684 info.SetPressedKeyCodes(lastAxisEvent_.pressedCodes); in GetGestureEventInfo() [all …]
|
H A D | rotation_recognizer.h | 63 AxisEvent lastAxisEvent_; variable
|
H A D | pinch_recognizer.h | 73 AxisEvent lastAxisEvent_; variable
|
H A D | sequenced_recognizer.h | 80 AxisEvent lastAxisEvent_; variable
|
H A D | swipe_recognizer.h | 81 AxisEvent lastAxisEvent_; variable
|
H A D | sequenced_recognizer.cpp | 245 lastAxisEvent_ = point; in HandleEvent() 346 auto event = lastAxisEvent_; in SendTouchEventToNextRecognizer()
|
H A D | pan_recognizer.h | 152 AxisEvent lastAxisEvent_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | pan_recognizer.cpp | 89 lastAxisEvent_ = event; in HandleTouchDownEvent() 221 lastAxisEvent_ = event; in HandleTouchMoveEvent() 241 lastAxisEvent_ = event; in HandleTouchMoveEvent()
|
H A D | pan_recognizer.h | 149 AxisEvent lastAxisEvent_; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | rotation_recognizer_test_ng.cpp | 612 EXPECT_EQ(rotationRecognizer->lastAxisEvent_.id, axisEvent.id); 641 EXPECT_EQ(rotationRecognizer->lastAxisEvent_.id, axisEvent.id); 671 EXPECT_EQ(rotationRecognizer->lastAxisEvent_.id, axisEvent.id);
|
H A D | pinch_recognizer_test_ng.cpp | 733 EXPECT_EQ(pinchRecognizer->lastAxisEvent_.id, axisEvent.id); 762 EXPECT_EQ(pinchRecognizer->lastAxisEvent_.id, axisEvent.id); 792 EXPECT_EQ(pinchRecognizer->lastAxisEvent_.id, axisEvent.id);
|
H A D | swipe_recognizer_test_ng.cpp | 792 EXPECT_EQ(swipeRecognizer->lastAxisEvent_.id, axisEvent.id); 821 EXPECT_EQ(swipeRecognizer->lastAxisEvent_.id, axisEvent.id);
|
H A D | pan_recognizer_test_ng.cpp | 1274 EXPECT_EQ(panRecognizer->lastAxisEvent_.id, axisEvent.id); 1303 EXPECT_EQ(panRecognizer->lastAxisEvent_.id, axisEvent.id); 1330 EXPECT_EQ(panRecognizer->lastAxisEvent_.id, axisEvent.id);
|