Home
last modified time | relevance | path

Searched refs:newBegin (Results 1 - 20 of 20) sorted by relevance

/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, 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 Dkeyboard_listener_test_impl.h37 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 Dinput_method_agent_stub.cpp65 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 Dinput_method_agent_proxy.cpp51 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 Dinput_method_ability.cpp340 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 Di_input_method_agent.h49 virtual void OnSelectionChange(std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin,
H A Dinput_method_agent_proxy.h42 void OnSelectionChange(std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin,
H A Dinput_method_agent_stub.h34 void OnSelectionChange(std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin,
H A Dinput_method_ability.h107 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 Dkeyboard_listener.h32 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 Djs_keyboard_delegate_setting.h46 void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override;
71 int32_t newBegin = 0; member
H A Djs_keyboard_delegate_setting.cpp506 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 Dtask_imsa.h116 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 Dinput_method_utils.h164 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 Dinputmethodability_fuzzer.cpp41 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 Dinput_method_attach_test.cpp271 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 Dinput_method_editor_test.cpp67 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 Dinput_method_controller_test.cpp209 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 Ditypes_util.cpp190 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 Dinput_method_controller.cpp875 config.textSelection.newBegin = textConfig_.range.start; in GetTextConfig()

Completed in 29 milliseconds