/packages/apps/Contacts/src/com/android/contacts/socialwidget/ |
SocialWidgetProvider.java | 26 import android.graphics.Bitmap; 164 private static void setPhoto(RemoteViews views, Bitmap photo) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
SharePopup.java | 30 import android.graphics.Bitmap; 103 public SharePopup(Activity activity, Uri uri, Bitmap bitmap, int orientation, 122 mThumbnail.setImageBitmap(bitmap); 132 mBitmapWidth = bitmap.getWidth(); 133 mBitmapHeight = bitmap.getHeight(); 139 mBitmapWidth = bitmap.getWidth(); 140 mBitmapHeight = bitmap.getHeight();
|
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
HoloSpiralRS.java | 24 import android.graphics.Bitmap; 182 Bitmap bmp = BitmapFactory.decodeResource(
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
NoiseFieldRS.java | 4 import android.graphics.Bitmap; 61 mOptionsARGB.inPreferredConfig = Bitmap.Config.ARGB_8888;
|
/packages/apps/Gallery/src/com/android/camera/ |
ViewImage.java | 25 import android.graphics.Bitmap; 486 Bitmap b = mCache.getBitmap(pos); 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) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TileImageView.java | 20 import android.graphics.Bitmap; 64 * DECODED --> ACTIVATED - (after the decoded bitmap is uploaded) 81 // The mLevel variable indicates which level of bitmap we should use. 82 // Level 0 means the original full-sized bitmap, and a larger value means 83 // a smaller scaled bitmap (The width and height of each scaled bitmap is 85 // use the bitmap in mScaledBitmaps[mLevel] for display, otherwise the value 107 // The width and height of the full-sized bitmap 143 public Bitmap getTile(int level, int x, int y, int tileSize); 296 // If the bitmap is scaled by the given factor "scale", return th 694 Bitmap bitmap = mDecodedTile; local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
Workspace.java | 34 import android.graphics.Bitmap; 172 private Bitmap mDragOutline = null; [all...] |
LauncherModel.java | 38 import android.graphics.Bitmap; 143 private Bitmap mDefaultIcon; 212 public Bitmap getFallbackIcon() { 213 return Bitmap.createBitmap(mDefaultIcon); 2401 Parcelable bitmap = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_ICON); local [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | 41 import android.graphics.Bitmap; 159 private Bitmap mDefaultContactPhoto; 533 private Bitmap createSelectedChip(RecipientEntry contact, TextPaint paint) { 551 Bitmap tmpBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 575 private Bitmap createUnselectedChip(RecipientEntry contact, TextPaint paint, 593 Bitmap tmpBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
Controller.java | 39 import android.graphics.Bitmap; 155 // A bitmap that is re-used in createScreenshot as scratch space 156 private static Bitmap sThumbnailBitmap; 582 * @param favicon Bitmap of the favicon for the page. Stored in the Intent 584 * @param screenshot Bitmap of a screenshot of the page. Stored in the 588 Bitmap favicon, Bitmap screenshot) { 820 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) { [all...] |
BaseUi.java | 24 import android.graphics.Bitmap; 107 private Bitmap mDefaultVideoPoster; 633 Bitmap icon = tab.getFavicon(); 725 public Bitmap getDefaultVideoPoster() { 782 public Drawable getFaviconDrawable(Bitmap icon) {
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
MessagingNotification.java | 44 import android.graphics.Bitmap; 359 public final Bitmap mAttachmentBitmap; 375 * @param attachmentBitmap a bitmap of an attachment, such as a picture or video 383 Bitmap attachmentBitmap, Contact sender, 601 Bitmap attachedPicture = null; 754 Bitmap attachmentBitmap, [all...] |
/frameworks/base/core/java/android/view/ |
GLES20Canvas.java | 19 import android.graphics.Bitmap; 183 static native boolean nCopyLayer(int layerId, int bitmap); 721 public void drawPatch(Bitmap bitmap, byte[] chunks, RectF dst, Paint paint) { 722 if (bitmap.isRecycled()) throw new IllegalArgumentException("Cannot draw recycled bitmaps"); 727 nDrawPatch(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer, chunks, 734 private static native void nDrawPatch(int renderer, int bitmap, byte[] buffer, byte[] chunks, 738 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) [all...] |
/frameworks/base/core/java/android/webkit/ |
CallbackProxy.java | 23 import android.graphics.Bitmap; 306 (Bitmap) msg.obj); 320 mWebChromeClient.onReceivedIcon(mWebView.getWebView(), (Bitmap) msg.obj); 755 public void onPageStarted(String url, Bitmap favicon) { [all...] |
/frameworks/base/services/java/com/android/server/connectivity/ |
Vpn.java | 33 import android.graphics.Bitmap; 283 // Load the icon and convert it into a bitmap. 285 Bitmap bitmap = null; local 292 bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 293 Canvas c = new Canvas(bitmap); 336 showNotification(config, label, bitmap); 423 private void showNotification(VpnConfig config, String label, Bitmap icon) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
CommandParamsFactory.java | 19 import android.graphics.Bitmap; 210 Bitmap[] icons = null; 218 mCmdParams.setIcon((Bitmap) data); 221 icons = (Bitmap[]) data; 223 for (Bitmap icon : icons) { [all...] |
/packages/apps/Phone/src/com/android/phone/ |
NotificationMgr.java | 31 import android.graphics.Bitmap; 421 int token, Drawable photo, Bitmap photoIcon, Object cookie) { 478 * the most suitable for {@link android.app.Notification.Builder#setLargeIcon(Bitmap)}, this 483 String name, String number, String type, Drawable photo, Bitmap photoIcon, long date) { 924 Bitmap bitmap = ((BitmapDrawable) callerInfo.cachedPhoto).getBitmap(); local 945 Bitmap bitmap = ((BitmapDrawable) drawable).getBitmap(); local [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoTable.java | 20 import android.graphics.Bitmap; 453 /** Put a nice border on the bitmap. */ 455 Bitmap decodedPhoto) { 499 final Bitmap current = getBitmap(mParent); 500 Bitmap decodedPhoto; 931 BitmapDrawable bitmap = (BitmapDrawable) layers.getDrawable(0); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Images_MediaTest.java | 25 import android.graphics.Bitmap; 155 // insert the image by bitmap 156 Bitmap src = BitmapFactory.decodeResource(mContext.getResources(), R.raw.scenery); 171 Bitmap result = Media.getBitmap(mContentResolver, 174 // can not check the identity between the result and source bitmap because 175 // source bitmap is compressed before it is saved as result bitmap
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
LunarView.java | 21 import android.graphics.Bitmap; 111 private Bitmap mBackgroundImage; 232 // load background image as a Bitmap instead of a Drawable b/c 524 mBackgroundImage = Bitmap.createScaledBitmap( [all...] |
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
ContactsListFragment.java | 27 import android.graphics.Bitmap; 181 protected Bitmap processBitmap(Object data) { 558 * and returns the result as a Bitmap. The column that contains the Uri varies according to the 564 * @return A Bitmap containing the contact's image, resized to fit the provided image size. If 567 private Bitmap loadContactPhotoThumbnail(String photoData, int imageSize) { 602 // decode the contents of a file pointed to by a FileDescriptor into a Bitmap. 606 // Decodes a Bitmap from the image pointed to by the FileDescriptor, and scales it [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowView.java | 8 import android.graphics.Bitmap; 897 public Bitmap getDrawingCache() { 898 return Robolectric.newInstanceOf(Bitmap.class);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 25 import android.graphics.Bitmap; 108 Bitmap mBackground; 319 // Load bitmap if it is not yet loaded or if it was loaded at a different size 322 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " + 331 Log.d(TAG, "Unable to load bitmap"); 337 Log.d(TAG, "Surface != bitmap dimensions: surface w/h, bitmap w/h: " + 379 // the loaded bitmap. Yay! 380 // hw-accelerated path retains bitmap for faster rotation 512 private int loadTexture(Bitmap bitmap) [all...] |
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationBuilderTest.java | 28 import android.graphics.Bitmap; 490 private Bitmap loadBitmap(int id) { 492 return Bitmap.createBitmap(bd.getBitmap());
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ProgressBarICS.java | 22 import android.graphics.Bitmap; 95 Bitmap mSampleTile; 183 final Bitmap tileBitmap = ((BitmapDrawable) drawable).getBitmap();
|