Home
last modified time | relevance | path

Searched refs:newBegin (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/base/inputmethod/imf/test/common/src/
H A Dkeyboard_listener_test_impl.cpp54 void KeyboardListenerTestImpl::OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin in OnSelectionChange() argument
56 newBegin_ = newBegin; in OnSelectionChange()
91 bool KeyboardListenerTestImpl::WaitSelectionChange(int32_t newBegin) in WaitSelectionChange() argument
94 …kdListenerCv_.wait_for(lock, std::chrono::seconds(1), [&newBegin]() { return newBegin == newBegin_… in WaitSelectionChange()
95 return newBegin == newBegin_; in WaitSelectionChange()
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_agent_stub.cpp68 int32_t newBegin = data.ReadInt32(); in OnRemoteRequest() local
70 OnSelectionChange(text, oldBegin, oldEnd, newBegin, newEnd); in OnRemoteRequest()
156 std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument
165 data->WriteInt32(newBegin); in OnSelectionChange()
H A Dinput_method_agent_proxy.cpp52 std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument
54 …auto ret = SendRequest(ON_SELECTION_CHANGE, [&text, oldBegin, oldEnd, newBegin, newEnd](MessagePar… in OnSelectionChange()
55 return ITypesUtil::Marshal(data, text, oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange()
H A Dinput_method_ability.cpp408 int32_t newBegin = data->ReadInt32(); in OnSelectionChange() local
416 kdListener_->OnSelectionChange(oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange()
574 if (textConfig.textSelection.newBegin == INVALID_SELECTION_VALUE in InvokeStartInputCallback()
575 || (textConfig.textSelection.newBegin == textConfig.textSelection.oldBegin in InvokeStartInputCallback()
580 textConfig.textSelection.newBegin, textConfig.textSelection.newEnd); in InvokeStartInputCallback()
/ohos5.0/base/inputmethod/imf/test/common/include/
H A Dkeyboard_listener_test_impl.h38 …void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) overrid…
44 static bool WaitSelectionChange(int32_t newBegin);
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_keyboard_delegate_setting.h47 …void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) overrid…
72 int32_t newBegin = 0; member
H A Djs_keyboard_delegate_setting.cpp507 …egateSetting::OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument
509 SelectionPara para{ oldBegin, oldEnd, newBegin, newEnd }; in OnSelectionChange()
514 entry.selPara.newBegin = para.newBegin; in OnSelectionChange()
526 "%{public}d.", oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange()
537 napi_create_int32(env, entry->selPara.newBegin, &args[2]); in OnSelectionChange()
/ohos5.0/base/inputmethod/imf/interfaces/inner_api/inputmethod_ability/include/
H A Dkeyboard_listener.h32 …virtual void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd)…
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/
H A Di_input_method_agent.h50 … std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) = 0;
H A Dinput_method_agent_proxy.h43 … std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override;
H A Dinput_method_agent_stub.h36 … std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override;
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
H A Dinput_method_utils.h165 int32_t newBegin = INVALID_VALUE; member
193 …" newRange: " + std::to_string(textSelection.newBegin) + "/" + std::to_string(textSelection.newEnd… in ToString()
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_attach_test.cpp236 EXPECT_EQ(textConfig.textSelection.newBegin, config.range.start);
344 EXPECT_EQ(totalConfig.textSelection.newBegin, selectionRange.start);
423 EXPECT_EQ(totalConfig.textSelection.newBegin, start);
572 EXPECT_EQ(totalConfig.textSelection.newBegin, config.range.start);
H A Dinput_method_editor_test.cpp66 …void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) overrid…
100 void KeyboardListenerImpl::OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, in… in OnSelectionChange() argument
H A Dinput_method_controller_test.cpp208 …void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override in OnSelectionChange() argument
210 …OGI("KeyboardListenerImpl %{public}d %{public}d %{public}d %{public}d", oldBegin, oldEnd, newBegin, in OnSelectionChange()
214 newBegin_ = newBegin; in OnSelectionChange()
/ohos5.0/base/inputmethod/imf/test/fuzztest/inputmethodability_fuzzer/
H A Dinputmethodability_fuzzer.cpp41 void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument
/ohos5.0/base/inputmethod/imf/common/src/
H A Ditypes_util.cpp192 …rshal(data, input.textSelection.oldBegin, input.textSelection.oldEnd, input.textSelection.newBegin, in Marshalling()
227 …al(data, output.textSelection.oldBegin, output.textSelection.oldEnd, output.textSelection.newBegin, in Unmarshalling()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethodengine.md1154 on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
1165 …d: number, newBegin: number, newEnd: number) => void | 是 | 回调函数,返回文本选择信息。<br/>- oldBegin为变化前被选中文…
1172 .on('selectionChange', (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => {
1175 console.log('inputMethodEngine beforeEach selectionChange newBegin:' + newBegin);
1185 off(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd…
1196 | callback | (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void | 否 | 取…
1203 … .off('selectionChange', (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => {
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-misc.md161 …(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
162 …n(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-misc.md161 …(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
162 …n(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
/ohos5.0/docs/en/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethodengine.md1154 on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
1165newBegin: number, newEnd: number) => void | Yes | Callback used to return the text selection inf…
1172 .on('selectionChange', (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => {
1175 console.log('inputMethodEngine beforeEach selectionChange newBegin:' + newBegin);
1185 off(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd…
1196 | callback | (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void | No | C…
1203 … .off('selectionChange', (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => {
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-misc.md150 …n(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
151 …(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
346 …n(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
347 …(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-misc.md37 …n(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
41 …(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
148 …n(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
152 …(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dinput_method_controller.cpp865 config.textSelection.newBegin = textConfig_.range.start; in GetTextConfig()
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-misc.md150 …n(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
151 …(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
346 …n(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
347 …(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …

12