Searched defs:bm (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Browser/src/com/android/browser/
H A DBookmarks.java200 private static byte[] bitmapToBytes(Bitmap bm) { argument
201 if (bm == null) {
206 bm.compress(Bitmap.CompressFormat.PNG, 100, os);
H A DMeshTracker.java74 public void setBitmap(Bitmap bm) { argument
75 mPatch.setTexture(bm);
76 setSize(bm.getWidth(), bm.getHeight());
173 @Override public void onBitmapChange(Bitmap bm) { argument
174 mBitmap = bm;
175 mMesh.setBitmap(bm);
/packages/apps/Settings/src/com/android/settings/
H A DBandMode.java103 public BandListItem(int bm) { argument
104 mBandMode = bm;
/packages/apps/Music/src/com/android/music/
H A DTouchInterceptor.java335 private void startDragging(Bitmap bm, int y) { argument
357 v.setImageBitmap(bm);
358 mDragBitmap = bm;
H A DMusicUtils.java982 Bitmap bm = getArtworkFromFile(context, song_id, -1);
983 if (bm != null) {
984 return bm;
1003 Bitmap bm = getArtworkFromFile(context, song_id, album_id);
1004 if (bm != null) {
1005 if (bm.getConfig() == null) {
1006 bm = bm.copy(Bitmap.Config.RGB_565, false);
1007 if (bm == null && allowdefault) {
1012 bm
1252 setBackground(View v, Bitmap bm) argument
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java2649 boolean need_to_recompress, Uri out, byte[] compressed, Bitmap bm) {
2660 success = bm.compress(Bitmap.CompressFormat.JPEG, 75, outstream);
2692 Bitmap bm = null;
2718 bm = BitmapFactory.decodeByteArray(compressed, 0, compressed.length, opts);
2720 if (bm != null && bm.getConfig() == null) {
2721 Bitmap nbm = bm.copy(Bitmap.Config.RGB_565, false);
2722 if (nbm != null && nbm != bm) {
2723 bm.recycle();
2724 bm
2648 writeAlbumArt( boolean need_to_recompress, Uri out, byte[] compressed, Bitmap bm) argument
[all...]

Completed in 64 milliseconds