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.java687 Rect inset2 = new Rect(2, 4, 6, 7); in testSetBounds() local
691 layerDrawable.setLayerInset(1, inset2.left, inset2.top, inset2.right, inset2.bottom); 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()
716 assertEquals(bounds.right - inset2.right - padding1.right, in testSetBounds()
718 assertEquals(bounds.bottom - inset2.bottom - padding1.bottom, in testSetBounds()
730 Rect inset2 = new Rect(2, 4, 6, 7); in testGetIntrinsicWidth() local
734 layerDrawable.setLayerInset(1, inset2.left, inset2.top, inset2.right, inset2.bottom); in testGetIntrinsicWidth()
738 assertEquals(mockDrawable2.getIntrinsicWidth() + inset2.left in testGetIntrinsicWidth()
739 + inset2.right + padding1.left + padding1.right, in testGetIntrinsicWidth()
[all …]