/packages/apps/Mms/src/com/android/mms/ui/ |
VideoAttachmentView.java | 24 import android.graphics.Bitmap; 69 public void setImage(String name, Bitmap bitmap) { 91 Bitmap bitmap = createVideoThumbnail(mContext, video); local 92 if (null == bitmap) { 93 bitmap = BitmapFactory.decodeResource(getResources(), 96 mThumbnailView.setImageBitmap(bitmap); 102 public static Bitmap createVideoThumbnail(Context context, Uri uri) { 103 Bitmap bitmap = null local [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
BaseAdapterWithImages.java | 25 import android.graphics.Bitmap; 76 protected class ImageLoaderAsyncTask extends AsyncTask<Void, Void, Bitmap> { 83 * @param key The bitmap key 92 protected Bitmap doInBackground(Void... zzz) { 97 protected void onPostExecute(Bitmap bitmap) { 99 if (bitmap == null) { 105 viewHolder.mImageView.setImageBitmap(bitmap); 110 bitmap.recycle(); 168 * Starts the AsyncTask which loads the bitmap [all...] |
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/plugin/include/ |
coretypes.h | 45 typedef struct bitmap_head_def *bitmap; typedef in typeref:struct:bitmap_head_def
|
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/lib/gcc/arm-eabi/4.4.3/plugin/include/ |
coretypes.h | 45 typedef struct bitmap_head_def *bitmap; typedef in typeref:struct:bitmap_head_def
|
/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/lib/gcc/arm-linux-androideabi/4.4.3/plugin/include/ |
coretypes.h | 45 typedef struct bitmap_head_def *bitmap; typedef in typeref:struct:bitmap_head_def
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 32 import android.graphics.Bitmap; 38 import android.graphics.Bitmap.Config; 76 args = {android.graphics.Bitmap.class} 81 args = {android.content.res.Resources.class, android.graphics.Bitmap.class} 125 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.ARGB_8888); local 126 bitmapDrawable = new BitmapDrawable(bitmap); 130 assertEquals(bitmap, bitmapDrawable.getBitmap()); 134 new BitmapDrawable(mContext.getResources(), bitmap); local 435 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); local 464 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); local [all...] |
ClipDrawableTest.java | 26 import android.graphics.Bitmap; 27 import android.graphics.Bitmap.Config; 142 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565); local 143 BitmapDrawable bmpDrawable = new BitmapDrawable(bitmap); 144 bmpDrawable.setTargetDensity(bitmap.getDensity()); // avoid scaling 162 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565) local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
GLES20TriangleRenderer.java | 29 import android.graphics.Bitmap; 140 Bitmap bitmap; local 142 bitmap = BitmapFactory.decodeStream(is); 151 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0); 152 bitmap.recycle();
|
MatrixPaletteRenderer.java | 33 import android.graphics.Bitmap; 281 Bitmap bitmap; local 283 bitmap = BitmapFactory.decodeStream(is); 292 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); 293 bitmap.recycle();
|
DensityActivity.java | 26 import android.graphics.Bitmap; 59 addLabelToRoot(root, "Prescaled bitmap in drawable"); 66 addLabelToRoot(root, "Autoscaled bitmap in drawable"); 88 addLabelToRoot(root, "Prescaled bitmap"); 95 addLabelToRoot(root, "Autoscaled bitmap"); 135 Bitmap bitmap; local 136 bitmap = loadAndPrintDpi(resource, scale); 140 final BitmapDrawable d = new BitmapDrawable(getResources(), bitmap); 161 Bitmap bitmap local 185 Bitmap bitmap; local [all...] |
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
GLES20TriangleRenderer.java | 29 import android.graphics.Bitmap; 138 Bitmap bitmap; local 140 bitmap = BitmapFactory.decodeStream(is); 149 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0); 150 bitmap.recycle();
|
/packages/apps/Camera/src/com/android/camera/ |
Thumbnail.java | 22 import android.graphics.Bitmap; 51 private Bitmap mBitmap; 55 public Thumbnail(Uri uri, Bitmap bitmap, int orientation) { 57 mBitmap = rotateImage(bitmap, orientation); 58 if (mBitmap == null) throw new IllegalArgumentException("null bitmap"); 65 public Bitmap getBitmap() { 77 private static Bitmap rotateImage(Bitmap bitmap, int orientation) 123 Bitmap bitmap = null; local 244 Bitmap bitmap = BitmapFactory.decodeByteArray(jpeg, 0, jpeg.length, options); local 257 Bitmap bitmap = null; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactoryTest.java | 26 import android.graphics.Bitmap; 30 import android.graphics.Bitmap.CompressFormat; 31 import android.graphics.Bitmap.Config; 110 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start, 113 // Test the bitmap size 116 // Test if no bitmap 126 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start); 128 // Test the bitmap size 144 Bitmap b = BitmapFactory.decodeResourceStream(mRes, value, is, r, mOpt1); 146 // Test the bitmap siz 328 Bitmap bitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, opt); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 30 import android.graphics.Bitmap; 100 Bitmap bitmap; local 102 bitmap = BitmapFactory.decodeStream(is); 111 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); 112 bitmap.recycle();
|
/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();
|
/packages/apps/Nfc/src/com/android/nfc/ |
FireflyRenderThread.java | 21 import android.graphics.Bitmap; 165 Bitmap bitmap = BitmapFactory.decodeStream(in); local 171 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); 173 bitmap.recycle();
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
ShapeTest.java | 24 import android.graphics.Bitmap; 28 import android.graphics.Bitmap.Config; 139 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); local 140 Canvas canvas = new Canvas(bitmap); 147 assertEquals(0, bitmap.getPixel(0, 0)); 151 assertEquals(0, bitmap.getPixel(0, 0));
|
/dalvik/vm/alloc/ |
CardTable.cpp | 303 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); local 306 dvmHeapBitmapWalk(bitmap, dumpReferencesCallback, arg); 396 HeapBitmap *markBits = gDvm.gcHeap->markContext.bitmap;
|
/development/samples/BrowserPlugin/jni/paint/ |
PaintPlugin.cpp | 98 ANPBitmap bitmap; local 101 !gSurfaceI.lock(env, m_surface, &bitmap, dirtyRect)) { 105 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap);
|
/external/chromium/chrome/browser/ |
content_setting_bubble_model.h | 37 SkBitmap bitmap; member in struct:ContentSettingBubbleModel::PopupItem
|
favicon_helper_unittest.cc | 34 SkBitmap bitmap; local 35 FillDataToBitmap(w, h, &bitmap); 36 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, output); 384 EXPECT_FALSE(helper.GetEntry()->favicon().bitmap().empty()); 469 EXPECT_FALSE(helper.GetEntry()->favicon().bitmap().empty()); 540 EXPECT_FALSE(helper.GetEntry()->favicon().bitmap().empty());
|
/external/chromium/chrome/browser/ui/views/autocomplete/ |
autocomplete_result_view.cc | 235 const SkBitmap* bitmap = model_->GetIconIfExtensionMatch(model_index_); local 236 if (bitmap) 237 return bitmap;
|
/external/chromium/chrome/common/extensions/ |
extension_unpacker.cc | 58 SkBitmap bitmap = decoder.Decode(data, file_contents.length()); local 59 Sk64 bitmap_size = bitmap.getSize64(); 62 return bitmap;
|
/external/chromium/webkit/glue/media/ |
video_renderer_impl.cc | 185 // 2. Paint the bitmap to canvas. 209 const SkBitmap& bitmap = canvas->getDevice()->accessBitmap(true); local 240 uint8* dest_rect_pointer = static_cast<uint8*>(bitmap.getPixels()) + 241 local_dest_irect.fTop * bitmap.rowBytes() + 282 bitmap.lockPixels(); 296 bitmap.rowBytes(), 300 bitmap.unlockPixels();
|
/external/e2fsprogs/lib/ext2fs/ |
gen_bitmap.c | 2 * gen_bitmap.c --- Generic (32-bit) bitmap routines 36 char * bitmap; member in struct:ext2fs_struct_generic_bitmap 45 void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap, 49 if (bitmap->description) 50 com_err(0, bitmap->base_error_code+code, 51 "#%lu for %s", arg, bitmap->description); 53 com_err(0, bitmap->base_error_code + code, "#%lu", arg); 57 static errcode_t check_magic(ext2fs_generic_bitmap bitmap) 59 if (!bitmap || !((bitmap->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) | 71 ext2fs_generic_bitmap bitmap; local [all...] |