Home
last modified time | relevance | path

Searched refs:measuredText (Results 1 – 11 of 11) 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, justified, in breakIntoLines()
DOptimalLineBreaker.cpp351 const MeasuredText& measuredText, const LineWidth& lineWidth,
/frameworks/minikin/tests/unittest/
DGreedyLineBreakerTest.cpp97 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreakForJapanese() local
102 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, false, in doLineBreakForJapanese()
118 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreakForKorean() local
123 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, false, in doLineBreakForKorean()
139 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreak() local
144 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, in doLineBreak()
178 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreakWithNoHyphenSpan() local
183 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, in doLineBreakWithNoHyphenSpan()
199 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreakForBounds() local
204 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, in doLineBreakForBounds()
[all …]
DOptimalLineBreakerTest.cpp88 std::unique_ptr<MeasuredText> measuredText = in doLineBreak() local
91 return doLineBreak(textBuffer, *measuredText, strategy, frequency, lineWidth); in doLineBreak()
105 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreakForJapanese() local
108 return doLineBreak(textBuffer, *measuredText, BreakStrategy::HighQuality, in doLineBreakForJapanese()
137 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreakWithNoHyphenSpan() local
140 return doLineBreak(textBuffer, *measuredText, BreakStrategy::HighQuality, in doLineBreakWithNoHyphenSpan()
156 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreakForBounds() local
160 return breakLineOptimal(textBuffer, *measuredText, rectangleLineWidth, strategy, frequency, in doLineBreakForBounds()
164 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, const MeasuredText& measuredText, in doLineBreak() argument
168 return breakLineOptimal(textBuffer, measuredText, rectangleLineWidth, strategy, frequency, in doLineBreak()
[all …]
DMeasuredTextTest.cpp52 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST() local
56 ASSERT_TRUE(measuredText); in TEST()
62 EXPECT_EQ(expectedWidths, measuredText->widths); in TEST()
/frameworks/minikin/include/minikin/
DAndroidLineBreakerHelper.h89 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks() argument
98 return breakIntoLines(textBuf, mStrategy, mFrequency, mIsJustified, measuredText, lineWidth, in computeBreaks()
DLineBreaker.h122 const MeasuredText& measuredText, const LineWidth& lineWidth,
/frameworks/base/libs/hwui/jni/text/
DLineBreaker.cpp88 minikin::MeasuredText* measuredText = reinterpret_cast<minikin::MeasuredText*>(measuredTextPtr); in nComputeLineBreaks() local
92 u16Text, *measuredText, firstWidth, firstWidthLineCount, restWidth, indentsOffset, in nComputeLineBreaks()
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java647 public void drawTextRun(@NonNull MeasuredText measuredText, int start, int end, in drawTextRun() argument
650 nDrawTextRun(mNativeCanvasWrapper, measuredText.getChars(), start, end - start, in drawTextRun()
652 measuredText.getNativePtr()); in drawTextRun()
DBaseRecordingCanvas.java586 public void drawTextRun(@NonNull MeasuredText measuredText, int start, int end, in drawTextRun() argument
589 nDrawTextRun(mNativeCanvasWrapper, measuredText.getChars(), start, end - start, in drawTextRun()
591 measuredText.getNativePtr()); in drawTextRun()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...