Searched refs:MeasuredParagraph (Results 1 – 11 of 11) 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 | BaseCanvas.java | 28 import android.text.MeasuredParagraph; 563 final MeasuredParagraph mp = pt.getMeasuredParagraph(paraIndex); in drawTextRun()
|
D | BaseRecordingCanvas.java | 26 import android.text.MeasuredParagraph; 528 final MeasuredParagraph mp = pt.getMeasuredParagraph(paraIndex); in drawTextRun()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 14909 HSPLandroid/text/MeasuredParagraph;-><init>()V 14910 HSPLandroid/text/MeasuredParagraph;->applyMetricsAffectingSpan(Landroid/text/TextPaint;[Landroid/te… 14911 HSPLandroid/text/MeasuredParagraph;->applyReplacementRun(Landroid/text/style/ReplacementSpan;IILand… 14912 HSPLandroid/text/MeasuredParagraph;->applyStyleRun(IILandroid/graphics/text/MeasuredText$Builder;)V 14913 HSPLandroid/text/MeasuredParagraph;->breakText(IZF)I 14914 …MeasuredParagraph;->buildForBidi(Ljava/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;La… 14915 …MeasuredParagraph;->buildForMeasurement(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroid… 14916 …MeasuredParagraph;->buildForStaticLayout(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroi… 14917 HSPLandroid/text/MeasuredParagraph;->getCharWidthAt(I)F 14918 HSPLandroid/text/MeasuredParagraph;->getChars()[C [all …]
|
D | hiddenapi-greylist-max-o.txt | 70240 Landroid/text/MeasuredParagraph;-><init>()V 70241 Landroid/text/MeasuredParagraph;->applyMetricsAffectingSpan(Landroid/text/TextPaint;[Landroid/text/… 70242 Landroid/text/MeasuredParagraph;->applyReplacementRun(Landroid/text/style/ReplacementSpan;IIJ)V 70243 Landroid/text/MeasuredParagraph;->applyStyleRun(IIJ)V 70244 Landroid/text/MeasuredParagraph;->bindNativeObject(J)V 70245 Landroid/text/MeasuredParagraph;->breakText(IZF)I 70246 …MeasuredParagraph;->buildForBidi(Ljava/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;La… 70247 …MeasuredParagraph;->buildForMeasurement(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroid… 70248 …MeasuredParagraph;->buildForStaticLayout(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroi… 70249 Landroid/text/MeasuredParagraph;->getBounds(IILandroid/graphics/Rect;)V [all …]
|
D | preloaded-classes | 3461 android.text.MeasuredParagraph
|