/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_agent_stub.cpp | 63 int32_t oldBegin = 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() 498 || (textConfig.textSelection.newBegin == textConfig.textSelection.oldBegin 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; 69 int32_t oldBegin = 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() 511 entry.selPara.oldBegin = para.oldBegin; 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() 532 napi_create_int32(env, entry->selPara.oldBegin, &args[0]); 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 | 162 int32_t oldBegin = 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 | 273 EXPECT_EQ(textConfig.textSelection.oldBegin, INVALID_VALUE); in HWTEST_F() 382 EXPECT_EQ(totalConfig.textSelection.oldBegin, INVALID_VALUE); in HWTEST_F() 461 EXPECT_EQ(totalConfig.textSelection.oldBegin, config.range.start); in HWTEST_F() 610 EXPECT_EQ(totalConfig.textSelection.oldBegin, start); 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, 213 oldBegin_ = oldBegin;
|
/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/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | input_method_controller.cpp | 872 config.textSelection.oldBegin = selectOldBegin_; in GetTextConfig()
|