/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 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()
|
/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; 43 static bool WaitSelectionChange(int32_t newBegin);
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_agent_stub.cpp | 65 int32_t newBegin = 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() 497 if (textConfig.textSelection.newBegin == INVALID_SELECTION_VALUE in InvokeStartInputCallback() 498 || (textConfig.textSelection.newBegin == textConfig.textSelection.oldBegin in InvokeStartInputCallback() 503 textConfig.textSelection.newBegin, textConfig.textSelection.newEnd); 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/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; 71 int32_t newBegin = 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() 513 entry.selPara.newBegin = para.newBegin; 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() 536 napi_create_int32(env, entry->selPara.newBegin, &args[2]); 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/frameworks/native/inputmethod_controller/include/ |
H A D | input_method_utils.h | 164 int32_t newBegin = INVALID_VALUE; member 192 " newRange: " + std::to_string(textSelection.newBegin) + "/" + std::to_string(textSelection.newEnd)); 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 | 271 EXPECT_EQ(textConfig.textSelection.newBegin, config.range.start); in HWTEST_F() 380 EXPECT_EQ(totalConfig.textSelection.newBegin, selectionRange.start); in HWTEST_F() 459 EXPECT_EQ(totalConfig.textSelection.newBegin, start); in HWTEST_F() 608 EXPECT_EQ(totalConfig.textSelection.newBegin, config.range.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, 215 newBegin_ = newBegin;
|
/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 | 875 config.textSelection.newBegin = textConfig_.range.start; in GetTextConfig()
|