Home
last modified time | relevance | path

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

/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_ability.cpp213 IMSA_HILOGD("pwd or normal input pattern changed, need hide panel first."); in StartInput()
214 auto panel = GetSoftKeyboardPanel(); in StartInput() local
215 if (panel != nullptr) { in StartInput()
216 panel->HidePanel(false); in StartInput()
258 auto panel = GetSoftKeyboardPanel(); in OnSetInputType() local
259 if (panel != nullptr) { in OnSetInputType()
260 auto keyboardSize = panel->GetKeyboardSize(); in OnSetInputType()
261 SysPanelStatus sysPanelStatus = { inputType_, panel->GetPanelFlag(), keyboardSize.width, keyboardSize.height }; in OnSetInputType()
262 NotifyPanelStatus(panel, sysPanelStatus); in OnSetInputType()
318 panels_.ForEach([windowId](const PanelType &panelType, const std::shared_ptr<InputMethodPanel> &panel) { in SetCallingWindow()
360 auto panel = GetSoftKeyboardPanel(); OnAttributeChange() local
425 auto panel = GetSoftKeyboardPanel(); ShowKeyboardImplWithoutLock() local
961 auto panel = GetSoftKeyboardPanel(); HideKeyboard() local
993 auto panel = result.second; GetSoftKeyboardPanel() local
1060 auto panel = GetSoftKeyboardPanel(); ExitCurrentInputType() local
1088 auto panel = result.second; IsPanelShown() local
1111 auto panel = GetSoftKeyboardPanel(); OnClientInactive() local
1221 auto panel = GetSoftKeyboardPanel(); GetCallingWindowInfo() local
[all...]
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_panel_test.cpp69 static void DestroyPanel(const std::shared_ptr<InputMethodPanel> &panel);
73 static void ImaCreatePanel(const PanelInfo &info, std::shared_ptr<InputMethodPanel> &panel);
74 static void ImaDestroyPanel(const std::shared_ptr<InputMethodPanel> &panel);
80 static void TestShowPanel(const std::shared_ptr<InputMethodPanel> &panel);
81 static void TestHidePanel(const std::shared_ptr<InputMethodPanel> &panel);
83 static void TriggerPanelStatusChangeToImc(const std::shared_ptr<InputMethodPanel> &panel, InputWindowStatus status);
268 void InputMethodPanelTest::DestroyPanel(const std::shared_ptr<InputMethodPanel> &panel) in DestroyPanel() argument
270 ASSERT_NE(panel, nullptr); in DestroyPanel()
272 auto ret = panel->DestroyPanel(); in DestroyPanel()
276 void InputMethodPanelTest::ImaCreatePanel(const PanelInfo &info, std::shared_ptr<InputMethodPanel> &panel) in ImaCreatePanel() argument
283 ImaDestroyPanel(const std::shared_ptr<InputMethodPanel> &panel) ImaDestroyPanel() argument
381 TestShowPanel(const std::shared_ptr<InputMethodPanel> &panel) TestShowPanel() argument
390 TestHidePanel(const std::shared_ptr<InputMethodPanel> &panel) TestHidePanel() argument
409 TriggerPanelStatusChangeToImc( const std::shared_ptr<InputMethodPanel> &panel, InputWindowStatus status) TriggerPanelStatusChangeToImc() argument
907 std::shared_ptr<InputMethodPanel> panel = nullptr; HWTEST_F() local
942 std::shared_ptr<InputMethodPanel> panel = nullptr; HWTEST_F() local
978 std::shared_ptr<InputMethodPanel> panel = nullptr; HWTEST_F() local
1014 std::shared_ptr<InputMethodPanel> panel = nullptr; HWTEST_F() local
1049 std::shared_ptr<InputMethodPanel> panel = nullptr; HWTEST_F() local
1116 std::shared_ptr<InputMethodPanel> panel = nullptr; HWTEST_F() local
1137 std::shared_ptr<InputMethodPanel> panel = nullptr; HWTEST_F() local
[all...]
H A Dinput_method_ability_exception_test.cpp276 // panel exist, PanelFlag == FLG_CANDIDATE_COLUMN in HWTEST_F()
277 auto panel = std::make_shared<InputMethodPanel>(); in HWTEST_F() local
278 panel->panelFlag_ = FLG_CANDIDATE_COLUMN; in HWTEST_F()
279 panel->windowId_ = 2; in HWTEST_F()
280 inputMethodAbility_->panels_.Insert(SOFT_KEYBOARD, panel); in HWTEST_F()
283 // panel not exist in HWTEST_F()
305 // panel exist, PanelFlag == FLG_CANDIDATE_COLUMN in HWTEST_F()
310 auto panel = std::make_shared<InputMethodPanel>(); in HWTEST_F() local
311 panel->panelFlag_ = FLG_CANDIDATE_COLUMN; in HWTEST_F()
312 panel in HWTEST_F()
[all...]
H A Dinput_method_ability_test.cpp190 void CheckPanelStatusInfo(const std::shared_ptr<InputMethodPanel> &panel, const PanelStatusInfo &info) in CheckPanelStatusInfo() argument
193 info.visible ? CheckPanelInfoInShow(panel, info) : CheckPanelInfoInHide(panel, info); in CheckPanelStatusInfo()
195 void CheckPanelInfoInShow(const std::shared_ptr<InputMethodPanel> &panel, const PanelStatusInfo &info) in CheckPanelInfoInShow() argument
197 auto ret = inputMethodAbility_->ShowPanel(panel); in CheckPanelInfoInShow()
213 void CheckPanelInfoInHide(const std::shared_ptr<InputMethodPanel> &panel, const PanelStatusInfo &info) in CheckPanelInfoInHide() argument
216 auto ret = inputMethodAbility_->HidePanel(panel); in CheckPanelInfoInHide()
594 * @tc.desc: It's allowed to create one SOFT_KEYBOARD panel, but two is denied.
600 IMSA_HILOGI("InputMethodAbilityTest testCreatePanel001 START. You can not create two SOFT_KEYBOARD panel."); in HWTEST_F()
622 * @tc.desc: It's allowed to create one STATUS_BAR panel, bu
813 auto panel = std::make_shared<InputMethodPanel>(); HWTEST_F() local
854 auto panel = std::make_shared<InputMethodPanel>(); HWTEST_F() local
880 auto panel = std::make_shared<InputMethodPanel>(); HWTEST_F() local
907 auto panel = std::make_shared<InputMethodPanel>(); HWTEST_F() local
942 auto panel = std::make_shared<InputMethodPanel>(); HWTEST_F() local
1005 auto panel = std::make_shared<InputMethodPanel>(); HWTEST_F() local
[all...]
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_panel.cpp68 IMSA_HILOGD("create panel instance start."); in JsNew()
74 JsPanel *panel = new (std::nothrow) JsPanel(); in JsNew() local
75 CHECK_RETURN(panel != nullptr, "no memory for JsPanel!", nullptr); in JsNew()
87 delete panel; in JsNew()
90 status = napi_wrap(env, thisVar, panel, finalize, nullptr, nullptr); in JsNew()
93 delete panel; in JsNew()
104 void JsPanel::SetNative(const std::shared_ptr<InputMethodPanel> &panel) in SetNative() argument
106 inputMethodPanel_ = panel; in SetNative()
289 return asyncCall.Call(env, exec, "panel.hide"); in Hide()
H A Djs_input_method_engine_setting.cpp403 auto ret = InputMethodAbility::GetInstance()->CreatePanel(ctxt->context, ctxt->panelInfo, ctxt->panel); in CreatePanel()
412 CHECK_RETURN(constructor != nullptr, "failed to get panel constructor!", napi_generic_failure); in CreatePanel()
419 jsPanel->SetNative(ctxt->panel); in CreatePanel()
436 PARAM_CHECK_RETURN(env, valueType == napi_object, "param panel type must be InputMethodPanel.", TYPE_NONE, in DestroyPanel()
440 CHECK_RETURN(constructor != nullptr, "failed to get panel constructor.", napi_invalid_arg); in DestroyPanel()
442 CHECK_RETURN((status == napi_ok) && isPanel, "param verification failed, it's not expected panel instance!", in DestroyPanel()
447 ctxt->panel = jsPanel->GetNative(); in DestroyPanel()
448 CHECK_RETURN((ctxt->panel != nullptr), "panel is nullptr!", napi_invalid_arg); in DestroyPanel()
455 CHECK_RETURN((ctxt->panel ! in DestroyPanel()
[all...]
H A Djs_panel.h72 void SetNative(const std::shared_ptr<InputMethodPanel> &panel);
H A Djs_input_method_engine_setting.h63 std::shared_ptr<InputMethodPanel> panel = nullptr; member

Completed in 9 milliseconds