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

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
GradientDrawableTest.java 819 final float approxDouble = 1 / approxHalf;
821 sloppyOrigPadding.left = (int)(approxDouble * ((int)(origPadding.left * approxHalf)));
822 sloppyOrigPadding.top = (int)(approxDouble * ((int)(origPadding.top * approxHalf)));
823 sloppyOrigPadding.right = (int)(approxDouble * ((int)(origPadding.right * approxHalf)));
824 sloppyOrigPadding.bottom = (int)(approxDouble * ((int)(origPadding.bottom * approxHalf)));
829 assertEquals(Math.round(approxDouble * Math.round(origWidth * approxHalf)),
831 assertEquals(Math.round(approxDouble * Math.round(origHeight * approxHalf)),
LayerDrawableTest.java     [all...]
InsetDrawableTest.java 505 float approxDouble = 1 / approxHalf;
507 assertEquals(Math.round(approxDouble * Math.round(origInsetHoriz * approxHalf)),

Completed in 200 milliseconds