Home
last modified time | relevance | path

Searched refs:MeasuredText (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/minikin/include/minikin/
DMeasuredText.h174 class MeasuredText {
200 MeasuredText(MeasuredText&&) = default;
201 MeasuredText& operator=(MeasuredText&&) = default;
203 MINIKIN_PREVENT_COPY_AND_ASSIGN(MeasuredText);
209 MeasuredText* hint);
212 MeasuredText(const U16StringPiece& textBuf, std::vector<std::unique_ptr<Run>>&& runs, in MeasuredText() function
213 bool computeHyphenation, bool computeLayout, MeasuredText* hint) in MeasuredText()
237 std::unique_ptr<MeasuredText> build(const U16StringPiece& textBuf, bool computeHyphenation, in build()
238 bool computeLayout, MeasuredText* hint) { in build()
240 return std::unique_ptr<MeasuredText>(new MeasuredText( in build()
DLineBreaker.h117 const MeasuredText& measuredText, const LineWidth& lineWidth,
DAndroidLineBreakerHelper.h83 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks()
/frameworks/base/graphics/java/android/graphics/text/
DMeasuredText.java51 public class MeasuredText { class
58 private MeasuredText(long ptr, @NonNull char[] chars, boolean computeHyphenation, in MeasuredText() method in MeasuredText
175 MeasuredText.class.getClassLoader(), nGetReleaseFunc());
183 private @Nullable MeasuredText mHintMt = null;
207 public Builder(@NonNull MeasuredText text) { in Builder()
310 public @NonNull MeasuredText build() { in build()
323 final MeasuredText res = new MeasuredText(ptr, mText, mComputeHyphenation, in build()
DLineBreaker.java475 @NonNull MeasuredText measuredPara, in computeLineBreaks()
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java25 import android.graphics.text.MeasuredText;
125 private @Nullable MeasuredText mMeasuredText;
249 public MeasuredText getMeasuredText() { in getMeasuredText()
399 final MeasuredText.Builder builder; in buildForStaticLayout()
401 builder = new MeasuredText.Builder(mt.mCopiedBuffer) in buildForStaticLayout()
405 builder = new MeasuredText.Builder(hint.mMeasuredText); in buildForStaticLayout()
503 @Nullable MeasuredText.Builder builder) { in applyReplacementRun()
523 @Nullable MeasuredText.Builder builder) { in applyStyleRun()
565 @Nullable MeasuredText.Builder builder) { in applyMetricsAffectingSpan()
/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp164 std::vector<DesperateBreak> populateDesperatePoints(const MeasuredText& measured, in populateDesperatePoints()
207 OptimizeContext populateCandidates(const U16StringPiece& textBuf, const MeasuredText& measured, in populateCandidates()
275 const MeasuredText& measuredText, const LineWidth& lineWidth,
285 LineBreakResult finishBreaksOptimal(const U16StringPiece& textBuf, const MeasuredText& measured,
292 const U16StringPiece& textBuf, const MeasuredText& measured, in finishBreaksOptimal()
319 const MeasuredText& measured, in computeBreaks()
404 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineOptimal()
DGreedyLineBreaker.h28 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured,
DOptimalLineBreaker.h26 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured,
DMeasuredText.cpp127 void MeasuredText::measure(const U16StringPiece& textBuf, bool computeHyphenation, in measure()
128 bool computeLayout, MeasuredText* hint) { in measure()
273 Layout MeasuredText::buildLayout(const U16StringPiece& textBuf, const Range& range, in buildLayout()
293 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) const { in getBounds()
311 MinikinExtent MeasuredText::getExtent(const U16StringPiece& textBuf, const Range& range) const { in getExtent()
DLineBreaker.cpp26 const MeasuredText& measuredText, const LineWidth& lineWidth, in breakIntoLines()
DGreedyLineBreaker.cpp41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker()
120 const MeasuredText& mMeasuredText;
388 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
DAndroid.bp43 "MeasuredText.cpp",
/frameworks/base/core/jni/android/graphics/text/
DMeasuredText.cpp50 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph()
51 return reinterpret_cast<minikin::MeasuredText*>(ptr); in toMeasuredParagraph()
102 minikin::MeasuredText* mt = toMeasuredParagraph(ptr); in nGetWidth()
DLineBreaker.cpp92 minikin::MeasuredText* measuredText = reinterpret_cast<minikin::MeasuredText*>(measuredTextPtr); in nComputeLineBreaks()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.h35 class MeasuredText; variable
49 minikin::MeasuredText* mt);
DCanvas.h37 class MeasuredText; variable
288 const Paint& origPaint, const Typeface* typeface, minikin::MeasuredText* mt);
DMinikinUtils.cpp55 minikin::MeasuredText* mt) { in doLayout()
DCanvas.cpp153 const Paint& origPaint, const Typeface* typeface, minikin::MeasuredText* mt) { in drawText()
/frameworks/minikin/tests/unittest/
DGreedyLineBreakerTest.cpp83 std::unique_ptr<MeasuredText> measuredText = in doLineBreak()
679 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
699 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
730 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
751 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
815 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
838 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
869 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
1038 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
1133 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
[all …]
DOptimalLineBreakerTest.cpp84 std::unique_ptr<MeasuredText> measuredText = in doLineBreak()
90 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, const MeasuredText& measuredText, in doLineBreak()
945 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
964 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
995 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
1014 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
1112 std::unique_ptr<MeasuredText> measured = in TEST_F()
1155 std::unique_ptr<MeasuredText> measured = in TEST_F()
1334 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
1427 std::unique_ptr<MeasuredText> measuredText = in TEST_F()
[all …]
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp37 class MeasuredText;
576 minikin::MeasuredText* mt = reinterpret_cast<minikin::MeasuredText*>(mtHandle); in drawTextRunChars()
DAndroid.bp162 "android/graphics/text/MeasuredText.cpp",
/frameworks/base/graphics/java/android/graphics/
DBaseRecordingCanvas.java24 import android.graphics.text.MeasuredText;
551 public void drawTextRun(@NonNull MeasuredText measuredText, int start, int end, in drawTextRun()
DBaseCanvas.java26 import android.graphics.text.MeasuredText;
585 public void drawTextRun(@NonNull MeasuredText measuredText, int start, int end, in drawTextRun()

12