Lines Matching refs:inputMethod
16 import { InputMethodSubtype, inputMethod } from '@kit.IMEKit';
20 …let subTypes = await inputMethod.getSetting().listCurrentInputMethodSubtype(); // Obtain all subty…
21 …let currentSubType = inputMethod.getCurrentInputMethodSubtype(); // Obtain the current subtype of …
24 await inputMethod.switchCurrentInputMethodSubtype(subTypes[i]);
34 import { InputMethodSubtype, inputMethodEngine, inputMethod } from '@kit.IMEKit';
58 import { inputMethod } from '@kit.IMEKit';
62 …let inputMethods = await inputMethod.getSetting().getInputMethods(true); // Obtain the list of ena…
63 … let currentInputMethod = inputMethod.getCurrentInputMethod(); // Obtain the current input method.
66 await inputMethod.switchInputMethod(inputMethods[i]);
78 import { inputMethod } from '@kit.IMEKit';
82 …let inputMethods = await inputMethod.getSetting().getInputMethods(true); // Obtain the list of ena…
83 … let currentInputMethod = inputMethod.getCurrentInputMethod(); // Obtain the current input method.
86 …let subTypes = await inputMethod.getSetting().listInputMethodSubtype(inputMethods[i]); // Obtain t…
87 …await inputMethod.switchCurrentInputMethodAndSubtype(inputMethods[i], subTypes[0]); // This exampl…