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.java59 TextAppearanceSpan textAppearanceSpan = in testConstructor() local
63 textAppearanceSpan.writeToParcel(p, 0); in testConstructor()
86 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan(mContext, 1); in testGetFamily() local
87 assertNull(textAppearanceSpan.getFamily()); in testGetFamily()
89 textAppearanceSpan = new TextAppearanceSpan(mContext, 1, 1); in testGetFamily()
90 assertNull(textAppearanceSpan.getFamily()); in testGetFamily()
92 textAppearanceSpan = new TextAppearanceSpan("sans", 1, 6, mColorStateList, mColorStateList); in testGetFamily()
93 assertEquals("sans", textAppearanceSpan.getFamily()); in testGetFamily()
98 TextAppearanceSpan textAppearanceSpan = in testUpdateMeasureState() local
104 textAppearanceSpan.updateMeasureState(tp); in testUpdateMeasureState()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java2074 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan( in testWriteToParcel() local
2078 spannableString.setSpan(textAppearanceSpan, textAppearanceSpanStart, in testWriteToParcel()