/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 201 class MeasuredText { 227 MeasuredText(MeasuredText&&) = default; 228 MeasuredText& operator=(MeasuredText&&) = default; 230 MINIKIN_PREVENT_COPY_AND_ASSIGN(MeasuredText); 236 bool ignoreHyphenKerning, MeasuredText* hint); 239 MeasuredText(const U16StringPiece& textBuf, std::vector<std::unique_ptr<Run>>&& runs, in MeasuredText() function 241 MeasuredText* hint) in MeasuredText() 267 std::unique_ptr<MeasuredText> build(const U16StringPiece& textBuf, bool computeHyphenation, in build() 269 MeasuredText* hint) { in build() 271 return std::unique_ptr<MeasuredText>(new MeasuredText(textBuf, std::move(mRuns), in build()
|
D | LineBreaker.h | 120 const MeasuredText& measuredText, const LineWidth& lineWidth,
|
D | AndroidLineBreakerHelper.h | 83 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks()
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | MeasuredText.java | 57 public class MeasuredText { class 68 private MeasuredText(long ptr, @NonNull char[] chars, boolean computeHyphenation, in MeasuredText() method in MeasuredText 213 MeasuredText.class.getClassLoader(), nGetReleaseFunc()); 222 private @Nullable MeasuredText mHintMt = null; 249 public Builder(@NonNull MeasuredText text) { in Builder() 446 public @NonNull MeasuredText build() { in build() 459 final MeasuredText res = new MeasuredText(ptr, mText, mComputeHyphenation, in build()
|
D | LineBreaker.java | 475 @NonNull MeasuredText measuredPara, in computeLineBreaks()
|
/frameworks/base/core/java/android/text/ |
D | MeasuredParagraph.java | 26 import android.graphics.text.MeasuredText; 126 private @Nullable MeasuredText mMeasuredText; 250 public MeasuredText getMeasuredText() { in getMeasuredText() 414 final MeasuredText.Builder builder; in buildForStaticLayout() 416 builder = new MeasuredText.Builder(mt.mCopiedBuffer) in buildForStaticLayout() 420 builder = new MeasuredText.Builder(hint.mMeasuredText); in buildForStaticLayout() 522 @Nullable MeasuredText.Builder builder) { in applyReplacementRun() 544 @Nullable MeasuredText.Builder builder) { in applyStyleRun() 587 @Nullable MeasuredText.Builder builder) { in applyMetricsAffectingSpan()
|
D | PrecomputedText.java | 27 import android.graphics.text.MeasuredText; 458 ? MeasuredText.Builder.HYPHENATION_MODE_FAST : in createMeasuredParagraphsFromPrecomputedText() 459 MeasuredText.Builder.HYPHENATION_MODE_NORMAL; in createMeasuredParagraphsFromPrecomputedText() 461 hyphenationMode = MeasuredText.Builder.HYPHENATION_MODE_NONE; in createMeasuredParagraphsFromPrecomputedText() 488 ? MeasuredText.Builder.HYPHENATION_MODE_FAST : in createMeasuredParagraphs() 489 MeasuredText.Builder.HYPHENATION_MODE_NORMAL; in createMeasuredParagraphs() 491 hyphenationMode = MeasuredText.Builder.HYPHENATION_MODE_NONE; in createMeasuredParagraphs()
|
/frameworks/minikin/libs/minikin/ |
D | OptimalLineBreaker.cpp | 164 std::vector<DesperateBreak> populateDesperatePoints(const MeasuredText& measured, in populateDesperatePoints() 207 OptimizeContext populateCandidates(const U16StringPiece& textBuf, const MeasuredText& measured, in populateCandidates() 278 const MeasuredText& measuredText, const LineWidth& lineWidth, 288 LineBreakResult finishBreaksOptimal(const U16StringPiece& textBuf, const MeasuredText& measured, 295 const U16StringPiece& textBuf, const MeasuredText& measured, in finishBreaksOptimal() 322 const MeasuredText& measured, in computeBreaks() 407 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineOptimal()
|
D | GreedyLineBreaker.h | 28 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured,
|
D | OptimalLineBreaker.h | 26 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured,
|
D | MeasuredText.cpp | 158 void MeasuredText::measure(const U16StringPiece& textBuf, bool computeHyphenation, in measure() 159 bool computeLayout, bool ignoreHyphenKerning, MeasuredText* hint) { in measure() 318 Layout MeasuredText::buildLayout(const U16StringPiece& textBuf, const Range& range, in buildLayout() 338 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) const { in getBounds() 356 MinikinExtent MeasuredText::getExtent(const U16StringPiece& textBuf, const Range& range) const { in getExtent()
|
D | LineBreaker.cpp | 26 const MeasuredText& measuredText, const LineWidth& lineWidth, in breakIntoLines()
|
D | GreedyLineBreaker.cpp | 41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker() 120 const MeasuredText& mMeasuredText; 389 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
|
D | Android.bp | 51 "MeasuredText.cpp",
|
/frameworks/base/libs/hwui/jni/text/ |
D | MeasuredText.cpp | 49 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph() 50 return reinterpret_cast<minikin::MeasuredText*>(ptr); in toMeasuredParagraph() 105 minikin::MeasuredText* mt = toMeasuredParagraph(ptr); in nGetWidth()
|
D | LineBreaker.cpp | 92 minikin::MeasuredText* measuredText = reinterpret_cast<minikin::MeasuredText*>(measuredTextPtr); in nComputeLineBreaks()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | MeasuredParagraphTest.java | 26 import android.graphics.text.MeasuredText; 140 MeasuredText.Builder.HYPHENATION_MODE_NONE, false, null /* no hint */, null); in buildForStaticLayout() 156 MeasuredText.Builder.HYPHENATION_MODE_NONE, false, null /* no hint */, mt); in buildForStaticLayout()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.h | 35 class MeasuredText; variable 49 minikin::MeasuredText* mt);
|
D | Canvas.h | 40 class MeasuredText; variable 258 const Paint& origPaint, const Typeface* typeface, minikin::MeasuredText* mt);
|
D | MinikinUtils.cpp | 56 minikin::MeasuredText* mt) { in doLayout()
|
D | Canvas.cpp | 163 const Paint& origPaint, const Typeface* typeface, minikin::MeasuredText* mt) { in drawText()
|
/frameworks/minikin/tests/unittest/ |
D | OptimalLineBreakerTest.cpp | 80 std::unique_ptr<MeasuredText> measuredText = in doLineBreak() 86 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, const MeasuredText& measuredText, in doLineBreak() 760 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 779 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 810 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 829 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 904 std::unique_ptr<MeasuredText> measured = builder.build( in TEST_F() 947 std::unique_ptr<MeasuredText> measured = builder.build( in TEST_F() 1102 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 1195 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() [all …]
|
D | GreedyLineBreakerTest.cpp | 84 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreak() 114 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 708 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 728 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 759 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 780 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 844 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 867 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 898 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() 1067 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F() [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 41 class MeasuredText; 625 minikin::MeasuredText* mt = reinterpret_cast<minikin::MeasuredText*>(mtHandle); in drawTextRunChars()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseRecordingCanvas.java | 26 import android.graphics.text.MeasuredText; 585 public void drawTextRun(@NonNull MeasuredText measuredText, int start, int end, in drawTextRun()
|