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

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LayerDrawableTest.java 406 Drawable mockDrawable1 = spy(new ColorDrawable(Color.BLUE));
408 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 };
413 verify(mockDrawable1, times(1)).draw(any());
416 reset(mockDrawable1);
418 doNothing().when(mockDrawable1).draw(any());
421 verify(mockDrawable1, times(1)).draw(any());
514 Drawable mockDrawable1 = spy(new ColorDrawable(Color.BLUE));
516 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 };
520 verify(mockDrawable1, times(1)).setDither(anyBoolean());
523 reset(mockDrawable1);
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ProgressBarTest.java 390 Drawable mockDrawable1 = spy(new ColorDrawable(Color.RED));
392 mockProgressBar.setBackgroundDrawable(mockDrawable1);
394 mockProgressBar.invalidateDrawable(mockDrawable1);
401 mockProgressBar.setIndeterminateDrawable(mockDrawable1);

Completed in 77 milliseconds