/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 174 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()
|
D | LineBreaker.h | 117 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 | 51 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()
|
D | LineBreaker.java | 475 @NonNull MeasuredText measuredPara, in computeLineBreaks()
|
/frameworks/base/core/java/android/text/ |
D | MeasuredParagraph.java | 25 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/ |
D | OptimalLineBreaker.cpp | 164 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()
|
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 | 127 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()
|
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; 388 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
|
D | Android.bp | 43 "MeasuredText.cpp",
|
/frameworks/base/core/jni/android/graphics/text/ |
D | MeasuredText.cpp | 50 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()
|
D | LineBreaker.cpp | 92 minikin::MeasuredText* measuredText = reinterpret_cast<minikin::MeasuredText*>(measuredTextPtr); in nComputeLineBreaks()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.h | 35 class MeasuredText; variable 49 minikin::MeasuredText* mt);
|
D | Canvas.h | 37 class MeasuredText; variable 288 const Paint& origPaint, const Typeface* typeface, minikin::MeasuredText* mt);
|
D | MinikinUtils.cpp | 55 minikin::MeasuredText* mt) { in doLayout()
|
D | Canvas.cpp | 153 const Paint& origPaint, const Typeface* typeface, minikin::MeasuredText* mt) { in drawText()
|
/frameworks/minikin/tests/unittest/ |
D | GreedyLineBreakerTest.cpp | 83 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 …]
|
D | OptimalLineBreakerTest.cpp | 84 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/ |
D | android_graphics_Canvas.cpp | 37 class MeasuredText; 576 minikin::MeasuredText* mt = reinterpret_cast<minikin::MeasuredText*>(mtHandle); in drawTextRunChars()
|
D | Android.bp | 162 "android/graphics/text/MeasuredText.cpp",
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseRecordingCanvas.java | 24 import android.graphics.text.MeasuredText; 551 public void drawTextRun(@NonNull MeasuredText measuredText, int start, int end, in drawTextRun()
|
D | BaseCanvas.java | 26 import android.graphics.text.MeasuredText; 585 public void drawTextRun(@NonNull MeasuredText measuredText, int start, int end, in drawTextRun()
|