Searched defs:compressed (Results 1 - 2 of 2) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | ImageViewDrawableSetter.java | 35 * Initialized with a target ImageView. When provided with a compressed image 82 protected Bitmap setCompressedImage(byte[] compressed) { argument 86 } else if (mPreviousDrawable != null && Arrays.equals(mCompressed, compressed)) { 94 final Drawable newDrawable = (compressed == null) 96 : decodedBitmapDrawable(compressed); 99 mCompressed = compressed; 144 private BitmapDrawable decodedBitmapDrawable(byte[] compressed) { argument 146 Bitmap bitmap = BitmapFactory.decodeByteArray(compressed, 0, compressed.length);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 4461 // Extract compressed image data from the audio file itself or, if that fails, 4464 byte[] compressed = null; 4472 compressed = scanner.extractAlbumArt(pfd.getFileDescriptor()); 4484 if (compressed == null && path != null) { 4537 compressed = new byte[(int)file.length()]; 4541 stream.read(compressed); 4543 compressed = null; 4556 return compressed; 4600 // if necessary, otherwise writes the compressed data. 4602 boolean need_to_recompress, Uri out, byte[] compressed, Bitma 4601 writeAlbumArt( boolean need_to_recompress, Uri out, byte[] compressed, Bitmap bm) argument [all...] |
Completed in 101 milliseconds