Searched refs:textFieldLayoutAlgorithm (Results 1 – 2 of 2) sorted by relevance
| /foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/textfield/ |
| D | textfield_test_ng.cpp | 2246 TextFieldLayoutAlgorithm textFieldLayoutAlgorithm; variable 2256 textFieldLayoutAlgorithm.SetPropertyToModifier(textStyle, textFieldContentModifier); 3202 TextFieldLayoutAlgorithm textFieldLayoutAlgorithm; variable 3211 EXPECT_EQ(textFieldLayoutAlgorithm.counterParagraph_, nullptr); 3212 textFieldLayoutAlgorithm.CreateCounterParagraph(textLength, maxLength, theme); 3213 EXPECT_NE(textFieldLayoutAlgorithm.counterParagraph_, nullptr); 3226 TextFieldLayoutAlgorithm textFieldLayoutAlgorithm; variable 3235 EXPECT_EQ(textFieldLayoutAlgorithm.counterParagraph_, nullptr); 3236 textFieldLayoutAlgorithm.CreateCounterParagraph(textLength, maxLength, theme); 3237 EXPECT_NE(textFieldLayoutAlgorithm.counterParagraph_, nullptr); [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
| D | text_field_pattern.cpp | 257 …auto textFieldLayoutAlgorithm = DynamicCast<TextFieldLayoutAlgorithm>(layoutAlgorithmWrapper->GetL… in OnDirtyLayoutWrapperSwap() local 258 CHECK_NULL_RETURN(textFieldLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap() 259 auto paragraph = textFieldLayoutAlgorithm->GetParagraph(); in OnDirtyLayoutWrapperSwap() 263 auto counterParagraph = textFieldLayoutAlgorithm->GetCounterParagraph(); in OnDirtyLayoutWrapperSwap() 268 auto errorParagraph = textFieldLayoutAlgorithm->GetErrorParagraph(); in OnDirtyLayoutWrapperSwap() 276 auto paragraphWidth = textFieldLayoutAlgorithm->GetParagraphWidth(); in OnDirtyLayoutWrapperSwap() 277 auto textRect = textFieldLayoutAlgorithm->GetTextRect(); in OnDirtyLayoutWrapperSwap() 285 imageRect_ = textFieldLayoutAlgorithm->GetImageRect(); in OnDirtyLayoutWrapperSwap() 286 unitWidth_ = textFieldLayoutAlgorithm->GetUnitWidth(); in OnDirtyLayoutWrapperSwap() 287 parentGlobalOffset_ = textFieldLayoutAlgorithm->GetParentGlobalOffset(); in OnDirtyLayoutWrapperSwap()
|