Home
last modified time | relevance | path

Searched refs:measuredText (Results 1 – 8 of 8) sorted by relevance

/frameworks/minikin/libs/minikin/
DLineBreaker.cpp26 const MeasuredText& measuredText, const LineWidth& lineWidth, in breakIntoLines() argument
29 return breakLineGreedy(textBuffer, measuredText, lineWidth, tabStops, in breakIntoLines()
32 return breakLineOptimal(textBuffer, measuredText, lineWidth, strategy, frequency, in breakIntoLines()
DOptimalLineBreaker.cpp274 const MeasuredText& measuredText, const LineWidth& lineWidth,
/frameworks/minikin/tests/unittest/
DMeasuredTextTest.cpp47 std::unique_ptr<MeasuredText> measuredText = in TEST() local
50 ASSERT_TRUE(measuredText); in TEST()
56 EXPECT_EQ(expectedWidths, measuredText->widths); in TEST()
DGreedyLineBreakerTest.cpp68 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreak() local
72 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, in doLineBreak()
696 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() local
702 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F()
715 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() local
721 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F()
778 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() local
784 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F()
799 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() local
805 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F()
[all …]
DOptimalLineBreakerTest.cpp69 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreak() local
71 return doLineBreak(textBuffer, *measuredText, strategy, frequency, lineWidth); in doLineBreak()
74 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, const MeasuredText& measuredText, in doLineBreak() argument
78 return breakLineOptimal(textBuffer, measuredText, rectangleLineWidth, strategy, frequency, in doLineBreak()
970 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() local
974 doLineBreak(textBuf, *measuredText, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
987 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() local
990 doLineBreak(textBuf, *measuredText, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
/frameworks/base/core/jni/
Dandroid_text_StaticLayout.cpp143 minikin::MeasuredText* measuredText = reinterpret_cast<minikin::MeasuredText*>(measuredTextPtr); in nComputeLineBreaks() local
145 u16Text, *measuredText, firstWidth, firstWidthLineCount, restWidth, indentsOffset, in nComputeLineBreaks()
151 env->SetFloatArrayRegion(charWidths, 0, measuredText->widths.size(), in nComputeLineBreaks()
152 measuredText->widths.data()); in nComputeLineBreaks()
/frameworks/minikin/include/minikin/
DAndroidLineBreakerHelper.h95 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks() argument
104 return breakIntoLines(textBuf, mStrategy, mFrequency, mIsJustified, measuredText, lineWidth, in computeBreaks()
DLineBreaker.h123 const MeasuredText& measuredText, const LineWidth& lineWidth,