Home
last modified time | relevance | path

Searched refs:MeasuredParagraph (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DMeasuredParagraphTest.java63 MeasuredParagraph mt = null; in buildForBidi()
65 mt = MeasuredParagraph.buildForBidi("XXX", 0, 3, LTR, null); in buildForBidi()
78 MeasuredParagraph mt2 = MeasuredParagraph.buildForBidi("_VVV_", 1, 4, RTL, mt); in buildForBidi()
94 MeasuredParagraph mt = null; in buildForMeasurement()
96 mt = MeasuredParagraph.buildForMeasurement(PAINT, "XXX", 0, 3, LTR, null); in buildForMeasurement()
112 MeasuredParagraph mt2 = in buildForMeasurement()
113 MeasuredParagraph.buildForMeasurement(PAINT, "_VVV_", 1, 4, RTL, mt); in buildForMeasurement()
133 MeasuredParagraph mt = null; in buildForStaticLayout()
135 mt = MeasuredParagraph.buildForStaticLayout(PAINT, "XXX", 0, 3, LTR, false, false, null); in buildForStaticLayout()
149 MeasuredParagraph mt2 = in buildForStaticLayout()
[all …]
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java62 public class MeasuredParagraph { class
66 MeasuredParagraph.class.getClassLoader(), nGetReleaseFunc(), 1024);
68 private MeasuredParagraph() {} // Use build static functions instead. in MeasuredParagraph() method in MeasuredParagraph
70 private static final SynchronizedPool<MeasuredParagraph> sPool = new SynchronizedPool<>(1);
72 private static @NonNull MeasuredParagraph obtain() { // Use build static functions instead. in obtain()
73 final MeasuredParagraph mt = sPool.acquire(); in obtain()
74 return mt != null ? mt : new MeasuredParagraph(); in obtain()
325 public static @NonNull MeasuredParagraph buildForBidi(@NonNull CharSequence text, in buildForBidi()
329 @Nullable MeasuredParagraph recycle) { in buildForBidi()
330 final MeasuredParagraph mt = recycle == null ? obtain() : recycle; in buildForBidi()
[all …]
DPrecomputedText.java281 public final @NonNull MeasuredParagraph measured;
287 public ParagraphInfo(@IntRange(from = 0) int paraEnd, @NonNull MeasuredParagraph measured) { in ParagraphInfo()
351 result.add(new ParagraphInfo(paraEnd, MeasuredParagraph.buildForStaticLayout( in createMeasuredParagraphs()
424 public @NonNull MeasuredParagraph getMeasuredParagraph(@IntRange(from = 0) int paraIndex) { in getMeasuredParagraph()
DTextUtils.java1247 MeasuredParagraph mt = null; in ellipsize()
1249 mt = MeasuredParagraph.buildForMeasurement(paint, text, 0, text.length(), textDir, mt); in ellipsize()
1442 MeasuredParagraph mt = null; in commaEllipsize()
1443 MeasuredParagraph tempMt = null; in commaEllipsize()
1446 mt = MeasuredParagraph.buildForMeasurement(p, text, 0, len, textDir, mt); in commaEllipsize()
1486 tempMt = MeasuredParagraph.buildForMeasurement( in commaEllipsize()
DStaticLayout.java742 final MeasuredParagraph measuredPara = paragraphInfo[paraIndex].measured; in generate()
893 final MeasuredParagraph measuredPara = in generate()
894 MeasuredParagraph.buildForBidi(source, bufEnd, bufEnd, textDir, null); in generate()
915 final int flags, final boolean needMultiply, @NonNull final MeasuredParagraph measured,
DLayout.java2077 MeasuredParagraph mt = null;
2080 mt = MeasuredParagraph.buildForBidi(text, start, end, textDir, mt);
/frameworks/base/config/
Dboot-image-profile.txt31229 HSPLandroid/text/MeasuredParagraph;-><init>()V
31230 HSPLandroid/text/MeasuredParagraph;->applyMetricsAffectingSpan(Landroid/text/TextPaint;[Landroid/te…
31231 HSPLandroid/text/MeasuredParagraph;->applyReplacementRun(Landroid/text/style/ReplacementSpan;IIJ)V
31232 HSPLandroid/text/MeasuredParagraph;->applyStyleRun(IIJ)V
31233 HSPLandroid/text/MeasuredParagraph;->breakText(IZF)I
31234MeasuredParagraph;->buildForBidi(Ljava/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;La…
31235MeasuredParagraph;->buildForMeasurement(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroid…
31236MeasuredParagraph;->buildForStaticLayout(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroi…
31237 HSPLandroid/text/MeasuredParagraph;->getChars()[C
31238 HSPLandroid/text/MeasuredParagraph;->getDirections(II)Landroid/text/Layout$Directions;
[all …]
Dpreloaded-classes2955 android.text.MeasuredParagraph