Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLogoUtilsTest.java44 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(5, 5)); in testPartiallyResizedBitmap()
58 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(1, 1)); in testPartiallyResizedElongatedBitmap()
70 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(2, 2)); in testResizeBitmapKeepRatio()
80 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(2, 2)); in testResizeBitmapNoScalingNeeded()
88 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(2, 2)); in testResizeBitmapNoIntegerRatio()
132 assertEquals(b1.getPixel(x, y), b2.getPixel(x, y)); in assertBitmapEquals()
/packages/apps/Messaging/jni/
DGifTranscoder.cpp72 T* getPixel(T* buffer, int width, int x, int y) { in getPixel() function
386 GifByteType colorIndex = *getPixel(rasterBits, gifIn->Image.Width, x, y); in renderImage()
403 ColorARGB* renderPixel = getPixel(renderBuffer, gifIn->SWidth, renderX, renderY); in renderImage()
423 ColorARGB* renderPixel = getPixel(renderBuffer, imageWidth, x + left, y + top); in fillRect()
437 ColorARGB c1 = *getPixel(renderBuffer, gifIn->SWidth, x * 2, y * 2); in computeNewColorIndex()
438 ColorARGB c2 = *getPixel(renderBuffer, gifIn->SWidth, x * 2 + 1, y * 2); in computeNewColorIndex()
439 ColorARGB c3 = *getPixel(renderBuffer, gifIn->SWidth, x * 2, y * 2 + 1); in computeNewColorIndex()
440 ColorARGB c4 = *getPixel(renderBuffer, gifIn->SWidth, x * 2 + 1, y * 2 + 1); in computeNewColorIndex()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoProcessorTest.java51 assertEquals(Color.argb(255, 255, 255, 255), normalized.getPixel(0, 0)); in testTransparency()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java312 int argb = bitmap.getPixel(x, y); in findDominantColorByHue()
344 int rgb = bitmap.getPixel(x, y) | 0xff000000; in findDominantColorByHue()
/packages/services/Car/car-support-lib/
Dproguard-release.flags2674 public int getPixel(int, int);