Searched defs:bitmap (Results 1 - 25 of 232) sorted by relevance

12345678910

/external/webkit/Source/WebKit2/Shared/cg/
H A DWebCoreArgumentCodersCG.cpp37 RefPtr<Image> createImage(ShareableBitmap* bitmap) argument
39 RetainPtr<CGImageRef> platformImage = bitmap->makeCGImage();
/external/skia/src/images/
H A DSkBitmapRegionDecoder.cpp3 bool SkBitmapRegionDecoder::decodeRegion(SkBitmap* bitmap, SkIRect rect, argument
6 return fDecoder->decodeRegion(bitmap, rect, pref);
/external/chromium/chrome/browser/ui/gtk/status_icons/
H A Dstatus_tray_gtk_unittest.cc31 SkBitmap* bitmap = ResourceBundle::GetSharedInstance().GetBitmapNamed( local
33 icon->SetImage(*bitmap);
34 icon->SetPressedImage(*bitmap);
/external/chromium/chrome/browser/ui/views/status_icons/
H A Dstatus_tray_win_unittest.cc32 SkBitmap* bitmap = ResourceBundle::GetSharedInstance().GetBitmapNamed( local
34 icon->SetImage(*bitmap);
35 icon->SetPressedImage(*bitmap);
/external/linux-tools-perf/util/
H A Dbitmap.c2 * From lib/bitmap.c
3 * Helper functions for bitmap.h.
10 #include <linux/bitmap.h>
12 #include "include/linux/bitmap.h"
16 int __bitmap_weight(const unsigned long *bitmap, int bits) argument
21 w += hweight_long(bitmap[k]);
24 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits));
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DStillImageHaiku.h38 static PassRefPtr<StillImage> create(const BBitmap& bitmap) argument
40 return adoptRef(new StillImage(bitmap));
/external/chromium/chrome/browser/ui/webui/
H A Dweb_ui_util.cc15 std::string GetImageDataUrl(const SkBitmap& bitmap) { argument
17 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &output);
/external/jmonkeyengine/engine/src/android/com/jme3/asset/
H A DAndroidImageInfo.java15 * {@link AndroidImageInfo#loadBitmap()} method to acquire a bitmap by their own means.
22 protected Bitmap bitmap; field in class:AndroidImageInfo
30 if (bitmap == null || bitmap.isRecycled()){
40 return bitmap;
50 * Loads the bitmap directly from the asset info, possibly updating
57 bitmap = BitmapFactory.decodeStream(in);
58 if (bitmap == null) {
67 switch (bitmap.getConfig()) {
83 // but just loads bitmap directl
[all...]
/external/libsepol/tests/
H A Ddebug.c27 void print_ebitmap(ebitmap_t * bitmap, FILE * fp) argument
30 for (i = 0; i < bitmap->highbit; i++) {
31 fprintf(fp, "%d", ebitmap_get_bit(bitmap, i));
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
H A DSDL_pgvideo.h45 pghandle bitmap; member in struct:SDL_PrivateVideoData
/external/webkit/Source/WebCore/platform/graphics/android/layers/
H A DPrerenderedInval.h41 SkBitmap bitmap; member in class:WebCore::PrerenderedInval
/external/webkit/Source/WebCore/platform/image-decoders/wx/
H A DImageDecoderWx.cpp31 #include <wx/bitmap.h>
74 } // ensure that WxPixelData is destroyed as it unlocks the bitmap data in
81 wxGraphicsBitmap* bitmap = new wxGraphicsBitmap(wxGraphicsRenderer::GetDefaultRenderer()->CreateBitmap(*bmp)); local
83 return bitmap;
/external/webkit/Source/WebKit2/Shared/
H A DWebCoreArgumentCoders.cpp40 RefPtr<ShareableBitmap> bitmap = ShareableBitmap::createShareable(image->size(), ShareableBitmap::SupportsAlpha); local
41 bitmap->createGraphicsContext()->drawImage(image, ColorSpaceDeviceRGB, IntPoint());
43 bitmap->createHandle(handle);
54 RefPtr<ShareableBitmap> bitmap = ShareableBitmap::create(handle);
55 if (!bitmap)
57 image = createImage(bitmap.get());
H A DWebImage.cpp42 PassRefPtr<WebImage> WebImage::create(PassRefPtr<ShareableBitmap> bitmap) argument
44 return adoptRef(new WebImage(bitmap));
47 WebImage::WebImage(PassRefPtr<ShareableBitmap> bitmap) argument
48 : m_bitmap(bitmap)
H A DWebImage.h53 ShareableBitmap* bitmap() const { return m_bitmap.get(); } function in class:WebKit::WebImage
/external/webkit/Source/WebKit2/UIProcess/
H A DBackingStore.cpp60 RefPtr<ShareableBitmap> bitmap = ShareableBitmap::create(updateInfo.bitmapHandle); local
61 if (!bitmap)
63 ASSERT(bitmap->size() == updateInfo.updateRectBounds.size());
65 incorporateUpdate(bitmap.get(), updateInfo);
/external/chromium/chrome/browser/extensions/
H A Dextension_browser_actions_api.cc52 SkBitmap bitmap; local
54 IPC::ReadParam(&bitmap_pickle, &iter, &bitmap));
55 browser_action_->SetIcon(tab_id_, bitmap);
/external/chromium/chrome/common/
H A Dcommon_param_traits_unittest.cc76 // Tests bitmap serialization.
78 SkBitmap bitmap; local
80 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 5);
81 bitmap.allocPixels();
82 memset(bitmap.getPixels(), 'A', bitmap.getSize());
85 IPC::ParamTraits<SkBitmap>::Write(&msg, bitmap);
91 EXPECT_EQ(bitmap.config(), output.config());
92 EXPECT_EQ(bitmap.width(), output.width());
93 EXPECT_EQ(bitmap
[all...]
/external/chromium/chrome/common/extensions/
H A Dextension_action_unittest.cc28 SkBitmap bitmap; local
30 bitmap = decoder.Decode(data, file_contents.length());
32 return bitmap;
/external/chromium/webkit/glue/
H A Dimage_resource_fetcher.cc43 SkBitmap bitmap; local
47 bitmap = decoder.Decode(
58 callback->Run(this, bitmap);
/external/oprofile/libdb/
H A Ddb_debug.c21 unsigned char * bitmap = malloc(data->descr->current_size); local
22 memset(bitmap, '\0', data->descr->current_size);
29 if (bitmap[index])
32 bitmap[index] = 1;
41 memset(bitmap, '\0', data->descr->current_size);
46 if (bitmap[index])
49 bitmap[index] = 1;
59 bitmap[index] = 1;
64 free(bitmap);
73 unsigned char * bitmap local
[all...]
/external/skia/samplecode/
H A DSampleWritePixels.cpp19 static void create_bitmap(SkBitmap* bitmap) { argument
22 bitmap->setConfig(SkBitmap::kARGB_8888_Config, W, H);
23 bitmap->allocPixels();
25 SkCanvas canvas(*bitmap);
48 SkBitmap bitmap; local
49 create_bitmap(&bitmap);
50 int x = bitmap.width() / 2;
51 int y = bitmap.height() / 2;
54 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
58 canvas->writePixels(bitmap,
[all...]
/external/webkit/Source/WebCore/platform/brew/
H A DScreenBrew.cpp52 RefPtr<IBitmap> bitmap = adoptRef(IDisplay_GetDestination(display)); local
55 IBitmap_GetInfo(bitmap.get(), &bitmapInfo, sizeof(AEEBitmapInfo));
/external/webkit/Source/WebCore/platform/graphics/android/
H A DBitmapAllocatorAndroid.cpp57 bool BitmapAllocatorAndroid::allocPixelRef(SkBitmap* bitmap, SkColorTable*) argument
60 if (should_use_ashmem(*bitmap)) {
61 // SkDebugf("ashmem [%d %d]\n", bitmap->width(), bitmap->height());
62 ref = new SkImageRef_ashmem(fStream, bitmap->config(), fSampleSize);
64 // SkDebugf("globalpool [%d %d]\n", bitmap->width(), bitmap->height());
65 ref = new SkImageRef_GlobalPool(fStream, bitmap->config(), fSampleSize);
67 bitmap->setPixelRef(ref)->unref();
H A DSkBitmapRef.h41 const SkBitmap& bitmap() const { return fBitmap; } function in class:SkBitmapRef
42 SkBitmap& bitmap() { return fBitmap; } function in class:SkBitmapRef

Completed in 382 milliseconds

12345678910