Home
last modified time | relevance | path

Searched refs:touch (Results 1 – 25 of 78) sorted by relevance

1234

/test/xts/acts/arkui/ace_ets_component/entry/src/main/ets/test/
DTouchJsunit.test.ets24 console.info("touch beforeEach start");
26 url: 'MainAbility/pages/touch',
31 console.info("get touch state pages: " + JSON.stringify(pages));
32 if (!("touch" == pages.name)) {
33 console.info("get touch state pages.name: " + JSON.stringify(pages.name));
38 console.error("push touch page error: " + err);
45 console.info("touch after each called");
66 … console.info("testTouch01 click result is: " + JSON.stringify(sendEventByKey('touch', 10, "")));
/test/xts/acts/arkui/ace_ets_component/entry/src/main/ets/MainAbility/pages/
Dtouch.ets28 console.info('[touch] page show called');
37 console.info("[touch] page stateChangCallBack");
39 console.info("[touch] page state change called:" + JSON.stringify(eventData));
58 .key('touch')
62 console.info("[touch] eventType is Down")
67 console.info("[touch] eventType is Up")
72 console.info("[touch] eventType is Move")
80 + '\nDistance between touch point and touch element:\nx: '
/test/testfwk/arkxtest/uitest/core/
Dwidget_operator.cpp96 auto touch = OHOS::uitest::GenericClick(op, center); in GenericClick() local
97 driver_.PerformTouch(touch, options_, error); in GenericClick()
154 auto touch = GenericSwipe(TouchOp::DRAG, centerFrom, centerTo); in DragIntoWidget() local
155 driver_.PerformTouch(touch, options_, error); in DragIntoWidget()
176 auto touch = GenericPinch(rectBound, scale); in PinchWidget() local
177 driver_.PerformTouch(touch, options_, error); in PinchWidget()
202 auto touch = OHOS::uitest::GenericClick(TouchOp::CLICK, center); in InputText() local
203 driver_.PerformTouch(touch, options_, error); in InputText()
271 auto touch = (toTop) ? GenericSwipe(TouchOp::SWIPE, topPoint, bottomPoint) in TurnPage() local
273 driver_.PerformTouch(touch, options_, error); in TurnPage()
Dwindow_operator.cpp106 auto touch = GenericSwipe(TouchOp::DRAG, from, to); in CallBar() local
107 driver_.PerformTouch(touch, options_, out.exception_); in CallBar()
119 auto touch = GenericClick(TouchOp::CLICK, focus); in Focus() local
120 driver_.PerformTouch(touch, options_, out.exception_); in Focus()
135 auto touch = GenericSwipe(TouchOp::DRAG, from, to); in MoveTo() local
136 driver_.PerformTouch(touch, options_, out.exception_); in MoveTo()
310 auto touch = GenericClick(TouchOp::CLICK, widgetCenter); in BarAction() local
311 driver_.PerformTouch(touch, options_, out.exception_); in BarAction()
Dui_driver.h58 void PerformTouch(const TouchAction &touch, const UiOpArgs &opt, ApiCallErr &err);
60 void PerformMouseAction(const MouseAction &touch, const UiOpArgs &opt, ApiCallErr &err);
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/
DTouchAdd.ets34 …this.text = 'TouchType:' + this.eventType + '\nDistance between touch point and touch element:\nx:…
50 …this.text = 'TouchType:' + this.eventType + '\nDistance between touch point and touch element:\nx:…
/test/ostest/wukong/
DREADME_zh.md80 | -t, --touch[x,y] | 点击测试。 | 否 | - |
111 | -t,--touch | 设置屏幕随机touch测试比例。 | 否 | 默认10%。 |
135 | -t | 0.72 | 参数设置屏幕随机touch测试比例为72%。 |
/test/testfwk/arkxtest/uitest/input/
Dui_input.cpp161 auto touch = GenericSwipe(op, from, to); in FlingActionInput() local
162 driver.PerformTouch(touch, uiOpArgs, exception_); in FlingActionInput()
188 auto touch = GenericSwipe(op, from, to); in SwipeActionInput() local
189 driver.PerformTouch(touch, uiOpArgs, exception_); in SwipeActionInput()
241 auto touch = GenericClick(TouchOp::CLICK, point); in TextActionInput() local
242 driver.PerformTouch(touch, uiOpArgs, exception_); in TextActionInput()
266 auto touch = GenericClick(op, point); in ClickActionInput() local
267 driver.PerformTouch(touch, uiOpArgs, exception_); in ClickActionInput()
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_hitTestBehavior/entry/src/main/ets/test/hitTestBehaviorTest/
DHitTestBehaviorTest.test.ets139 //sibling, and child node's touch response according to its enumeration type
160 //Send touch event.
165 //Determine whether the target component responds to touch test control.
180 //Determine if the sibling component responds to touch test control.
187 … //If there are subcomponents, determine whether the subcomponents respond to touch test control.
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_span/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_margin/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_padding/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_expandSafeAres/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_flexgrow/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_flexshrink/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_aspectRatio/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_api11_completion/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_imageanimator/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_video/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_alignSelf/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_three/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_textarea/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))
/test/xts/acts/arkui/ace_ets_dev/entry/src/main/ets/test/
DUtils.ets80 console.info('down touch started: ' + JSON.stringify(downPonit))
93 console.info('move touch started: ' + JSON.stringify(movePoint))
110 console.info('up touch started: ' + JSON.stringify(upPoint))

1234