Home
last modified time | relevance | path

Searched refs:handlerId (Results 1 - 8 of 8) sorted by relevance

/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dinput_handler_manager.cpp66 int32_t handlerId = GetNextId(); in AddHandler() local
67 CHKFR((handlerId != INVALID_HANDLER_ID), INVALID_HANDLER_ID, "Exceeded limit of 32-bit maximum number of integers"); in AddHandler()
70 MMI_HILOGD("Register new handler:%{public}d, currentType:%{public}d, deviceTags:%{public}d", handlerId, currentType, in AddHandler()
73 if (RET_OK == AddLocal(handlerId, handlerType, eventType, priority, deviceTags, consumer)) { in AddHandler()
84 handlerType, handlerId, currentType, currentTags, newType, deviceTags, priority); in AddHandler()
85 RemoveLocal(handlerId, handlerType, allDeviceTags); in AddHandler()
91 handlerType, handlerId, currentType, currentTags, newType, deviceTags, priority); in AddHandler()
94 "(%{public}d, %{public}d, %{public}d)", handlerType, handlerId, eventType, deviceTags, priority); in AddHandler()
95 handlerId = INVALID_HANDLER_ID; in AddHandler()
97 return handlerId; in AddHandler()
108 int32_t handlerId = GetNextId(); AddGestureMonitor() local
138 int32_t handlerId = GetNextId(); AddHandler() local
160 RemoveGestureMonitor(int32_t handlerId, InputHandlerType handlerType) RemoveGestureMonitor() argument
196 RemoveHandler(int32_t handlerId, InputHandlerType handlerType) RemoveHandler() argument
246 AddGestureToLocal(int32_t handlerId, HandleEventType eventType, TouchGestureType gestureType, int32_t fingers, std::shared_ptr<IInputEventConsumer> consumer) AddGestureToLocal() argument
283 AddLocal(int32_t handlerId, InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::shared_ptr<IInputEventConsumer> monitor) AddLocal() argument
317 AddLocal(int32_t handlerId, InputHandlerType handlerType, std::vector<int32_t> actionsType, std::shared_ptr<IInputEventConsumer> monitor) AddLocal() argument
348 RemoveLocal(int32_t handlerId, InputHandlerType handlerType, uint32_t &deviceTags) RemoveLocal() argument
391 RemoveLocalActions(int32_t handlerId, InputHandlerType handlerType) RemoveLocalActions() argument
430 FindHandler(int32_t handlerId) FindHandler() argument
460 int32_t handlerId = item.first; OnInputEvent() local
473 int32_t handlerId = item.handlerId_; OnInputEvent() local
521 int32_t handlerId = item.handlerId_; GetConsumerInfos() local
565 int32_t handlerId = item.first; GetMonitorConsumerInfos() local
580 int32_t handlerId = item.first; GetMonitorConsumerInfos() local
678 HasHandler(int32_t handlerId) HasHandler() argument
[all...]
/foundation/multimodalinput/input/frameworks/proxy/event_handler/test/
H A Dinput_handler_manager_test.cpp71 int32_t handlerId = 1; in HWTEST_F() local
72 ASSERT_NO_FATAL_FAILURE(manager.FindHandler(handlerId)); in HWTEST_F()
73 handlerId = -1; in HWTEST_F()
74 ASSERT_NO_FATAL_FAILURE(manager.FindHandler(handlerId)); in HWTEST_F()
105 int32_t handlerId = 1; in HWTEST_F() local
106 ASSERT_NO_FATAL_FAILURE(manager.HasHandler(handlerId)); in HWTEST_F()
107 handlerId = -1; in HWTEST_F()
108 ASSERT_NO_FATAL_FAILURE(manager.HasHandler(handlerId)); in HWTEST_F()
182 int32_t handlerId = 1; in HWTEST_F() local
186 manager.monitorHandlers_[handlerId] in HWTEST_F()
200 int32_t handlerId = 1; HWTEST_F() local
214 int32_t handlerId = 1; HWTEST_F() local
231 int32_t handlerId = 5; HWTEST_F() local
472 int32_t handlerId = 2; HWTEST_F() local
[all...]
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/
H A Dinput_handler_manager.h50 bool HasHandler(int32_t handlerId);
60 int32_t RemoveGestureMonitor(int32_t handlerId, InputHandlerType handlerType);
64 int32_t RemoveHandler(int32_t handlerId, InputHandlerType IsValidHandlerType);
92 int32_t AddGestureToLocal(int32_t handlerId, HandleEventType eventType,
94 int32_t AddLocal(int32_t handlerId, InputHandlerType handlerType, HandleEventType eventType,
96 int32_t AddLocal(int32_t handlerId, InputHandlerType handlerType, std::vector<int32_t> actionsType,
101 int32_t RemoveLocal(int32_t handlerId, InputHandlerType handlerType, uint32_t &deviceTags);
103 int32_t RemoveLocalActions(int32_t handlerId, InputHandlerType handlerType);
107 std::shared_ptr<IInputEventConsumer> FindHandler(int32_t handlerId);
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
H A Dinput_handler_type.h65 inline bool IsValidHandlerId(int32_t handlerId) in IsValidHandlerId() argument
67 return ((handlerId >= MIN_HANDLER_ID) && (handlerId < MAX_HANDLER_ID)); in IsValidHandlerId()
/foundation/multimodalinput/input/service/subscriber/test/
H A Dkey_gesture_manager_ex_test.cpp156 int32_t handlerId = 1000; in HWTEST_F() local
158 EXPECT_NO_FATAL_FAILURE(myKeyGesture->RunHandler(handlerId, keyEvent)); in HWTEST_F()
159 handlerId = 100; in HWTEST_F()
160 EXPECT_NO_FATAL_FAILURE(myKeyGesture->RunHandler(handlerId, keyEvent)); in HWTEST_F()
H A Dkey_gesture_manager_test.cpp595 int32_t handlerId = 1; in HWTEST_F() local
598 ASSERT_NO_FATAL_FAILURE(myKeyGesture->RunHandler(handlerId, keyEvent)); in HWTEST_F()
600 handlerId = 5; in HWTEST_F()
601 ASSERT_NO_FATAL_FAILURE(myKeyGesture->RunHandler(handlerId, keyEvent)); in HWTEST_F()
/foundation/multimodalinput/input/service/subscriber/src/
H A Dkey_gesture_manager.cpp175 void KeyGestureManager::KeyGesture::RunHandler(int32_t handlerId, std::shared_ptr<KeyEvent> keyEvent) in RunHandler() argument
178 if (handler.GetId() == handlerId) { in RunHandler()
/foundation/multimodalinput/input/service/subscriber/include/
H A Dkey_gesture_manager.h95 void RunHandler(int32_t handlerId, std::shared_ptr<KeyEvent> keyEvent);

Completed in 6 milliseconds