Searched refs:padding1 (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LayerDrawableTest.java | 462 Rect padding1 = new Rect(20, 30, 40, 50); in testAccessPadding() local 463 ((ShapeDrawable) layerDrawable.getDrawable(1)).setPadding(padding1); in testAccessPadding() 465 assertEquals(padding0.left + padding1.left, rc.left); in testAccessPadding() 466 assertEquals(padding0.top + padding1.top, rc.top); in testAccessPadding() 467 assertEquals(padding0.right + padding1.right, rc.right); in testAccessPadding() 468 assertEquals(padding0.bottom + padding1.bottom, rc.bottom); in testAccessPadding() 744 Rect padding1 = new Rect(11, 22, 33, 44); in testSetBounds() local 750 target.set(padding1); in testSetBounds() 778 assertEquals(bounds.left + inset2.left + padding1.left, mockDrawable2.getBounds().left); in testSetBounds() 779 assertEquals(bounds.top + inset2.top + padding1.top, mockDrawable2.getBounds().top); in testSetBounds() [all …]
|