Home
last modified time | relevance | path

Searched refs:textInputClient (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/InputMethodExtAbility/model/
H A DKeyboardController.ts117 if (globalThis.textInputClient === undefined) {
122 globalThis.textInputClient.insertTextSync("text");
125 globalThis.textInputClient.moveCursorSync(DEFAULT_DIRECTION);
140 globalThis.textInputClient.deleteForwardSync(DEFAULT_LENGTH);
143 globalThis.textInputClient.deleteBackwardSync(DEFAULT_LENGTH);
171 inputMethodAbility.on('inputStart', (kbController, textInputClient) => {
172 globalThis.textInputClient = textInputClient; // 此为输入法客户端实例,由此调用输入法框架提供给输入法应用的功能接口
187 let backward: string = globalThis.textInputClient.getBackwardSync(1);
196 let forward: string = globalThis.textInputClient.getForwardSync(1);
206 let editAttribute = globalThis.textInputClient.getEditorAttributeSync();
[all …]
/ohos5.0/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/newTestIme/entry/src/main/ets/InputMethodExtAbility/model/
H A DKeyboardController.ts39 globalThis.inputEngine.on('inputStart', (kbController, textInputClient) => {
40 globalThis.textInputClient = textInputClient;
/ohos5.0/docs/zh-cn/application-dev/inputmethod/
H A Dinputmethod-application-guide.md73 private textInputClient: inputMethodEngine.InputClient | undefined = undefined;
98 if(this.textInputClient) {
99 this.textInputClient.insertText(text);
104 if(this.textInputClient) {
105 this.textInputClient.deleteForward(length);
141 inputMethodAbility.on('inputStart', (kbController, textInputClient) => {
142 this.textInputClient = textInputClient; // 此为输入法客户端实例,由此调用输入法框架提供给输入法应用的功能接口
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dstylus_detector_callback.cpp186 auto textInputClient = frameNode->GetPattern<TextInputClient>(); in DeleteText() local
187 CHECK_NULL_VOID(textInputClient); in DeleteText()
188 textInputClient->DeleteRange(std::get<INDEX_S>(ret), std::get<INDEX_E>(ret)); in DeleteText()
226 auto textInputClient = frameNode->GetPattern<TextInputClient>(); in ChoiceText() local
227 CHECK_NULL_VOID(textInputClient); in ChoiceText()
257 auto textInputClient = frameNode->GetPattern<TextInputClient>(); in InsertSpace() local
258 CHECK_NULL_VOID(textInputClient); in InsertSpace()
260 auto result = textInputClient->InsertOrDeleteSpace(start); in InsertSpace()
300 auto textInputClient = frameNode->GetPattern<TextInputClient>(); in HandleMoveCursor() local
301 CHECK_NULL_RETURN(textInputClient, -1); in HandleMoveCursor()
[all …]
/ohos5.0/docs/en/application-dev/inputmethod/
H A Dinputmethod-application-guide.md73 private textInputClient: inputMethodEngine.InputClient | undefined = undefined;
98 if(this.textInputClient) {
99 this.textInputClient.insertText(text);
104 if(this.textInputClient) {
105 this.textInputClient.deleteForward(length);
141 inputMethodAbility.on('inputStart', (kbController, textInputClient) => {
142 …this.textInputClient = textInputClient; // This is an input method client instance, based on which…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethodengine.md208 let textInputClient = textClient;
3831 textInputClient.sendPrivateCommand(record).then(() => {
4162 textInputClient.getForward(length, (err: BusinessError, text: string) => {
4201 textInputClient.getForward(length).then((text: string) => {
4233 textInputClient.getBackward(length, (err: BusinessError, text: string) => {
4272 textInputClient.getBackward(length).then((text: string) => {
4347 textInputClient.deleteForward(length).then((result: boolean) => {
4426 textInputClient.deleteBackward(length).then((result: boolean) => {
4504 textInputClient.sendKeyFunction(action).then((result: boolean) => {
4539 textInputClient.insertText('test', (err: BusinessError, result: boolean) => {
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Don_text_changed_listener_impl.cpp425 auto textInputClient = textFieldPattern.Upgrade(); in ReceivePrivateCommand() local
426 CHECK_NULL_VOID(textInputClient); in ReceivePrivateCommand()
427 ContainerScope scope(textInputClient->GetInstanceId()); in ReceivePrivateCommand()
/ohos5.0/docs/en/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethodengine.md208 let textInputClient = textClient;
3831 textInputClient.sendPrivateCommand(record).then(() => {
4162 textInputClient.getForward(length, (err: BusinessError, text: string) => {
4201 textInputClient.getForward(length).then((text: string) => {
4233 textInputClient.getBackward(length, (err: BusinessError, text: string) => {
4272 textInputClient.getBackward(length).then((text: string) => {
4347 textInputClient.deleteForward(length).then((result: boolean) => {
4426 textInputClient.deleteBackward(length).then((result: boolean) => {
4504 textInputClient.sendKeyFunction(action).then((result: boolean) => {
4539 textInputClient.insertText('test', (err: BusinessError, result: boolean) => {
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/
H A Dchangelogs-inputmethod-framworks.md154 let textInputClient = textClient; // 获取到TextInputClient实例
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-misc.md180 …ff(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCli…
181 … on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputCli…
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.8.1/
H A Dchangelogs-inputmethod-framworks.md156 let textInputClient = textClient; // Obtain a TextInputClient instance.
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-misc.md180 …ff(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCli…
181 … on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputCli…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-misc.md92 … on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputCli…
93 …ff(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCli…
288 …:on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputCli…
289 …ff(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCli…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-misc.md17 …:on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputCli…
19 …ff(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCli…
102 …:on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputCli…
105 …ff(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCli…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-misc.md92 … on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputCli…
93 …ff(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCli…
288 … on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputCli…
289 …ff(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCli…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-misc.md17 … on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputCli…
19 …ff(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCli…
102 … on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputCli…
105 …ff(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCli…