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

  /sdk/chimpchat/src/com/android/chimpchat/adb/image/
CaptureRawAndConvertedImage.java 18 import com.android.ddmlib.RawImage;
52 public ChimpRawImage(RawImage rawImage) {
53 version = rawImage.version;
54 bpp = rawImage.bpp;
55 size = rawImage.size;
56 width = rawImage.width;
57 height = rawImage.height;
58 red_offset = rawImage.red_offset;
59 red_length = rawImage.red_length
    [all...]
ImageUtils.java 18 import com.android.ddmlib.RawImage;
42 * @param rawImage the raw image to convert
46 public static BufferedImage convertImage(RawImage rawImage, BufferedImage image) {
47 switch (rawImage.bpp) {
49 return rawImage16toARGB(image, rawImage);
51 return rawImage32toARGB(rawImage);
59 * @param rawImage the image to convert.
62 public static BufferedImage convertImage(RawImage rawImage) {
    [all...]
ThirtyTwoBitColorModel.java 18 import com.android.ddmlib.RawImage;
46 public ThirtyTwoBitColorModel(RawImage rawImage) {
51 redOffset = rawImage.red_offset;
52 redLength = rawImage.red_length;
54 greenOffset = rawImage.green_offset;
55 greenLength = rawImage.green_length;
57 blueOffset = rawImage.blue_offset;
58 blueLength = rawImage.blue_length;
60 alphaLength = rawImage.alpha_length
    [all...]
SixteenBitColorModel.java 18 import com.android.ddmlib.RawImage;
33 public SixteenBitColorModel(RawImage rawImage) {
  /sdk/screenshot/src/com/android/screenshot/
Screenshot.java 22 import com.android.ddmlib.RawImage;
198 RawImage rawImage;
201 rawImage = device.getScreenshot();
211 if (rawImage == null)
215 rawImage = rawImage.getRotated();
219 BufferedImage image = new BufferedImage(rawImage.width, rawImage.height,
223 int IndexInc = rawImage.bpp >> 3
    [all...]
  /sdk/chimpchat/test/com/android/chimpchat/
ImageUtilsTest.java 18 import com.android.ddmlib.RawImage;
41 private static RawImage createRawImage(String name) throws IOException, ClassNotFoundException {
82 RawImage rawImage = createRawImage("image1.raw");
83 BufferedImage convertedImage = ImageUtils.convertImage(rawImage);
90 RawImage rawImage = createRawImage("image2.raw");
91 BufferedImage convertedImage = ImageUtils.convertImage(rawImage);
  /cts/tools/host/src/com/android/cts/
HostUtils.java 19 import com.android.ddmlib.RawImage;
65 * Convert a 16bpp RawImage into a BufferedImage.
67 * @param rawImage the image to convert.
70 public static BufferedImage convertRawImageToBufferedImage(RawImage rawImage) {
71 assert rawImage.bpp == 16;
73 BufferedImage im = new BufferedImage(rawImage.width,
74 rawImage.height, BufferedImage.TYPE_USHORT_565_RGB);
76 rawImage.width,
77 rawImage.height
    [all...]
ReferenceAppTestPackage.java 21 import com.android.ddmlib.RawImage;
192 RawImage rawImage = device.getScreenshot();
193 if (rawImage != null) {
197 BufferedImage im = HostUtils.convertRawImageToBufferedImage(rawImage);
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
ScreenViewer.java 4 import com.android.ddmlib.RawImage;
673 RawImage rawImage;
675 rawImage = device.getScreenshot();
683 if (rawImage != null) {
684 if (image == null || rawImage.width != image.getWidth() ||
685 rawImage.height != image.getHeight()) {
686 image = new BufferedImage(rawImage.width, rawImage.height,
688 scanline = new int[rawImage.width]
    [all...]
  /prebuilt/common/tradefed/
tradefed-prebuilt.jar 

Completed in 89 milliseconds