Searched refs:texturePos (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 259 final Rect texturePos = new Rect(0, (int) translateY, viewPos.width(), in testTransformScale() local 265 screenshot.getPixel(10, texturePos.top - 10)); in testTransformScale() 267 screenshot.getPixel(10, texturePos.bottom + 10)); in testTransformScale() 269 screenshot.getPixel(texturePos.left + 10, texturePos.top + 10)); in testTransformScale() 271 screenshot.getPixel(texturePos.right - 10, texturePos.top + 10)); in testTransformScale() 273 screenshot.getPixel(texturePos.left + 10, texturePos.bottom - 10)); in testTransformScale() 275 screenshot.getPixel(texturePos.right - 10, texturePos.bottom - 10)); in testTransformScale() 663 Rect texturePos = new Rect((int) Math.ceil(texturePosF.left), in testSamplingWithTransform() local 667 int[] pixels = new int[texturePos.width() * texturePos.height()]; in testSamplingWithTransform() 668 screenshot.getPixels(pixels, 0, texturePos.width(), texturePos.left, texturePos.top, in testSamplingWithTransform() [all …]
|