Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 38) sorted by relevance

12

/test/xts/acts/multimodalinput/input_js_standard/src/main/js/test/
DPointer.test.js16 import pointer from '@ohos.multimodalInput.pointer'
46 pointer.setPointerVisibleSync(true);
65 let visible = pointer.isPointerVisibleSync();
85 let style = pointer.getPointerStyleSync(-1);
105 pointer.setPointerVisible(false, (err, data) => {
119 await pointer.isPointerVisible().then(data => {
148 await pointer.setPointerVisible(true).then(data => {
160 pointer.isPointerVisible((err, data) => {
201 await pointer.setPointerStyle(windowId, 4).then(() => {
258 pointer.setPointerStyle(windowId, 4, (err) => {
[all …]
/test/testfwk/arkxtest/uitest/core/
Dui_action.cpp27 PointerMatrix pointer(fingers, steps); in DecomposeClick() local
28 pointer.PushAction(TouchEvent {ActionStage::DOWN, point, 0, options.clickHoldMs_}); in DecomposeClick()
29 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.clickHoldMs_, 0}); in DecomposeClick()
30 recv = move(pointer); in DecomposeClick()
38 PointerMatrix pointer(fingers, steps); in DecomposeLongClick() local
39 pointer.PushAction(TouchEvent {ActionStage::DOWN, point, 0, options.longClickHoldMs_}); in DecomposeLongClick()
40 pointer.PushAction(TouchEvent {ActionStage::UP, point, options.longClickHoldMs_, 0}); in DecomposeLongClick()
41 recv = move(pointer); in DecomposeLongClick()
49 PointerMatrix pointer(fingers, steps); in DecomposeDoubleClick() local
50 pointer.PushAction(TouchEvent {ActionStage::DOWN, point, 0, options.clickHoldMs_}); in DecomposeDoubleClick()
[all …]
Dfrontend_api_handler.cpp911 static bool CheckMultiPointerOperatorsPoint(const PointerMatrix& pointer) in CheckMultiPointerOperatorsPoint() argument
913 for (uint32_t fingerIndex = 0; fingerIndex < pointer.GetFingers(); fingerIndex++) { in CheckMultiPointerOperatorsPoint()
914 for (uint32_t stepIndex = 0; stepIndex < pointer.GetSteps(); stepIndex++) { in CheckMultiPointerOperatorsPoint()
915 if (pointer.At(fingerIndex, stepIndex).flags_ != 1) { in CheckMultiPointerOperatorsPoint()
996 auto &pointer = GetBackendObject<PointerMatrix>(ReadCallArg<string>(in, INDEX_ZERO)); in RegisterUiDriverMultiPointerOperators() local
997 auto flag = CheckMultiPointerOperatorsPoint(pointer); in RegisterUiDriverMultiPointerOperators()
1005 auto touch = MultiPointerAction(pointer); in RegisterUiDriverMultiPointerOperators()
1368 auto &pointer = GetBackendObject<PointerMatrix>(in.callerObjRef_); in RegisterPointerMatrixOperators() local
1370 if (finger < 0 || finger >= pointer.GetFingers()) { in RegisterPointerMatrixOperators()
1375 if (step < 0 || step >= pointer.GetSteps()) { in RegisterPointerMatrixOperators()
[all …]
/test/xts/acts/arkui/ace_ets_component_api11_completion/entry/src/main/ets/MainAbility/pages/commonApi/
DsetCursor.ets15 import pointer from '@ohos.multimodalInput.pointer';
21 @State num1: PointerStyle = pointer.PointerStyle.DEFAULT
30 let style: pointer.PointerStyle = pointer.getPointerStyleSync(windowId);
38 cursorControl.setCursor(pointer.PointerStyle.SOUTH)
/test/testfwk/arkxtest/uitest/test/
Dui_action_test.cpp275 PointerMatrix pointer(finger, step); in TEST_F() local
277 pointer.At(0, stepIndex).point_.px_ = 245 + 20 * stepIndex; in TEST_F()
278 pointer.At(0, stepIndex).point_.py_ = 480; in TEST_F()
281 pointer.At(1, stepIndex).point_.px_ = 505 - 20 * stepIndex; in TEST_F()
282 pointer.At(1, stepIndex).point_.py_ = 480; in TEST_F()
284 MultiPointerAction action(pointer); in TEST_F()
285 ASSERT_EQ(2, pointer.GetFingers()); in TEST_F()
286 ASSERT_EQ(4, pointer.GetSteps()); in TEST_F()
287 ASSERT_EQ(245, pointer.At(0, 0).point_.px_); in TEST_F()
312 PointerMatrix pointer(finger, step); in TEST_F() local
[all …]
/test/xts/hats/hdf/input/inputBenchmarkTest/
Dhdi_input_test.h25 #define INPUT_CHECK_NULL_POINTER(pointer, ret) do { \ argument
26 if ((pointer) == nullptr) { \
/test/xts/hats/hdf/input/hdi_input/common/
Dhdi_input_test.h25 #define INPUT_CHECK_NULL_POINTER(pointer, ret) do { \ argument
26 if ((pointer) == nullptr) { \
/test/xts/device_attest_lite/services/core/include/utils/
Dattest_utils.h36 #define ATTEST_MEM_FREE(pointer) AttestMemFree((void **)&(pointer)) argument
/test/xts/device_attest/services/core/include/utils/
Dattest_utils.h36 #define ATTEST_MEM_FREE(pointer) AttestMemFree((void **)&(pointer)) argument
/test/xts/acts/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/
Dstyle.css177 cursor: pointer;
210 cursor: pointer;
245 cursor: pointer;
262 cursor: pointer;
306 cursor: pointer;
315 cursor: pointer;
381 cursor: pointer;
386 cursor: pointer;
441 cursor: pointer;
474 cursor: pointer;
[all …]
/test/testfwk/developer_test/examples/calculator/test/fuzztest/common/calculator_fuzzer/
DBUILD.gn28 "-fno-omit-frame-pointer",
/test/xts/device_attest/test/fuzztest/devattestservicestub_fuzzer/
DBUILD.gn33 "-fno-omit-frame-pointer",
/test/xts/device_attest/test/fuzztest/devattestclient_fuzzer/
DBUILD.gn30 "-fno-omit-frame-pointer",
/test/testfwk/developer_test/examples/calculator/test/fuzztest/common/Calculator_fuzzer/
DBUILD.gn28 "-fno-omit-frame-pointer",
/test/xts/device_attest/test/fuzztest/devattestservice_fuzzer/
DBUILD.gn33 "-fno-omit-frame-pointer",
/test/xts/hats/startup/partitionslot/
DBUILD.gn25 "-fno-omit-frame-pointer",
/test/xts/hats/startup/partitionslot_additional/
DBUILD.gn25 "-fno-omit-frame-pointer",
/test/xts/hats/kernel/posix_interface/interface_gn/futex_posix/
DBUILD.gn39 "-Wno-int-to-void-pointer-cast",
/test/xts/device_attest/test/fuzztest/devattestcorenetwork_fuzzer/
DBUILD.gn39 "-fno-omit-frame-pointer",
/test/xts/device_attest/test/fuzztest/devattestnetworkcallback_fuzzer/
DBUILD.gn38 "-fno-omit-frame-pointer",
/test/xts/device_attest/test/fuzztest/devattestadapteroem_fuzzer/
DBUILD.gn34 "-fno-omit-frame-pointer",
/test/xts/hats/useriam/userauth_additional/
DBUILD.gn26 "-fno-omit-frame-pointer",
/test/xts/acts/testfwk/uitest/src/main/ets/test/
Duitest.test.ets1417 * @tc.desc: inject multi-pointer action on the device display.
1428 let pointer = PointerMatrix.create(2,11)
1430 pointer.setPoint(0,0,{x:245,y:480})
1431 pointer.setPoint(0,1,{x:250,y:480})
1432 pointer.setPoint(0,2,{x:255,y:480})
1433 pointer.setPoint(0,3,{x:260,y:480})
1434 pointer.setPoint(0,4,{x:265,y:480})
1435 pointer.setPoint(0,5,{x:270,y:480})
1436 pointer.setPoint(0,6,{x:275,y:480})
1437 pointer.setPoint(0,7,{x:280,y:480})
[all …]
/test/xts/hats/useriam/userauth/
DBUILD.gn26 "-fno-omit-frame-pointer",
/test/xts/hats/useriam/fingerprintauth/
DBUILD.gn27 "-fno-omit-frame-pointer",

12