Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRotateDrawableTest.java201 mRotateDrawable.scheduleDrawable(null, null, 0); in testScheduleDrawable()
202 verify(callback, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
205 mRotateDrawable.scheduleDrawable(new ColorDrawable(Color.RED), () -> {}, 1000L); in testScheduleDrawable()
206 verify(callback, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
210 mRotateDrawable.scheduleDrawable(null, null, 0); in testScheduleDrawable()
211 verify(callback, never()).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
DDrawableContainerTest.java627 mDrawableContainer.scheduleDrawable(mDrawableContainer, null, 0); in testScheduleDrawable()
628 mDrawableContainer.scheduleDrawable(null, () -> {}, 0); in testScheduleDrawable()
633 mDrawableContainer.scheduleDrawable(mDrawableContainer, null, 0); in testScheduleDrawable()
634 verify(callback, never()).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
638 mDrawableContainer.scheduleDrawable(null, () -> {}, 0); in testScheduleDrawable()
639 verify(callback, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
646 mDrawableContainer.scheduleDrawable(mDrawableContainer, null, 0); in testScheduleDrawable()
647 verify(callback, never()).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
648 verify(callback, never()).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
650 mDrawableContainer.scheduleDrawable(null, () -> {}, 0); in testScheduleDrawable()
[all …]
DDrawableWrapperTest.java125 wrapper.scheduleDrawable(null, null, 0); in testScheduleDrawable()
126 verify(cb, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
129 wrapper.scheduleDrawable(new BitmapDrawable(), () -> {}, 1000L); in testScheduleDrawable()
130 verify(cb, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
134 wrapper.scheduleDrawable(null, null, 0); in testScheduleDrawable()
135 verify(cb, never()).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
DScaleDrawableTest.java116 scaleDrawable.scheduleDrawable(null, null, 0); in testScheduleDrawable()
117 verify(callback, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
120 scaleDrawable.scheduleDrawable(new BitmapDrawable(), () -> {}, 1000L); in testScheduleDrawable()
121 verify(callback, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
125 scaleDrawable.scheduleDrawable(null, null, 0); in testScheduleDrawable()
126 verify(callback, never()).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
DClipDrawableTest.java316 clipDrawable.scheduleDrawable(colorDrawable, null, 1000L); in testScheduleDrawable()
317 verify(callback, times(1)).scheduleDrawable(clipDrawable, null, 1000L); in testScheduleDrawable()
DColorStateListDrawableTest.java229 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() method in ColorStateListDrawableTest.TestCallback
DInsetDrawableTest.java113 mInsetDrawable.scheduleDrawable(mPassDrawable, () -> {}, 10); in testScheduleDrawable()
116 mInsetDrawable.scheduleDrawable(null, null, -1); in testScheduleDrawable()
DAdaptiveIconDrawableTest.java105 iconDrawable.scheduleDrawable( in testScheduleDrawable()
110 iconDrawable.scheduleDrawable(null, null, -1); in testScheduleDrawable()
DDrawableTest.java695 verify(mockCallback).scheduleDrawable(eq(mockDrawable), eq(runnable), eq(1000L)); in testScheduleSelf()
698 verify(mockCallback).scheduleDrawable(eq(mockDrawable), eq(runnable), eq(0L)); in testScheduleSelf()
701 verify(mockCallback).scheduleDrawable(eq(mockDrawable), eq(runnable), eq(-1000L)); in testScheduleSelf()
DLayerDrawableTest.java371 layerDrawable.scheduleDrawable(null, null, 0); in testScheduleDrawable()
372 verify(cb, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
375 layerDrawable.scheduleDrawable(mBitmapDrawable, () -> {}, 1000L); in testScheduleDrawable()
376 verify(cb, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
380 layerDrawable.scheduleDrawable(null, null, 0); in testScheduleDrawable()
381 verify(cb, never()).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java2131 view.scheduleDrawable(drawable, what, 1000); in testScheduleDrawable()
2134 view.scheduleDrawable(drawable, what, 1000); in testScheduleDrawable()
2136 view.scheduleDrawable(null, null, -1000); in testScheduleDrawable()
2140 view.scheduleDrawable(drawable, what, 1000); in testScheduleDrawable()
2142 view.scheduleDrawable(view.getBackground(), what, 1000); in testScheduleDrawable()
2145 view.scheduleDrawable(null, null, -1000); in testScheduleDrawable()
2169 view.scheduleDrawable(view.getBackground(), what, 1000); in testUnscheduleDrawable()