Searched refs:TouchOp (Results 1 – 7 of 7) sorted by relevance
/test/testfwk/arkxtest/uitest/core/ |
D | widget_operator.cpp | 75 void WidgetOperator::GenericClick(TouchOp op, ApiCallErr &error) const in GenericClick() 77 DCHECK(op >= TouchOp::CLICK && op <= TouchOp::DOUBLE_CLICK_P); in GenericClick() 117 auto touch = GenericSwipe(TouchOp::SWIPE, topPoint, bottomPoint); in ScrollToEnd() 120 auto touch = GenericSwipe(TouchOp::SWIPE, bottomPoint, topPoint); in ScrollToEnd() 140 auto touch = GenericSwipe(TouchOp::DRAG, centerFrom, centerTo); in DragIntoWidget() 221 auto touch = OHOS::uitest::GenericClick(TouchOp::CLICK, center); in InputText() 276 auto touch = (scrollingUp) ? GenericSwipe(TouchOp::SWIPE, topPoint, bottomPoint) : in ScrollFindWidget() 277 GenericSwipe(TouchOp::SWIPE, bottomPoint, topPoint); in ScrollFindWidget()
|
D | ui_action.h | 31 enum TouchOp : uint8_t { CLICK, LONG_CLICK, DOUBLE_CLICK_P, SWIPE, DRAG, FLING }; enum 128 GenericClick(TouchOp type, const Point &point) : type_(type), point_(point) {}; in GenericClick() 135 const TouchOp type_; 144 …explicit GenericSwipe(TouchOp type, const Point &from, const Point &to) : type_(type), from_(from)… in GenericSwipe() 151 const TouchOp type_;
|
D | widget_operator.h | 27 void GenericClick(TouchOp op, ApiCallErr &error) const;
|
D | window_operator.cpp | 105 auto touch = GenericSwipe(TouchOp::DRAG, from, to); in CallBar() 118 auto touch = GenericClick(TouchOp::CLICK, focus); in Focus() 133 auto touch = GenericSwipe(TouchOp::DRAG, from, to); in MoveTo() 186 driver_.PerformTouch(GenericSwipe(TouchOp::DRAG, from, to), options_, out.exception_); in Resize() 265 auto touch = GenericClick(TouchOp::CLICK, widgetCenter); in BarAction()
|
D | ui_action.cpp | 95 DCHECK(type_ >= TouchOp::CLICK && type_ <= TouchOp::DOUBLE_CLICK_P); in Decompose() 116 DCHECK(type_ >= TouchOp::SWIPE && type_ <= TouchOp::DRAG); in Decompose() 117 DecomposeComputeSwipe(recv, from_, to_, type_ == TouchOp::DRAG, options); in Decompose()
|
D | frontend_api_handler.cpp | 676 auto op = TouchOp::CLICK; in RegisterUiDriverTouchOperators() 678 op = TouchOp::LONG_CLICK; in RegisterUiDriverTouchOperators() 680 op = TouchOp::DOUBLE_CLICK_P; in RegisterUiDriverTouchOperators() 682 op = TouchOp::SWIPE; in RegisterUiDriverTouchOperators() 687 op = TouchOp::DRAG; in RegisterUiDriverTouchOperators() 692 if (op == TouchOp::SWIPE || op == TouchOp::DRAG) { in RegisterUiDriverTouchOperators() 725 auto op = TouchOp::SWIPE; in RegisterUiDriverMultiPointerOperators() 888 wOp.GenericClick(TouchOp::CLICK, out.exception_); in RegisterUiComponentOperators() 890 wOp.GenericClick(TouchOp::LONG_CLICK, out.exception_); in RegisterUiComponentOperators() 892 wOp.GenericClick(TouchOp::DOUBLE_CLICK_P, out.exception_); in RegisterUiComponentOperators()
|
/test/testfwk/arkxtest/uitest/test/ |
D | ui_action_test.cpp | 53 GenericClick action(TouchOp::CLICK, point); in TEST_F() 73 GenericClick action(TouchOp::LONG_CLICK, point); in TEST_F() 95 GenericClick action(TouchOp::DOUBLE_CLICK_P, point); in TEST_F() 132 GenericSwipe action(TouchOp::SWIPE, point0, point1); in TEST_F() 181 GenericSwipe action(TouchOp::SWIPE, point0, point1); in TEST_F() 415 GenericSwipe swipeAction(TouchOp::SWIPE, point0, point1); in TEST_F() 416 GenericSwipe dragAction(TouchOp::DRAG, point0, point1); in TEST_F()
|