/packages/apps/Browser/src/com/android/browser/ |
H A D | MeshTracker.java | 74 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);
|
H A D | Bookmarks.java | 200 private static byte[] bitmapToBytes(Bitmap bm) { argument 201 if (bm == null) { 206 bm.compress(Bitmap.CompressFormat.PNG, 100, os);
|
H A D | BrowserBookmarksPage.java | 467 Bitmap bm = Bitmap.createBitmap(mIconSize, mIconSize, 469 Canvas canvas = new Canvas(bm); 472 Rect dest = new Rect(0, 0, bm.getWidth(), bm.getHeight()); 483 RectF rect = new RectF(0, 0, bm.getWidth(), bm.getHeight()); 491 i.putExtra(Intent.EXTRA_SHORTCUT_ICON, bm);
|
H A D | TabControl.java | 548 Bitmap bm = BitmapFactory.decodeResource(mActivity.getResources(), 550 paint.setShader(new BitmapShader(bm, Shader.TileMode.REPEAT,
|
H A D | BrowserActivity.java | 1917 Bitmap bm = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); 1918 Canvas canvas = new Canvas(bm); 1922 setWallpaper(bm); 2396 final Bitmap bm = createScreenshot(view); 2397 if (bm == null) { 2417 bm.compress(Bitmap.CompressFormat.PNG, 100, os); 2477 Bitmap bm = Bitmap.createBitmap(getDesiredThumbnailWidth(this), 2479 Canvas canvas = new Canvas(bm); 2508 return bm;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | PrivacySettings.java | 92 IBackupManager bm = IBackupManager.Stub.asInterface( 94 if (bm != null) { 98 bm.setAutoRestore(curState); 157 IBackupManager bm = IBackupManager.Stub.asInterface( 159 if (bm != null) { 161 bm.setBackupEnabled(enable);
|
H A D | BandMode.java | 103 public BandListItem(int bm) { argument 104 mBandMode = bm;
|
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | ImageModel.java | 143 Bitmap bm = mBitmapCache.get(); 144 if (bm == null) { 146 bm = createThumbnailBitmap(THUMBNAIL_BOUNDS_LIMIT, uri); 147 if (bm != null) { 148 mBitmapCache = new SoftReference<Bitmap>(bm); 155 return bm;
|
/packages/apps/Music/src/com/android/music/ |
H A D | MusicUtils.java | 1000 Bitmap bm = getArtworkFromFile(context, song_id, -1); 1001 if (bm != null) { 1002 return bm; 1021 Bitmap bm = getArtworkFromFile(context, song_id, album_id); 1022 if (bm != null) { 1023 if (bm.getConfig() == null) { 1024 bm = bm.copy(Bitmap.Config.RGB_565, false); 1025 if (bm == null && allowdefault) { 1030 bm 1270 setBackground(View v, Bitmap bm) argument [all...] |
H A D | TouchInterceptor.java | 368 private void startDragging(Bitmap bm, int x, int y) { argument 392 v.setImageBitmap(bm); 393 mDragBitmap = bm;
|
H A D | MediaPlaybackActivity.java | 1324 Bitmap bm = MusicUtils.getArtwork(MediaPlaybackActivity.this, songid, albumid); 1325 if (bm == null) { 1326 bm = MusicUtils.getArtwork(MediaPlaybackActivity.this, songid, -1); 1329 if (bm != null) { 1330 numsg = mHandler.obtainMessage(ALBUM_ART_DECODED, bm);
|
H A D | TrackBrowserActivity.java | 427 Bitmap bm = MusicUtils.getArtwork(TrackBrowserActivity.this, -1, albumid, false); 428 if (bm != null) { 429 MusicUtils.setBackground(mTrackList, bm);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 2780 boolean need_to_recompress, Uri out, byte[] compressed, Bitmap bm) { 2791 success = bm.compress(Bitmap.CompressFormat.JPEG, 75, outstream); 2823 Bitmap bm = null; 2849 bm = BitmapFactory.decodeByteArray(compressed, 0, compressed.length, opts); 2851 if (bm != null && bm.getConfig() == null) { 2852 Bitmap nbm = bm.copy(Bitmap.Config.RGB_565, false); 2853 if (nbm != null && nbm != bm) { 2854 bm.recycle(); 2855 bm 2779 writeAlbumArt( boolean need_to_recompress, Uri out, byte[] compressed, Bitmap bm) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactsListActivity.java | 2293 Bitmap bm = null; 2300 bm = ContactsUtils.loadContactPhoto(cursor, 0, options); 2308 if (bm == null) { 2314 bm = BitmapFactory.decodeResource(getResources(), 2318 return bm;
|