Home
last modified time | relevance | path

Searched refs:touches (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_interactable_view_ffi.cpp129 auto& touches = touchEventInfo.GetTouches(); in FfiOHOSAceFrameworkInteractableViewOnTouch()
130 ffiTouchInfo.touches = new CJTouchInfo[touches.size()]; in FfiOHOSAceFrameworkInteractableViewOnTouch()
131 TransformNativeTouchLocationInfo(ffiTouchInfo.touches, touches); in FfiOHOSAceFrameworkInteractableViewOnTouch()
132 ffiTouchInfo.touchesSize = static_cast<int32_t>(touches.size()); in FfiOHOSAceFrameworkInteractableViewOnTouch()
159 delete[] ffiTouchInfo.touches; in FfiOHOSAceFrameworkInteractableViewOnTouch()
H A Dcj_common_ffi.h161 CJTouchInfo* touches; member
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp1045 handler.twoFingerGesture_.touches[0].downTime = 150000; in HWTEST_F()
1046 handler.twoFingerGesture_.touches[0].id = 10; in HWTEST_F()
1047 handler.twoFingerGesture_.touches[0].x = 100; in HWTEST_F()
1048 handler.twoFingerGesture_.touches[0].y = 200; in HWTEST_F()
1049 handler.twoFingerGesture_.touches[1].downTime = 100000; in HWTEST_F()
1050 handler.twoFingerGesture_.touches[0].id = 5; in HWTEST_F()
1051 handler.twoFingerGesture_.touches[0].x = 50; in HWTEST_F()
1052 handler.twoFingerGesture_.touches[0].y = 100; in HWTEST_F()
1054 handler.twoFingerGesture_.touches[0].downTime = 350000; in HWTEST_F()
1055 handler.twoFingerGesture_.touches[ in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/select_popup/
H A Drender_select_popup.cpp413 auto touches = info.GetTouches(); in ProcessTouchDown() local
414 if (touches.empty()) { in ProcessTouchDown()
419 auto clickPosition = touches.front().GetLocalLocation(); in ProcessTouchDown()
425 firstFingerDownOffset_ = touches.front().GetGlobalLocation(); in ProcessTouchDown()
431 auto touches = info.GetTouches(); in ProcessTouchUp() local
432 if (touches.empty()) { in ProcessTouchUp()
437 auto clickPosition = touches.front().GetLocalLocation(); in ProcessTouchUp()
446 auto offset = touches.front().GetGlobalLocation(); in ProcessTouchUp()
/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Drender_option.cpp578 auto touches = info.GetTouches(); in ProcessTouchDown() local
579 if (touches.empty()) { in ProcessTouchDown()
588 auto touchPosition = touches.front().GetLocalLocation(); in ProcessTouchDown()
599 auto touches = info.GetTouches(); in ProcessTouchUp() local
600 if (touches.empty()) { in ProcessTouchUp()
609 auto touchPosition = touches.front().GetLocalLocation(); in ProcessTouchUp()
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dstate_style_manager.cpp44 const auto& touches = info.GetTouches(); in GetPressedListener()
46 if (touches.empty() || changeTouches.empty()) { in GetPressedListener()
65 int32_t sourceType = static_cast<int32_t>(touches.front().GetSourceDevice()); in GetPressedListener()
/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp235 auto pos = std::find_if(std::begin(twoFingerGesture_.touches), std::end(twoFingerGesture_.touches), in HandlePointerActionMoveEvent()
237 if (pos == std::end(twoFingerGesture_.touches)) { in HandlePointerActionMoveEvent()
297 twoFingerGesture_.touches[num - 1].id = id; in HandleFingerGestureDownEvent()
298 twoFingerGesture_.touches[num - 1].x = item.GetDisplayX(); in HandleFingerGestureDownEvent()
299 twoFingerGesture_.touches[num - 1].y = item.GetDisplayY(); in HandleFingerGestureDownEvent()
300 twoFingerGesture_.touches[num - 1].downTime = item.GetDownTime(); in HandleFingerGestureDownEvent()
527 twoFingerGesture_.ability.params["displayX1"] = std::to_string(twoFingerGesture_.touches[0].x); in StartTwoFingerGesture()
528 twoFingerGesture_.ability.params["displayY1"] = std::to_string(twoFingerGesture_.touches[0].y); in StartTwoFingerGesture()
529 twoFingerGesture_.ability.params["displayX2"] = std::to_string(twoFingerGesture_.touches[ in StartTwoFingerGesture()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/form/
H A Dform_pattern_test.cpp160 std::list<TouchLocationInfo> touches; in HWTEST_F() local
161 event.touches_ = std::move(touches); in HWTEST_F()
205 std::list<TouchLocationInfo> touches = event.GetTouches(); in HWTEST_F() local
206 EXPECT_EQ(touches.empty(), false); in HWTEST_F()
210 event.touches_ = touches; in HWTEST_F()
/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler.h128 } touches[MAX_TOUCH_NUM]; member
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_pattern.cpp2114 auto& touches = info.GetTouches();
2115 if (touches.empty()) {
2118 auto offset = touches.front().GetLocalLocation();
/foundation/arkui/ace_engine/test/unittest/core/pattern/picker/
H A Ddate_picker_test_ng.cpp3063 std::list<TouchLocationInfo> touches; in HWTEST_F() local
3064 touches.emplace_back(localLocationInfo); in HWTEST_F()
3065 touchEventInfo.touches_ = touches; in HWTEST_F()
3092 touches.clear(); in HWTEST_F()
3093 touches.emplace_back(localLocationInfo); in HWTEST_F()
3094 touchEventInfo.touches_ = touches; in HWTEST_F()

Completed in 25 milliseconds