Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormatTest.java34 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseNative_requiredOnly()
47 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseNative_withSize()
60 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseVariant_requiredOnly()
73 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseVariant_withMaxSize()
118 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseVariant_allFields()
127 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseVariant_allFields()
136 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseVariant_allFields()
153 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testCreateNative_requiredOnly()
170 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testCreateNative_withSize()
188 Assert.assertEquals(BipPixel.createFixed(32, 32), format.getPixel()); in testCreateVariant_requiredOnly()
[all …]
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormat.java151 public BipPixel getPixel() { in getPixel() method in BipImageFormat
175 && f.getPixel() == getPixel() in equals()
DBipImageDescriptor.java225 public BipPixel getPixel() { in getPixel() method in BipImageDescriptor
262 && d.getPixel() == getPixel() in equals()
DBipImageProperties.java281 BipPixel pixel = format.getPixel(); in isThumbnailFormat()
316 BipPixel pixel = format.getPixel(); in toString()
333 BipPixel pixel = format.getPixel(); in toString()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoProcessorTest.java50 assertEquals(Color.argb(255, 255, 255, 255), normalized.getPixel(0, 0)); in testTransparency()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/
DCoverArtTest.java101 BipPixel pixel = format.getPixel(); in containsThumbnailFormat()
110 BipPixel pixel = format.getPixel(); in containsThumbnailFormat()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapUtils.java86 result = 31 * result + bitmap.getPixel(x, y); in generateHashCode()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DColorExtractor.java71 int argb = bitmap.getPixel(x, y); in findDominantColorByHue()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/helpers/
DCoverArt.java134 BipPixel pixel = descriptor.getPixel(); in isDescriptorValid()