/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | drag_recognizer.cpp | 40 const auto& firstPoint = dragInfo.velocityTracker_.GetFirstTrackPoint(); in OnAccepted() 48 const auto& currentPoint = dragInfo.velocityTracker_.GetCurrentTrackPoint(); in OnAccepted() 92 dragInfo.velocityTracker_.Reset(); in HandleTouchDownEvent() 93 dragInfo.velocityTracker_.UpdateTouchPoint(event); in HandleTouchDownEvent() 110 dragInfo.velocityTracker_.UpdateTouchPoint(event); in HandleTouchMoveEvent() 115 info.SetDelta(dragInfo.velocityTracker_.GetDelta()) in HandleTouchMoveEvent() 116 .SetMainDelta(dragInfo.velocityTracker_.GetMainAxisDeltaPos()) in HandleTouchMoveEvent() 127 dragInfo.dragOffset_ += dragInfo.velocityTracker_.GetDelta(); in HandleTouchMoveEvent() 151 dragInfo.velocityTracker_.UpdateTouchPoint(event, true); in HandleTouchUpEvent() 166 endInfo.SetVelocity(dragInfo.velocityTracker_ in HandleTouchUpEvent() [all...] |
H A D | pan_recognizer.cpp | 70 velocityTracker_.Reset(); in HandleTouchDownEvent() 71 velocityTracker_.UpdateTouchPoint(event); in HandleTouchDownEvent() 94 velocityTracker_.Reset(); in HandleTouchDownEvent() 109 velocityTracker_.UpdateTouchPoint(event, true); in HandleTouchUpEvent() 177 velocityTracker_.UpdateTouchPoint(event); in HandleTouchMoveEvent() 359 info.SetVelocity(velocityTracker_.GetVelocity()); in SendCallbackMsg() 360 info.SetMainVelocity(velocityTracker_.GetMainAxisVelocity()); in SendCallbackMsg() 407 velocityTracker_.SetMainAxis(Axis::HORIZONTAL); in SetDirection() 409 velocityTracker_.SetMainAxis(Axis::VERTICAL); in SetDirection()
|
H A D | pan_recognizer.h | 41 velocityTracker_ = VelocityTracker(Axis::HORIZONTAL); in PanRecognizer() 43 velocityTracker_ = VelocityTracker(Axis::VERTICAL); in PanRecognizer() 153 VelocityTracker velocityTracker_; member in OHOS::Ace::PanRecognizer
|
H A D | drag_recognizer.h | 234 explicit DragFingersInfo(Axis axis) : velocityTracker_(axis) {} in DragFingersInfo() 237 VelocityTracker velocityTracker_; member in OHOS::Ace::DragRecognizer::DragFingersInfo
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_overscroll.h | 66 velocityTracker_.Reset(); in ResetVelocity() 89 VelocityTracker velocityTracker_; member in OHOS::Ace::NG::final
|
H A D | textpicker_overscroll.cpp | 104 velocityTracker_.UpdateTrackerPoint(0.0, offsetY, std::chrono::high_resolution_clock::now()); in UpdateTossSpring() 110 auto velocity = std::abs(velocityTracker_.GetVelocity().GetVelocityY()) * damping; in ShouldStartRebound() 123 velocityTracker_.Reset();
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/timepicker/ |
H A D | timepicker_haptic_controller.h | 66 VelocityTracker velocityTracker_; member in OHOS::Ace::NG::TimePickerHapticController
|
H A D | timepicker_haptic_controller.cpp | 201 velocityTracker_.UpdateTrackerPoint(0, scrollValue_, startTime); in HandleDelta() 218 double velocityInPixels = velocityTracker_.GetVelocity().GetVelocityY(); in GetCurrentSpeedInMm()
|
/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | drag_drop_manager_test_ng_property_config.cpp | 436 dragDropManager->velocityTracker_.UpdateTouchPoint(event, false); in HWTEST_F() 492 dragDropManager->velocityTracker_.UpdateTouchPoint(event, false); in HWTEST_F() 583 dragDropManager->velocityTracker_.UpdateTouchPoint(event, false); in HWTEST_F() 780 dragDropManager->velocityTracker_.UpdateTouchPoint(event, false); in HWTEST_F() 852 dragDropManager->velocityTracker_.UpdateTouchPoint(event, false); in HWTEST_F()
|
H A D | drag_drop_manager_test_ng.cpp | 748 dragDropManager->velocityTracker_.UpdateTouchPoint(event, false); in HWTEST_F() 1005 * @tc.expected: dragDropManager->velocityTracker_.isFirstPoint_ is equal to true. in HWTEST_F() 1009 EXPECT_EQ(dragDropManager->velocityTracker_.isFirstPoint_, true); in HWTEST_F()
|
H A D | drag_drop_manager_test_ng_coverage.cpp | 1267 dragDropManager->velocityTracker_.UpdateTouchPoint(event, false); in HWTEST_F() 1313 dragDropManager->velocityTracker_.UpdateTouchPoint(event, false); in HWTEST_F() 1357 dragDropManager->velocityTracker_.UpdateTouchPoint(event, false); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_manager.cpp | 1538 notifyEvent->SetVelocity(velocityTracker_.GetVelocity()); in UpdateNotifyDragEvent() 1554 event->SetVelocity(velocityTracker_.GetVelocity()); in UpdateDragEvent() 1585 velocityTracker_.Reset(); in ClearVelocityInfo() 1592 velocityTracker_.UpdateTrackerPoint(point.GetX(), point.GetY(), curTime, isEnd); in UpdateVelocityTrackerPoint()
|
H A D | drag_drop_manager.h | 558 VelocityTracker velocityTracker_; member in OHOS::OHOS::Ace::NG::DragDropManager
|