Searched refs:largeMockDrawable (Results 1 – 1 of 1) sorted by relevance
789 Drawable largeMockDrawable = spy(new ColorDrawable(Color.YELLOW)); in testGetIntrinsicWidth() local790 doReturn(10).when(largeMockDrawable).getIntrinsicWidth(); in testGetIntrinsicWidth()791 doReturn(10).when(largeMockDrawable).getIntrinsicHeight(); in testGetIntrinsicWidth()796 Drawable[] array = new Drawable[] { largeMockDrawable, smallMockDrawable }; in testGetIntrinsicWidth()798 assertEquals(largeMockDrawable.getIntrinsicWidth(), layerDrawable.getIntrinsicWidth()); in testGetIntrinsicWidth()811 }).when(largeMockDrawable).getPadding(any()); in testGetIntrinsicWidth()826 assertEquals(largeMockDrawable.getIntrinsicWidth() + inset1.left + inset1.right, in testGetIntrinsicWidth()832 Drawable largeMockDrawable = spy(new ColorDrawable(Color.CYAN)); in testGetIntrinsicHeight() local833 doReturn(10).when(largeMockDrawable).getIntrinsicWidth(); in testGetIntrinsicHeight()834 doReturn(10).when(largeMockDrawable).getIntrinsicHeight(); in testGetIntrinsicHeight()[all …]