HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 301 - 325 of 520) sorted by null

<<11121314151617181920>>

  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapTest.java 22 import android.graphics.Bitmap;
28 import android.graphics.Bitmap.CompressFormat;
29 import android.graphics.Bitmap.Config;
43 private Bitmap mBitmap;
59 //abnormal case: the bitmap has been recycled
96 //abnormal case: the bitmap has been recycled
104 mBitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888);
105 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); local
106 WidgetTestUtils.assertEquals(mBitmap, bitmap);
159 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), local
178 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); local
    [all...]
YuvImageTest.java 25 import android.graphics.Bitmap;
59 private Bitmap[] mTestBitmaps = new Bitmap[1];
164 // <ImageFormat, Bitmap, HasPaddings, Rect>
220 Bitmap dst = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
225 Bitmap src = BitmapFactory.decodeResource(res, R.drawable.testimage);
230 // Generate YuvImage based on the content in bitmap. If paddings > 0, the
231 // strides of YuvImage are calculated by adding paddings to bitmap.getWidth()
    [all...]
  /dalvik/vm/alloc/
Copying.cpp 147 static size_t sumHeapBitmap(const HeapBitmap *bitmap);
559 * Performs a shallow copy of the allocation bitmap into the given
674 HeapBitmap *bitmap; local
677 bitmap = &heapSource->allocBits;
678 if (!dvmHeapBitmapCoversAddress(bitmap, addr)) {
681 return dvmHeapBitmapIsObjectBitSet(bitmap, addr);
829 static size_t sumHeapBitmap(const HeapBitmap *bitmap)
832 for (size_t i = 0; i < bitmap->bitsLen >> 2; ++i) {
833 sum += CLZ(bitmap->bits[i]);
    [all...]
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
ImageCache.java 23 import android.graphics.Bitmap;
24 import android.graphics.Bitmap.CompressFormat;
79 private HashSet<SoftReference<Bitmap>> mReusableBitmaps;
135 mReusableBitmaps = new HashSet<SoftReference<Bitmap>>();
154 // We're running on Honeycomb or later, so add the bitmap
156 mReusableBitmaps.add(new SoftReference<Bitmap>(oldValue.getBitmap()));
163 * for a bitmap cache
216 * Adds a bitmap to both memory and disk cache.
217 * @param data Unique identifier for the bitmap to store
218 * @param value The bitmap drawable to stor
297 Bitmap bitmap = null; local
342 Bitmap bitmap = null; local
556 Bitmap bitmap = value.getBitmap(); local
    [all...]
  /external/chromium/chrome/browser/autocomplete/
autocomplete_popup_view_gtk.cc 489 const SkBitmap* bitmap = model_->GetIconIfExtensionMatch(match); local
490 if (bitmap) {
491 if (!ContainsKey(pixbufs_, bitmap))
492 pixbufs_[bitmap] = gfx::GdkPixbufFromSkBitmap(bitmap);
493 return pixbufs_[bitmap];
  /external/chromium/chrome/browser/themes/
theme_service.cc 226 SkBitmap* bitmap = NULL; local
229 bitmap = theme_pack_->GetBitmapNamed(id);
231 if (!bitmap)
232 bitmap = rb_.GetBitmapNamed(id);
234 return bitmap;
  /external/chromium/chrome/browser/ui/gtk/tabs/
tab_renderer_gtk.h 245 // the bitmap in CachedBitmap when we remove it from |cached_bitmaps_|. We
250 SkBitmap* bitmap; member in struct:TabRendererGtk::CachedBitmap
  /external/chromium/net/disk_cache/
disk_format.h 165 // Bitmap to track used blocks on a block-file.
173 // where did we find the last entry of that type (to avoid searching the bitmap
243 // The SparseHeader will be followed by a bitmap, as described by this
247 uint32 bitmap[32]; // Bitmap representation of known children (if this member in struct:disk_cache::SparseData
  /external/openssl/include/openssl/
dtls1.h 198 DTLS1_BITMAP bitmap; member in struct:dtls1_state_st
  /external/openssl/ssl/
dtls1.h 198 DTLS1_BITMAP bitmap; member in struct:dtls1_state_st
  /external/qemu/block/
vpc.c 255 // unused in the bitmap. We get away with setting all bits in the block
256 // bitmap each time we write to a new block. This might cause Virtual PC to
260 uint8_t bitmap[s->bitmap_size]; local
263 memset(bitmap, 0xff, s->bitmap_size);
264 bdrv_pwrite_sync(bs->file, bitmap_offset, bitmap, s->bitmap_size);
280 // Scary! Bitmap is stored as big endian 32bit entries,
334 uint8_t bitmap[s->bitmap_size]; local
347 // Initialize the block's bitmap
348 memset(bitmap, 0xff, s->bitmap_size);
349 bdrv_pwrite_sync(bs->file, s->free_data_block_offset, bitmap,
    [all...]
  /external/qemu/
kvm-all.c 289 * kvm_physical_sync_dirty_bitmap - Grab dirty bitmap from kernel space
290 * This function updates qemu's dirty bitmap using cpu_physical_memory_set_dirty().
334 unsigned long *bitmap = (unsigned long *)d.dirty_bitmap; local
336 unsigned word = nr / (sizeof(*bitmap) * 8);
337 unsigned bit = nr % (sizeof(*bitmap) * 8);
339 if ((bitmap[word] >> bit) & 1) {
  /external/skia/bench/
benchmain.cpp 268 SkBitmap bitmap; local
269 bitmap.setConfig(config, size.fX, size.fY);
273 bitmap.allocPixels();
274 erase(bitmap);
275 device = new SkDevice(bitmap);
372 "Enable/disable bitmap filtering, default is disabled.\n");
  /external/skia/legacy/src/images/
SkImageDecoder_libjpeg.cpp 76 virtual bool onDecodeRegion(SkBitmap* bitmap, SkIRect rect);
598 SkBitmap *bitmap = new SkBitmap; local
599 SkAutoTDelete<SkBitmap> adb(bitmap);
611 bitmap->setConfig(config, cinfo->output_width, height);
612 bitmap->setIsOpaque(true);
619 // Not using a recycled-bitmap and the output rect is same as the
624 (w == bitmap->width()) && (h == bitmap->height()) &&
628 if (!this->allocPixelRef(bitmap, NULL)) {
629 return return_false(*cinfo, *bitmap, "allocPixelRef")
    [all...]
  /external/skia/src/images/
SkImageDecoder_libjpeg.cpp 76 virtual bool onDecodeRegion(SkBitmap* bitmap, SkIRect rect);
636 SkBitmap *bitmap = new SkBitmap; local
637 SkAutoTDelete<SkBitmap> adb(bitmap);
649 bitmap->setConfig(config, cinfo->output_width, height);
650 bitmap->setIsOpaque(true);
657 // Not using a recycled-bitmap and the output rect is same as the
662 (w == bitmap->width()) && (h == bitmap->height()) &&
666 if (!this->allocPixelRef(bitmap, NULL)) {
667 return return_false(*cinfo, *bitmap, "allocPixelRef")
    [all...]
  /external/tcpdump/
appletalk.h 78 u_int8_t bitmap; member in struct:atATP
  /external/webkit/Source/WebCore/platform/graphics/win/
MediaPlayerPrivateQuickTimeWin.cpp 605 OwnPtr<GraphicsContext::WindowsBitmap> bitmap; local
610 // bitmap where QTMovieGWorld can draw the frame and we can copy it.
612 bitmap.set(p->createWindowsBitmap(r.size()));
613 hdc = bitmap->hdc();
628 p->drawWindowsBitmap(bitmap.get(), r.location());
  /external/webkit/Source/WebCore/platform/graphics/wx/
GraphicsContextWx.cpp 616 // Create a bitmap DC in which to draw.
631 HBITMAP bitmap = ::CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0); local
632 if (!bitmap)
639 ::SelectObject(bitmapDC, bitmap);
643 BITMAP bmpInfo;
644 GetObject(bitmap, sizeof(bmpInfo), &bmpInfo);
657 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP)); local
658 BITMAP info;
659 GetObject(bitmap, sizeof(info), &info);
663 bmp.SetHBITMAP(bitmap);
    [all...]
  /external/webkit/Source/WebCore/platform/win/
PopupMenuWin.cpp 573 BITMAP bitmap; local
574 if (GetObject(m_bmp, sizeof(bitmap), &bitmap))
575 keepBitmap = bitmap.bmWidth == clientRect().width()
576 && bitmap.bmHeight == clientRect().height();
  /external/webkit/Source/WebKit2/UIProcess/win/
WebPopupMenuProxyWin.cpp 818 BITMAP bitmap; local
819 if (::GetObject(m_bmp, sizeof(bitmap), &bitmap))
820 keepBitmap = bitmap.bmWidth == clientRect().width() && bitmap.bmHeight == clientRect().height();
  /external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
NetscapePlugin.cpp 521 RefPtr<ShareableBitmap> bitmap = ShareableBitmap::createShareable(m_frameRect.size(), ShareableBitmap::SupportsAlpha); local
522 OwnPtr<GraphicsContext> context = bitmap->createGraphicsContext();
528 return bitmap.release();
  /external/webkit/Tools/DumpRenderTree/chromium/
TestShell.cpp 83 const SkBitmap& bitmap = canvas->getTopDevice()->accessBitmap(true); local
84 ASSERT(bitmap.config() == SkBitmap::kARGB_8888_Config);
86 SkAutoLockPixels lock(bitmap);
87 for (int y = 0; y < bitmap.height(); y++) {
88 uint32_t* row = bitmap.getAddr32(0, y);
89 for (int x = 0; x < bitmap.width(); x++)
  /frameworks/base/core/jni/android/graphics/
BitmapFactory.cpp 139 static SkPixelRef* installPixelRef(SkBitmap* bitmap, SkStream* stream,
144 if (bitmap->getSize() >= 32 * 1024) {
145 pr = new SkImageRef_ashmem(stream, bitmap->config(), sampleSize);
147 pr = new SkImageRef_GlobalPool(stream, bitmap->config(), sampleSize);
150 bitmap->setPixelRef(pr)->unref();
151 pr->isOpaque(bitmap);
197 return nullObjectReturn("Cannot pre-scale a reused bitmap");
212 SkBitmap* bitmap; local
215 bitmap = new SkBitmap;
218 return nullObjectReturn("SkImageDecoder: Cannot reuse bitmap with sampleSize != 1")
407 jobject bitmap = NULL; local
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
BitmapDrawable.java 21 import android.graphics.Bitmap;
39 * A Drawable that wraps a bitmap and can be tiled, stretched, or aligned. You can create a
41 * a {@link android.graphics.Bitmap} object.
42 * <p>It can be defined in an XML file with the <code>&lt;bitmap></code> element. For more
46 * Also see the {@link android.graphics.Bitmap} class, which handles the management and
47 * transformation of raw bitmap graphics, and should be used when drawing to a
64 private Bitmap mBitmap;
78 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)}
79 * instead to specify a bitmap to draw with and ensure the correct density is set.
83 mBitmapState = new BitmapState((Bitmap) null)
414 Bitmap bitmap = mBitmap; local
493 final Bitmap bitmap = BitmapFactory.decodeResource(r, id); local
    [all...]
  /frameworks/base/media/java/android/media/
ThumbnailUtils.java 23 import android.graphics.Bitmap;
49 /* Maximum pixels size for created bitmap. */
60 * {@link #extractThumbnail(Bitmap, int, int, int)} unless the output is the input.
86 * @return Bitmap, or null on failures
90 public static Bitmap createImageThumbnail(String filePath, int kind) {
99 Bitmap bitmap = null; local
103 bitmap = sizedThumbnailBitmap.mBitmap;
106 if (bitmap == null) {
124 options.inPreferredConfig = Bitmap.Config.ARGB_8888
159 Bitmap bitmap = null; local
    [all...]

Completed in 1366 milliseconds

<<11121314151617181920>>