/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_base.cpp | 50 void TextBase::CalculateSelectedRect(std::vector<RectF>& selectedRect, float longestLine, TextDirec… in CalculateSelectedRect() argument 76 auto rect = RectF(line.second.Left(), lastLineBottom, longestLine - line.second.Left(), in CalculateSelectedRect()
|
H A D | text_base.h | 209 …std::vector<RectF>& selectedRect, float longestLine, TextDirection direction = TextDirection::LTR);
|
H A D | text_layout_algorithm.cpp | 149 auto longestLine = paragraphManager_->GetLongestLine(); in MeasureContent() local 158 heightFinal, longestLine, height); in MeasureContent() 161 NonPositive(longestLine)) { in MeasureContent()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_input_wordbreak_test.cpp | 103 float longestLine = 460.f; member 179 EXPECT_CALL(*paragraph, GetLongestLine()).WillRepeatedly(Return(params.longestLine)); in ExpectCallParagraphMethods()
|
H A D | text_input_base.cpp | 69 EXPECT_CALL(*paragraph, GetLongestLine()).WillRepeatedly(Return(params.longestLine)); in ExpectCallParagraphMethods()
|
H A D | text_input_base.h | 146 float longestLine = 460.f; member
|
H A D | text_area_menu_test.cpp | 97 float longestLine = 460.f; member 173 EXPECT_CALL(*paragraph, GetLongestLine()).WillRepeatedly(Return(params.longestLine)); in ExpectCallParagraphMethods()
|
H A D | text_input_area_model_test.cpp | 109 float longestLine = 460.f; member 185 EXPECT_CALL(*paragraph, GetLongestLine()).WillRepeatedly(Return(params.longestLine)); in ExpectCallParagraphMethods()
|
H A D | text_area_test.cpp | 105 float longestLine = 460.f; member 181 EXPECT_CALL(*paragraph, GetLongestLine()).WillRepeatedly(Return(params.longestLine)); in ExpectCallParagraphMethods()
|
H A D | text_input_modify_test.cpp | 108 float longestLine = 460.f; member 184 EXPECT_CALL(*paragraph, GetLongestLine()).WillRepeatedly(Return(params.longestLine)); in ExpectCallParagraphMethods()
|
H A D | text_area_decoration_test.cpp | 87 float longestLine = 460.f; member 163 EXPECT_CALL(*paragraph, GetLongestLine()).WillRepeatedly(Return(params.longestLine)); in ExpectCallParagraphMethods()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/paragraph_napi/ |
H A D | js_paragraph.cpp | 267 double longestLine = paragraph_->GetActualWidth(); in OnGetLongestLine() local 268 return CreateJsNumber(env, longestLine); in OnGetLongestLine() 283 double longestLine = paragraph_->GetLongestLineWithIndent(); in OnGetLongestLineWithIndent() local 284 return CreateJsNumber(env, longestLine); in OnGetLongestLineWithIndent()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_base_testone_ng.cpp | 663 double longestLine = richEditorPattern->paragraphs_.GetLongestLine(); variable 664 EXPECT_EQ(longestLine, 0.0f); 676 longestLine = richEditorPattern->paragraphs_.GetLongestLine(); 677 EXPECT_EQ(longestLine, 0.0f);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_layout_algorithm.cpp | 142 auto longestLine = std::ceil(paragraph_->GetLongestLineWithIndent()); in InlineFocusMeasure() local 143 paragraph_->Layout(std::min(static_cast<float>(longestLine), paragraph_->GetMaxWidth())); in InlineFocusMeasure() 177 auto longestLine = std::ceil(inlineParagraph_->GetLongestLineWithIndent()); in InlineMeasureContent() local 178 …inlineParagraph_->Layout(std::min(static_cast<float>(longestLine), inlineParagraph_->GetMaxWidth()… in InlineMeasureContent()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-graphics-text.md | 768 let longestLine = paragraph.getLongestLine();
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-graphics-text.md | 771 let longestLine = paragraph.getLongestLine();
|