Searched refs:expectedTa (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | ContextThemeWrapperTest.java | 128 TypedArray expectedTa = expected.obtainStyledAttributes(R.styleable.TextAppearance); in assertEqualsTextAppearanceStyle() local 129 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in assertEqualsTextAppearanceStyle() 130 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColor, defValue), in assertEqualsTextAppearanceStyle() 132 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHint, defValue), in assertEqualsTextAppearanceStyle() 134 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorLink, defValue), in assertEqualsTextAppearanceStyle() 136 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHighlight, defValue), in assertEqualsTextAppearanceStyle() 138 assertEquals(expectedTa.getDimension(R.styleable.TextAppearance_textSize, defValue), in assertEqualsTextAppearanceStyle() 140 assertEquals(expectedTa.getInt(R.styleable.TextAppearance_textStyle, defValue), in assertEqualsTextAppearanceStyle()
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 132 TypedArray expectedTa = expected.obtainStyledAttributes(R.styleable.TextAppearance); in assertTextAppearanceStyle() local 133 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in assertTextAppearanceStyle() 134 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColor, defValue), in assertTextAppearanceStyle() 136 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHint, defValue), in assertTextAppearanceStyle() 138 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorLink, defValue), in assertTextAppearanceStyle() 140 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHighlight, defValue), in assertTextAppearanceStyle() 142 assertEquals(expectedTa.getDimension(R.styleable.TextAppearance_textSize, defValue), in assertTextAppearanceStyle() 144 assertEquals(expectedTa.getInt(R.styleable.TextAppearance_textStyle, defValue), in assertTextAppearanceStyle()
|