Home
last modified time | relevance | path

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

/base/msdp/device_status/intention/adapters/input_adapter/src/
H A Dinput_adapter.cpp52 int32_t InputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) in AddInterceptor() function in OHOS::Msdp::DeviceStatus::InputAdapter
54 return AddInterceptor(pointerCb, nullptr); in AddInterceptor()
57 int32_t InputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) in AddInterceptor() function in OHOS::Msdp::DeviceStatus::InputAdapter
59 return AddInterceptor(nullptr, keyCb); in AddInterceptor()
62 int32_t InputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb, in AddInterceptor() function in OHOS::Msdp::DeviceStatus::InputAdapter
78 int32_t interceptorId = MMI::InputManager::GetInstance()->AddInterceptor(interceptor, DEFAULT_PRIORITY, tags); in AddInterceptor()
80 FI_HILOGE("AddInterceptor fail"); in AddInterceptor()
/base/msdp/device_status/intention/prototype/include/
H A Di_input_adapter.h38 virtual int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) = 0;
39 virtual int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) = 0;
40 virtual int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb,
/base/msdp/device_status/intention/adapters/input_adapter/include/
H A Dinput_adapter.h38 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) override;
39 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) override;
40 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb,
/base/msdp/device_status/test/unittest/intention/cooperate/include/
H A Dtest_context.h41 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) override;
42 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) override;
43 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb,
/base/msdp/device_status/test/unittest/intention/cooperate/src/
H A Dtest_context.cpp53 int32_t MockInputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) in AddInterceptor() function in OHOS::Msdp::DeviceStatus::MockInputAdapter
58 int32_t MockInputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) in AddInterceptor() function in OHOS::Msdp::DeviceStatus::MockInputAdapter
63 int32_t MockInputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb, in AddInterceptor() function in OHOS::Msdp::DeviceStatus::MockInputAdapter
/base/msdp/device_status/test/unittest/intention/adapters/src/
H A Dinput_adapter_test.cpp152 int32_t interceptorId = inputAdapter->AddInterceptor(callback); in HWTEST_F()
172 int32_t interceptorId = inputAdapter->AddInterceptor(callback); in HWTEST_F()
195 int32_t interceptorId = inputAdapter->AddInterceptor(pointerCallback, keyCallback); in HWTEST_F()
345 int32_t interceptorId = inputAdapter->AddInterceptor(nullptr, nullptr); in HWTEST_F()
/base/msdp/device_status/intention/cooperate/plugin/src/input_event_transmission/
H A Dinput_event_interceptor.cpp68 interceptorId_ = env_->GetInput().AddInterceptor( in Enable()
72 FI_HILOGE("Input::AddInterceptor fail"); in Enable()
/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_manager.cpp930 pointerEventInterceptorId_ = MMI::InputManager::GetInstance()->AddInterceptor( in AddPointerEventHandler()

Completed in 6 milliseconds