Searched refs:paragraphWidth (Results 1 – 3 of 3) sorted by relevance
601 float paragraphWidth = paragraph->GetLongestLineWithIndent(); in BuildTextRaceParagraph() local603 paragraphWidth = std::max(contentConstraint.selfIdealSize.Width().value(), paragraphWidth); in BuildTextRaceParagraph()605 paragraphWidth = std::max(contentConstraint.minSize.Width(), paragraphWidth); in BuildTextRaceParagraph()607 paragraphWidth = std::ceil(paragraphWidth); in BuildTextRaceParagraph()608 paragraph->Layout(paragraphWidth); in BuildTextRaceParagraph()619 float widthFinal = paragraphWidth; in BuildTextRaceParagraph()621 if (contentConstraint.selfIdealSize.Width().value() < paragraphWidth) { in BuildTextRaceParagraph()624 } else if (contentConstraint.maxSize.Width() < paragraphWidth) { in BuildTextRaceParagraph()
83 void SetParagraphWidth(double paragraphWidth) in SetParagraphWidth() argument85 paragraphWidth_ = paragraphWidth; in SetParagraphWidth()
553 float paragraphWidth = 0.0f; in OnDirtyLayoutWrapperSwap() local556 paragraphWidth = std::max(paragraph->GetLongestLine(), 0.0f); in OnDirtyLayoutWrapperSwap()573 …(NearEqual(paragraphWidth, paragraphWidth_) && NearEqual(textRect.GetSize(), textRect_.GetSize()))… in OnDirtyLayoutWrapperSwap()576 paragraphWidth_ = paragraphWidth; in OnDirtyLayoutWrapperSwap()