Home
last modified time | relevance | path

Searched refs:invalidateDrawable (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DTransitionDrawableTest.java89 verify(cb, times(1)).invalidateDrawable(any()); in testStartTransition()
96 verify(cb, times(1)).invalidateDrawable(any()); in testStartTransition()
103 verify(cb, times(1)).invalidateDrawable(any()); in testStartTransition()
117 verify(cb, times(1)).invalidateDrawable(any()); in testResetTransition()
123 verify(cb, times(1)).invalidateDrawable(any()); in testResetTransition()
131 verify(cb, times(1)).invalidateDrawable(any()); in testResetTransition()
143 verify(cb, times(1)).invalidateDrawable(any()); in testReverseTransition()
149 verify(cb, times(1)).invalidateDrawable(any()); in testReverseTransition()
156 verify(cb, never()).invalidateDrawable(any()); in testReverseTransition()
164 verify(cb, never()).invalidateDrawable(any()); in testReverseTransition()
DRotateDrawableTest.java183 mRotateDrawable.invalidateDrawable(null); in testInvalidateDrawable()
184 verify(callback, times(1)).invalidateDrawable(any()); in testInvalidateDrawable()
187 mRotateDrawable.invalidateDrawable(drawable); in testInvalidateDrawable()
188 verify(callback, times(1)).invalidateDrawable(any()); in testInvalidateDrawable()
192 mRotateDrawable.invalidateDrawable(drawable); in testInvalidateDrawable()
193 verify(callback, never()).invalidateDrawable(any()); in testInvalidateDrawable()
DDrawableContainerTest.java594 mDrawableContainer.invalidateDrawable(mDrawableContainer); in testInvalidateDrawable()
595 mDrawableContainer.invalidateDrawable(null); in testInvalidateDrawable()
600 mDrawableContainer.invalidateDrawable(mDrawableContainer); in testInvalidateDrawable()
601 verify(callback, never()).invalidateDrawable(any()); in testInvalidateDrawable()
605 mDrawableContainer.invalidateDrawable(null); in testInvalidateDrawable()
606 verify(callback, times(1)).invalidateDrawable(any()); in testInvalidateDrawable()
613 mDrawableContainer.invalidateDrawable(mDrawableContainer); in testInvalidateDrawable()
614 verify(callback, never()).invalidateDrawable(any()); in testInvalidateDrawable()
616 mDrawableContainer.invalidateDrawable(null); in testInvalidateDrawable()
617 verify(callback, never()).invalidateDrawable(any()); in testInvalidateDrawable()
[all …]
DDrawableWrapperTest.java105 wrapper.invalidateDrawable(null); in testInvalidateDrawable()
106 verify(cb, times(1)).invalidateDrawable(any()); in testInvalidateDrawable()
109 wrapper.invalidateDrawable(new BitmapDrawable()); in testInvalidateDrawable()
110 verify(cb, times(1)).invalidateDrawable(any()); in testInvalidateDrawable()
114 wrapper.invalidateDrawable(null); in testInvalidateDrawable()
115 verify(cb, never()).invalidateDrawable(any()); in testInvalidateDrawable()
DScaleDrawableTest.java95 scaleDrawable.invalidateDrawable(null); in testInvalidateDrawable()
96 verify(callback, times(1)).invalidateDrawable(any()); in testInvalidateDrawable()
99 scaleDrawable.invalidateDrawable(new BitmapDrawable()); in testInvalidateDrawable()
100 verify(callback, times(1)).invalidateDrawable(any()); in testInvalidateDrawable()
104 scaleDrawable.invalidateDrawable(null); in testInvalidateDrawable()
105 verify(callback, never()).invalidateDrawable(any()); in testInvalidateDrawable()
DClipDrawableTest.java224 clipDrawable.invalidateDrawable(colorDrawable); in testInvalidateDrawable()
225 verify(callback, times(1)).invalidateDrawable(clipDrawable); in testInvalidateDrawable()
227 clipDrawable.invalidateDrawable(null); in testInvalidateDrawable()
277 verify(callback, times(1)).invalidateDrawable(mockClipDrawable); in testOnLevelChange()
DRippleDrawableTest.java151 verify(cb, times(1)).invalidateDrawable(dr); in testSetColor()
DColorStateListDrawableTest.java224 public void invalidateDrawable(Drawable who) { in invalidateDrawable() method in ColorStateListDrawableTest.TestCallback
DLayerDrawableTest.java351 layerDrawable.invalidateDrawable(null); in testInvalidateDrawable()
352 verify(cb, times(1)).invalidateDrawable(any()); in testInvalidateDrawable()
355 layerDrawable.invalidateDrawable(new BitmapDrawable()); in testInvalidateDrawable()
356 verify(cb, times(1)).invalidateDrawable(any()); in testInvalidateDrawable()
360 layerDrawable.invalidateDrawable(null); in testInvalidateDrawable()
361 verify(cb, never()).invalidateDrawable(any()); in testInvalidateDrawable()
DInsetDrawableTest.java108 mInsetDrawable.invalidateDrawable(mPassDrawable); in testInvalidateDrawable()
DAdaptiveIconDrawableTest.java97 iconDrawable.invalidateDrawable( in testInvalidateDrawable()
DDrawableTest.java626 verify(mockCallback, times(1)).invalidateDrawable(mockDrawable); in testInvalidateSelf()
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java397 mockProgressBar.invalidateDrawable(mockDrawable1); in testInvalidateDrawable()
401 mockProgressBar.invalidateDrawable(mockDrawable2); in testInvalidateDrawable()
DImageViewTest.java217 mImageViewRegular.invalidateDrawable(null); in testInvalidateDrawable()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3337 view.invalidateDrawable(d1); in testInvalidateDrawable()
3343 mActivityRule.runOnUiThread(() -> view.invalidateDrawable(d2)); in testInvalidateDrawable()
3349 viewTestNull.invalidateDrawable(null); in testInvalidateDrawable()