Home
last modified time | relevance | path

Searched refs:TextLine (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DTextLineLetterSpacingTest.kt47 assertThat(TextLine.calculateRunFlag(0, 1, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
49 assertThat(TextLine.calculateRunFlag(0, 1, Layout.DIR_RIGHT_TO_LEFT)) in calculateRunFlagTest()
54 assertThat(TextLine.calculateRunFlag(0, 2, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
57 assertThat(TextLine.calculateRunFlag(1, 2, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
60 assertThat(TextLine.calculateRunFlag(0, 2, Layout.DIR_RIGHT_TO_LEFT)) in calculateRunFlagTest()
63 assertThat(TextLine.calculateRunFlag(1, 2, Layout.DIR_RIGHT_TO_LEFT)) in calculateRunFlagTest()
68 assertThat(TextLine.calculateRunFlag(0, 3, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
71 assertThat(TextLine.calculateRunFlag(1, 3, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
74 assertThat(TextLine.calculateRunFlag(2, 3, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
77 assertThat(TextLine.calculateRunFlag(0, 3, Layout.DIR_RIGHT_TO_LEFT)) in calculateRunFlagTest()
[all …]
DTextLineTest.java49 final TextLine tl = TextLine.obtain(); in stretchesToFullWidth()
58 TextLine.recycle(tl); in stretchesToFullWidth()
112 private TextLine getTextLine(CharSequence str, TextPaint paint, TabStops tabStops) { in getTextLine()
116 TextLine tl = TextLine.obtain(); in getTextLine()
124 private TextLine getTextLine(CharSequence str, TextPaint paint) { in getTextLine()
128 private void assertMeasurements(final TextLine tl, final int length, boolean trailing, in assertMeasurements()
146 TextLine tl = getTextLine("IIIIIV", paint); in testMeasure_LTR()
159 TextLine tl = getTextLine("\u05D0\u05D0\u05D0\u05D0\u05D0\u05D1", paint); in testMeasure_RTL()
172 TextLine tl = getTextLine("II\u05D0\u05D0II", paint); in testMeasure_BiDi()
189 TextLine tl = getTextLine("I" + RLI + "I\u05D0\u05D0" + PDI + "I", paint); in testMeasure_BiDi2()
[all …]
DTextLineJustificationTest.kt39 private fun makeTextLine(cs: CharSequence, paint: TextPaint) = TextLine.obtain().apply { in <lambda>()
44 private fun getClusterCount(cs: CharSequence, paint: TextPaint) = TextLine.LineInfo().apply { in <lambda>()
47 TextLine.recycle(it) in <lambda>()
76 TextLine.recycle(tl) in justifyTest_IntrCharacter_Latin()
93 TextLine.recycle(tl) in justifyTest_IntrCharacter_Japanese()
110 TextLine.recycle(tl) in justifyTest_IntrWord_Latin()
127 TextLine.recycle(tl) in justifyTest_IntrWord_Japanese()
/frameworks/base/core/java/android/text/
DTextShaper.java218 TextLine tl = TextLine.obtain(); in shapeText()
230 TextLine.recycle(tl); in shapeText()
DLayout.java785 TextLine tl = TextLine.obtain(); in drawText()
936 TextLine.recycle(tl); in drawText()
1256 TextLine tl = TextLine.obtain(); in computeDrawingBoundingBox()
1313 TextLine.recycle(tl); in computeDrawingBoundingBox()
1686 TextLine tl = TextLine.obtain(); in getHorizontal()
1691 TextLine.recycle(tl); in getHorizontal()
1727 TextLine tl = TextLine.obtain(); in getLineHorizontals()
1738 TextLine.recycle(tl); in getLineHorizontals()
1778 final TextLine tl = TextLine.obtain(); in fillHorizontalBoundsForLine()
1787 TextLine.recycle(tl); in fillHorizontalBoundsForLine()
[all …]
DBoringLayout.java458 TextLine line = TextLine.obtain(); in init()
463 TextLine.recycle(line); in init()
603 TextLine line = TextLine.obtain(); in isBoring()
610 TextLine.recycle(line); in isBoring()
DTextLine.java56 public class TextLine { class
139 private static final TextLine[] sCached = new TextLine[3];
148 public static TextLine obtain() { in obtain()
149 TextLine tl; in obtain()
159 tl = new TextLine(); in obtain()
174 public static TextLine recycle(TextLine tl) { in recycle()
/frameworks/base/config/
Ddirty-image-objects569 Landroid/text/TextLine;.sCached:[Landroid/text/TextLine; 82
Dboot-image-profile.txt14719 …nnedEllipsizer;,Landroid/text/SpannableString;]Landroid/text/TextLine;Landroid/text/TextLine;]Land…
14735 …text/BoringLayout;,Landroid/text/StaticLayout;]Landroid/text/TextLine;Landroid/text/TextLine;]Land…
15001 HSPLandroid/text/TextLine$DecorationInfo;-><init>()V
15002 HSPLandroid/text/TextLine$DecorationInfo;->copyInfo()Landroid/text/TextLine$DecorationInfo;
15003 HSPLandroid/text/TextLine$DecorationInfo;->hasDecoration()Z
15004 HSPLandroid/text/TextLine;-><init>()V
15005 HSPLandroid/text/TextLine;->adjustEndHyphenEdit(II)I
15006 HSPLandroid/text/TextLine;->adjustStartHyphenEdit(II)I
15007 HSPLandroid/text/TextLine;->draw(Landroid/graphics/Canvas;FIII)V
15008 HSPLandroid/text/TextLine;->drawStroke(Landroid/text/TextPaint;Landroid/graphics/Canvas;IFFFFF)V
[all …]
Dpreloaded-classes8168 android.text.TextLine$DecorationInfo-IA
8169 android.text.TextLine$DecorationInfo
8170 android.text.TextLine$LineInfo
8171 android.text.TextLine
17410 [Landroid.text.TextLine;
/frameworks/base/boot/
Dboot-image-profile.txt14655 …nnedEllipsizer;,Landroid/text/SpannableString;]Landroid/text/TextLine;Landroid/text/TextLine;]Land…
14671 …text/BoringLayout;,Landroid/text/StaticLayout;]Landroid/text/TextLine;Landroid/text/TextLine;]Land…
14937 HSPLandroid/text/TextLine$DecorationInfo;-><init>()V
14938 HSPLandroid/text/TextLine$DecorationInfo;->copyInfo()Landroid/text/TextLine$DecorationInfo;
14939 HSPLandroid/text/TextLine$DecorationInfo;->hasDecoration()Z
14940 HSPLandroid/text/TextLine;-><init>()V
14941 HSPLandroid/text/TextLine;->adjustEndHyphenEdit(II)I
14942 HSPLandroid/text/TextLine;->adjustStartHyphenEdit(II)I
14943 HSPLandroid/text/TextLine;->draw(Landroid/graphics/Canvas;FIII)V
14944 HSPLandroid/text/TextLine;->drawStroke(Landroid/text/TextPaint;Landroid/graphics/Canvas;IFFFFF)V
[all …]
Dpreloaded-classes8137 android.text.TextLine$DecorationInfo-IA
8138 android.text.TextLine$DecorationInfo
8139 android.text.TextLine$LineInfo
8140 android.text.TextLine
14384 [Landroid.text.TextLine;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt56249 Landroid/text/TextLine$DecorationInfo;-><init>()V
56250 Landroid/text/TextLine$DecorationInfo;->copyInfo()Landroid/text/TextLine$DecorationInfo;
56251 Landroid/text/TextLine$DecorationInfo;->end:I
56252 Landroid/text/TextLine$DecorationInfo;->hasDecoration()Z
56253 Landroid/text/TextLine$DecorationInfo;->isStrikeThruText:Z
56254 Landroid/text/TextLine$DecorationInfo;->isUnderlineText:Z
56255 Landroid/text/TextLine$DecorationInfo;->start:I
56256 Landroid/text/TextLine$DecorationInfo;->underlineColor:I
56257 Landroid/text/TextLine$DecorationInfo;->underlineThickness:F
56258 Landroid/text/TextLine;-><init>()V
[all …]