Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DMeasuredParagraphTest.java66 MeasuredParagraph mt = null; in buildForBidi()
68 mt = MeasuredParagraph.buildForBidi("XXX", 0, 3, LTR, null); in buildForBidi()
81 MeasuredParagraph mt2 = MeasuredParagraph.buildForBidi("_VVV_", 1, 4, RTL, mt); in buildForBidi()
97 MeasuredParagraph mt = null; in buildForMeasurement()
99 mt = MeasuredParagraph.buildForMeasurement(PAINT, "XXX", 0, 3, LTR, null); in buildForMeasurement()
115 MeasuredParagraph mt2 = in buildForMeasurement()
116 MeasuredParagraph.buildForMeasurement(PAINT, "_VVV_", 1, 4, RTL, mt); in buildForMeasurement()
136 MeasuredParagraph mt = null; in buildForStaticLayout()
138 mt = MeasuredParagraph.buildForStaticLayout( in buildForStaticLayout()
154 MeasuredParagraph mt2 = MeasuredParagraph.buildForStaticLayout( in buildForStaticLayout()
[all …]
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java71 public class MeasuredParagraph { class
74 private MeasuredParagraph() {} // Use build static functions instead. in MeasuredParagraph() method in MeasuredParagraph
76 private static final SynchronizedPool<MeasuredParagraph> sPool = new SynchronizedPool<>(1);
78 private static @NonNull MeasuredParagraph obtain() { // Use build static functions instead. in obtain()
79 final MeasuredParagraph mt = sPool.acquire(); in obtain()
80 return mt != null ? mt : new MeasuredParagraph(); in obtain()
419 public static @NonNull MeasuredParagraph buildForBidi(@NonNull CharSequence text, in buildForBidi()
423 @Nullable MeasuredParagraph recycle) { in buildForBidi()
424 final MeasuredParagraph mt = recycle == null ? obtain() : recycle; in buildForBidi()
445 public static @NonNull MeasuredParagraph buildForMeasurement(@NonNull TextPaint paint, in buildForMeasurement()
[all …]
DTextShaper.java216 MeasuredParagraph mp = MeasuredParagraph.buildForBidi( in shapeText()
DPrecomputedText.java365 public final @NonNull MeasuredParagraph measured;
371 public ParagraphInfo(@IntRange(from = 0) int paraEnd, @NonNull MeasuredParagraph measured) { in ParagraphInfo()
473 result.add(new ParagraphInfo(paraEnd, MeasuredParagraph.buildForStaticLayout( in createMeasuredParagraphsFromPrecomputedText()
526 result.add(new ParagraphInfo(paraEnd, MeasuredParagraph.buildForStaticLayout( in createMeasuredParagraphs()
601 public @NonNull MeasuredParagraph getMeasuredParagraph(@IntRange(from = 0) int paraIndex) { in getMeasuredParagraph()
DStaticLayout.java937 final MeasuredParagraph measuredPara = paragraphInfo[paraIndex].measured; in generate()
1095 final MeasuredParagraph measuredPara = in generate()
1096 MeasuredParagraph.buildForBidi(source, bufEnd, bufEnd, textDir, null); in generate()
1123 @NonNull final MeasuredParagraph measured,
1284 MeasuredParagraph measured, int widthStart,
DTextUtils.java1412 MeasuredParagraph mt = null; in ellipsize()
1414 mt = MeasuredParagraph.buildForMeasurement(paint, text, 0, text.length(), textDir, mt); in ellipsize()
1607 MeasuredParagraph mt = null; in commaEllipsize()
1608 MeasuredParagraph tempMt = null; in commaEllipsize()
1611 mt = MeasuredParagraph.buildForMeasurement(p, text, 0, len, textDir, mt); in commaEllipsize()
1651 tempMt = MeasuredParagraph.buildForMeasurement( in commaEllipsize()
DLayout.java3223 MeasuredParagraph mt = null;
3226 mt = MeasuredParagraph.buildForBidi(text, start, end, textDir, mt);
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java31 import android.text.MeasuredParagraph;
625 final MeasuredParagraph mp = pt.getMeasuredParagraph(paraIndex); in drawTextRun()
DBaseRecordingCanvas.java28 import android.text.MeasuredParagraph;
563 final MeasuredParagraph mp = pt.getMeasuredParagraph(paraIndex); in drawTextRun()
/frameworks/base/core/api/
Dtest-lint-baseline.txt2168 UnflaggedApi: android.text.MeasuredParagraph:
2169 New API must be flagged with @FlaggedApi: class android.text.MeasuredParagraph
2170MeasuredParagraph#buildForStaticLayoutTest(android.text.TextPaint, android.graphics.text.LineBreak…
2171MeasuredParagraph.buildForStaticLayoutTest(android.text.TextPaint,android.graphics.text.LineBreakC…
2172 UnflaggedApi: android.text.MeasuredParagraph.StyleRunCallback:
2173 New API must be flagged with @FlaggedApi: class android.text.MeasuredParagraph.StyleRunCallback
2174 UnflaggedApi: android.text.MeasuredParagraph.StyleRunCallback#onAppendReplacementRun(android.graphi…
2175 …New API must be flagged with @FlaggedApi: method android.text.MeasuredParagraph.StyleRunCallback.o…
2176 UnflaggedApi: android.text.MeasuredParagraph.StyleRunCallback#onAppendStyleRun(android.graphics.Pai…
2177 …New API must be flagged with @FlaggedApi: method android.text.MeasuredParagraph.StyleRunCallback.o…
Dtest-current.txt3467 public class MeasuredParagraph {
3468MeasuredParagraph buildForStaticLayoutTest(@NonNull android.text.TextPaint, @Nullable android.grap…
3471 …d.text.flags.no_break_no_hyphenation_span") public static interface MeasuredParagraph.StyleRunCall…
/frameworks/base/config/
Ddirty-image-objects1397 Landroid/text/MeasuredParagraph;.sPool:Landroid/util/Pools$SynchronizedPool;.mPool:[Ljava/lang/Obje…
1398 Landroid/text/MeasuredParagraph;.sPool:Landroid/util/Pools$SynchronizedPool; 352
Dboot-image-profile.txt14772 HSPLandroid/text/MeasuredParagraph;-><init>()V
14773MeasuredParagraph;->applyMetricsAffectingSpan(Landroid/text/TextPaint;Landroid/graphics/text/LineB…
14774 HSPLandroid/text/MeasuredParagraph;->breakText(IZF)I
14775MeasuredParagraph;->buildForBidi(Ljava/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;La…
14776MeasuredParagraph;->buildForMeasurement(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroid…
14777 HSPLandroid/text/MeasuredParagraph;->getCharWidthAt(I)F
14778 HSPLandroid/text/MeasuredParagraph;->getChars()[C
14779 HSPLandroid/text/MeasuredParagraph;->getDirections(II)Landroid/text/Layout$Directions;
14780 HSPLandroid/text/MeasuredParagraph;->getFontMetrics()Landroid/text/AutoGrowArray$IntArray;
14781 HSPLandroid/text/MeasuredParagraph;->getMeasuredText()Landroid/graphics/text/MeasuredText;
[all …]
Dpreloaded-classes8130 android.text.MeasuredParagraph$StyleRunCallback
8131 android.text.MeasuredParagraph
/frameworks/base/boot/
Dboot-image-profile.txt14708 HSPLandroid/text/MeasuredParagraph;-><init>()V
14709MeasuredParagraph;->applyMetricsAffectingSpan(Landroid/text/TextPaint;Landroid/graphics/text/LineB…
14710 HSPLandroid/text/MeasuredParagraph;->breakText(IZF)I
14711MeasuredParagraph;->buildForBidi(Ljava/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;La…
14712MeasuredParagraph;->buildForMeasurement(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroid…
14713 HSPLandroid/text/MeasuredParagraph;->getCharWidthAt(I)F
14714 HSPLandroid/text/MeasuredParagraph;->getChars()[C
14715 HSPLandroid/text/MeasuredParagraph;->getDirections(II)Landroid/text/Layout$Directions;
14716 HSPLandroid/text/MeasuredParagraph;->getFontMetrics()Landroid/text/AutoGrowArray$IntArray;
14717 HSPLandroid/text/MeasuredParagraph;->getMeasuredText()Landroid/graphics/text/MeasuredText;
[all …]
Dpreloaded-classes8099 android.text.MeasuredParagraph$StyleRunCallback
8100 android.text.MeasuredParagraph
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt55574 Landroid/text/MeasuredParagraph;-><init>()V
55575 Landroid/text/MeasuredParagraph;->applyMetricsAffectingSpan(Landroid/text/TextPaint;[Landroid/text/…
55576 Landroid/text/MeasuredParagraph;->applyReplacementRun(Landroid/text/style/ReplacementSpan;IIJ)V
55577 Landroid/text/MeasuredParagraph;->applyStyleRun(IIJ)V
55578 Landroid/text/MeasuredParagraph;->bindNativeObject(J)V
55579 Landroid/text/MeasuredParagraph;->breakText(IZF)I
55580MeasuredParagraph;->buildForBidi(Ljava/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;La…
55581MeasuredParagraph;->buildForMeasurement(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroid…
55582MeasuredParagraph;->buildForStaticLayout(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroi…
55583 Landroid/text/MeasuredParagraph;->getBounds(IILandroid/graphics/Rect;)V
[all …]