/frameworks/minikin/libs/minikin/ |
D | LineBreaker.cpp | 26 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()
|
D | OptimalLineBreaker.cpp | 274 const MeasuredText& measuredText, const LineWidth& lineWidth,
|
/frameworks/minikin/tests/unittest/ |
D | MeasuredTextTest.cpp | 47 std::unique_ptr<MeasuredText> measuredText = in TEST() local 50 ASSERT_TRUE(measuredText); in TEST() 56 EXPECT_EQ(expectedWidths, measuredText->widths); in TEST()
|
D | GreedyLineBreakerTest.cpp | 68 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 …]
|
D | OptimalLineBreakerTest.cpp | 69 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/ |
D | android_text_StaticLayout.cpp | 143 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/ |
D | AndroidLineBreakerHelper.h | 95 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks() argument 104 return breakIntoLines(textBuf, mStrategy, mFrequency, mIsJustified, measuredText, lineWidth, in computeBreaks()
|
D | LineBreaker.h | 123 const MeasuredText& measuredText, const LineWidth& lineWidth,
|