Lines Matching refs:inputMethod
1 # @ohos.inputMethod (输入法框架)
13 import { inputMethod } from '@kit.IMEKit';
44 ## inputMethod.getController<sup>9+</sup>
69 let inputMethodController = inputMethod.getController();
72 ## inputMethod.getDefaultInputMethod<sup>11+</sup>
98 let defaultIme = inputMethod.getDefaultInputMethod();
104 ## inputMethod.getSystemInputMethodConfigAbility<sup>11+</sup>
130 let inputMethodConfig = inputMethod.getSystemInputMethodConfigAbility();
136 ## inputMethod.getSetting<sup>9+</sup>
161 let inputMethodSetting = inputMethod.getSetting();
164 ## inputMethod.switchInputMethod<sup>9+</sup>
198 let currentIme = inputMethod.getCurrentInputMethod();
200 inputMethod.switchInputMethod(currentIme, (err: BusinessError, result: boolean) => {
220 ## inputMethod.switchInputMethod<sup>9+</sup>
258 let currentIme = inputMethod.getCurrentInputMethod();
260 inputMethod.switchInputMethod(currentIme).then((result: boolean) => {
278 ## inputMethod.getCurrentInputMethod<sup>9+</sup>
295 let currentIme = inputMethod.getCurrentInputMethod();
298 ## inputMethod.switchCurrentInputMethodSubtype<sup>9+</sup>
336 inputMethod.switchCurrentInputMethodSubtype({
366 ## inputMethod.switchCurrentInputMethodSubtype<sup>9+</sup>
409 inputMethod.switchCurrentInputMethodSubtype({
437 ## inputMethod.getCurrentInputMethodSubtype<sup>9+</sup>
454 let currentImeSubType = inputMethod.getCurrentInputMethodSubtype();
457 ## inputMethod.switchCurrentInputMethodAndSubtype<sup>9+</sup>
493 let currentIme = inputMethod.getCurrentInputMethod();
494 let imSubType = inputMethod.getCurrentInputMethodSubtype();
496 …inputMethod.switchCurrentInputMethodAndSubtype(currentIme, imSubType, (err: BusinessError, result:…
516 ## inputMethod.switchCurrentInputMethodAndSubtype<sup>9+</sup>
557 let currentIme = inputMethod.getCurrentInputMethod();
558 let imSubType = inputMethod.getCurrentInputMethodSubtype();
560 inputMethod.switchCurrentInputMethodAndSubtype(currentIme, imSubType).then((result: boolean) => {
578 ## inputMethod.getInputMethodController<sup>(deprecated)</sup>
599 let inputMethodController = inputMethod.getInputMethodController();
602 ## inputMethod.getInputMethodSetting<sup>(deprecated)</sup>
623 let inputMethodSetting = inputMethod.getInputMethodSetting();
823 let textConfig: inputMethod.TextConfig = {
834 console.log('Succeeded in attaching the inputMethod.');
882 let textConfig: inputMethod.TextConfig = {
889 console.log('Succeeded in attaching inputMethod.');
936 console.log('Succeeded in showing the inputMethod.');
1060 console.log('Succeeded in hiding inputMethod.');
1099 console.log('Succeeded in detaching inputMethod.');
1132 console.log('Succeeded in detaching inputMethod.');
1271 let cursorInfo: inputMethod.CursorInfo = { left: 0, top: 0, width: 600, height: 800 };
1321 let cursorInfo: inputMethod.CursorInfo = { left: 0, top: 0, width: 600, height: 800 };
1459 let inputAttribute: inputMethod.InputAttribute = { textInputType: 0, enterKeyType: 1 };
1509 let inputAttribute: inputMethod.InputAttribute = { textInputType: 0, enterKeyType: 1 };
2084 inputMethodController.on('sendKeyboardStatus', (keyboardStatus: inputMethod.KeyboardStatus) => {
2110 let onSendKeyboardStatus = (keyboardStatus: inputMethod.KeyboardStatus) => {
2145 inputMethodController.on('sendFunctionKey', (functionKey: inputMethod.FunctionKey) => {
2171 let onSendFunctionKey = (functionKey: inputMethod.FunctionKey) => {
2206 inputMethodController.on('moveCursor', (direction: inputMethod.Direction) => {
2232 let onMoveCursorCallback = (direction: inputMethod.Direction) => {
2267 inputMethodController.on('handleExtendAction', (action: inputMethod.ExtendAction) => {
2294 let onHandleExtendActionCallback = (action: inputMethod.ExtendAction) => {
2331 inputMethodController.on('selectByRange', (range: inputMethod.Range) => {
2358 let onSelectByRangeCallback = (range: inputMethod.Range) => {
2395 inputMethodController.on('selectByMovement', (movement: inputMethod.Movement) => {
2422 let onSelectByMovementCallback = (movement: inputMethod.Movement) => {
2663 …inputMethodSetting.on('imeChange', (inputMethodProperty: inputMethod.InputMethodProperty, inputMet…
2723 let inputMethodProperty: inputMethod.InputMethodProperty = {
2729 let inputMethodSetting = inputMethod.getSetting();
2779 let inputMethodProperty: inputMethod.InputMethodProperty = {
2785 let inputMethodSetting = inputMethod.getSetting();
2826 let inputMethodSetting = inputMethod.getSetting();
2869 let inputMethodSetting = inputMethod.getSetting();
2918 …inputMethodSetting.getInputMethods(true, (err: BusinessError, data: Array<inputMethod.InputMethodP…
2972 inputMethodSetting.getInputMethods(true).then((data: Array<inputMethod.InputMethodProperty>) => {
3057 …inputMethodSetting.getAllInputMethods((err: BusinessError, data: Array<inputMethod.InputMethodProp…
3097 inputMethodSetting.getAllInputMethods().then((data: Array<inputMethod.InputMethodProperty>) => {
3234 inputMethodSetting.listInputMethod((err: BusinessError, data: Array<inputMethod.InputMethodProperty…
3239 console.log('Succeeded in listing inputMethod.');
3266 inputMethodSetting.listInputMethod().then((data: Array<inputMethod.InputMethodProperty>) => {
3267 console.log('Succeeded in listing inputMethod.');