新增获取输入法列表和显示选择输入法对话框功能

Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2022-02-12 14:40:25 +08:00
parent 87f6b0ab20
commit 51154770ed
22 changed files with 648 additions and 25 deletions
@@ -66,6 +66,8 @@ namespace MiscServices {
void OnSelectionChange(std::u16string text, int start, int end);
void OnConfigurationChange(Configuration info);
bool dispatchKeyEvent(std::shared_ptr<MMI::KeyEvent> keyEvent);
void DisplayOptionalInputMethod();
std::vector<InputMethodProperty*> ListInputMethod();
private:
InputMethodController();
~InputMethodController();
@@ -48,6 +48,7 @@ namespace MiscServices {
int32_t Start(sptr<InputClientStub> &client);
int32_t Stop(sptr<InputClientStub> &client);
virtual void displayOptionalInputMethod(MessageParcel& data) override;
virtual int32_t getDisplayMode(int32_t retMode) override;
virtual int32_t getKeyboardWindowHeight(int32_t retHeight) override;
virtual int32_t getCurrentKeyboardType(KeyboardType *retType) override;