Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRotateDrawableTest.java219 mRotateDrawable.unscheduleDrawable(null, null); in testUnscheduleDrawable()
220 verify(callback, times(1)).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
223 mRotateDrawable.unscheduleDrawable(new ColorDrawable(Color.RED), () -> {}); in testUnscheduleDrawable()
224 verify(callback, times(1)).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
228 mRotateDrawable.unscheduleDrawable(null, null); in testUnscheduleDrawable()
229 verify(callback, never()).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
DDrawableContainerTest.java661 mDrawableContainer.unscheduleDrawable(mDrawableContainer, null); in testUnscheduleDrawable()
662 mDrawableContainer.unscheduleDrawable(null, () -> {}); in testUnscheduleDrawable()
667 mDrawableContainer.unscheduleDrawable(mDrawableContainer, null); in testUnscheduleDrawable()
668 verify(callback, never()).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
672 mDrawableContainer.unscheduleDrawable(null, () -> {}); in testUnscheduleDrawable()
673 verify(callback, times(1)).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
680 mDrawableContainer.unscheduleDrawable(mDrawableContainer, null); in testUnscheduleDrawable()
681 verify(callback, never()).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
683 mDrawableContainer.unscheduleDrawable(null, () -> {}); in testUnscheduleDrawable()
684 verify(callback, never()).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
[all …]
DDrawableWrapperTest.java145 wrapper.unscheduleDrawable(null, null); in testUnscheduleDrawable()
146 verify(cb, times(1)).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
149 wrapper.unscheduleDrawable(new BitmapDrawable(), () -> {}); in testUnscheduleDrawable()
150 verify(cb, times(1)).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
154 wrapper.unscheduleDrawable(null, null); in testUnscheduleDrawable()
155 verify(cb, never()).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
DScaleDrawableTest.java137 scaleDrawable.unscheduleDrawable(null, null); in testUnscheduleDrawable()
138 verify(callback, times(1)).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
141 scaleDrawable.unscheduleDrawable(new BitmapDrawable(), () -> {}); in testUnscheduleDrawable()
142 verify(callback, times(1)).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
146 scaleDrawable.unscheduleDrawable(null, null); in testUnscheduleDrawable()
147 verify(callback, never()).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
DClipDrawableTest.java375 clipDrawable.unscheduleDrawable(colorDrawable, null); in testUnscheduleDrawable()
376 verify(callback, times(1)).unscheduleDrawable(clipDrawable, null); in testUnscheduleDrawable()
DColorStateListDrawableTest.java236 public void unscheduleDrawable(Drawable who, Runnable what) { in unscheduleDrawable() method in ColorStateListDrawableTest.TestCallback
DInsetDrawableTest.java122 mInsetDrawable.unscheduleDrawable(mPassDrawable, () -> {}); in testUnscheduleDrawable()
125 mInsetDrawable.unscheduleDrawable(null, null); in testUnscheduleDrawable()
DAdaptiveIconDrawableTest.java118 iconDrawable.unscheduleDrawable( in testUnscheduleDrawable()
122 iconDrawable.unscheduleDrawable(null, null); in testUnscheduleDrawable()
DLayerDrawableTest.java391 layerDrawable.unscheduleDrawable(null, null); in testUnscheduleDrawable()
392 verify(cb, times(1)).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
395 layerDrawable.unscheduleDrawable(mBitmapDrawable, () -> {}); in testUnscheduleDrawable()
396 verify(cb, times(1)).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
400 layerDrawable.unscheduleDrawable(null, null); in testUnscheduleDrawable()
401 verify(cb, never()).unscheduleDrawable(any(), any()); in testUnscheduleDrawable()
DDrawableTest.java787 verify(mockCallback, times(1)).unscheduleDrawable(mockDrawable, null); in testUnscheduleSelf()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java2143 view.unscheduleDrawable(view.getBackground(), what); in testScheduleDrawable()
2157 view.unscheduleDrawable(drawable, what); in testUnscheduleDrawable()
2160 view.unscheduleDrawable(drawable); in testUnscheduleDrawable()
2162 view.unscheduleDrawable(null, null); in testUnscheduleDrawable()
2163 view.unscheduleDrawable(null); in testUnscheduleDrawable()
2167 view.unscheduleDrawable(drawable); in testUnscheduleDrawable()
2170 view.unscheduleDrawable(view.getBackground(), what); in testUnscheduleDrawable()
2172 view.unscheduleDrawable(null); in testUnscheduleDrawable()
2173 view.unscheduleDrawable(null, null); in testUnscheduleDrawable()