Home
last modified time | relevance | path

Searched refs:setTintList (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java447 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()
DAbsSeekBarTest.java317 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()
DCompoundButtonTest.java369 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()
DFrameLayoutTest.java294 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()
DImageViewTest.java539 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/
DIconTest.java198 icon.setTintList(ColorStateList.valueOf(Color.RED)); in verifyIconValidity()
DDefaultFocusHighlightTest.java224 drawable.setTintList(stateList); in testColorStateListHandledDrawable()
DDrawableContainerTest.java330 mDrawableContainer.setTintList(null); in testSetTint()
824 c1.setTintList(csl); in testStatefulnessChange()
DBitmapDrawableTest.java317 d.setTintList(null); in testSetTint()
DNinePatchDrawableTest.java223 mNinePatchDrawable.setTintList(null); in testSetTint()
DLayerDrawableTest.java1867 c1.setTintList(csl); in testStatefulnessChange()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4659 public void setTintList(ColorStateList tint) { in setTintList() method in ViewTest.MockDrawable
4660 super.setTintList(tint); in setTintList()