Searched refs:getPixel (Results 1 – 4 of 4) sorted by relevance
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/ |
D | LogoUtilsTest.java | 50 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(5, 5)); in testPartiallyResizedBitmap() 64 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(1, 1)); in testPartiallyResizedElongatedBitmap() 76 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(2, 2)); in testResizeBitmapKeepRatio() 86 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(2, 2)); in testResizeBitmapNoScalingNeeded() 94 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(2, 2)); in testResizeBitmapNoIntegerRatio() 142 assertEquals(b1.getPixel(x, y), b2.getPixel(x, y)); in assertBitmapEquals()
|
/packages/apps/Messaging/jni/ |
D | GifTranscoder.cpp | 72 T* getPixel(T* buffer, int width, int x, int y) { in getPixel() function 381 GifByteType colorIndex = *getPixel(rasterBits, gifIn->Image.Width, x, y); in renderImage() 393 ColorARGB* renderPixel = getPixel(renderBuffer, gifIn->SWidth, renderX, renderY); in renderImage() 413 ColorARGB* renderPixel = getPixel(renderBuffer, imageWidth, x + left, y + top); in fillRect() 427 ColorARGB c1 = *getPixel(renderBuffer, gifIn->SWidth, x * 2, y * 2); in computeNewColorIndex() 428 ColorARGB c2 = *getPixel(renderBuffer, gifIn->SWidth, x * 2 + 1, y * 2); in computeNewColorIndex() 429 ColorARGB c3 = *getPixel(renderBuffer, gifIn->SWidth, x * 2, y * 2 + 1); in computeNewColorIndex() 430 ColorARGB c4 = *getPixel(renderBuffer, gifIn->SWidth, x * 2 + 1, y * 2 + 1); in computeNewColorIndex()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | PhotoProcessorTest.java | 51 assertEquals(Color.argb(255, 255, 255, 255), normalized.getPixel(0, 0)); in testTransparency()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 502 int argb = bitmap.getPixel(x, y); in findDominantColorByHue() 534 int rgb = bitmap.getPixel(x, y) | 0xff000000; in findDominantColorByHue()
|