Home
last modified time | relevance | path

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

/ohos5.0/base/inputmethod/imf/interfaces/kits/c/
H A Dinputmethod_text_editor_proxy_capi.h53 typedef struct InputMethod_TextEditorProxy InputMethod_TextEditorProxy; typedef
67 InputMethod_TextEditorProxy *textEditorProxy, InputMethod_TextConfig *config);
82 InputMethod_TextEditorProxy *textEditorProxy, const char16_t *text, size_t length);
121 InputMethod_TextEditorProxy *textEditorProxy, InputMethod_KeyboardStatus keyboardStatus);
134 InputMethod_TextEditorProxy *textEditorProxy, InputMethod_EnterKeyType enterKeyType);
147 InputMethod_TextEditorProxy *textEditorProxy, InputMethod_Direction direction);
161 InputMethod_TextEditorProxy *textEditorProxy, int32_t start, int32_t end);
174 InputMethod_TextEditorProxy *textEditorProxy, InputMethod_ExtendAction action);
268 InputMethod_TextEditorProxy *OH_TextEditorProxy_Create(void);
275 void OH_TextEditorProxy_Destroy(InputMethod_TextEditorProxy *proxy);
[all …]
H A Dinputmethod_controller_capi.h67 InputMethod_ErrorCode OH_InputMethodController_Attach(InputMethod_TextEditorProxy *textEditorProxy,
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ime-kit/
H A D_input_method.md39 | [InputMethod_TextEditorProxy](#inputmethod_texteditorproxy) | 输入框代理。 |
127InputMethod_TextEditorProxy](#inputmethod_texteditorproxy) \* [OH_TextEditorProxy_Create](#oh_text…
324 ### InputMethod_TextEditorProxy subsection
327 typedef struct InputMethod_TextEditorProxy InputMethod_TextEditorProxy
2233 InputMethod_TextEditorProxy* OH_TextEditorProxy_Create ()
2238 创建一个新的[InputMethod_TextEditorProxy](#inputmethod_texteditorproxy)实例。
2250 void OH_TextEditorProxy_Destroy (InputMethod_TextEditorProxy * proxy)
2255 销毁一个[InputMethod_TextEditorProxy](#inputmethod_texteditorproxy)实例。
2282 | proxy | 指向被读取的[InputMethod_TextEditorProxy](#inputmethod_texteditorproxy)实例的指针。 |
2312 | proxy | 指向被读取的[InputMethod_TextEditorProxy](#inputmethod_texteditorproxy)实例的指针。 |
[all …]
H A Dinputmethod__text__editor__proxy__capi_8h.md24 | [InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) | 输入框代理。 |
26 …xtFunc](_input_method.md#oh_texteditorproxy_inserttextfunc)) ([InputMethod_TextEditorProxy](_input…
27 …unc](_input_method.md#oh_texteditorproxy_deleteforwardfunc)) ([InputMethod_TextEditorProxy](_input…
28 …nc](_input_method.md#oh_texteditorproxy_deletebackwardfunc)) ([InputMethod_TextEditorProxy](_input…
36 …nput_method.md#oh_texteditorproxy_gettextindexatcursorfunc)) ([InputMethod_TextEditorProxy](_input…
39 …(_input_method.md#oh_texteditorproxy_finishtextpreviewfunc)) ([InputMethod_TextEditorProxy](_input…
46InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \* [OH_TextEditorProxy_…
47 …proxy_destroy) ([InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*prox…
49InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*proxy, [OH_TextEditor…
54InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*proxy, [OH_TextEditor…
[all …]
H A Dinputmethod__controller__capi_8h.md24 …er_Attach](_input_method.md#oh_inputmethodcontroller_attach) ([InputMethod_TextEditorProxy](_input…
/ohos5.0/docs/en/application-dev/reference/apis-ime-kit/
H A Dinputmethod__text__editor__proxy__capi_8h.md24 | [InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) | Text box proxy.|
46InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \* [OH_TextEditorProxy_…
47 …y_destroy) ([InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*proxy) |…
48InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*proxy, [OH_TextEditor…
49InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*proxy, [OH_TextEditor…
50InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*proxy, [OH_TextEditor…
53InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*proxy, [OH_TextEditor…
54InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*proxy, [OH_TextEditor…
64InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*proxy, [OH_TextEditor…
68InputMethod_TextEditorProxy](_input_method.md#inputmethod_texteditorproxy) \*proxy, [OH_TextEditor…
[all …]
H A D_input_method.md39 | [InputMethod_TextEditorProxy](#inputmethod_texteditorproxy) | Text box proxy.|
127InputMethod_TextEditorProxy](#inputmethod_texteditorproxy) \* [OH_TextEditorProxy_Create](#oh_text…
128 …itorproxy_destroy) ([InputMethod_TextEditorProxy](#inputmethod_texteditorproxy) \*proxy) | Destroy…
324 ### InputMethod_TextEditorProxy subsection
327 typedef struct InputMethod_TextEditorProxy InputMethod_TextEditorProxy
399 typedef void(* OH_TextEditorProxy_FinishTextPreviewFunc) (InputMethod_TextEditorProxy *textEditorPr…
2233 InputMethod_TextEditorProxy* OH_TextEditorProxy_Create ()
2238 Creates an [InputMethod_TextEditorProxy](#inputmethod_texteditorproxy) instance.
2250 void OH_TextEditorProxy_Destroy (InputMethod_TextEditorProxy * proxy)
2255 Destroys an [InputMethod_TextEditorProxy](#inputmethod_texteditorproxy) instance.
[all …]
H A Dinputmethod__controller__capi_8h.md24 …er_Attach](_input_method.md#oh_inputmethodcontroller_attach) ([InputMethod_TextEditorProxy](_input…
/ohos5.0/base/inputmethod/imf/frameworks/ndk/src/
H A Dinputmethod_texteditor_proxy_capi.cpp19 InputMethod_TextEditorProxy *OH_TextEditorProxy_Create(void) in OH_TextEditorProxy_Create()
21 return new InputMethod_TextEditorProxy(); in OH_TextEditorProxy_Create()
23 void OH_TextEditorProxy_Destroy(InputMethod_TextEditorProxy *proxy) in OH_TextEditorProxy_Destroy()
33 InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_GetTextConfigFunc getTextConfigFunc) in OH_TextEditorProxy_SetGetTextConfigFunc()
49 InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_InsertTextFunc insertTextFunc) in OH_TextEditorProxy_SetInsertTextFunc()
65 InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_DeleteForwardFunc deleteForwardFunc) in OH_TextEditorProxy_SetDeleteForwardFunc()
82 InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_DeleteBackwardFunc deleteBackwardFunc) in OH_TextEditorProxy_SetDeleteBackwardFunc()
116 InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_SendEnterKeyFunc sendEnterKeyFunc) in OH_TextEditorProxy_SetSendEnterKeyFunc()
133 InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_MoveCursorFunc moveCursorFunc) in OH_TextEditorProxy_SetMoveCursorFunc()
298 InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_InsertTextFunc *insertTextFunc) in OH_TextEditorProxy_GetInsertTextFunc()
[all …]
H A Dinputmethod_controller_capi.cpp31 InputMethod_TextEditorProxy *textEditor = nullptr;
63 static InputMethod_ErrorCode GetInputMethodProxy(InputMethod_TextEditorProxy *textEditor) in GetInputMethodProxy()
96 static int32_t IsValidTextEditorProxy(InputMethod_TextEditorProxy *textEditor) in IsValidTextEditorProxy()
147 InputMethod_ErrorCode OH_InputMethodController_Attach(InputMethod_TextEditorProxy *textEditor, in OH_InputMethodController_Attach()
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dnative_text_changed_listener_test.cpp76 void GetTextConfig(InputMethod_TextEditorProxy *proxy, InputMethod_TextConfig *config) { } in GetTextConfig()
77 void InsertText(InputMethod_TextEditorProxy *proxy, const char16_t *text, size_t length) { } in InsertText()
78 void DeleteForward(InputMethod_TextEditorProxy *proxy, int32_t length) { } in DeleteForward()
79 void DeleteBackward(InputMethod_TextEditorProxy *proxy, int32_t length) { } in DeleteBackward()
81 void SendEnterKey(InputMethod_TextEditorProxy *proxy, InputMethod_EnterKeyType type) { } in SendEnterKey()
82 void MoveCursor(InputMethod_TextEditorProxy *proxy, InputMethod_Direction direction) { } in MoveCursor()
83 void HandleSetSelection(InputMethod_TextEditorProxy *proxy, int32_t start, int32_t end) { } in HandleSetSelection()
84 void HandleExtendAction(InputMethod_TextEditorProxy *proxy, InputMethod_ExtendAction action) { } in HandleExtendAction()
93 int32_t GetTextIndexAtCursor(InputMethod_TextEditorProxy *proxy) in GetTextIndexAtCursor()
107 void FinishTextPreview(InputMethod_TextEditorProxy *proxy) { } in FinishTextPreview()
[all …]
H A Dinputmethod_controller_capi_test.cpp158 int32_t GetTextIndexAtCursorFunc(InputMethod_TextEditorProxy *proxy) in GetTextIndexAtCursorFunc()
172 void FinishTextPreviewFunc(InputMethod_TextEditorProxy *proxy) { } in FinishTextPreviewFunc()
592 InputMethod_TextEditorProxy *proxy = OH_TextEditorProxy_Create();
608 InputMethod_TextEditorProxy *proxy = OH_TextEditorProxy_Create();
624 InputMethod_TextEditorProxy *proxy = OH_TextEditorProxy_Create();
640 InputMethod_TextEditorProxy *proxy = OH_TextEditorProxy_Create();
656 InputMethod_TextEditorProxy *proxy = OH_TextEditorProxy_Create();
672 InputMethod_TextEditorProxy *proxy = OH_TextEditorProxy_Create();
688 InputMethod_TextEditorProxy *proxy = OH_TextEditorProxy_Create();
704 InputMethod_TextEditorProxy *proxy = OH_TextEditorProxy_Create();
[all …]
/ohos5.0/docs/zh-cn/application-dev/inputmethod/
H A Duse-inputmethod-in-custom-edit-box-ndk.md31 1. 创建InputMethod_TextEditorProxy实例,示例代码如下所示:
34 // 创建InputMethod_TextEditorProxy实例
35 InputMethod_TextEditorProxy *textEditorProxy = OH_TextEditorProxy_Create();
80 // 实现InputMethod_TextEditorProxy中的输入法应用事件响应函数
81 void GetTextConfig(InputMethod_TextEditorProxy *textEditorProxy, InputMethod_TextConfig *config)
85 … void InsertText(InputMethod_TextEditorProxy *textEditorProxy, const char16_t *text, size_t length)
89 void DeleteForward(InputMethod_TextEditorProxy *textEditorProxy, int32_t length)
96 2. 将实现后的响应函数,设置到[InputMethod_TextEditorProxy](../reference/apis-ime-kit/_input_method.md#inputmetho…
99 // 将实现好的响应处理函数设置到InputMethod_TextEditorProxy
/ohos5.0/docs/en/application-dev/inputmethod/
H A Duse-inputmethod-in-custom-edit-box-ndk.md31 1. Create an **InputMethod_TextEditorProxy** instance. The sample code is as follows:
34 // Create an InputMethod_TextEditorProxy instance.
35 InputMethod_TextEditorProxy *textEditorProxy = OH_TextEditorProxy_Create();
80 // Implement the input method application event response function in InputMethod_TextEditorProxy.
81 void GetTextConfig(InputMethod_TextEditorProxy *textEditorProxy, InputMethod_TextConfig *config)
85 … void InsertText(InputMethod_TextEditorProxy *textEditorProxy, const char16_t *text, size_t length)
89 void DeleteForward(InputMethod_TextEditorProxy *textEditorProxy, int32_t length)
96 2. Set the implemented response function to [InputMethod_TextEditorProxy](../reference/apis-ime-kit…
99 // Set the implemented response processing function to InputMethod_TextEditorProxy.
/ohos5.0/base/inputmethod/imf/frameworks/ndk/include/
H A Dnative_text_changed_listener.h23 …explicit NativeTextChangedListener(InputMethod_TextEditorProxy *textEditor) : textEditor_(textEdit… in NativeTextChangedListener()
51 InputMethod_TextEditorProxy *textEditor_;
H A Dnative_inputmethod_types.h48 struct InputMethod_TextEditorProxy { struct