/foundation/multimodalinput/input/frameworks/proxy/event_handler/test/ |
H A D | input_handler_manager_test.cpp | 427 * @tc.desc: Test the funcation IsMatchGesture 441 bool ret = inputHdlMgr.IsMatchGesture(handler, action, count); in HWTEST_F() 444 ret = inputHdlMgr.IsMatchGesture(handler, action, count); in HWTEST_F() 449 ret = inputHdlMgr.IsMatchGesture(handler, action, count); in HWTEST_F() 452 ret = inputHdlMgr.IsMatchGesture(handler, action, count); in HWTEST_F() 456 ret = inputHdlMgr.IsMatchGesture(handler, action, count); in HWTEST_F() 459 ret = inputHdlMgr.IsMatchGesture(handler, action, count); in HWTEST_F()
|
/foundation/multimodalinput/input/service/monitor/include/ |
H A D | gesture_monitor_handler.h | 36 bool IsMatchGesture(int32_t action, int32_t count) const;
|
/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touch_gesture_detector.cpp | 129 if (!IsMatchGesture(event->GetPointerCount()) && !IsMatchGesture(ALL_FINGER_COUNT)) { in HandleMoveEvent() 648 bool TouchGestureDetector::IsMatchGesture(int32_t count) const in IsMatchGesture() function in OHOS::MMI::TouchGestureDetector 653 bool TouchGestureDetector::IsMatchGesture(GestureMode mode, int32_t count) const in IsMatchGesture() function in OHOS::MMI::TouchGestureDetector 655 if (!IsMatchGesture(count) && !IsMatchGesture(ALL_FINGER_COUNT)) { in IsMatchGesture() 680 if (!IsMatchGesture(mode, event->GetPointerCount())) { in NotifyGestureEvent()
|
/foundation/multimodalinput/input/service/touch_event_normalize/include/ |
H A D | touch_gesture_detector.h | 74 bool IsMatchGesture(int32_t count) const; 75 bool IsMatchGesture(GestureMode action, int32_t count) const;
|
/foundation/multimodalinput/input/service/touch_event_normalize/test/src/ |
H A D | touch_gesture_detector_test.cpp | 183 EXPECT_TRUE(detector.IsMatchGesture(ALL_FINGER_COUNT));
in HWTEST_F() 1015 * @tc.desc: Test IsMatchGesture
1032 EXPECT_TRUE(detector.IsMatchGesture(mode, count));
1034 EXPECT_TRUE(detector.IsMatchGesture(mode, count));
1036 EXPECT_TRUE(detector.IsMatchGesture(mode, count));
1038 EXPECT_TRUE(detector.IsMatchGesture(mode, count));
1040 EXPECT_FALSE(detector.IsMatchGesture(mode, count));
1042 EXPECT_FALSE(detector.IsMatchGesture(mode, count));
1044 EXPECT_FALSE(detector.IsMatchGesture(mode, count));
1049 * @tc.desc: Test IsMatchGesture
[all...] |
/foundation/multimodalinput/input/service/monitor/src/ |
H A D | gesture_monitor_handler.cpp | 74 bool GestureMonitorHandler::IsMatchGesture(int32_t action, int32_t count) const in IsMatchGesture() function in OHOS::MMI::GestureMonitorHandler
|
H A D | event_monitor_handler.cpp | 229 gesture_.IsMatchGesture(pointerEvent->GetPointerAction(), pointerEvent->GetPointerCount())); in Expect()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/ |
H A D | input_handler_manager.h | 91 bool IsMatchGesture(const Handler &handler, int32_t action, int32_t count);
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | input_handler_manager.cpp | 562 if (!IsMatchGesture(item.second, pointerEvent->GetPointerAction(), pointerEvent->GetPointerCount())) { in GetMonitorConsumerInfos() 776 bool InputHandlerManager::IsMatchGesture(const Handler &handler, int32_t action, int32_t count) in IsMatchGesture() function in OHOS::MMI::InputHandlerManager
|