Searched refs:mockDrawable2 (Results 1 – 2 of 2) sorted by relevance
406 Drawable mockDrawable2 = spy(new ColorDrawable(Color.RED)); in testDraw() local407 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; in testDraw()413 verify(mockDrawable2, times(1)).draw(any()); in testDraw()416 reset(mockDrawable2); in testDraw()418 doNothing().when(mockDrawable2).draw(any()); in testDraw()421 verify(mockDrawable2, times(1)).draw(any()); in testDraw()514 Drawable mockDrawable2 = spy(new ColorDrawable(Color.BLACK)); in testSetDither() local515 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; in testSetDither()520 verify(mockDrawable2, times(1)).setDither(anyBoolean()); in testSetDither()523 reset(mockDrawable2); in testSetDither()[all …]
375 Drawable mockDrawable2 = spy(new ColorDrawable(Color.GREEN)); in testInvalidateDrawable() local382 mockProgressBar.invalidateDrawable(mockDrawable2); in testInvalidateDrawable()386 mockProgressBar.setProgressDrawable(mockDrawable2); in testInvalidateDrawable()