/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 | 275 const MeasuredText& measuredText, const LineWidth& lineWidth,
|
/frameworks/minikin/tests/unittest/ |
D | GreedyLineBreakerTest.cpp | 83 std::unique_ptr<MeasuredText> measuredText = in doLineBreak() local 88 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, in doLineBreak() 679 std::unique_ptr<MeasuredText> measuredText = in TEST_F() local 685 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F() 699 std::unique_ptr<MeasuredText> measuredText = in TEST_F() local 705 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F() 730 std::unique_ptr<MeasuredText> measuredText = in TEST_F() local 737 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F() 751 std::unique_ptr<MeasuredText> measuredText = in TEST_F() local 758 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F() [all …]
|
D | OptimalLineBreakerTest.cpp | 84 std::unique_ptr<MeasuredText> measuredText = in doLineBreak() local 87 return doLineBreak(textBuffer, *measuredText, strategy, frequency, lineWidth); in doLineBreak() 90 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, const MeasuredText& measuredText, in doLineBreak() argument 94 return breakLineOptimal(textBuffer, measuredText, rectangleLineWidth, strategy, frequency, in doLineBreak() 945 std::unique_ptr<MeasuredText> measuredText = in TEST_F() local 950 doLineBreak(textBuf, *measuredText, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F() 964 std::unique_ptr<MeasuredText> measuredText = in TEST_F() local 969 doLineBreak(textBuf, *measuredText, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F() 995 std::unique_ptr<MeasuredText> measuredText = in TEST_F() local 1000 doLineBreak(textBuf, *measuredText, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F() [all …]
|
D | MeasuredTextTest.cpp | 47 std::unique_ptr<MeasuredText> measuredText = in TEST() local 51 ASSERT_TRUE(measuredText); in TEST() 57 EXPECT_EQ(expectedWidths, measuredText->widths); in TEST()
|
/frameworks/minikin/include/minikin/ |
D | AndroidLineBreakerHelper.h | 83 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks() argument 92 return breakIntoLines(textBuf, mStrategy, mFrequency, mIsJustified, measuredText, lineWidth, in computeBreaks()
|
D | LineBreaker.h | 117 const MeasuredText& measuredText, const LineWidth& lineWidth,
|
/frameworks/base/core/jni/android/graphics/text/ |
D | LineBreaker.cpp | 92 minikin::MeasuredText* measuredText = reinterpret_cast<minikin::MeasuredText*>(measuredTextPtr); in nComputeLineBreaks() local 96 u16Text, *measuredText, firstWidth, firstWidthLineCount, restWidth, indentsOffset, in nComputeLineBreaks()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseCanvas.java | 585 public void drawTextRun(@NonNull MeasuredText measuredText, int start, int end, in drawTextRun() argument 588 nDrawTextRun(mNativeCanvasWrapper, measuredText.getChars(), start, end - start, in drawTextRun() 590 measuredText.getNativePtr()); in drawTextRun()
|
D | BaseRecordingCanvas.java | 551 public void drawTextRun(@NonNull MeasuredText measuredText, int start, int end, in drawTextRun() argument 554 nDrawTextRun(mNativeCanvasWrapper, measuredText.getChars(), start, end - start, in drawTextRun() 556 measuredText.getNativePtr()); in drawTextRun()
|