Searched refs:inset1 (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LayerDrawableTest.java | 686 Rect inset1 = new Rect(1, 2, 3, 4); in testSetBounds() local 690 layerDrawable.setLayerInset(0, inset1.left, inset1.top, inset1.right, inset1.bottom); in testSetBounds() 710 assertEquals(bounds.left + inset1.left, mockDrawable1.getBounds().left); in testSetBounds() 711 assertEquals(bounds.top + inset1.top, mockDrawable1.getBounds().top); in testSetBounds() 712 assertEquals(bounds.right - inset1.right, mockDrawable1.getBounds().right); in testSetBounds() 713 assertEquals(bounds.bottom - inset1.bottom, mockDrawable1.getBounds().bottom); in testSetBounds() 729 Rect inset1 = new Rect(1, 2, 3, 4); in testGetIntrinsicWidth() local 733 layerDrawable.setLayerInset(0, inset1.left, inset1.top, inset1.right, inset1.bottom); in testGetIntrinsicWidth() 742 inset1 = new Rect(inset2.left + padding1.left + 1, inset2.top + padding1.top + 1, in testGetIntrinsicWidth() 744 layerDrawable.setLayerInset(0, inset1.left, inset1.top, inset1.right, inset1.bottom); in testGetIntrinsicWidth() [all …]
|