Searched refs:padding1 (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LayerDrawableTest.java | 465 Rect padding1 = new Rect(20, 30, 40, 50); in testAccessPadding() local 466 ((ShapeDrawable) layerDrawable.getDrawable(1)).setPadding(padding1); in testAccessPadding() 468 assertEquals(padding0.left + padding1.left, rc.left); in testAccessPadding() 469 assertEquals(padding0.top + padding1.top, rc.top); in testAccessPadding() 470 assertEquals(padding0.right + padding1.right, rc.right); in testAccessPadding() 471 assertEquals(padding0.bottom + padding1.bottom, rc.bottom); in testAccessPadding() 735 Rect padding1 = new Rect(11, 22, 33, 44); in testSetBounds() local 739 mockDrawable1.setPadding(padding1); in testSetBounds() 761 assertEquals(bounds.left + inset2.left + padding1.left, mockDrawable2.getBounds().left); in testSetBounds() 762 assertEquals(bounds.top + inset2.top + padding1.top, mockDrawable2.getBounds().top); in testSetBounds() [all …]
|