HomeSort by relevance Sort by last modified time
    Searched refs:mockDrawable2 (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LayerDrawableTest.java 406 Drawable mockDrawable2 = spy(new ColorDrawable(Color.RED));
407 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 };
413 verify(mockDrawable2, times(1)).draw(any());
416 reset(mockDrawable2);
418 doNothing().when(mockDrawable2).draw(any());
421 verify(mockDrawable2, times(1)).draw(any());
514 Drawable mockDrawable2 = spy(new ColorDrawable(Color.BLACK));
515 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 };
520 verify(mockDrawable2, times(1)).setDither(anyBoolean());
523 reset(mockDrawable2);
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ProgressBarTest.java 375 Drawable mockDrawable2 = spy(new ColorDrawable(Color.GREEN));
382 mockProgressBar.invalidateDrawable(mockDrawable2);
386 mockProgressBar.setProgressDrawable(mockDrawable2);

Completed in 90 milliseconds