Searched refs:largeMockDrawable (Results 1 – 1 of 1) sorted by relevance
788 Drawable largeMockDrawable = spy(new ColorDrawable(Color.YELLOW)); in testGetIntrinsicWidth() local789 doReturn(10).when(largeMockDrawable).getIntrinsicWidth(); in testGetIntrinsicWidth()790 doReturn(10).when(largeMockDrawable).getIntrinsicHeight(); in testGetIntrinsicWidth()795 Drawable[] array = new Drawable[] { largeMockDrawable, smallMockDrawable }; in testGetIntrinsicWidth()797 assertEquals(largeMockDrawable.getIntrinsicWidth(), layerDrawable.getIntrinsicWidth()); in testGetIntrinsicWidth()810 }).when(largeMockDrawable).getPadding(any()); in testGetIntrinsicWidth()825 assertEquals(largeMockDrawable.getIntrinsicWidth() + inset1.left + inset1.right, in testGetIntrinsicWidth()831 Drawable largeMockDrawable = spy(new ColorDrawable(Color.CYAN)); in testGetIntrinsicHeight() local832 doReturn(10).when(largeMockDrawable).getIntrinsicWidth(); in testGetIntrinsicHeight()833 doReturn(10).when(largeMockDrawable).getIntrinsicHeight(); in testGetIntrinsicHeight()[all …]