Home
last modified time | relevance | path

Searched refs:velocityTracker_ (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Ddrag_recognizer.cpp40 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 Dpan_recognizer.cpp70 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 Dpan_recognizer.h41 velocityTracker_ = VelocityTracker(Axis::HORIZONTAL); in PanRecognizer()
43 velocityTracker_ = VelocityTracker(Axis::VERTICAL); in PanRecognizer()
153 VelocityTracker velocityTracker_; member in OHOS::Ace::PanRecognizer
H A Ddrag_recognizer.h234 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 Dtextpicker_overscroll.h66 velocityTracker_.Reset(); in ResetVelocity()
89 VelocityTracker velocityTracker_; member in OHOS::Ace::NG::final
H A Dtextpicker_overscroll.cpp104 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 Dtimepicker_haptic_controller.h66 VelocityTracker velocityTracker_; member in OHOS::Ace::NG::TimePickerHapticController
H A Dtimepicker_haptic_controller.cpp201 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 Ddrag_drop_manager_test_ng_property_config.cpp436 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 Ddrag_drop_manager_test_ng.cpp748 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 Ddrag_drop_manager_test_ng_coverage.cpp1267 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 Ddrag_drop_manager.cpp1538 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 Ddrag_drop_manager.h558 VelocityTracker velocityTracker_; member in OHOS::OHOS::Ace::NG::DragDropManager

Completed in 17 milliseconds