Searched refs:mockDrawable1 (Results 1 – 2 of 2) sorted by relevance
406 Drawable mockDrawable1 = spy(new ColorDrawable(Color.BLUE)); in testDraw() local408 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; in testDraw()413 verify(mockDrawable1, times(1)).draw(any()); in testDraw()416 reset(mockDrawable1); in testDraw()418 doNothing().when(mockDrawable1).draw(any()); in testDraw()421 verify(mockDrawable1, times(1)).draw(any()); in testDraw()514 Drawable mockDrawable1 = spy(new ColorDrawable(Color.BLUE)); in testSetDither() local516 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; in testSetDither()520 verify(mockDrawable1, times(1)).setDither(anyBoolean()); in testSetDither()523 reset(mockDrawable1); in testSetDither()[all …]
393 Drawable mockDrawable1 = spy(new ColorDrawable(Color.RED)); in testInvalidateDrawable() local395 mockProgressBar.setBackgroundDrawable(mockDrawable1); in testInvalidateDrawable()397 mockProgressBar.invalidateDrawable(mockDrawable1); in testInvalidateDrawable()404 mockProgressBar.setIndeterminateDrawable(mockDrawable1); in testInvalidateDrawable()