Searched defs:sourceWidth (Results 1 - 1 of 1) sorted by relevance
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
H A D | BitmapUtilTests.java | 105 private byte[] createJpegRawData(int sourceWidth, int sourceHeight) throws IOException { argument 106 return createRawData(Bitmap.CompressFormat.JPEG, sourceWidth, sourceHeight); 109 private byte[] createPngRawData(int sourceWidth, int sourceHeight) throws IOException { argument 110 return createRawData(Bitmap.CompressFormat.PNG, sourceWidth, sourceHeight); 113 private byte[] createRawData(Bitmap.CompressFormat format, int sourceWidth, argument 116 Bitmap b = Bitmap.createBitmap(sourceWidth, sourceHeight, Bitmap.Config.ARGB_8888);
|
Completed in 62 milliseconds