Searched refs:defValue (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | ContextThemeWrapperTest.java | 161 final int defValue = -1; in verifyIdenticalTextAppearanceStyle() local 168 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColor, defValue), in verifyIdenticalTextAppearanceStyle() 169 ta.getColor(R.styleable.TextAppearance_textColor, defValue)); in verifyIdenticalTextAppearanceStyle() 170 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHint, defValue), in verifyIdenticalTextAppearanceStyle() 171 ta.getColor(R.styleable.TextAppearance_textColorHint, defValue)); in verifyIdenticalTextAppearanceStyle() 172 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorLink, defValue), in verifyIdenticalTextAppearanceStyle() 173 ta.getColor(R.styleable.TextAppearance_textColorLink, defValue)); in verifyIdenticalTextAppearanceStyle() 174 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHighlight, defValue), in verifyIdenticalTextAppearanceStyle() 175 ta.getColor(R.styleable.TextAppearance_textColorHighlight, defValue)); in verifyIdenticalTextAppearanceStyle() 176 assertEquals(expectedTa.getDimension(R.styleable.TextAppearance_textSize, defValue), in verifyIdenticalTextAppearanceStyle() [all …]
|
D | ViewGroup_LayoutParamsTest.java | 73 int defValue = -1; in testSetBaseAttributes() local 74 assertEquals(array.getDimensionPixelSize(R.styleable.style1_type6, defValue), in testSetBaseAttributes() 76 assertEquals(array.getDimensionPixelSize(R.styleable.style1_type7, defValue), in testSetBaseAttributes()
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 172 final int defValue = -1; in assertTextAppearanceStyle() local 179 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColor, defValue), in assertTextAppearanceStyle() 180 ta.getColor(R.styleable.TextAppearance_textColor, defValue)); in assertTextAppearanceStyle() 181 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHint, defValue), in assertTextAppearanceStyle() 182 ta.getColor(R.styleable.TextAppearance_textColorHint, defValue)); in assertTextAppearanceStyle() 183 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorLink, defValue), in assertTextAppearanceStyle() 184 ta.getColor(R.styleable.TextAppearance_textColorLink, defValue)); in assertTextAppearanceStyle() 185 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHighlight, defValue), in assertTextAppearanceStyle() 186 ta.getColor(R.styleable.TextAppearance_textColorHighlight, defValue)); in assertTextAppearanceStyle() 187 assertEquals(expectedTa.getDimension(R.styleable.TextAppearance_textSize, defValue), in assertTextAppearanceStyle() [all …]
|