Home
last modified time | relevance | path

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

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapTest.java92 int p = bm.getPixel(i % 10, i / 10); in testGetPixelsWithAlpha()
97 int p = bm.getPixel(i % 10, i / 10); in testGetPixelsWithAlpha()
117 int p = bm.getPixel(i % 10, i / 10); in testGetPixelsWithoutAlpha()
139 bm1.getPixel(i % 10, i / 10), bm2.getPixel(i % 10, i / 10)); in testSetPixelsWithAlpha()
144 bm1.getPixel(i % 10, i / 10), colors[i]); in testSetPixelsWithAlpha()
164 assertEquals("setPixel", bm1.getPixel(i % 10, i / 10), in testSetPixelsWithoutAlpha()
165 bm2.getPixel(i % 10, i / 10)); in testSetPixelsWithoutAlpha()
198 int c1 = bm1.getPixel(i % 16, i / 16); in testSetPixelsWithNonOpaqueAlpha()
199 int c2 = bm2.getPixel(i % 16, i / 16); in testSetPixelsWithNonOpaqueAlpha()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DErrorCalculator.java158 int idealColor = ideal.getPixel(x, y); in calcError()
159 int givenColor = given.getPixel(x, y); in calcError()
181 int regionColor = ideal.getPixel(x, y); in inspectRegion()
184 if (ideal.getPixel(x + i, y + j) != regionColor) in inspectRegion()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java557 if (goldenBitmap.getPixel(x, j) != outThumbnail.getPixel(x, j)) { in getThumbnail()
558 Log.v(TAG, "pixel = " + goldenBitmap.getPixel(x, j)); in getThumbnail()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java1293 public int getPixel(int x, int y) { in getPixel() method in Bitmap
/frameworks/base/api/
Dcurrent.txt8921 method public int getPixel(int, int);