HomeSort by relevance Sort by last modified time
    Searched refs:bitmap (Results 276 - 300 of 440) sorted by null

<<1112131415161718

  /external/webkit/WebCore/platform/graphics/skia/
PlatformContextSkia.cpp 242 const SkBitmap* bitmap = imageBuffer->context()->platformContext()->bitmap(); local
243 if (!bitmap->pixelRef()) {
244 // The bitmap owns it's pixels. This happens when we've allocated the
245 // pixels in some way and assigned them directly to the bitmap (as
247 // does not copy the pixels, rather the copied bitmap ends up
250 bitmap->copyTo(&m_state->m_imageBufferClip, SkBitmap::kARGB_8888_Config);
253 m_state->m_imageBufferClip = *bitmap;
568 const SkBitmap* PlatformContextSkia::bitmap() const function in class:PlatformContextSkia
603 // the layer's bitmap while it's in effect. When WebKit calls restore() t
    [all...]
  /system/extras/ext4_utils/
allocate.c 161 static int bitmap_set_bit(u8 *bitmap, u32 bit)
163 if (bitmap[bit / 8] & 1 << (bit % 8))
166 bitmap[bit / 8] |= 1 << (bit % 8);
170 static int bitmap_set_8_bits(u8 *bitmap, u32 bit)
172 int ret = bitmap[bit / 8];
173 bitmap[bit / 8] = 0xFF;
  /external/skia/include/core/
SkBitmap.h 35 The SkBitmap class specifies a raster bitmap. A bitmap has an integer width
45 kNo_Config, //!< bitmap has not been configured
57 /** Default construct creates a bitmap with zero width and height, and no pixels.
61 /** Constructor initializes the new bitmap by copying the src bitmap. All fields are copied,
62 but ownership of the pixels remains with the src bitmap.
69 /** Copies the src bitmap into this bitmap. Ownership of the src bitmap's pixels remain
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
MediaMetadataRetrieverTest.java 21 import android.graphics.Bitmap;
95 Bitmap bitmap = retriever.captureFrame(); local
96 assertTrue(bitmap != null);
99 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
102 Log.e(TAG, "Fails to convert the bitmap to a JPEG file for " + MediaNames.THUMBNAIL_CAPTURE_TEST_FILES[i]);
156 Bitmap bitmap = retriever.captureFrame();
157 assertTrue(bitmap != null)
    [all...]
  /packages/apps/Gallery3D/src/com/cooliris/media/
StringTexture.java 19 import android.graphics.Bitmap;
163 protected Bitmap load(RenderView view) {
169 Bitmap.Config bmConfig = Bitmap.Config.ARGB_4444;
190 Bitmap bitmap = Bitmap.createBitmap(backWidth, backHeight, bmConfig);
191 Canvas canvas = new Canvas(bitmap);
198 // bitmap.eraseColor(0xff00ff00);
216 return bitmap;
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java 25 import android.graphics.Bitmap;
64 private Bitmap[] mTestBitmaps = new Bitmap[1];
179 // <ImageFormat, Bitmap, HasPaddings, Rect>
207 Bitmap dst = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
212 Bitmap src = BitmapFactory.decodeResource(res, R.drawable.testimage);
217 // Generate YuvImage based on the content in bitmap. If paddings > 0, the
218 // strides of YuvImage are calculated by adding paddings to bitmap.getWidth()
    [all...]
RadialGradientTest.java 22 import android.graphics.Bitmap;
50 Bitmap b = Bitmap.createBitmap(SIZE, SIZE, Bitmap.Config.ARGB_8888);
69 Bitmap b = Bitmap.createBitmap(SIZE, SIZE, Bitmap.Config.ARGB_8888);
77 private void checkPixels(Bitmap bitmap, int[] colors, float[] positions, int tolerance) {
109 int pixel = bitmap.getPixel(x, y)
    [all...]
  /development/apps/GestureBuilder/src/com/android/gesture/builder/
GestureBuilderActivity.java 43 import android.graphics.Bitmap;
353 final Bitmap bitmap = gesture.toBitmap(mThumbnailSize, mThumbnailSize, local
359 mAdapter.addBitmap(namedGesture.gesture.getID(), bitmap); local
417 void addBitmap(Long id, Bitmap bitmap) {
418 mThumbnails.put(id, new BitmapDrawable(bitmap));
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CubeMapActivity.java 34 import android.graphics.Bitmap;
147 Bitmap bitmap; local
149 bitmap = BitmapFactory.decodeStream(is);
158 bitmap, 0);
159 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();
  /external/chromium/net/disk_cache/
disk_format.h 167 // Bitmap to track used blocks on a block-file.
175 // where did we find the last entry of that type (to avoid searching the bitmap
248 // The SparseHeader will be followed by a bitmap, as described by this
252 uint32 bitmap[32]; // Bitmap representation of known children (if this member in struct:disk_cache::SparseData
  /external/e2fsprogs/po/
at-expand.pl 74 $msg =~ s/\@B/bitmap/g;
  /external/kernel-headers/original/asm-x86/
genapic_32.h 32 unsigned long (*check_apicid_used)(physid_mask_t bitmap, int apicid);
  /external/skia/src/gl/
SkTextureCache.h 97 Entry(const SkBitmap& bitmap);
  /external/webkit/WebKit/android/plugins/
PluginDebugAndroid.cpp 107 anp_logPlugin("%p EVENT::DRAW bitmap time=%d format=%d clip=[%d,%d,%d,%d]",
108 npp, elapsedTime, evt->data.draw.data.bitmap.format,
  /packages/apps/Mms/src/com/android/mms/ui/
SlideView.java 24 import android.graphics.Bitmap;
107 public void setImage(String name, Bitmap bitmap) {
118 if (null == bitmap) {
119 bitmap = BitmapFactory.decodeResource(getResources(),
123 mImageView.setImageBitmap(bitmap);
  /frameworks/base/graphics/jni/
android_renderscript_RenderScript.cpp 70 jclass bitmapClass = _env->FindClass("android/graphics/Bitmap");
478 LOGE("Unsupported bitmap type");
488 const SkBitmap& bitmap(*nativeBitmap);
489 SkBitmap::Config config = bitmap.getConfig();
493 bitmap.lockPixels();
494 const int w = bitmap.width();
495 const int h = bitmap.height();
496 const void* ptr = bitmap.getPixels();
498 bitmap.unlockPixels();
530 SkBitmap bitmap; local
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
RemoteViewsTest.java 34 import android.graphics.Bitmap;
458 args = {int.class, android.graphics.Bitmap.class}
464 Bitmap bitmap = local
466 mRemoteViews.setImageViewBitmap(R.id.remoteView_image, bitmap);
469 WidgetTestUtils.assertEquals(bitmap, ((BitmapDrawable) image.getDrawable()).getBitmap());
471 mRemoteViews.setImageViewBitmap(R.id.remoteView_absolute, bitmap);
483 args = {int.class, java.lang.String.class, android.graphics.Bitmap.class}
489 Bitmap bitmap local
    [all...]
  /external/e2fsprogs/lib/ext2fs/
ext2fs.h 109 char * bitmap; member in struct:ext2fs_struct_generic_bitmap
570 extern errcode_t ext2fs_fudge_inode_bitmap_end(ext2fs_inode_bitmap bitmap,
572 extern errcode_t ext2fs_fudge_block_bitmap_end(ext2fs_block_bitmap bitmap,
574 extern void ext2fs_clear_inode_bitmap(ext2fs_inode_bitmap bitmap);
575 extern void ext2fs_clear_block_bitmap(ext2fs_block_bitmap bitmap);
757 extern void ext2fs_free_generic_bitmap(ext2fs_inode_bitmap bitmap);
758 extern void ext2fs_free_block_bitmap(ext2fs_block_bitmap bitmap);
759 extern void ext2fs_free_inode_bitmap(ext2fs_inode_bitmap bitmap);
    [all...]
  /external/kernel-headers/original/linux/raid/
md_k.h 90 * resync from the bitmap
231 struct bitmap *bitmap; /* the bitmap for the device */ member in struct:mddev_s
232 struct file *bitmap_file; /* the bitmap file */
234 * start of bitmap. May be
238 * hot-adding a bitmap. It should
  /external/skia/src/core/
SkPictureRecord.h 104 void addBitmap(const SkBitmap& bitmap);
120 const SkBitmap& bitmap);
  /external/skia/src/images/
SkImageDecoder.cpp 108 bool SkImageDecoder::allocPixelRef(SkBitmap* bitmap,
110 return bitmap->allocPixels(fAllocator, ctable);
157 // pass a temporary bitmap, so that if we return false, we are assured of
158 // leaving the caller's bitmap untouched.
175 // pass a temporary bitmap, so that if we return false, we are assured of
176 // leaving the caller's bitmap untouched.
  /external/webkit/WebCore/platform/image-decoders/
ImageDecoder.h 107 NativeImageSkia& bitmap() { return m_bitmap; }
108 const NativeImageSkia& bitmap() const { return m_bitmap; }
  /external/webkit/WebKit/android/jni/
PictureSet.cpp 365 virtual void commonDrawBitmap(const SkBitmap& bitmap,
367 if (bitmap.width() <= 1 || bitmap.height() <= 1)
369 DBG_SET_LOGD("abort {%d,%d}", bitmap.width(), bitmap.height());
433 SkBitmap bitmap; local
434 bitmap.setConfig(SkBitmap::kARGB_8888_Config, mWidth, mHeight);
435 checker.setBitmapDevice(bitmap);
  /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...]

Completed in 2007 milliseconds

<<1112131415161718