Searched refs:getPixelFloatPos (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 761 private static int getPixelFloatPos(Bitmap bitmap, float xpos, float ypos) { in getPixelFloatPos() method in PixelCopyTest 769 + Integer.toHexString(getPixelFloatPos(bitmap, .25f, .25f)), in assertBitmapQuadColor() 770 topLeft, getPixelFloatPos(bitmap, .25f, .25f)); in assertBitmapQuadColor() 771 assertEquals("Top right", topRight, getPixelFloatPos(bitmap, .75f, .25f)); in assertBitmapQuadColor() 772 assertEquals("Bottom left", bottomLeft, getPixelFloatPos(bitmap, .25f, .75f)); in assertBitmapQuadColor() 773 assertEquals("Bottom right", bottomRight, getPixelFloatPos(bitmap, .75f, .75f)); in assertBitmapQuadColor() 779 assertTrue("Top left", pixelsAreSame(topLeft, getPixelFloatPos(bitmap, .25f, .25f), in assertBitmapQuadColor() 781 assertTrue("Top right", pixelsAreSame(topRight, getPixelFloatPos(bitmap, .75f, .25f), in assertBitmapQuadColor() 783 assertTrue("Bottom left", pixelsAreSame(bottomLeft, getPixelFloatPos(bitmap, .25f, .75f), in assertBitmapQuadColor() 785 assertTrue("Bottom right", pixelsAreSame(bottomRight, getPixelFloatPos(bitmap, .75f, .75f), in assertBitmapQuadColor()
|