Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormatTest.java36 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseNative_requiredOnly()
49 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseNative_withSize()
62 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseVariant_requiredOnly()
75 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseVariant_withMaxSize()
120 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseVariant_allFields()
129 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseVariant_allFields()
138 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseVariant_allFields()
152 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testCreateNative_requiredOnly()
166 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testCreateNative_withSize()
180 Assert.assertEquals(BipPixel.createFixed(32, 32), format.getPixel()); in testCreateVariant_requiredOnly()
[all …]
/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/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormat.java154 public BipPixel getPixel() { in getPixel() method in BipImageFormat
178 && f.getPixel() == getPixel() in equals()
DBipImageDescriptor.java242 public BipPixel getPixel() { in getPixel() method in BipImageDescriptor
279 && d.getPixel() == getPixel() in equals()
DBipImageProperties.java287 BipPixel pixel = format.getPixel(); in isThumbnailFormat()
322 BipPixel pixel = format.getPixel(); in toString()
339 BipPixel pixel = format.getPixel(); in toString()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcp/
DCoverArtTest.java117 BipPixel pixel = format.getPixel(); in containsThumbnailFormat()
126 BipPixel pixel = format.getPixel(); in containsThumbnailFormat()
/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/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapUtils.java80 result = 31 * result + bitmap.getPixel(x, y); in generateHashCode()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DCoverArt.java152 BipPixel pixel = descriptor.getPixel(); in isDescriptorValid()