Searched refs:rawImage (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TestDevice.java | 992 byte[] compressRawImage(RawImage rawImage, String format, boolean rescale) { in compressRawImage() argument 993 BufferedImage image = rawImageToBufferedImage(rawImage, format); in compressRawImage() 1013 BufferedImage rawImageToBufferedImage(RawImage rawImage, String format) { in rawImageToBufferedImage() argument 1020 rawImage.width, rawImage.height, BufferedImage.TYPE_3BYTE_BGR); in rawImageToBufferedImage() 1023 image = new BufferedImage(rawImage.width, rawImage.height, BufferedImage.TYPE_INT_ARGB); in rawImageToBufferedImage() 1028 int IndexInc = rawImage.bpp >> 3; in rawImageToBufferedImage() 1029 for (int y = 0 ; y < rawImage.height ; y++) { in rawImageToBufferedImage() 1030 for (int x = 0 ; x < rawImage.width ; x++) { in rawImageToBufferedImage() 1031 int value = rawImage.getARGB(index); in rawImageToBufferedImage()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | TestDeviceTest.java | 5309 byte[] compressRawImage(RawImage rawImage, String format, boolean rescale) { in testGetScreenshot()
|