Searched refs:mockDrawable2 (Results 1 – 2 of 2) sorted by relevance
407 Drawable mockDrawable2 = spy(new ColorDrawable(Color.RED)); in testDraw() local408 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; in testDraw()414 verify(mockDrawable2, times(1)).draw(any()); in testDraw()417 reset(mockDrawable2); in testDraw()419 doNothing().when(mockDrawable2).draw(any()); in testDraw()422 verify(mockDrawable2, times(1)).draw(any()); in testDraw()515 Drawable mockDrawable2 = spy(new ColorDrawable(Color.BLACK)); in testSetDither() local516 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; in testSetDither()521 verify(mockDrawable2, times(1)).setDither(anyBoolean()); in testSetDither()524 reset(mockDrawable2); in testSetDither()[all …]
394 Drawable mockDrawable2 = spy(new ColorDrawable(Color.GREEN)); in testInvalidateDrawable() local401 mockProgressBar.invalidateDrawable(mockDrawable2); in testInvalidateDrawable()405 mockProgressBar.setProgressDrawable(mockDrawable2); in testInvalidateDrawable()