Home
last modified time | relevance | path

Searched refs:mDefaultPaint (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DDynamicLayoutTest.java35 protected TextPaint mDefaultPaint; field in DynamicLayoutTest
50 mDefaultPaint = new TextPaint(); in setUp()
52 mDefaultPaint, in setUp()
63 mDefaultPaint, in testConstructors()
71 mDefaultPaint, in testConstructors()
80 mDefaultPaint, in testConstructors()
91 mDefaultPaint, in testEllipsis()
110 final FontMetricsInt fontMetricsInt = mDefaultPaint.getFontMetricsInt(); in testIncludePadding()
113 mDefaultPaint, in testIncludePadding()
124 mDefaultPaint, in testIncludePadding()
DStaticLayoutTest.java60 private TextPaint mDefaultPaint; field in StaticLayoutTest
65 if (mDefaultPaint == null) { in setUp()
66 mDefaultPaint = new TextPaint(); in setUp()
74 return new StaticLayout(LAYOUT_TEXT, mDefaultPaint, in createDefaultStaticLayout()
79 return new StaticLayout(LAYOUT_TEXT, 0, LAYOUT_TEXT.length(), mDefaultPaint, in createEllipsizeStaticLayout()
87 mDefaultPaint, DEFAULT_OUTER_WIDTH, DEFAULT_ALIGN, in createEllipsizeStaticLayout()
101 new StaticLayout(LAYOUT_TEXT, mDefaultPaint, DEFAULT_OUTER_WIDTH, in testConstructor()
104 new StaticLayout(LAYOUT_TEXT, 0, LAYOUT_TEXT.length(), mDefaultPaint, in testConstructor()
107 new StaticLayout(LAYOUT_TEXT, 0, LAYOUT_TEXT.length(), mDefaultPaint, in testConstructor()
121 LAYOUT_TEXT.length(), mDefaultPaint, DEFAULT_OUTER_WIDTH); in testBuilder()
[all …]