Home
last modified time | relevance | path

Searched refs:INVALID_INTERCEPTOR_ID (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/frameworks/native/input/
H A Doh_input_interceptor.cpp30 constexpr int32_t INVALID_INTERCEPTOR_ID = -1; variable
61 if (type == INTERCEPTOR_TYPE_KEY && keyInterceptorId_ != INVALID_INTERCEPTOR_ID) { in Stop()
66 keyInterceptorId_ = INVALID_INTERCEPTOR_ID; in Stop()
67 … } else if (type == INTERCEPTOR_TYPE_POINTER && pointerInterceptorId_ != INVALID_INTERCEPTOR_ID) { in Stop()
72 pointerInterceptorId_ = INVALID_INTERCEPTOR_ID; in Stop()
H A Doh_input_manager.cpp89 static constexpr int32_t INVALID_INTERCEPTOR_ID = -1; variable
119 static int32_t g_keyInterceptorId = INVALID_INTERCEPTOR_ID;
120 static int32_t g_pointerInterceptorId = INVALID_INTERCEPTOR_ID;
1467 if (g_keyInterceptorId != INVALID_INTERCEPTOR_ID) { in OH_Input_AddKeyEventInterceptor()
1596 if (g_pointerInterceptorId != INVALID_INTERCEPTOR_ID) { in OH_Input_AddInputEventInterceptor()
1624 g_keyInterceptorId = INVALID_INTERCEPTOR_ID; in OH_Input_RemoveKeyEventInterceptor()
1639 g_pointerInterceptorId = INVALID_INTERCEPTOR_ID; in OH_Input_RemoveInputEventInterceptor()