HomeSort by relevance Sort by last modified time
    Searched refs:Bitmap (Results 576 - 600 of 893) sorted by null

<<21222324252627282930>>

  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
KeyguardTransportControlView.java 23 import android.graphics.Bitmap;
103 if (mMetadata.bitmap != null) {
104 mMetadata.bitmap.recycle();
106 mMetadata.bitmap = (Bitmap) msg.obj;
107 mAlbumArt.setImageBitmap(mMetadata.bitmap);
158 public void setArtwork(int generationId, Bitmap bitmap) {
161 handler.obtainMessage(MSG_SET_ARTWORK, generationId, 0, bitmap).sendToTarget();
165 public void setAllMetadata(int generationId, Bundle metadata, Bitmap bitmap)
249 private Bitmap bitmap; field in class:KeyguardTransportControlView.Metadata
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalImage.java 23 import android.graphics.Bitmap;
177 public Job<Bitmap> requestImage(int type) {
191 public Bitmap onDecodeOriginal(JobContext jc, final int type) {
193 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
209 Bitmap bitmap = DecodeUtils.decodeIfBigEnough( local
211 if (bitmap != null) return bitmap;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumSlidingWindow.java 19 import android.graphics.Bitmap;
298 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) {
304 protected void onLoadComplete(Bitmap bitmap) {
309 Bitmap bitmap = getBitmap(); local
310 if (bitmap == null) return; // error or recycled
312 entry.bitmapTexture = new TiledTexture(bitmap);
  /packages/apps/Music/src/com/android/music/
TouchInterceptor.java 22 import android.graphics.Bitmap;
71 private Bitmap mDragBitmap;
135 Bitmap bitmap = Bitmap.createBitmap(item.getDrawingCache()); local
136 startDragging(bitmap, x, y);
368 private void startDragging(Bitmap bm, int x, int y) {
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 27 import android.graphics.Bitmap;
125 * Opens an InputStream for the person's photo and returns the photo as a Bitmap.
131 * @return the photo Bitmap
133 public static Bitmap loadContactPhoto(Cursor cursor, int bitmapColumnIndex,
149 * @return the placeholder Bitmap.
151 public static Bitmap loadPlaceholderPhoto(int placeholderImageResource, Context context,
160 public static Bitmap loadContactPhoto(Context context, long photoId,
163 Bitmap photoBm = null;
  /packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
NotificationShowcaseActivity.java 15 import android.graphics.Bitmap;
135 private static Bitmap getBitmap(Context context, int resId) {
137 Bitmap b = Bitmap.createBitmap(mLargeIconWidth, mLargeIconHeight, Bitmap.Config.ARGB_8888);
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 22 import android.graphics.Bitmap;
59 /** The width & height of the bitmap returned by {@link #getCroppedPhoto()} */
71 private static Bitmap sVideoImage;
73 private static Bitmap sVideoNotReadyImage;
385 * Binds a bitmap to the view.
387 * @param photoBitmap the bitmap to bind.
389 public void bindPhoto(Bitmap photoBitmap) {
392 final Bitmap drawableBitmap = mDrawable.getBitmap();
394 // setting the same bitmap; do nothing
418 public Bitmap getPhoto()
    [all...]
  /frameworks/base/core/java/android/webkit/
HTML5VideoViewProxy.java 20 import android.graphics.Bitmap;
85 // This ref prevents the bitmap from being GC'ed.
86 private Bitmap mPoster;
519 Bitmap poster = BitmapFactory.decodeByteArray(
635 Bitmap poster = (Bitmap) msg.obj;
652 private void doSetPoster(Bitmap poster) {
656 // Save a ref to the bitmap and send it over to the WebCore thread.
790 private native void nativeOnPosterFetched(Bitmap poster, int nativePointer);
  /packages/apps/Browser/src/com/android/browser/
PhoneUi.java 25 import android.graphics.Bitmap;
465 private Bitmap mTitleBarBitmap;
466 private Bitmap mContentBitmap;
517 private Bitmap safeCreateBitmap(int width, int height) {
523 return Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565);
526 public void set(Bitmap image) {
Tab.java 26 import android.graphics.Bitmap;
27 import android.graphics.Bitmap.CompressFormat;
104 private static Bitmap sDefaultFavicon;
188 private Bitmap mCapture;
197 private static synchronized Bitmap getDefaultFavicon(Context context) {
213 Bitmap mFavicon;
229 PageState(Context c, boolean incognito, String url, Bitmap favicon) {
338 public void onPageStarted(WebView view, String url, Bitmap favicon) {
812 public void onReceivedIcon(WebView view, Bitmap icon) {
    [all...]
BrowserSnapshotPage.java 30 import android.graphics.Bitmap;
175 static Bitmap getBitmap(Cursor cursor, int columnIndex) {
276 Bitmap thumbBitmap = BitmapFactory.decodeByteArray(
  /packages/apps/Gallery2/tests/src/com/android/photos/data/
MediaCacheTest.java 20 import android.graphics.Bitmap;
173 Bitmap bitmap = BitmapFactory.decodeStream(mReady.mInputStream); local
175 assertNotNull(bitmap);
176 Bitmap original = BitmapFactory.decodeFile(mImage.getPath());
177 assertTrue(bitmap.getWidth() < original.getWidth());
178 assertTrue(bitmap.getHeight() < original.getHeight());
179 int maxDimension = Math.max(bitmap.getWidth(), bitmap.getHeight());
193 Bitmap bitmap = BitmapFactory.decodeStream(mReady.mInputStream)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
DragController.java 21 import android.graphics.Bitmap;
169 * @param bmp The bitmap that represents the view being dragged
174 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
177 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction,
199 * @param b The bitmap to display as the drag image. It will be re-scaled to the
201 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap.
202 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap.
207 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
210 public void startDrag(Bitmap b, int dragLayerX, int dragLayerY,
261 * Draw the view into a bitmap
287 Bitmap bitmap = Bitmap.createBitmap(cacheBitmap); local
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
VideoEditorStressTest.java 26 import android.graphics.Bitmap;
453 final Bitmap mBitmap = mVideoEditorHelper.getBitmap(
462 final Bitmap mBitmap = mVideoEditorHelper.getBitmap(
472 final Bitmap mBitmap = mVideoEditorHelper.getBitmap(
601 final Bitmap[] thumbNails =
604 // Recycle this Bitmap array
610 final Bitmap[] thumbNails =
613 // Recycle this Bitmap array
619 final Bitmap[] thumbNails =
622 // Recycle this Bitmap arra
    [all...]
  /frameworks/base/core/java/android/widget/
RemoteViews.java 28 import android.graphics.Bitmap;
103 * Maps bitmaps to unique indicies to avoid Bitmap duplication.
209 // We currently only calculate Bitmap memory usage, so by default, don't do anything
242 // reference the bitmap cache. We don't want to modify the object as it may need to
275 // Because pruning can remove the need for bitmaps, we reconstruct the bitmap cache
945 Bitmap bitmap; field in class:RemoteViews.BitmapReflectionAction
    [all...]
  /packages/apps/Settings/src/com/android/settings/users/
UserSettings.java 34 import android.graphics.Bitmap;
136 private SparseArray<Bitmap> mUserIcons = new SparseArray<Bitmap>();
279 Bitmap b = mUserManager.getUserIcon(myUserId);
349 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), local
352 mUserManager.setUserIcon(userId, bitmap);
677 Bitmap bitmap = mUserManager.getUserIcon(userId); local
678 mUserIcons.append(userId, bitmap);
700 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), local
706 Bitmap bitmap = mUserIcons.get(user.id); local
    [all...]
  /development/samples/Home/src/com/example/android/home/
Home.java 30 import android.graphics.Bitmap;
648 final Bitmap.Config c =
650 Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565;
651 final Bitmap thumb = Bitmap.createBitmap(width, height, c);
735 * a bitmap while drawing it is very expensive, we use a ClippedDrawable instead.
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
ContentFragment.java 25 import android.graphics.Bitmap;
61 // The bitmap currently used by ImageView
62 private Bitmap mBitmap = null;
286 // are working with a lot of bitmaps. The bitmap is dead
291 // Get the bitmap that needs to be drawn and update the ImageView
315 // Write the bitmap to temporary storage in the external storage directory (e.g. SD card).
323 * Compress and write the bitmap to disk on a separate thread.
330 if (!mBitmap.compress(Bitmap.CompressFormat.JPEG, 60, fo)) {
331 Toast.makeText(getActivity(), "Error writing bitmap data.",
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
CaptureActivity.java 27 import android.graphics.Bitmap;
198 * @param barcode A greyscale bitmap of the camera data which was decoded.
200 public void handleDecode(Result rawResult, Bitmap barcode) {
220 * @param barcode A bitmap of the captured image.
223 private void drawResultPoints(Bitmap barcode, Result rawResult) {
  /frameworks/base/core/java/android/view/
GLES20DisplayList.java 19 import android.graphics.Bitmap;
29 // alive as long as the DisplayList is alive. The Bitmap and DisplayList lists
32 final ArrayList<Bitmap> mBitmaps = new ArrayList<Bitmap>(5);
  /frameworks/base/tools/layoutlib/bridge/src/android/view/
IWindowManagerImpl.java 25 import android.graphics.Bitmap;
252 public void overridePendingAppTransitionThumb(Bitmap srcThumb, int startX, int startY,
294 public Bitmap screenshotApplications(IBinder arg0, int displayId, int arg1, int arg2)
  /packages/apps/Contacts/src/com/android/contacts/detail/
PhotoSelectionHandler.java 25 import android.graphics.Bitmap;
122 Bitmap bitmap = BitmapFactory.decodeFile(path); local
123 listener.onPhotoSelected(bitmap);
157 * Utility method to retrieve the entity delta for attaching the given bitmap to the contact.
160 * @return An entity delta list that can be applied to associate the bitmap with the contact,
252 * Constructs an intent for picking a photo from Gallery, cropping it and returning the bitmap.
320 * @param bitmap The selected and cropped photo.
322 public abstract void onPhotoSelected(Bitmap bitmap);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
SlideshowPage.java 21 import android.graphics.Bitmap;
68 public Bitmap bitmap; field in class:SlideshowPage.Slide
72 public Slide(MediaItem item, int index, Bitmap bitmap) {
73 this.bitmap = bitmap;
164 mSlideshowView.next(slide.bitmap, slide.item.getRotation());
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropLoader.java 24 import android.graphics.Bitmap;
45 * This class contains static methods for loading a bitmap and
104 * Gets a bitmap at a given URI that is downsampled so that both sides are
105 * smaller than maxSideLength. The Bitmap's original dimensions are stored
110 * @param maxSideLength max side length of returned bitmap.
111 * @param originalBounds set to the actual bounds of the stored bitmap.
112 * @return downsampled bitmap or null if this operation failed.
114 public static Bitmap getConstrainedBitmap(Uri uri, Context context, int maxSideLength,
121 // Get width and height of stored bitmap
130 // If bitmap cannot be decoded, return nul
    [all...]
CropView.java 21 import android.graphics.Bitmap;
48 private Bitmap mBitmap;
100 public void initialize(Bitmap image, RectF newCropBounds, RectF newPhotoBounds, int rotation) {
330 // Draw actual bitmap

Completed in 1001 milliseconds

<<21222324252627282930>>