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 407 Drawable mockDrawable2 = spy(new ColorDrawable(Color.RED));
408 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 };
414 verify(mockDrawable2, times(1)).draw(any());
417 reset(mockDrawable2);
419 doNothing().when(mockDrawable2).draw(any());
422 verify(mockDrawable2, times(1)).draw(any());
515 Drawable mockDrawable2 = spy(new ColorDrawable(Color.BLACK));
516 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 };
521 verify(mockDrawable2, times(1)).setDither(anyBoolean());
524 reset(mockDrawable2);
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ProgressBarTest.java 391 Drawable mockDrawable2 = spy(new ColorDrawable(Color.GREEN));
398 mockProgressBar.invalidateDrawable(mockDrawable2);
402 mockProgressBar.setProgressDrawable(mockDrawable2);

Completed in 725 milliseconds