Searched refs:setTintList (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ProgressBarTest.java | 447 verify(mockProgressDrawable, never()).setTintList(any(ColorStateList.class)); in testProgressTint() 451 verify(mockProgressDrawable, never()).setTintList(any(ColorStateList.class)); in testProgressTint() 455 verify(mockProgressDrawable, never()).setTintList(any(ColorStateList.class)); in testProgressTint() 459 verify(mockProgressDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testProgressTint() 474 verify(mockProgressDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testProgressTint() 492 verify(mockIndeterminateDrawable, never()).setTintList(any(ColorStateList.class)); in testIndeterminateTint() 497 verify(mockIndeterminateDrawable, times(1)).setTintList( in testIndeterminateTint() 508 verify(mockIndeterminateDrawable, times(1)).setTintList( in testIndeterminateTint()
|
D | AbsSeekBarTest.java | 317 verify(mockThumb, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testThumbTint() 321 verify(mockThumb, times(1)).setTintList(TestUtils.colorStateListOf(Color.RED)); in testThumbTint() 330 verify(mockThumb, times(1)).setTintList(TestUtils.colorStateListOf(Color.RED)); in testThumbTint() 346 verify(mockTickMark, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testTickMarkTint() 350 verify(mockTickMark, times(1)).setTintList(TestUtils.colorStateListOf(Color.RED)); in testTickMarkTint() 359 verify(mockTickMark, times(1)).setTintList(TestUtils.colorStateListOf(Color.RED)); in testTickMarkTint()
|
D | CompoundButtonTest.java | 369 verify(mockDrawable, never()).setTintList(any(ColorStateList.class)); in testButtonTint() 373 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTint() 379 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTint()
|
D | FrameLayoutTest.java | 294 verify(foreground, never()).setTintList(any(ColorStateList.class)); in testForegroundTint() 299 verify(foreground, times(1)).setTintList(colorStateListCaptor.capture()); in testForegroundTint() 306 verify(foreground, times(1)).setTintList(colorStateListCaptor.capture()); in testForegroundTint()
|
D | ImageViewTest.java | 539 verify(drawable, never()).setTintList(any(ColorStateList.class)); in testImageTintDrawableUpdates() 543 verify(drawable, times(1)).setTintList(any(ColorStateList.class)); in testImageTintDrawableUpdates() 548 verify(drawable, times(2)).setTintList(any(ColorStateList.class)); in testImageTintDrawableUpdates()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 198 icon.setTintList(ColorStateList.valueOf(Color.RED)); in verifyIconValidity()
|
D | DefaultFocusHighlightTest.java | 224 drawable.setTintList(stateList); in testColorStateListHandledDrawable()
|
D | DrawableContainerTest.java | 330 mDrawableContainer.setTintList(null); in testSetTint() 824 c1.setTintList(csl); in testStatefulnessChange()
|
D | BitmapDrawableTest.java | 317 d.setTintList(null); in testSetTint()
|
D | NinePatchDrawableTest.java | 223 mNinePatchDrawable.setTintList(null); in testSetTint()
|
D | LayerDrawableTest.java | 1867 c1.setTintList(csl); in testStatefulnessChange()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 4659 public void setTintList(ColorStateList tint) { in setTintList() method in ViewTest.MockDrawable 4660 super.setTintList(tint); in setTintList()
|