Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java40 assertEquals("Top left pixel should be #ed0000", 0xffed0000, bitmap.getPixel(0, 0)); in testDraw()
41 assertEquals("Center pixel should be #d30000", 0xffd30000, bitmap.getPixel(683, 384)); in testDraw()
43 bitmap.getPixel(1365, 767)); in testDraw()
64 assertEquals("Top left pixel should be #ed0000", 0xffed0000, bitmap.getPixel(0, 0)); in testDrawTwice()
65 assertEquals("Center pixel should be #d30000", 0xffd30000, bitmap.getPixel(683, 384)); in testDrawTwice()
67 bitmap.getPixel(1365, 767)); in testDrawTwice()
/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.java155 int idealColor = ideal.getPixel(x, y); in calcError()
156 int givenColor = given.getPixel(x, y); in calcError()
178 int regionColor = ideal.getPixel(x, y); in inspectRegion()
181 if (ideal.getPixel(x + i, y + j) != regionColor) in inspectRegion()
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
DAnimatedVectorDrawableTest.java133 int sunColor = mBitmap.getPixel(IMAGE_WIDTH / 2, IMAGE_HEIGHT / 2); in testInflate()
134 int earthColor = mBitmap.getPixel(IMAGE_WIDTH * 3 / 4 + 2, IMAGE_HEIGHT / 2); in testInflate()
225 int pixel = bitmap.getPixel(pixelX, pixelY); in verifyRedOnly()
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
DDividerItemDecorationTest.java178 expected.getPixel(x, y), actual.getPixel(x, y)); in assertBitmapEquals()
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
DRGBZ.java110 return getDepthTransform().reconstruct(Color.blue(depthBitmap.getPixel(x, y))); in getDepth()
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
DVectorDrawableTest.java238 int idealColor = ideal.getPixel(x, y); in compareImages()
239 int givenColor = given.getPixel(x, y); in compareImages()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java558 if (goldenBitmap.getPixel(x, j) != outThumbnail.getPixel(x, j)) { in getThumbnail()
559 Log.v(TAG, "pixel = " + goldenBitmap.getPixel(x, j)); in getThumbnail()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java1398 public int getPixel(int x, int y) { in getPixel() method in Bitmap
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java575 if (Color.alpha(thumbnailData.thumbnail.getPixel(0, 0)) == 0) { in getTaskThumbnail()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10449 method public int getPixel(int, int);
/frameworks/base/api/
Dcurrent.txt11471 method public int getPixel(int, int);
Dtest-current.txt11484 method public int getPixel(int, int);
Dsystem-current.txt11910 method public int getPixel(int, int);