LayerDrawableTest.java | 761 Rect inset2 = new Rect(2, 4, 6, 7); local 765 layerDrawable.setLayerInset(1, inset2.left, inset2.top, inset2.right, inset2.bottom); 788 assertEquals(bounds.left + inset2.left + padding1.left, mockDrawable2.getBounds().left); 789 assertEquals(bounds.top + inset2.top + padding1.top, mockDrawable2.getBounds().top); 790 assertEquals(bounds.right - inset2.right - padding1.right, 792 assertEquals(bounds.bottom - inset2.bottom - padding1.bottom, 809 Rect inset2 = new Rect(2, 4, 6, 7) local 841 Rect inset2 = new Rect(2, 4, 6, 7); local [all...] |