Searched refs:moveDistance (Results 1 - 5 of 5) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | swipe_recognizer.cpp | 252 Offset moveDistance(curLocalPoint.GetX() - lastLocalPoint.GetX(), curLocalPoint.GetY() - lastLocalPoint.GetY()); in HandleTouchMoveEvent() 254 if (NearZero(moveDistance.GetX()) && NearZero(moveDistance.GetY())) { in HandleTouchMoveEvent() 257 if (moveDistance.GetDistance() < SWIPE_MOVE_LIMITED) { in HandleTouchMoveEvent() 261 double newAngle = ComputeAngle(moveDistance.GetX(), moveDistance.GetY()); in HandleTouchMoveEvent()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | slide_recognizer.cpp | 232 Offset moveDistance = event.GetOffset() - touchPoints_[event.id].GetOffset(); in HandleTouchMoveEvent() local 233 fingersDistance_[event.id] = itf->second + moveDistance; in HandleTouchMoveEvent()
|
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler.cpp | 242 auto moveDistance = sqrt(pow(dx, 2) + pow(dy, 2)); in HandlePointerActionMoveEvent() local 243 if (moveDistance > ConvertVPToPX(TOUCH_MAX_THRESHOLD)) { in HandlePointerActionMoveEvent() 245 MMI_HILOGI("Finger movement distance greater than 20VP, defaultDistance:%{public}d, moveDistance:%{public}f", in HandlePointerActionMoveEvent() 246 ConvertVPToPX(TOUCH_MAX_THRESHOLD), moveDistance); in HandlePointerActionMoveEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_pattern.cpp | 1848 auto moveDistance = (offset - moveCaretState_.touchDownOffset).GetDistance(); in HandleTouchMove() local 1849 moveCaretState_.isMoveCaret = GreatNotEqual(moveDistance, moveCaretState_.minDinstance.ConvertToPx()); in HandleTouchMove()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_pattern.cpp | 6690 auto moveDistance = (offset - moveCaretState_.touchDownOffset).GetDistance(); 6691 if (GreatNotEqual(moveDistance, moveCaretState_.minDistance.ConvertToPx())) {
|
Completed in 31 milliseconds