Searched refs:GetWordLength (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_testfour.cpp | 316 pattern_->GetWordLength(0, 2); 317 pattern_->GetWordLength(1, 2); 318 pattern_->GetWordLength(0, 1); 319 pattern_->GetWordLength(1, 1); 321 pattern_->GetWordLength(0, 2); 322 pattern_->GetWordLength(1, 2); 323 pattern_->GetWordLength(0, 1); 324 pattern_->GetWordLength(1, 1);
|
H A D | text_input_update_test.cpp | 99 EXPECT_EQ(pattern_->GetWordLength(originCaretPosition, directionMove), 0); 106 EXPECT_EQ(pattern_->GetWordLength(originCaretPosition, directionMove), 0); 128 EXPECT_EQ(pattern_->GetWordLength(originCaretPosition, directionMove), 0); 136 EXPECT_EQ(pattern_->GetWordLength(originCaretPosition, directionMove), 0);
|
H A D | text_field_pattern_test.cpp | 752 pattern->GetWordLength(10, 10);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_pattern.h | 551 int32_t GetWordLength(int32_t originCaretPosition, int32_t directionalMove);
|
H A D | text_field_pattern.cpp | 4502 int32_t TextFieldPattern::GetWordLength(int32_t originCaretPosition, int32_t directionMove) in GetWordLength() function in OHOS::Ace::NG::TextFieldPattern 4662 int32_t leftWordLength = GetWordLength(originCaretPosition, 0); in CursorMoveLeftWord() 4759 int32_t rightWordLength = GetWordLength(originCaretPosition, 1); in CursorMoveRightWord() 5567 int32_t leftWordLength = GetWordLength(selectController_->GetCaretIndex(), 0); in HandleSelectionLeftWord() 5639 int32_t rightWordLength = GetWordLength(selectController_->GetCaretIndex(), 1); in HandleSelectionRightWord()
|