Searched refs:MeasuredParagraph (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/ |
D | MeasuredParagraphTest.java | 65 MeasuredParagraph mt = null; in buildForBidi() 67 mt = MeasuredParagraph.buildForBidi("XXX", 0, 3, LTR, null); in buildForBidi() 80 MeasuredParagraph mt2 = MeasuredParagraph.buildForBidi("_VVV_", 1, 4, RTL, mt); in buildForBidi() 96 MeasuredParagraph mt = null; in buildForMeasurement() 98 mt = MeasuredParagraph.buildForMeasurement(PAINT, "XXX", 0, 3, LTR, null); in buildForMeasurement() 114 MeasuredParagraph mt2 = in buildForMeasurement() 115 MeasuredParagraph.buildForMeasurement(PAINT, "_VVV_", 1, 4, RTL, mt); in buildForMeasurement() 135 MeasuredParagraph mt = null; in buildForStaticLayout() 137 mt = MeasuredParagraph.buildForStaticLayout( in buildForStaticLayout() 152 MeasuredParagraph mt2 = MeasuredParagraph.buildForStaticLayout( in buildForStaticLayout() [all …]
|
/frameworks/base/core/java/android/text/ |
D | MeasuredParagraph.java | 59 public class MeasuredParagraph { class 62 private MeasuredParagraph() {} // Use build static functions instead. in MeasuredParagraph() method in MeasuredParagraph 64 private static final SynchronizedPool<MeasuredParagraph> sPool = new SynchronizedPool<>(1); 66 private static @NonNull MeasuredParagraph obtain() { // Use build static functions instead. in obtain() 67 final MeasuredParagraph mt = sPool.acquire(); in obtain() 68 return mt != null ? mt : new MeasuredParagraph(); in obtain() 311 public static @NonNull MeasuredParagraph buildForBidi(@NonNull CharSequence text, in buildForBidi() 315 @Nullable MeasuredParagraph recycle) { in buildForBidi() 316 final MeasuredParagraph mt = recycle == null ? obtain() : recycle; in buildForBidi() 336 public static @NonNull MeasuredParagraph buildForMeasurement(@NonNull TextPaint paint, in buildForMeasurement() [all …]
|
D | PrecomputedText.java | 322 public final @NonNull MeasuredParagraph measured; 328 public ParagraphInfo(@IntRange(from = 0) int paraEnd, @NonNull MeasuredParagraph measured) { in ParagraphInfo() 406 result.add(new ParagraphInfo(paraEnd, MeasuredParagraph.buildForStaticLayout( in createMeasuredParagraphsFromPrecomputedText() 436 result.add(new ParagraphInfo(paraEnd, MeasuredParagraph.buildForStaticLayout( in createMeasuredParagraphs() 510 public @NonNull MeasuredParagraph getMeasuredParagraph(@IntRange(from = 0) int paraIndex) { in getMeasuredParagraph()
|
D | StaticLayout.java | 754 final MeasuredParagraph measuredPara = paragraphInfo[paraIndex].measured; in generate() 897 final MeasuredParagraph measuredPara = in generate() 898 MeasuredParagraph.buildForBidi(source, bufEnd, bufEnd, textDir, null); in generate() 917 @NonNull final MeasuredParagraph measured, 1061 MeasuredParagraph measured, int widthStart,
|
D | TextUtils.java | 1322 MeasuredParagraph mt = null; in ellipsize() 1324 mt = MeasuredParagraph.buildForMeasurement(paint, text, 0, text.length(), textDir, mt); in ellipsize() 1517 MeasuredParagraph mt = null; in commaEllipsize() 1518 MeasuredParagraph tempMt = null; in commaEllipsize() 1521 mt = MeasuredParagraph.buildForMeasurement(p, text, 0, len, textDir, mt); in commaEllipsize() 1561 tempMt = MeasuredParagraph.buildForMeasurement( in commaEllipsize()
|
D | Layout.java | 2146 MeasuredParagraph mt = null; 2149 mt = MeasuredParagraph.buildForBidi(text, start, end, textDir, mt);
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseRecordingCanvas.java | 26 import android.text.MeasuredParagraph; 528 final MeasuredParagraph mp = pt.getMeasuredParagraph(paraIndex); in drawTextRun()
|
D | BaseCanvas.java | 28 import android.text.MeasuredParagraph; 563 final MeasuredParagraph mp = pt.getMeasuredParagraph(paraIndex); in drawTextRun()
|
/frameworks/base/config/ |
D | preloaded-classes | 3461 android.text.MeasuredParagraph
|