/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageFormatTest.java | 36 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/ |
D | LogoUtilsTest.java | 44 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/ |
D | GifTranscoder.cpp | 72 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/ |
D | BipImageFormat.java | 154 public BipPixel getPixel() { in getPixel() method in BipImageFormat 178 && f.getPixel() == getPixel() in equals()
|
D | BipImageDescriptor.java | 242 public BipPixel getPixel() { in getPixel() method in BipImageDescriptor 279 && d.getPixel() == getPixel() in equals()
|
D | BipImageProperties.java | 287 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/ |
D | CoverArtTest.java | 117 BipPixel pixel = format.getPixel(); in containsThumbnailFormat() 126 BipPixel pixel = format.getPixel(); in containsThumbnailFormat()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | PhotoProcessorTest.java | 50 assertEquals(Color.argb(255, 255, 255, 255), normalized.getPixel(0, 0)); in testTransparency()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapUtils.java | 80 result = 31 * result + bitmap.getPixel(x, y); in generateHashCode()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/ |
D | CoverArt.java | 152 BipPixel pixel = descriptor.getPixel(); in isDescriptorValid()
|