| /packages/apps/Browser/src/com/android/browser/ |
| PhoneUi.java | 25 import android.graphics.Bitmap; 516 private Bitmap mTitleBarBitmap; 517 private Bitmap mContentBitmap; 568 private Bitmap safeCreateBitmap(int width, int height) { 574 return Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); 577 public void set(Bitmap image) {
|
| Tab.java | 28 import android.graphics.Bitmap; 29 import android.graphics.Bitmap.CompressFormat; 105 private static Bitmap sDefaultFavicon; 188 private Bitmap mCapture; 196 private static synchronized Bitmap getDefaultFavicon(Context context) { 212 Bitmap mFavicon; 228 PageState(Context c, boolean incognito, String url, Bitmap favicon) { 565 public void onPageStarted(WebView view, String url, Bitmap favicon) { [all...] |
| BrowserSnapshotPage.java | 30 import android.graphics.Bitmap; 175 static Bitmap getBitmap(Cursor cursor, int columnIndex) { 276 Bitmap thumbBitmap = BitmapFactory.decodeByteArray(
|
| /frameworks/base/core/java/android/view/ |
| GLES20Canvas.java | 19 import android.graphics.Bitmap; 157 static native boolean nCopyLayer(int layerId, int bitmap); 675 public void drawPatch(Bitmap bitmap, byte[] chunks, RectF dst, Paint paint) { 679 nDrawPatch(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer, chunks, 684 private static native void nDrawPatch(int renderer, int bitmap, byte[] buffer, byte[] chunks, 688 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { 690 int modifiers = paint != null ? setupModifiers(bitmap, paint) : MODIFIER_NONE [all...] |
| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
| VideoEditorStressTest.java | 26 import android.graphics.Bitmap; 457 final Bitmap mBitmap = mVideoEditorHelper.getBitmap( 466 final Bitmap mBitmap = mVideoEditorHelper.getBitmap( 476 final Bitmap mBitmap = mVideoEditorHelper.getBitmap( 607 final Bitmap[] thumbNails = 610 // Recycle this Bitmap array 616 final Bitmap[] thumbNails = 619 // Recycle this Bitmap array 625 final Bitmap[] thumbNails = 628 // Recycle this Bitmap arra [all...] |
| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| CanvasTest.java | 21 import android.graphics.Bitmap; 33 import android.graphics.Bitmap.Config; 74 private Bitmap mImmutableBitmap; 75 private Bitmap mMutableBitmap; 86 opt.inScaled = false; // bitmap will only be immutable if not scaled during load 89 mMutableBitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); 105 args = {android.graphics.Bitmap.class} 109 // abnormal case: bitmap to be constructed is immutable 117 // abnormal case: bitmap to be constructed is recycled 127 mMutableBitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888) [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.
|
| /frameworks/base/core/java/android/app/ |
| Notification.java | 23 import android.graphics.Bitmap; 163 * The bitmap that may escape the bounds of the panel and bar. 165 public Bitmap largeIcon; 381 largeIcon = Bitmap.CREATOR.createFromParcel(parcel); 424 that.largeIcon = Bitmap.createBitmap(this.largeIcon); 646 private Bitmap mLargeIcon; 834 public Builder setLargeIcon(Bitmap icon) { [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
| AlbumSetSlidingWindow.java | 19 import android.graphics.Bitmap; 332 implements FutureListener<Bitmap> { 333 private Future<Bitmap> mFuture; 353 protected void onBitmapAvailable(Bitmap bitmap) { 358 if (bitmap != null) { 359 BitmapTexture texture = new BitmapTexture(bitmap, true); 430 public void onFutureDone(Future<Bitmap> future) { 435 Future<Bitmap> future = mFuture;
|
| /cts/tests/tests/webkit/src/android/webkit/cts/ |
| WebViewClientTest.java | 25 import android.graphics.Bitmap; 78 args = {WebView.class, String.class, Bitmap.class} 319 public void onPageStarted(WebView view, String url, Bitmap favicon) {
|
| /cts/tests/tests/widget/src/android/widget/cts/ |
| SimpleCursorTreeAdapterTest.java | 30 import android.graphics.Bitmap; 214 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); 215 Bitmap test = WidgetTestUtils.getUnscaledAndDitheredBitmap(mContext.getResources(),
|
| RemoteViewsTest.java | 33 import android.graphics.Bitmap; 235 Bitmap imageViewBitmap = ((BitmapDrawable) image.getDrawable()).getBitmap(); 236 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( 447 args = {int.class, android.graphics.Bitmap.class} 453 Bitmap bitmap = local 455 mRemoteViews.setImageViewBitmap(R.id.remoteView_image, bitmap); 458 WidgetTestUtils.assertEquals(bitmap, ((BitmapDrawable) image.getDrawable()).getBitmap()); 460 mRemoteViews.setImageViewBitmap(R.id.remoteView_absolute, bitmap); 472 args = {int.class, java.lang.String.class, android.graphics.Bitmap.class 478 Bitmap bitmap = local [all...] |
| /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.",
|
| /frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
| ProfileActivity.java | 22 import android.graphics.Bitmap; 123 public void onPageStarted(WebView view, String url, Bitmap favicon) { 140 public void onPageStarted(WebView view, String url, Bitmap favicon) {
|
| /packages/apps/Gallery2/src/com/android/gallery3d/app/ |
| SlideshowPage.java | 22 import android.graphics.Bitmap; 67 public Bitmap bitmap; field in class:SlideshowPage.Slide 71 public Slide(MediaItem item, int index, Bitmap bitmap) { 72 this.bitmap = bitmap; 149 mSlideshowView.next(slide.bitmap, slide.item.getRotation());
|
| /packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
| GalaxyRS.java | 4 import android.graphics.Bitmap; 58 mOptionsARGB.inPreferredConfig = Bitmap.Config.ARGB_8888; 102 Bitmap b = BitmapFactory.decodeResource(mRes, id, mOptionsARGB);
|
| /development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
| BitmapMesh.java | 40 private final Bitmap mBitmap;
|
| ColorMatrixSample.java | 36 private Bitmap mBitmap;
|
| Vertices.java | 52 Bitmap bm = BitmapFactory.decodeResource(getResources(),
|
| /development/samples/RenderScript/Balls/src/com/example/android/rs/balls/ |
| BallsView.java | 29 import android.graphics.Bitmap;
|
| /development/samples/RenderScript/Fountain/src/com/example/android/rs/fountain/ |
| FountainView.java | 29 import android.graphics.Bitmap;
|
| /external/webkit/Source/JavaScriptCore/heap/ |
| MarkedSpace.h | 28 #include <wtf/Bitmap.h>
|
| /frameworks/base/core/java/android/appwidget/ |
| AppWidgetHostView.java | 25 import android.graphics.Bitmap; 82 Bitmap mOld; 240 // Capture the old view into a bitmap so we can do the crossfade. 247 mOld = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
| /frameworks/base/graphics/java/android/graphics/drawable/ |
| Drawable.java | 24 import android.graphics.Bitmap; 91 * <li> <b>Bitmap</b>: the simplest Drawable, a PNG or JPEG image. 96 * bitmap, allowing it to resize better in some cases. 111 * guide. For information and examples of creating drawable resources (XML or bitmap files that 245 * Set to true to have the drawable filter its bitmap when scaled or rotated 757 the pad rect, but if the bitmap does not had a ninepatch chunk, 773 Bitmap bm = BitmapFactory.decodeResourceStream(res, value, is, pad, opts); [all...] |
| /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
| GLTextureViewActivity.java | 23 import android.graphics.Bitmap; 68 Bitmap b = mTextureView.getBitmap(800, 800); 73 b.compress(Bitmap.CompressFormat.PNG, 100, out); 268 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resource); local 270 GLUtils.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0); 273 bitmap.recycle();
|