Home
last modified time | relevance | path

Searched refs:textSelection (Results 1 - 5 of 5) sorted by relevance

/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()
272 EXPECT_EQ(textConfig.textSelection.newEnd, config.range.end); in HWTEST_F()
273 EXPECT_EQ(textConfig.textSelection.oldBegin, INVALID_VALUE); in HWTEST_F()
274 EXPECT_EQ(textConfig.textSelection.oldEnd, INVALID_VALUE); in HWTEST_F()
380 EXPECT_EQ(totalConfig.textSelection.newBegin, selectionRange.start); in HWTEST_F()
381 EXPECT_EQ(totalConfig.textSelection.newEnd, selectionRange.end); in HWTEST_F()
382 EXPECT_EQ(totalConfig.textSelection.oldBegin, INVALID_VALUE); in HWTEST_F()
383 EXPECT_EQ(totalConfig.textSelection.oldEnd, INVALID_VALUE); in HWTEST_F()
459 EXPECT_EQ(totalConfig.textSelection.newBegin, start); in HWTEST_F()
460 EXPECT_EQ(totalConfig.textSelection in HWTEST_F()
[all...]
/base/inputmethod/imf/common/src/
H A Ditypes_util.cpp190 if (!Marshal(data, input.textSelection.oldBegin, input.textSelection.oldEnd, input.textSelection.newBegin, in Marshalling()
191 input.textSelection.newEnd)) { in Marshalling()
225 if (!Unmarshal(data, output.textSelection.oldBegin, output.textSelection.oldEnd, output.textSelection.newBegin, in Unmarshalling()
226 output.textSelection.newEnd)) { in Unmarshalling()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
H A Dinput_method_utils.h175 TextSelection textSelection = {}; member
190 " oldRange: " + std::to_string(textSelection.oldBegin) + "/" + std::to_string(textSelection.oldEnd)); in ToString()
192 " newRange: " + std::to_string(textSelection.newBegin) + "/" + std::to_string(textSelection.newEnd)); in ToString()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_ability.cpp497 if (textConfig.textSelection.newBegin == INVALID_SELECTION_VALUE in InvokeStartInputCallback()
498 || (textConfig.textSelection.newBegin == textConfig.textSelection.oldBegin in InvokeStartInputCallback()
499 && textConfig.textSelection.newEnd == textConfig.textSelection.oldEnd)) { in InvokeStartInputCallback()
502 kdListener_->OnSelectionChange(textConfig.textSelection.oldBegin, textConfig.textSelection.oldEnd, in InvokeStartInputCallback()
503 textConfig.textSelection.newBegin, textConfig.textSelection.newEnd); in InvokeStartInputCallback()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dinput_method_controller.cpp872 config.textSelection.oldBegin = selectOldBegin_; in GetTextConfig()
873 config.textSelection.oldEnd = selectOldEnd_; in GetTextConfig()
875 config.textSelection.newBegin = textConfig_.range.start; in GetTextConfig()
876 config.textSelection.newEnd = textConfig_.range.end; in GetTextConfig()

Completed in 7 milliseconds