Searched refs:padding1 (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LayerDrawableTest.java | 461 Rect padding1 = new Rect(20, 30, 40, 50); in testGetPadding() local 462 ((ShapeDrawable) layerDrawable.getDrawable(1)).setPadding(padding1); in testGetPadding() 464 assertEquals(padding0.left + padding1.left, rc.left); in testGetPadding() 465 assertEquals(padding0.top + padding1.top, rc.top); in testGetPadding() 466 assertEquals(padding0.right + padding1.right, rc.right); in testGetPadding() 467 assertEquals(padding0.bottom + padding1.bottom, rc.bottom); in testGetPadding() 688 Rect padding1 = new Rect(11, 22, 33, 44); in testSetBounds() local 692 mockDrawable1.setPadding(padding1); in testSetBounds() 714 assertEquals(bounds.left + inset2.left + padding1.left, mockDrawable2.getBounds().left); in testSetBounds() 715 assertEquals(bounds.top + inset2.top + padding1.top, mockDrawable2.getBounds().top); in testSetBounds() [all …]
|