Home
last modified time | relevance | path

Searched refs:isShield (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/multimodalinput/input/service/key_event_normalize/test/
H A Dkey_event_normalize_test.cpp318 bool isShield = true; variable
322 isShield = true;
337 bool isShield = false; variable
341 isShield = false;
355 bool isShield = true; variable
370 bool isShield = false; variable
385 bool isShield = false; variable
400 bool isShield = false; variable
415 bool isShield = false; variable
430 bool isShield = false; variable
[all …]
/ohos5.0/foundation/multimodalinput/input/service/key_event_normalize/src/
H A Dkey_event_normalize.cpp153 int32_t KeyEventNormalize::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
157 lastShieldMode_, shieldMode, isShield); in SetShieldStatus()
159 if (isShield) { in SetShieldStatus()
180 iter->second = isShield; in SetShieldStatus()
182 lastShieldMode_, shieldMode, isShield); in SetShieldStatus()
186 int32_t KeyEventNormalize::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
195 isShield = iter->second; in GetShieldStatus()
197 lastShieldMode_, shieldMode, isShield); in GetShieldStatus()
/ohos5.0/foundation/multimodalinput/input/service/key_event_normalize/include/
H A Dkey_event_normalize.h34 int32_t SetShieldStatus(int32_t shieldMode, bool isShield);
35 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield);
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_module.cpp375 bool isShield = true; in SetShieldStatus() local
376 CHKRP(napi_get_value_bool(env, argv[1], &isShield), GET_VALUE_BOOL); in SetShieldStatus()
378 int32_t errCode = InputManager::GetInstance()->SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
411 bool isShield { false }; in GetShieldStatus() local
412 auto errCode = InputManager::GetInstance()->GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
415 NAPI_CALL(env, napi_get_boolean(env, isShield, &result)); in GetShieldStatus()
/ohos5.0/docs/zh-cn/application-dev/device/input/
H A Dinput-overview.md21 …| setShieldStatus(shieldMode: ShieldMode, isShield: boolean): void | 设置屏蔽按键拦截状态。 |ohos.permission.…
H A Dinputconsumer-guidelines.md21 | setShieldStatus(shieldMode: ShieldMode, isShield: boolean): void | 设置屏蔽按键拦截状态。 |
/ohos5.0/foundation/multimodalinput/input/service/message_handle/include/
H A Dserver_msg_handler.h98 int32_t SetShieldStatus(int32_t shieldMode, bool isShield);
99 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-input-kit/
H A Djs-apis-inputconsumer-sys.md108 setShieldStatus(shieldMode: ShieldMode, isShield: boolean): void
121 | isShield | boolean | 是 | 屏蔽类型生效状态,true代表屏蔽类型生效,flase代表不生效。 |
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dinput_manager.cpp529 int32_t InputManager::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
531 return InputMgrImpl.SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
534 int32_t InputManager::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
536 return InputMgrImpl.GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
/ohos5.0/foundation/multimodalinput/input/service/connect_manager/include/
H A Dmultimodal_input_connect_manager.h122 int32_t SetShieldStatus(int32_t shieldMode, bool isShield);
123 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield);
H A Di_multimodal_input_connect.h133 virtual int32_t SetShieldStatus(int32_t shieldMode, bool isShield) = 0;
134 virtual int32_t GetShieldStatus(int32_t shieldMode, bool &isShield) = 0;
H A Dmultimodal_input_connect_proxy.h118 int32_t SetShieldStatus(int32_t shieldMode, bool isShield) override;
119 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield) override;
/ohos5.0/foundation/multimodalinput/input/service/message_handle/test/
H A Dserver_msg_handler_test.cpp121 bool isShield = false; variable
122 int32_t result = servermsghandler.SetShieldStatus(shieldMode, isShield);
137 bool isShield = true; variable
138 int32_t result = servermsghandler.SetShieldStatus(shieldMode, isShield);
153 bool isShield = false; variable
154 int32_t result = servermsghandler.GetShieldStatus(shieldMode, isShield);
169 bool isShield = true; variable
170 int32_t result = servermsghandler.GetShieldStatus(shieldMode, isShield);
/ohos5.0/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/
H A Dinput_manager.h792 int32_t SetShieldStatus(int32_t shieldMode, bool isShield);
802 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield);
/ohos5.0/docs/en/application-dev/device/input/
H A Dinput-overview.md21 …| setShieldStatus(shieldMode: ShieldMode, isShield: boolean): void | Sets the key shielding status…
H A Dinputconsumer-guidelines.md21 | setShieldStatus(shieldMode: ShieldMode, isShield: boolean): void | Sets the key shielding status.|
/ohos5.0/docs/en/application-dev/reference/apis-input-kit/
H A Djs-apis-inputconsumer-sys.md108 setShieldStatus(shieldMode: ShieldMode, isShield: boolean): void
121 | isShield | boolean | Yes | Whether to enable key shielding. The value **true** means to enable…
/ohos5.0/foundation/multimodalinput/input/service/connect_manager/src/
H A Dmultimodal_input_connect_manager.cpp704 int32_t MultimodalInputConnectManager::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
708 return multimodalInputConnectService_->SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
711 int32_t MultimodalInputConnectManager::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
715 return multimodalInputConnectService_->GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
H A Dmultimodal_input_connect_proxy.cpp1753 int32_t MultimodalInputConnectProxy::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
1763 WRITEBOOL(data, isShield, ERR_INVALID_VALUE); in SetShieldStatus()
1777 int32_t MultimodalInputConnectProxy::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
1796 READBOOL(reply, isShield, ERR_INVALID_VALUE); in GetShieldStatus()
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/
H A Dinput_manager_impl.h192 int32_t SetShieldStatus(int32_t shieldMode, bool isShield);
193 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield);
/ohos5.0/foundation/multimodalinput/input/service/message_handle/src/
H A Dserver_msg_handler.cpp778 int32_t ServerMsgHandler::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
780 return KeyEventHdr->SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
783 int32_t ServerMsgHandler::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
785 return KeyEventHdr->GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
/ohos5.0/foundation/multimodalinput/input/service/module_loader/include/
H A Dmmi_service.h132 int32_t SetShieldStatus(int32_t shieldMode, bool isShield) override;
133 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield) override;
/ohos5.0/foundation/multimodalinput/input/service/module_loader/test/
H A Dmmi_service_test.cpp1121 bool isShield = 0; variable
1122 int32_t ret = mmiService.SetShieldStatus(shieldMode, isShield);
1124 ret = mmiService.GetShieldStatus(shieldMode, isShield);
/ohos5.0/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp2469 int32_t MMIService::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
2474 [this, shieldMode, isShield] { in SetShieldStatus()
2475 return sMsgHandler_.SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
2486 int32_t MMIService::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
2491 [this, shieldMode, &isShield] { in GetShieldStatus()
2492 return sMsgHandler_.GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dinput_manager_impl.cpp2183 int32_t InputManagerImpl::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
2188 int32_t ret = MULTIMODAL_INPUT_CONNECT_MGR->SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
2199 int32_t InputManagerImpl::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
2204 int32_t ret = MULTIMODAL_INPUT_CONNECT_MGR->GetShieldStatus(shieldMode, isShield); in GetShieldStatus()

12