Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/style/cts/
DTextAppearanceSpanTest.java67 TextAppearanceSpan textAppearanceSpan = in testConstructor() local
71 textAppearanceSpan.writeToParcel(p, 0); in testConstructor()
94 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan(mContext, 1); in testGetFamily() local
95 assertNull(textAppearanceSpan.getFamily()); in testGetFamily()
97 textAppearanceSpan = new TextAppearanceSpan(mContext, 1, 1); in testGetFamily()
98 assertNull(textAppearanceSpan.getFamily()); in testGetFamily()
100 textAppearanceSpan = new TextAppearanceSpan("sans", 1, 6, mColorStateList, mColorStateList); in testGetFamily()
101 assertEquals("sans", textAppearanceSpan.getFamily()); in testGetFamily()
106 TextAppearanceSpan textAppearanceSpan = in testUpdateMeasureState() local
112 textAppearanceSpan.updateMeasureState(tp); in testUpdateMeasureState()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java2086 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan( in testWriteToParcel() local
2090 spannableString.setSpan(textAppearanceSpan, textAppearanceSpanStart, in testWriteToParcel()