Home
last modified time | relevance | path

Searched refs:inset2 (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java743 Rect inset2 = new Rect(2, 4, 6, 7); in testSetBounds() local
747 layerDrawable.setLayerInset(1, inset2.left, inset2.top, inset2.right, inset2.bottom); 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()
780 assertEquals(bounds.right - inset2.right - padding1.right, in testSetBounds()
782 assertEquals(bounds.bottom - inset2.bottom - padding1.bottom, in testSetBounds()
800 Rect inset2 = new Rect(2, 4, 6, 7); in testGetIntrinsicWidth() local
804 layerDrawable.setLayerInset(1, inset2.left, inset2.top, inset2.right, inset2.bottom); in testGetIntrinsicWidth()
818 assertEquals(smallMockDrawable.getIntrinsicWidth() + inset2.left in testGetIntrinsicWidth()
819 + inset2.right + padding1.left + padding1.right, in testGetIntrinsicWidth()
[all …]