Searched refs:mDefaultPaint (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | DynamicLayoutTest.java | 35 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()
|
D | StaticLayoutTest.java | 64 private TextPaint mDefaultPaint; field in StaticLayoutTest 73 if (mDefaultPaint == null) { in setUp() 74 mDefaultPaint = new TextPaint(); in setUp() 82 return new StaticLayout(LAYOUT_TEXT, mDefaultPaint, in createDefaultStaticLayout() 87 return new StaticLayout(LAYOUT_TEXT, 0, LAYOUT_TEXT.length(), mDefaultPaint, in createEllipsizeStaticLayout() 95 mDefaultPaint, DEFAULT_OUTER_WIDTH, DEFAULT_ALIGN, in createEllipsizeStaticLayout() 109 new StaticLayout(LAYOUT_TEXT, mDefaultPaint, DEFAULT_OUTER_WIDTH, in testConstructor() 112 new StaticLayout(LAYOUT_TEXT, 0, LAYOUT_TEXT.length(), mDefaultPaint, in testConstructor() 115 new StaticLayout(LAYOUT_TEXT, 0, LAYOUT_TEXT.length(), mDefaultPaint, in testConstructor() 129 LAYOUT_TEXT.length(), mDefaultPaint, DEFAULT_OUTER_WIDTH); in testBuilder() [all …]
|