/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | input_method_controller.cpp | 43 sptr<InputMethodController> InputMethodController::instance_; 46 std::mutex InputMethodController::logLock_; 53 InputMethodController::InputMethodController() in InputMethodController() function in OHOS::MiscServices::InputMethodController 58 InputMethodController::~InputMethodController() in ~InputMethodController() 62 sptr<InputMethodController> InputMethodController::GetInstance() in GetInstance() 118 int32_t InputMethodController::Initialize() in Initialize() 340 int32_t InputMethodController::Close() in Close() 360 void InputMethodController::Reset() in Reset() 399 bool InputMethodController::WasAttached() in WasAttached() 1111 bool InputMethodController::IsEditable() in IsEditable() [all …]
|
H A D | input_data_channel_stub.cpp | 245 return InputMethodController::GetInstance()->InsertText(text); in InsertText() 250 return InputMethodController::GetInstance()->DeleteForward(length); in DeleteForward() 255 return InputMethodController::GetInstance()->DeleteBackward(length); in DeleteBackward() 260 return InputMethodController::GetInstance()->GetLeft(number, text); in GetTextBeforeCursor() 265 return InputMethodController::GetInstance()->GetRight(number, text); in GetTextAfterCursor() 275 return InputMethodController::GetInstance()->GetEnterKeyType(keyType); in GetEnterKeyType() 290 InputMethodController::GetInstance()->SendKeyboardStatus(status); in SendKeyboardStatus() 305 InputMethodController::GetInstance()->SelectByRange(start, end); in SelectByRange() 322 InputMethodController::GetInstance()->NotifyPanelStatusInfo(info); in NotifyPanelStatusInfo() 327 InputMethodController::GetInstance()->NotifyKeyboardHeight(height); in NotifyKeyboardHeight() [all …]
|
H A D | input_client_stub.cpp | 74 InputMethodController::GetInstance()->OnInputReady(object); in OnInputReadyOnRemote() 125 InputMethodController::GetInstance()->OnInputStop(isStopInactiveClient); in OnInputStop() 141 InputMethodController::GetInstance()->DeactivateClient(); in DeactivateClient()
|
H A D | ime_event_monitor_manager_impl.cpp | 47 …auto ret = InputMethodController::GetInstance()->UpdateListenEventFlag(finalEventFlag, eventFlag, … in RegisterImeEventListener() 96 …auto ret = InputMethodController::GetInstance()->UpdateListenEventFlag(finalEventFlag, eventFlag, … in UnRegisterImeEventListener()
|
/ohos5.0/base/inputmethod/imf/test/fuzztest/inputmethodcontroller_fuzzer/ |
H A D | inputmethodcontroller_fuzzer.cpp | 34 void TestListInputMethod(sptr<InputMethodController> imc) in TestListInputMethod() 55 void TestDispatchKeyEvent(sptr<InputMethodController> imc, int32_t fuzzedInt32) in TestDispatchKeyEvent() 82 void TestOnConfigurationChange(sptr<InputMethodController> imc) in TestOnConfigurationChange() 116 void TestShowSomething(sptr<InputMethodController> imc) in TestShowSomething() 139 void TestAttach(sptr<InputMethodController> imc, int32_t fuzzedInt32) in TestAttach() 150 void FUZZHideInput(sptr<InputMethodController> imc) in FUZZHideInput() 157 void FUZZShowInput(sptr<InputMethodController> imc) in FUZZShowInput() 164 void FUZZRestore(sptr<InputMethodController> imc) in FUZZRestore() 171 void InputType(sptr<InputMethodController> imc) in InputType() 179 void FUZZIsPanelShown(sptr<InputMethodController> imc, const uint8_t *data) in FUZZIsPanelShown() [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-misc.md | 7 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'selectByRange'): void;|NA|@ohos.inputMethod.d.ts| 8 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'selectByMovement'): void;|NA|@ohos.inputMethod.d… 9 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'insertText'): void;|NA|@ohos.inputMethod.d.ts| 10 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'deleteLeft' \| 'deleteRight'): void;|NA|@ohos.in… 11 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'sendKeyboardStatus'): void;|NA|@ohos.inputMethod… 12 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'sendFunctionKey'): void;|NA|@ohos.inputMethod.d.… 13 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'moveCursor'): void;|NA|@ohos.inputMethod.d.ts| 14 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'handleExtendAction'): void;|NA|@ohos.inputMethod… 19 |新增|NA|类名:InputMethodController;<br>方法or属性:on(type: 'deleteLeft', callback: (length: number) => voi… 24 |新增|NA|类名:InputMethodController;<br>方法or属性:on(type: 'getTextIndexAtCursor', callback: () => number)… [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-misc.md | 7 |Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'selectByRange')… 8 |Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'selectByMovemen… 9 |Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'insertText'): v… 10 |Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'deleteLeft' \| … 11 |Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'sendKeyboardSta… 12 |Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'sendFunctionKey… 13 |Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'moveCursor'): v… 14 |Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'handleExtendAct… 19 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'deleteLeft', ca… 24 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'getTextIndexAtC… [all …]
|
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | ime_event_monitor_manager_test.cpp | 62 InputMethodController::GetInstance()->clientInfo_.eventFlag = 0; in TearDown() 182 EXPECT_EQ(InputMethodController::GetInstance()->clientInfo_.eventFlag, 4); 187 EXPECT_EQ(InputMethodController::GetInstance()->clientInfo_.eventFlag, 0); 202 EXPECT_EQ(InputMethodController::GetInstance()->clientInfo_.eventFlag, 4); 222 EXPECT_EQ(InputMethodController::GetInstance()->clientInfo_.eventFlag, 6); 249 EXPECT_EQ(InputMethodController::GetInstance()->clientInfo_.eventFlag, 6); 271 EXPECT_EQ(InputMethodController::GetInstance()->clientInfo_.eventFlag, 6); 304 EXPECT_EQ(InputMethodController::GetInstance()->clientInfo_.eventFlag, 6); 332 EXPECT_EQ(InputMethodController::GetInstance()->clientInfo_.eventFlag, 2); 337 EXPECT_EQ(InputMethodController::GetInstance()->clientInfo_.eventFlag, 0); [all …]
|
H A D | input_method_private_member_test.cpp | 222 …auto ret = InputMethodController::GetInstance()->ListInputMethodCommon(static_cast<InputMethodStat… 238 auto imc = InputMethodController::GetInstance(); 261 auto imc = InputMethodController::GetInstance(); 473 InputMethodController::GetInstance()->ListInputMethod(props); 492 auto prop = InputMethodController::GetInstance()->GetCurrentInputMethod(); 493 auto subProp = InputMethodController::GetInstance()->GetCurrentInputMethodSubtype(); 496 InputMethodController::GetInstance()->ListInputMethod(props); 533 auto currentProp = InputMethodController::GetInstance()->GetCurrentInputMethod(); 541 auto currentSubProp = InputMethodController::GetInstance()->GetCurrentInputMethodSubtype(); 565 auto currentProp = InputMethodController::GetInstance()->GetCurrentInputMethod(); [all …]
|
H A D | newIme_switch_test.cpp | 41 static sptr<InputMethodController> imc_; 50 sptr<InputMethodController> NewImeSwitchTest::imc_; 73 imc_ = InputMethodController::GetInstance(); in SetUpTestCase() 83 InputMethodController::GetInstance()->Close(); in TearDownTestCase()
|
H A D | input_method_switch_test.cpp | 42 static sptr<InputMethodController> imc_; 52 sptr<InputMethodController> InputMethodSwitchTest::imc_; 80 imc_ = InputMethodController::GetInstance(); in SetUpTestCase() 90 InputMethodController::GetInstance()->Close(); in TearDownTestCase()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/ |
H A D | js-apidiff-misc.md | 8 |新增|NA|类名:InputMethodController<br>方法or属性:showTextInput(): Promise\<void>;|@ohos.inputMethod.d.ts| 10 |新增|NA|类名:InputMethodController<br>方法or属性:hideTextInput(): Promise\<void>;|@ohos.inputMethod.d.ts| 11 |新增|NA|类名:InputMethodController<br>方法or属性:detach(callback: AsyncCallback\<void>): void;|@ohos.input… 12 |新增|NA|类名:InputMethodController<br>方法or属性:detach(): Promise\<void>;|@ohos.inputMethod.d.ts| 23 |新增|NA|类名:InputMethodController<br>方法or属性:off(type: 'selectByRange'): void;|@ohos.inputMethod.d.ts| 24 |新增|NA|类名:InputMethodController<br>方法or属性:off(type: 'selectByMovement'): void;|@ohos.inputMethod.d.… 26 |新增|NA|类名:InputMethodController<br>方法or属性:off(type: 'insertText'): void;|@ohos.inputMethod.d.ts| 30 |新增|NA|类名:InputMethodController<br>方法or属性:off(type: 'sendKeyboardStatus'): void;|@ohos.inputMethod.… 32 |新增|NA|类名:InputMethodController<br>方法or属性:off(type: 'sendFunctionKey'): void;|@ohos.inputMethod.d.t… 34 |新增|NA|类名:InputMethodController<br>方法or属性:off(type: 'moveCursor'): void;|@ohos.inputMethod.d.ts| [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/ndk/src/ |
H A D | inputmethod_inputmethod_proxy_capi.cpp | 29 return ErrorCodeConvert(InputMethodController::GetInstance()->ShowCurrentInput()); in OH_InputMethodProxy_ShowKeyboard() 38 return ErrorCodeConvert(InputMethodController::GetInstance()->HideCurrentInput()); in OH_InputMethodProxy_HideKeyboard() 58 …InputMethodController::GetInstance()->OnSelectionChange(std::u16string(text, length), start, end)); in OH_InputMethodProxy_NotifySelectionChange() 71 return ErrorCodeConvert(InputMethodController::GetInstance()->OnConfigurationChange(info)); in OH_InputMethodProxy_NotifyConfigurationChange() 86 return ErrorCodeConvert(InputMethodController::GetInstance()->OnCursorUpdate( in OH_InputMethodProxy_NotifyCursorUpdate() 112 return ErrorCodeConvert(InputMethodController::GetInstance()->SendPrivateCommand(command)); in OH_InputMethodProxy_SendPrivateCommand()
|
H A D | inputmethod_controller_capi.cpp | 165 auto controller = InputMethodController::GetInstance(); in OH_InputMethodController_Attach() 221 return ErrorCodeConvert(InputMethodController::GetInstance()->Close()); in OH_InputMethodController_Detach()
|
/ohos5.0/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/ |
H A D | imf_adapter_impl.cpp | 268 …int32_t ret = MiscServices::InputMethodController::GetInstance()->Attach(textListener_, isShowKeyb… in Attach() 328 …int32_t ret = MiscServices::InputMethodController::GetInstance()->Attach(textListener_, isShowKeyb… in Attach() 345 MiscServices::InputMethodController::GetInstance()->OnConfigurationChange(config); in ShowCurrentInput() 346 MiscServices::InputMethodController::GetInstance()->ShowCurrentInput(); in ShowCurrentInput() 351 MiscServices::InputMethodController::GetInstance()->HideTextInput(); in HideTextInput() 356 MiscServices::InputMethodController::GetInstance()->Close(); in Close() 372 MiscServices::InputMethodController::GetInstance()->OnCursorUpdate(imfInfo); in OnCursorUpdate() 377 MiscServices::InputMethodController::GetInstance()->OnSelectionChange(text, start, end); in OnSelectionChange() 385 …int32_t ret = MiscServices::InputMethodController::GetInstance()->SendPrivateCommand(privateComman… in SendPrivateCommand()
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/ |
H A D | js-apidiff-misc.md | 8 |Added|NA|Class name: InputMethodController<br>Method or attribute name: showTextInput(): Promise\<… 10 |Added|NA|Class name: InputMethodController<br>Method or attribute name: hideTextInput(): Promise\<… 11 |Added|NA|Class name: InputMethodController<br>Method or attribute name: detach(callback: AsyncCall… 12 |Added|NA|Class name: InputMethodController<br>Method or attribute name: detach(): Promise\<void>;|… 23 |Added|NA|Class name: InputMethodController<br>Method or attribute name: off(type: 'selectByRange')… 24 |Added|NA|Class name: InputMethodController<br>Method or attribute name: off(type: 'selectByMovemen… 26 |Added|NA|Class name: InputMethodController<br>Method or attribute name: off(type: 'insertText'): v… 30 |Added|NA|Class name: InputMethodController<br>Method or attribute name: off(type: 'sendKeyboardSta… 32 |Added|NA|Class name: InputMethodController<br>Method or attribute name: off(type: 'sendFunctionKey… 34 |Added|NA|Class name: InputMethodController<br>Method or attribute name: off(type: 'moveCursor'): v… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-misc.md | 9 |新增|NA|类名:InputMethodController;<br>方法or属性:showTextInput(callback: AsyncCallback\<void>): void;|@oh… 10 |新增|NA|类名:InputMethodController;<br>方法or属性:showTextInput(): Promise\<void>;|@ohos.inputMethod.d.ts| 11 |新增|NA|类名:InputMethodController;<br>方法or属性:hideTextInput(callback: AsyncCallback\<void>): void;|@oh… 12 |新增|NA|类名:InputMethodController;<br>方法or属性:hideTextInput(): Promise\<void>;|@ohos.inputMethod.d.ts| 13 |新增|NA|类名:InputMethodController;<br>方法or属性:detach(callback: AsyncCallback\<void>): void;|@ohos.inpu… 14 |新增|NA|类名:InputMethodController;<br>方法or属性:detach(): Promise\<void>;|@ohos.inputMethod.d.ts| 16 |新增|NA|类名:InputMethodController;<br>方法or属性:setCallingWindow(windowId: number): Promise\<void>;|@oho… 18 |新增|NA|类名:InputMethodController;<br>方法or属性:updateCursor(cursorInfo: CursorInfo): Promise\<void>;|@o… 22 |新增|NA|类名:InputMethodController;<br>方法or属性:updateAttribute(attribute: InputAttribute): Promise\<voi… 23 |新增|NA|类名:InputMethodController;<br>方法or属性:on(type: 'selectByRange', callback: Callback\<Range>): v… [all …]
|
/ohos5.0/base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include/ |
H A D | input_method_controller.h | 120 class InputMethodController : public RefBase, public PrivateCommandInterface { 130 IMF_API static sptr<InputMethodController> GetInstance(); 826 InputMethodController(); 827 ~InputMethodController(); 875 static sptr<InputMethodController> instance_;
|
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
H A D | js_input_method.cpp | 264 …InputMethodController::GetInstance()->SwitchInputMethod(ctxt->trigger, ctxt->packageName, ctxt->id… in SwitchInputMethod() 282 …std::shared_ptr<Property> property = InputMethodController::GetInstance()->GetCurrentInputMethod(); in GetCurrentInputMethod() 294 …std::shared_ptr<SubProperty> subProperty = InputMethodController::GetInstance()->GetCurrentInputMe… in GetCurrentInputMethodSubtype() 307 int32_t ret = InputMethodController::GetInstance()->GetDefaultInputMethod(property); in GetDefaultInputMethod() 324 int32_t ret = InputMethodController::GetInstance()->GetInputMethodConfig(inputMethodConfig); in GetSystemInputMethodConfigAbility() 352 …InputMethodController::GetInstance()->SwitchInputMethod(SwitchTrigger::CURRENT_IME, ctxt->name, ct… in SwitchCurrentInputMethodSubtype() 391 …InputMethodController::GetInstance()->SwitchInputMethod(SwitchTrigger::CURRENT_IME, ctxt->name, ct… in SwitchCurrentInputMethodAndSubtype()
|
H A D | js_get_input_method_controller.cpp | 290 InputMethodController::GetInstance()->SetControllerListener(controller_); in GetInstance() 359 if (!InputMethodController::GetInstance()->WasAttached()) { in Subscribe() 555 env, info, [] { return InputMethodController::GetInstance()->Close(); }, false, true); in Detach() 562 … env, info, [] { return InputMethodController::GetInstance()->ShowTextInput(); }, false, true); in ShowTextInput() 569 … env, info, [] { return InputMethodController::GetInstance()->HideTextInput(); }, false, true); in HideTextInput() 583 auto errcode = InputMethodController::GetInstance()->SetCallingWindow(ctxt->windID); in SetCallingWindow() 616 auto errcode = InputMethodController::GetInstance()->OnCursorUpdate(ctxt->cursorInfo); in UpdateCursor() 670 … auto errcode = InputMethodController::GetInstance()->OnConfigurationChange(ctxt->configuration); in UpdateAttribute() 685 … env, info, [] { return InputMethodController::GetInstance()->ShowSoftKeyboard(); }, false, true); in ShowSoftKeyboard() 692 … env, info, [] { return InputMethodController::GetInstance()->HideSoftKeyboard(); }, false, true); in HideSoftKeyboard() [all …]
|
H A D | js_get_input_method_setting.cpp | 206 int32_t errCode = InputMethodController::GetInstance()->ListInputMethod(ctxt->properties); in ListInputMethod() 240 …InputMethodController::GetInstance()->ListInputMethod(ctxt->inputMethodStatus == ENABLE, ctxt->pro… in GetInputMethods() 269 int32_t ret = InputMethodController::GetInstance()->ListInputMethod(enable, properties); in GetInputMethodsSync() 288 int32_t errCode = InputMethodController::GetInstance()->ListInputMethod(ctxt->properties); in GetAllInputMethods() 307 int32_t ret = InputMethodController::GetInstance()->ListInputMethod(properties); in GetAllInputMethodsSync() 323 int32_t errCode = InputMethodController::GetInstance()->DisplayOptionalInputMethod(); in DisplayOptionalInputMethod() 348 int32_t errCode = InputMethodController::GetInstance()->DisplayOptionalInputMethod(); in ShowOptionalInputMethods() 384 … InputMethodController::GetInstance()->ListInputMethodSubtype(ctxt->property, ctxt->subProperties); in ListInputMethodSubtype() 410 …int32_t errCode = InputMethodController::GetInstance()->ListCurrentInputMethodSubtype(ctxt->subPro… in ListCurrentInputMethodSubtype() 445 int32_t errorCode = InputMethodController::GetInstance()->IsPanelShown(panelInfo, isShown); in IsPanelShown()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | input_method_manager_ohos.cpp | 185 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in CloseKeyboard() 196 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in CloseKeyboardInPipelineDestroy() 224 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in HideKeyboardAcrossProcesses()
|
/ohos5.0/base/inputmethod/imf/test/fuzztest/systemabilitystub_fuzzer/ |
H A D | systemabilitystub_fuzzer.cpp | 91 sptr<InputMethodController> imc = InputMethodController::GetInstance(); in FuzzInputMethodSystemAbility()
|
/ohos5.0/docs/zh-cn/application-dev/inputmethod/ |
H A D | use-inputmethod-in-custom-edit-box.md | 3 …is-ime-kit/js-apis-inputmethod.md#inputmethodgetcontroller9)方法获取到[InputMethodController](../refere… 50 private inputController: inputMethod.InputMethodController = inputMethod.getController();
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/ |
H A D | js-apidiff-misc.md | 9 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: showTextInput(callback: A… 10 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: showTextInput(): Promise\… 11 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: hideTextInput(callback: A… 12 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: hideTextInput(): Promise\… 13 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: detach(callback: AsyncCal… 14 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: detach(): Promise\<void>;… 16 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: setCallingWindow(windowId… 18 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: updateCursor(cursorInfo: … 22 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: updateAttribute(attribute… 23 |Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'selectByRange',… [all …]
|