Searched refs:texturePos (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 205 final Rect texturePos = new Rect(0, (int) translateY, viewPos.width(), in testTransformScale() local 211 screenshot.getPixel(10, texturePos.top - 10)); in testTransformScale() 213 screenshot.getPixel(10, texturePos.bottom + 10)); in testTransformScale() 215 screenshot.getPixel(texturePos.left + 10, texturePos.top + 10)); in testTransformScale() 217 screenshot.getPixel(texturePos.right - 10, texturePos.top + 10)); in testTransformScale() 219 screenshot.getPixel(texturePos.left + 10, texturePos.bottom - 10)); in testTransformScale() 221 screenshot.getPixel(texturePos.right - 10, texturePos.bottom - 10)); in testTransformScale() 350 Rect texturePos = new Rect((int) Math.ceil(texturePosF.left), in testSamplingWithTransform() local 354 int[] pixels = new int[texturePos.width() * texturePos.height()]; in testSamplingWithTransform() 355 screenshot.getPixels(pixels, 0, texturePos.width(), texturePos.left, texturePos.top, in testSamplingWithTransform() [all …]
|