Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DAbsSeekBarTest.java319 verify(mockThumb, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testThumbTint()
324 .setTintList(TestUtils.colorStateListOf(Color.RED)); in testThumbTint()
334 .setTintList(TestUtils.colorStateListOf(Color.RED)); in testThumbTint()
351 .setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testThumbTintBlendMode()
356 .setTintList(TestUtils.colorStateListOf(Color.RED)); in testThumbTintBlendMode()
366 .setTintList(TestUtils.colorStateListOf(Color.RED)); in testThumbTintBlendMode()
383 .setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testTickMarkTint()
388 .setTintList(TestUtils.colorStateListOf(Color.RED)); in testTickMarkTint()
398 .setTintList(TestUtils.colorStateListOf(Color.RED)); in testTickMarkTint()
415 .setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testTickMarkTintBlendMode()
[all …]
DProgressBarTest.java466 verify(mockProgressDrawable, never()).setTintList(any(ColorStateList.class)); in testProgressTint()
470 verify(mockProgressDrawable, never()).setTintList(any(ColorStateList.class)); in testProgressTint()
474 verify(mockProgressDrawable, never()).setTintList(any(ColorStateList.class)); in testProgressTint()
478 verify(mockProgressDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testProgressTint()
493 verify(mockProgressDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testProgressTint()
520 verify(mockProgressDrawable, never()).setTintList(any(ColorStateList.class)); in testProgressTintBlendMode()
524 verify(mockProgressDrawable, never()).setTintList(any(ColorStateList.class)); in testProgressTintBlendMode()
528 verify(mockProgressDrawable, never()).setTintList(any(ColorStateList.class)); in testProgressTintBlendMode()
532 verify(mockProgressDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testProgressTintBlendMode()
547 verify(mockProgressDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testProgressTintBlendMode()
[all …]
DCompoundButtonTest.java371 verify(mockDrawable, never()).setTintList(any(ColorStateList.class)); in testButtonTint()
375 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTint()
381 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTint()
398 verify(mockDrawable, never()).setTintList(any(ColorStateList.class)); in testButtonTintBlendMode()
402 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTintBlendMode()
408 verify(mockDrawable, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE)); in testButtonTintBlendMode()
DFrameLayoutTest.java290 verify(foreground, never()).setTintList(any(ColorStateList.class)); in testForegroundTint()
295 verify(foreground, times(1)).setTintList(colorStateListCaptor.capture()); in testForegroundTint()
304 verify(foreground, times(1)).setTintList(colorStateListCaptor.capture()); in testForegroundTint()
DImageViewTest.java634 verify(drawable, never()).setTintList(any(ColorStateList.class)); in testImageTintDrawableUpdates()
638 verify(drawable, times(1)).setTintList(any(ColorStateList.class)); in testImageTintDrawableUpdates()
643 verify(drawable, times(2)).setTintList(any(ColorStateList.class)); in testImageTintDrawableUpdates()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DIconTest.java199 icon.setTintList(ColorStateList.valueOf(Color.RED)); in verifyIconValidity()
DDefaultFocusHighlightTest.java225 drawable.setTintList(stateList); in testColorStateListHandledDrawable()
DNinePatchDrawableTest.java235 mNinePatchDrawable.setTintList(null); in testSetBlendMode()
DDrawableContainerTest.java836 c1.setTintList(csl); in testStatefulnessChange()
DLayerDrawableTest.java1878 c1.setTintList(csl); in testStatefulnessChange()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java5077 public void setTintList(ColorStateList tint) { in setTintList() method in ViewTest.MockDrawable
5078 super.setTintList(tint); in setTintList()