HomeSort by relevance Sort by last modified time
    Searched refs:tempPadding (Results 1 - 3 of 3) sorted by null

  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
BitmapDrawableTest.java 84 final Rect tempPadding = new Rect();
94 assertFalse(preloadedDrawable.getPadding(tempPadding));
112 assertFalse(scaledDrawable.getPadding(tempPadding));
125 assertFalse(scaledDrawable.getPadding(tempPadding));
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
NinePatchDrawableTest.java 457 final Rect tempPadding = new Rect();
483 assertTrue(scaledDrawable.getPadding(tempPadding));
484 assertEquals((int) (origPadding.left * scale), tempPadding.left);
485 assertEquals((int) (origPadding.top * scale), tempPadding.top);
486 assertEquals((int) (origPadding.right * scale), tempPadding.right);
487 assertEquals((int) (origPadding.bottom * scale), tempPadding.bottom);
498 assertTrue(scaledDrawable.getPadding(tempPadding));
499 assertEquals(origPadding, tempPadding);
569 final Rect tempPadding = new Rect();
570 assertTrue(scaledDrawable.getPadding(tempPadding));
    [all...]
GradientDrawableTest.java 775 final Rect tempPadding = new Rect();
797 assertTrue(halfDrawable.getPadding(tempPadding));
798 assertEquals((int) (origPadding.left * approxHalf), tempPadding.left);
806 assertTrue(doubleDrawable.getPadding(tempPadding));
807 assertEquals(origPadding.left * 2, tempPadding.left);
815 assertTrue(origDrawable.getPadding(tempPadding));
816 assertEquals(origPadding, tempPadding);
833 assertTrue(halfDrawable.getPadding(tempPadding));
834 assertEquals(sloppyOrigPadding, tempPadding);
838 assertTrue(doubleDrawable.getPadding(tempPadding));
    [all...]

Completed in 4733 milliseconds