/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_agent_stub.cpp | 64 int32_t oldEnd = data.ReadInt32(); in OnRemoteRequest() local 67 OnSelectionChange(text, oldBegin, oldEnd, newBegin, newEnd); in OnRemoteRequest() 146 std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() 148 auto task = std::make_shared<TaskImsaOnSelectionChange>(text, oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange() 145 OnSelectionChange( std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) OnSelectionChange() argument
|
H A D | input_method_agent_proxy.cpp | 51 void InputMethodAgentProxy::OnSelectionChange(std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, in OnSelectionChange() argument 54 auto ret = SendRequest(ON_SELECTION_CHANGE, [&text, oldBegin, oldEnd, newBegin, newEnd](MessageParcel &data) { in OnSelectionChange() 55 return ITypesUtil::Marshal(data, text, oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange()
|
H A D | input_method_ability.cpp | 340 std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() 347 kdListener_->OnSelectionChange(oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange() 499 && textConfig.textSelection.newEnd == textConfig.textSelection.oldEnd)) { in InvokeStartInputCallback() 502 kdListener_->OnSelectionChange(textConfig.textSelection.oldBegin, textConfig.textSelection.oldEnd, in InvokeStartInputCallback() 339 OnSelectionChange( std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) OnSelectionChange() argument
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/ |
H A D | i_input_method_agent.h | 49 virtual void OnSelectionChange(std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin,
|
H A D | input_method_agent_proxy.h | 42 void OnSelectionChange(std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin,
|
H A D | input_method_agent_stub.h | 34 void OnSelectionChange(std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin,
|
H A D | input_method_ability.h | 107 void OnSelectionChange(std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEndg);
|
/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) = 0;
|
/base/inputmethod/imf/test/common/include/ |
H A D | keyboard_listener_test_impl.h | 37 void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override;
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
H A D | js_keyboard_delegate_setting.h | 46 void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override; 70 int32_t oldEnd = 0; member
|
H A D | js_keyboard_delegate_setting.cpp | 506 void JsKeyboardDelegateSetting::OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument 508 SelectionPara para{ oldBegin, oldEnd, newBegin, newEnd }; in OnSelectionChange() 512 entry.selPara.oldEnd = para.oldEnd; in OnSelectionChange() 524 IMSA_HILOGD("the selection for oldBegin: %{public}d, oldEnd: %{public}d, newBegin: %{public}d, newEnd: " in OnSelectionChange() 525 "%{public}d.", oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange() 534 napi_create_int32(env, entry->selPara.oldEnd, &args[1]); in OnSelectionChange()
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/tasks/ |
H A D | task_imsa.h | 116 TaskImsaOnSelectionChange(std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in TaskImsaOnSelectionChange() argument 120 InputMethodAbility::GetInstance()->OnSelectionChange(text, oldBegin, oldEnd, newBegin, newEnd); in TaskImsaOnSelectionChange()
|
/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, int32_t newEnd) in OnSelectionChange() argument
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
H A D | input_method_utils.h | 163 int32_t oldEnd = INVALID_VALUE; member 190 " oldRange: " + std::to_string(textSelection.oldBegin) + "/" + std::to_string(textSelection.oldEnd)); in ToString()
|
/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
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_attach_test.cpp | 274 EXPECT_EQ(textConfig.textSelection.oldEnd, INVALID_VALUE); in HWTEST_F() 383 EXPECT_EQ(totalConfig.textSelection.oldEnd, INVALID_VALUE); in HWTEST_F() 462 EXPECT_EQ(totalConfig.textSelection.oldEnd, config.range.end); in HWTEST_F() 611 EXPECT_EQ(totalConfig.textSelection.oldEnd, end); in HWTEST_F()
|
H A D | input_method_editor_test.cpp | 67 void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override; 101 void KeyboardListenerImpl::OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument
|
H A D | input_method_controller_test.cpp | 209 void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override 211 IMSA_HILOGI("KeyboardListenerImpl %{public}d %{public}d %{public}d %{public}d", oldBegin, oldEnd, newBegin, 214 oldEnd_ = oldEnd;
|
/base/inputmethod/imf/common/src/ |
H A D | itypes_util.cpp | 190 if (!Marshal(data, input.textSelection.oldBegin, input.textSelection.oldEnd, input.textSelection.newBegin, in Marshalling() 225 if (!Unmarshal(data, output.textSelection.oldBegin, output.textSelection.oldEnd, output.textSelection.newBegin, in Unmarshalling()
|
/base/update/updater/services/diffpatch/diff/ |
H A D | blocks_diff.cpp | 648 BlockBuffer oldEnd = {oldInfo.buffer + suffixArray_[end], oldInfo.length - suffixArray_[end]};
in Search() local 650 y = MatchLength(oldEnd, newInfo);
in Search()
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | input_method_controller.cpp | 873 config.textSelection.oldEnd = selectOldEnd_; in GetTextConfig()
|