Searched refs:bitmap (Results 201 - 225 of 289) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
H A DSaveImage.java372 // If we succeed in writing the bitmap as a jpeg, return a uri.
395 // Try to do bitmap operations, downsample if low-memory
396 Bitmap bitmap = ImageLoader.loadOrientedBitmapWithBackouts(mContext, newSourceUri,
398 if (bitmap == null) {
403 int w = (int) (bitmap.getWidth() * sizeFactor);
404 int h = (int) (bitmap.getHeight() * sizeFactor);
409 bitmap = Bitmap.createScaledBitmap(bitmap, w, h, true);
415 bitmap = pipeline.renderFinalImage(bitmap, prese
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSlidingWindow.java304 protected void onLoadComplete(Bitmap bitmap) { argument
309 Bitmap bitmap = getBitmap();
310 if (bitmap == null) return; // error or recycled
312 entry.bitmapTexture = new TiledTexture(bitmap);
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
H A DContactDrawable.java16 package com.android.mail.bitmap;
/packages/apps/Camera2/src/com/android/camera/
H A DVideoUI.java184 public void showReviewImage(Bitmap bitmap) { argument
185 mReviewImage.setImageBitmap(bitmap);
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
H A DJpegImageBackendImageSaver.java128 final Bitmap bitmap = BitmapFactory.decodeByteArray(payload.data, 0,
133 // NOT applied to the bitmap directly.
135 mSession.updateCaptureIndicatorThumbnail(bitmap, rotation);
154 /** Factor to downsample full-size JPEG image for use in thumbnail bitmap. */
H A DYuvImageBackendImageSaver.java136 // Load bitmap into CameraAppUI
139 final Bitmap bitmap = Bitmap.createBitmap(payload.data,
142 mSession.updateCaptureIndicatorThumbnail(bitmap, mImageRotation.getDegrees());
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DBaseRawContactEditorView.java104 public void setPhotoEntry(Bitmap bitmap) { argument
105 mPhoto.setPhotoEntry(bitmap);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DResultActivity.java165 private void addRowWithBitmap(String label, Bitmap bitmap) { argument
171 imageView.setImageBitmap(bitmap);
/packages/apps/Gallery/src/com/android/camera/
H A DViewImage.java521 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...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DAction.java128 Bitmap bitmap = MasterImage.getImage().getThumbnailBitmap();
129 if (bitmap != null) {
H A DCategoryView.java137 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.filtershow_add);
138 setBitmap(bitmap);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorBrightnessView.java91 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888);
92 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
H A DColorCompareView.java82 Bitmap bitmap = Bitmap.createBitmap(colors, imgdim, imgdim, Bitmap.Config.ARGB_8888);
83 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
H A DColorHueView.java196 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888);
197 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
H A DColorOpacityView.java96 Bitmap bitmap = Bitmap.createBitmap(colors, imgdim, imgdim, Bitmap.Config.ARGB_8888);
97 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
H A DColorSaturationView.java91 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888);
92 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropActivity.java80 * The maximum bitmap size we allow to be returned through the intent.
182 * Method that loads a bitmap in an async task.
198 * Method called on UI thread with loaded bitmap.
200 private void doneLoadBitmap(Bitmap bitmap, RectF bounds, int orientation) { argument
203 mOriginalBitmap = bitmap;
206 if (bitmap != null && bitmap.getWidth() != 0 && bitmap.getHeight() != 0) {
207 RectF imgBounds = new RectF(0, 0, bitmap.getWidth(), bitmap
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetConfigure.java127 Bitmap bitmap = (Bitmap) data.getParcelableExtra("data");
130 helper.setPhoto(mAppWidgetId, mPickedItem, bitmap);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragView.java62 * @param bitmap The view that we're dragging around. We scale it up when we draw it.
66 public DragView(Launcher launcher, Bitmap bitmap, int registrationX, int registrationY, argument
110 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height);
113 // The point in our scaled bitmap that the touch events are located
/packages/apps/Settings/src/com/android/settings/users/
H A DEditUserInfoController.java153 Bitmap bitmap = mEditUserPhotoController.getNewUserPhotoBitmap();
154 if (drawable != null && bitmap != null
H A DUserSettings.java856 Bitmap bitmap = mUserManager.getUserIcon(userId);
857 if (bitmap == null) {
858 bitmap = Utils.getDefaultUserIconAsBitmap(userId);
860 mUserIcons.append(userId, bitmap);
874 Bitmap bitmap = Utils.getDefaultUserIconAsBitmap(user.id);
875 mUserManager.setUserIcon(user.id, bitmap);
886 Bitmap bitmap = mUserIcons.get(user.id);
887 if (bitmap != null) {
888 pref.setIcon(encircle(bitmap));
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DWidgetConversationListItemViewBuilder.java47 // Static bitmap
97 Bitmap bitmap = Bitmap.createBitmap(color, 1, 1, Bitmap.Config.RGB_565);
98 remoteViews.setImageViewBitmap(viewId, bitmap);
/packages/apps/Camera/src/com/android/camera/
H A DPanoramaModule.java602 Bitmap bitmap = null;
603 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length);
605 MSG_LOW_RES_FINAL_MOSAIC_READY, bitmap));
876 public FlipBitmapDrawable(Resources res, Bitmap bitmap) { argument
877 super(res, bitmap);
892 private void showFinalMosaic(Bitmap bitmap) { argument
893 if (bitmap != null) {
898 mActivity.getResources(), bitmap));
900 mReview.setImageBitmap(bitmap);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalImage.java208 Bitmap bitmap = DecodeUtils.decodeIfBigEnough(
210 if (bitmap != null) return bitmap;
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DFireflyRenderer.java259 Bitmap bitmap = BitmapFactory.decodeStream(in);
265 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0);
267 bitmap.recycle();

Completed in 1294 milliseconds

1234567891011>>