/ohos5.0/base/inputmethod/imf/test/common/src/ |
H A D | keyboard_listener_test_impl.cpp | 54 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 D | input_method_agent_stub.cpp | 68 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 D | input_method_agent_proxy.cpp | 52 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 D | input_method_ability.cpp | 408 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 D | keyboard_listener_test_impl.h | 38 …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 D | js_keyboard_delegate_setting.h | 47 …void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) overrid… 72 int32_t newBegin = 0; member
|
H A D | js_keyboard_delegate_setting.cpp | 507 …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 D | keyboard_listener.h | 32 …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 D | i_input_method_agent.h | 50 … std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) = 0;
|
H A D | input_method_agent_proxy.h | 43 … std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override;
|
H A D | input_method_agent_stub.h | 36 … 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 D | input_method_utils.h | 165 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 D | input_method_attach_test.cpp | 236 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 D | input_method_editor_test.cpp | 66 …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 D | input_method_controller_test.cpp | 208 …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 D | inputmethodability_fuzzer.cpp | 41 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 D | itypes_util.cpp | 192 …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 D | js-apis-inputmethodengine.md | 1154 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 D | js-apidiff-misc.md | 161 …(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 D | js-apidiff-misc.md | 161 …(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 D | js-apis-inputmethodengine.md | 1154 on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: … 1165 …newBegin: 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 D | js-apidiff-misc.md | 150 …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 D | js-apidiff-misc.md | 37 …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 D | input_method_controller.cpp | 865 config.textSelection.newBegin = textConfig_.range.start; in GetTextConfig()
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-misc.md | 150 …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: …
|