Searched refs:curPos_ (Results 1 - 5 of 5) sorted by relevance
/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | pointer_input_device.cpp | 33 curPos_ = data.point; in DispatchEvent() 39 curPos_.x = curPos_.x - window->GetRect().GetLeft(); in DispatchEvent() 40 curPos_.y = curPos_.y - window->GetRect().GetTop(); in DispatchEvent() 56 lastPos_ = curPos_; in DispatchEvent() 63 rootView->GetTargetView(curPos_, &touchableView_, &targetView_); in DispatchPressEvent() 71 lastPos_ = curPos_; in DispatchPressEvent() 80 rootView->GetTargetView(curPos_, &tempView, &targetView_); in DispatchPressEvent() 85 PressEvent evt(curPos_); in DispatchPressEvent() [all...] |
H A D | pointer_input_device.h | 29 dragLastPos_({0, 0}), curPos_({ 0, 0 }), dragStep_({ 0, 0 }), dragLen_({ 0, 0 }), pressState_(false), 45 Point curPos_; member in OHOS::PointerInputDevice
|
/foundation/arkui/ui_lite/interfaces/kits/events/ |
H A D | drag_event.h | 131 if (MATH_ABS(curPos_.x - startPos_.x) >= MATH_ABS(curPos_.y - startPos_.y)) { in GetDragDirection() 132 return (curPos_.x > startPos_.x) ? DIRECTION_LEFT_TO_RIGHT : DIRECTION_RIGHT_TO_LEFT; in GetDragDirection() 134 return (curPos_.y > startPos_.y) ? DIRECTION_TOP_TO_BOTTOM : DIRECTION_BOTTOM_TO_TOP; in GetDragDirection()
|
H A D | event.h | 83 return curPos_; in GetCurrentPos() 110 Point curPos_; member in OHOS::Event
|
/foundation/arkui/ui_lite/frameworks/events/ |
H A D | event.cpp | 20 Event::Event() : timeStamp_(HALTick::GetInstance().GetTime()), curPos_({ 0, 0 }) {} in Event() 22 Event::Event(const Point& curPos) : timeStamp_(HALTick::GetInstance().GetTime()), curPos_(curPos) {} in Event()
|
Completed in 3 milliseconds