Home
last modified time | relevance | path

Searched refs:pointer (Results 1 - 12 of 12) sorted by relevance

/test/testfwk/arkxtest/uitest/core/
H A Dui_action.cpp27 PointerMatrix pointer(fingers, steps); in DecomposeClick()
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()
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()
50 pointer in DecomposeDoubleClick()
[all...]
H A Dfrontend_api_handler.cpp925 static bool CheckMultiPointerOperatorsPoint(const PointerMatrix& pointer) in CheckMultiPointerOperatorsPoint() argument
927 for (uint32_t fingerIndex = 0; fingerIndex < pointer.GetFingers(); fingerIndex++) { in CheckMultiPointerOperatorsPoint()
928 for (uint32_t stepIndex = 0; stepIndex < pointer.GetSteps(); stepIndex++) { in CheckMultiPointerOperatorsPoint()
929 if (pointer.At(fingerIndex, stepIndex).flags_ != 1) { in CheckMultiPointerOperatorsPoint()
1010 auto &pointer = GetBackendObject<PointerMatrix>(ReadCallArg<string>(in, INDEX_ZERO)); in RegisterUiDriverMultiPointerOperators()
1011 auto flag = CheckMultiPointerOperatorsPoint(pointer); in RegisterUiDriverMultiPointerOperators()
1019 auto touch = MultiPointerAction(pointer); in RegisterUiDriverMultiPointerOperators()
1433 auto &pointer = GetBackendObject<PointerMatrix>(in.callerObjRef_); in RegisterPointerMatrixOperators()
1435 if (finger < 0 || finger >= pointer.GetFingers()) { in RegisterPointerMatrixOperators()
1440 if (step < 0 || step >= pointer in RegisterPointerMatrixOperators()
[all...]
H A Dui_action.h171 * Base type of all raw pointer click actions.
187 * Base type of all raw pointer swipe actions.
204 * Base type of all raw pointer pinch actions.
220 * Base type of multi pointer actions.
224 explicit MultiPointerAction(const PointerMatrix &pointer) : pointers_(pointer) {}; in MultiPointerAction() argument
/test/testfwk/arkxtest/uitest/test/
H A Dui_action_test.cpp279 PointerMatrix pointer(finger, step); in TEST_F()
281 pointer.At(0, stepIndex).point_.px_ = 245 + 20 * stepIndex; in TEST_F()
282 pointer.At(0, stepIndex).point_.py_ = 480; in TEST_F()
285 pointer.At(1, stepIndex).point_.px_ = 505 - 20 * stepIndex; in TEST_F()
286 pointer.At(1, stepIndex).point_.py_ = 480; in TEST_F()
288 MultiPointerAction action(pointer); in TEST_F()
289 ASSERT_EQ(2, pointer.GetFingers()); in TEST_F()
290 ASSERT_EQ(4, pointer.GetSteps()); in TEST_F()
291 ASSERT_EQ(245, pointer.At(0, 0).point_.px_); in TEST_F()
316 PointerMatrix pointer(finge in TEST_F()
[all...]
/test/xts/hats/hdf/input/inputBenchmarkTest/
H A Dhdi_input_test.h25 #define INPUT_CHECK_NULL_POINTER(pointer, ret) do { \
26 if ((pointer) == nullptr) { \
27 printf("%s: null pointer", __func__); \
/test/xts/hats/hdf/input/hdi_input/common/
H A Dhdi_input_test.h25 #define INPUT_CHECK_NULL_POINTER(pointer, ret) do { \
26 if ((pointer) == nullptr) { \
27 printf("%s: null pointer", __func__); \
/test/xts/device_attest_lite/services/core/include/utils/
H A Dattest_utils.h38 #define ATTEST_MEM_FREE(pointer) AttestMemFree((void **)&(pointer))
/test/xts/device_attest/services/core/include/utils/
H A Dattest_utils.h41 #define ATTEST_MEM_FREE(pointer) AttestMemFree((void **)&(pointer))
/test/xts/acts/commonlibrary/thirdparty/ubsan/entry/src/main/cpp/
H A Dnapi_init.cpp31 // To detect reads from, or writes to, a misaligned pointer,
33 // A pointer misaligns if its address isn’t a multiple of its type’s alignment.
51 signed long int *pointer = (signed long int *)(buffer + 1); in MisAlign() local
52 *pointer = 42; // 42 is an arbitrary number to deliberately trigger UBSan check in MisAlign()
53 res = *pointer; in MisAlign()
353 // To detect the creation of null references and null pointer dereferences.
354 // If the compiler finds a pointer dereference, it treats that pointer as nonnull.
358 return *(int *)x; // deliberately use of a null pointer to trigger the undefined behavior of null in Foo1()
397 // To detect pointer cast
[all...]
/test/xts/hats/hdf/input/hdi_input/hdi_input/
H A Dhdi_input_test.cpp67 #define INPUT_CHECK_NULL_POINTER(pointer, ret) do { \
68 if ((pointer) == nullptr) { \
69 printf("%s: null pointer", __func__); \
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dstringndk.cpp497 void *pointer = memmem(deSt, strlen(deSt), valueFirst, strlen(valueFirst)); in MemMem() local
500 if (pointer != nullptr) { in MemMem()
/test/xts/acts/ai/nncore/nncoretest/src/
H A DHdiExecutorTest.cpp23 void RunDone(void *pointer, OH_NN_ReturnCode returnCode, void* pointerArray[], int32_t intNum) in RunDone() argument

Completed in 12 milliseconds