Home
last modified time | relevance | path

Searched refs:getPixel (Results 1 – 6 of 6) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DGraphicsUtilitiesTest.java52 assertEquals(0x0, result.getPixel(x, 0) & MASK_ALPHA); in testConvertToNinePatch()
55 assertEquals(0x0, result.getPixel(x, result.height - 1) & MASK_ALPHA); in testConvertToNinePatch()
62 assertEquals(0x0, result.getPixel(0, y) & MASK_ALPHA); in testConvertToNinePatch()
65 assertEquals(0x0, result.getPixel(result.width - 1, y) & MASK_ALPHA); in testConvertToNinePatch()
86 assertEquals(0x000000, baseData.getPixel(x, y)); in testClearImageData()
218 assertEquals(baseData.getPixel(0, y), temp[y]); in testGetVerticalPixels()
309 assertEquals(baseData.getPixel(x, 0), temp[x]); in testGetHorizontalPixels()
DNinePatchedImageTest.java191 int invalidPixel = image.getImageData().getPixel(33, 0); in testEnsure9PatchIgnoreInvalidPixels()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSwtUtilsTest.java72 RGB actual = outPalette.getRGB(outData.getPixel(x, y)); in testImageConvertNoAlpha()
126 RGB actual = outPalette.getRGB(outData.getPixel(x, y)); in testImageConvertGlobalAlpha()
156 RGB actual = outPalette.getRGB(outData.getPixel(x, y)); in testImageConvertAlpha()
193 RGB actual = outPalette.getRGB(outData.getPixel(x, y)); in testImageConvertAlphaMultiplied()
259 RGB actual = outPalette.getRGB(outData.getPixel(x, y)); in testCrop1()
298 RGB actual = outPalette.getRGB(outData.getPixel(x, y)); in testCrop2()
310 RGB actual = outPalette.getRGB(outData.getPixel(x, y)); in testCrop2()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSwtUtils.java204 int pixel = swtData.getPixel(x, y); in convertToAwt()
216 int pixel = swtData.getPixel(x, y); in convertToAwt()
292 destData.setPixel(dx, dy, srcData.getPixel(sx, sy)); in drawRectangles()
307 destData.setPixel(dx, dy, srcData.getPixel(sx, sy)); in drawRectangles()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImage.java203 private static final int getPixel(ImageData image, int x, int y) { in getPixel() method in NinePatchedImage
204 return (image.getAlpha(x, y) << 24) + image.getPixel(x, y); in getPixel()
222 int pixel = getPixel(mBaseImageData, x, y); in ensurePixel()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DIconFactory.java442 int backgroundPixel = data.palette.getPixel(backgroundRgb); in getImageData()