/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | SlideView.java | 106 public void setImage(String name, Bitmap bitmap) { argument 117 if (null == bitmap) { 118 bitmap = BitmapFactory.decodeResource(getResources(), 122 mImageView.setImageBitmap(bitmap);
|
H A D | MessageListItem.java | 332 public void setImage(String name, Bitmap bitmap) { argument 336 if (null == bitmap) { 337 bitmap = BitmapFactory.decodeResource(getResources(), 340 mImageView.setImageBitmap(bitmap); 653 Bitmap bitmap = VideoAttachmentView.createVideoThumbnail(mContext, video); 654 if (null == bitmap) { 655 bitmap = BitmapFactory.decodeResource(getResources(), 658 mImageView.setImageBitmap(bitmap);
|
H A D | AudioAttachmentView.java | 126 public void setImage(String name, Bitmap bitmap) { argument
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
H A D | ResultActivity.java | 165 private void addRowWithBitmap(String label, Bitmap bitmap) { argument 171 imageView.setImageBitmap(bitmap);
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
H A D | ContactStatusLoaderTest.java | 164 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); 166 bitmap.compress(Bitmap.CompressFormat.JPEG, 50, out);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ViewImage.java | 521 public void imageLoaded(int pos, int offset, RotateBitmap bitmap, 527 bitmap.recycle(); 532 mCache.put(pos + offset, bitmap.getBitmap()); 535 // isThumb: We always load thumb bitmap first, so we will 536 // reset the supp matrix for then thumb bitmap, and keep 537 // the supp matrix when the full bitmap is loaded. 538 mImageView.setImageRotateBitmapResetBase(bitmap, isThumb); 805 final RotateBitmap bitmap, final boolean isThumb) { 825 newView.setImageRotateBitmapResetBase(bitmap, true); 1226 // Returns the thumb bitmap i 1235 put(int pos, Bitmap bitmap) argument [all...] |
H A D | ImageGallery.java | 321 Bitmap bitmap = img.fullSizeBitmap( 323 if (bitmap != null) { 324 result.putExtra("data", bitmap); 790 // otherwise scale both the bitmap and the view should be 890 // Create this bitmap lazily, and only once for all the ImageBlocks to
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | SinglePhotoDataAdapter.java | 94 Bitmap bitmap = decoder.decodeRegion(new Rect(0, 0, width, height), options); 96 MSG_UPDATE_IMAGE, new ImageBundle(decoder, bitmap)));
|
H A D | PhotoDataAdapter.java | 503 Bitmap bitmap = mItem.requestImage(MediaItem.TYPE_THUMBNAIL).run(jc); 505 if (bitmap != null) { 506 bitmap = BitmapUtils.rotateBitmap(bitmap, 509 return bitmap;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DragView.java | 58 * @param bitmap The view that we're dragging around. We scale it up when we draw it. 62 public DragView(Launcher launcher, Bitmap bitmap, int registrationX, int registrationY, argument 105 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height, scale, true); 108 // The point in our scaled bitmap that the touch events are located
|
H A D | HolographicOutlineHelper.java | 102 * Apply an outer blur to the given bitmap. 103 * You should use OUTER_BLUR_RADIUS to ensure that the bitmap is big enough to draw 106 void applyOuterBlur(Bitmap bitmap, Canvas canvas, int color) { argument 108 Bitmap glow = bitmap.extractAlpha(mBlurPaint, mTempOffset); 121 * bitmap.
|
H A D | WallpaperChooserDialogFragment.java | 328 * Custom drawable that centers the bitmap fed to it. 336 /* package */void setBitmap(Bitmap bitmap) { argument 337 mBitmap = bitmap;
|
H A D | DragController.java | 170 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged. 199 * @param bmp The bitmap that represents the view being dragged 204 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged. 224 * @param b The bitmap to display as the drag image. It will be re-scaled to the 226 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap. 227 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap. 241 * @param b The bitmap to display as the drag image. It will be re-scaled to the 243 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap. 244 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap. 249 * @param dragRegion Coordinates within the bitmap [all...] |
H A D | LauncherProvider.java | 548 Bitmap bitmap = Utilities.resampleIconBitmap( 551 if (bitmap != null) { 553 data = ItemInfo.flattenBitmap(bitmap); 558 bitmap.recycle();
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
H A D | ImageUtils.java | 65 * Resize a bitmap to the specified width and height. 72 * @return The resized bitmap 92 // Create the bitmap from file. 105 // Create the canvas bitmap. 106 final Bitmap bitmap = Bitmap.createBitmap(Math.round(scaledWidth), 109 final Canvas canvas = new Canvas(bitmap); 115 // Release the source bitmap 117 return bitmap; 175 // Determine width and height of the original bitmap without allocating memory for it, 189 // Make the scale factor a power of 2 for faster processing. Also the resulting bitmap ma [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | SuggestedMemberListAdapter.java | 148 Bitmap bitmap = BitmapFactory.decodeByteArray(byteArray, 0, byteArray.length); 149 icon.setImageBitmap(bitmap);
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | AttachmentProvider.java | 316 Bitmap bitmap = BitmapFactory.decodeStream(data); 317 return bitmap;
|
/packages/apps/Camera/src/com/android/camera/panorama/ |
H A D | PanoramaActivity.java | 312 // Set the thumbnail bitmap here because mThumbnailView must be accessed 626 Bitmap bitmap = null; 627 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length); 629 MSG_LOW_RES_FINAL_MOSAIC_READY, bitmap)); 939 private void showFinalMosaic(Bitmap bitmap) { argument 940 if (bitmap != null) { 941 mReview.setImageBitmap(bitmap);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumSetSlidingWindow.java | 353 protected void onBitmapAvailable(Bitmap bitmap) { argument 358 if (bitmap != null) { 359 BitmapTexture texture = new BitmapTexture(bitmap, true);
|
H A D | TileImageView.java | 61 * DECODED --> ACTIVATED - (after the decoded bitmap is uploaded) 78 // The mLevel variable indicates which level of bitmap we should use. 79 // Level 0 means the original full-sized bitmap, and a larger value means 80 // a smaller scaled bitmap (The width and height of each scaled bitmap is 82 // use the bitmap in mScaledBitmaps[mLevel] for display, otherwise the value 104 // The width and height of the full-sized bitmap 290 // If the bitmap is scaled by the given factor "scale", return the 294 // (cX, cY) is the point on the original bitmap which will be put in the 332 // bitmap, i 648 onFreeBitmap(Bitmap bitmap) argument [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | TouchInterceptor.java | 135 Bitmap bitmap = Bitmap.createBitmap(item.getDrawingCache()); 136 startDragging(bitmap, x, y);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | ActivityPicker.java | 363 // Ensure the bitmap has a density. 365 Bitmap bitmap = bitmapDrawable.getBitmap(); 366 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) {
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserBookmarksPage.java | 296 Bitmap bitmap = 298 item.setFavicon(bitmap); 304 Bitmap bitmap = getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_FAVICON); 305 item.setFavicon(bitmap);
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
H A D | ContactDetailDisplayUtils.java | 193 * Sets the contact photo to display in the given {@link ImageView}. If bitmap is null, the 202 Bitmap bitmap = photo != null ? BitmapFactory.decodeByteArray(photo, 0, photo.length) 211 photoView.setImageBitmap(bitmap);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
H A D | ContactHeaderWidget.java | 370 public void setPhoto(Bitmap bitmap) { argument 371 mPhotoView.setImageBitmap(bitmap);
|