Searched refs:mockDrawable1 (Results 1 – 2 of 2) sorted by relevance
405 Drawable mockDrawable1 = spy(new ColorDrawable(Color.BLUE)); in testDraw() local407 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; in testDraw()412 verify(mockDrawable1, times(1)).draw(any()); in testDraw()415 reset(mockDrawable1); in testDraw()417 doNothing().when(mockDrawable1).draw(any()); in testDraw()420 verify(mockDrawable1, times(1)).draw(any()); in testDraw()513 Drawable mockDrawable1 = spy(new ColorDrawable(Color.BLUE)); in testSetDither() local515 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; in testSetDither()519 verify(mockDrawable1, times(1)).setDither(anyBoolean()); in testSetDither()522 reset(mockDrawable1); in testSetDither()[all …]
374 Drawable mockDrawable1 = spy(new ColorDrawable(Color.RED)); in testInvalidateDrawable() local376 mockProgressBar.setBackgroundDrawable(mockDrawable1); in testInvalidateDrawable()378 mockProgressBar.invalidateDrawable(mockDrawable1); in testInvalidateDrawable()385 mockProgressBar.setIndeterminateDrawable(mockDrawable1); in testInvalidateDrawable()