/external/webkit/Source/WebCore/platform/image-decoders/wx/ |
ImageDecoderWx.cpp | 42 wxBitmap* bmp = new wxBitmap(width(), height(), 32); local 46 WxPixelData data(*bmp); 72 bmp->UseAlpha(); 78 ASSERT(bmp->IsOk()); 81 wxGraphicsBitmap* bitmap = new wxGraphicsBitmap(wxGraphicsRenderer::GetDefaultRenderer()->CreateBitmap(*bmp)); 82 delete bmp; 85 return bmp;
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
ImageWinCE.cpp | 62 bool BitmapImage::getHBITMAPOfSize(HBITMAP bmp, LPSIZE size) 64 if (!bmp) 68 GetObject(bmp, sizeof(BITMAP), &bmpInfo); 74 HGDIOBJ hOldBmp = SelectObject(hdc.get(), bmp); 95 RefPtr<SharedBitmap> bmp = frameAtIndex(i); local 96 if (!bmp || bmp->height() != static_cast<unsigned>(srcSize.height()) || bmp->width() != static_cast<unsigned>(srcSize.width())) 120 RefPtr<SharedBitmap> bmp = frameAtIndex(m_currentFrame); local 122 if (bmp->width() != m_source.size().width()) 145 RefPtr<SharedBitmap> bmp = nativeImageForCurrentFrame(); local 163 RefPtr<SharedBitmap> bmp = frameAtIndex(0); local [all...] |
SharedBitmap.h | 104 DCHolder(SharedBitmap* bmp = 0) { setInternal(bmp); } 106 void set(SharedBitmap* bmp = 0) 109 setInternal(bmp); 120 void setInternal(SharedBitmap* bmp) 122 m_bitmap = bmp; 123 m_hdc = bmp ? bmp->getDC(&m_key) : 0;
|
GraphicsContextWinCE.cpp | 283 RefPtr<SharedBitmap> bmp = SharedBitmap::create(origRect.size(), alphaPaint == AlphaPaintNone ? BitmapInfo::BitCount16 : BitmapInfo::BitCount32, false); local 285 if (bmp) { 290 SharedBitmap::DCHolder dc(bmp.get()); 293 if (bmp->is32bit() && (!m_bitmap || m_bitmap->is16bit())) { 295 unsigned* pixels = (unsigned*)bmp->bytes(); 296 const unsigned* const pixelsEnd = pixels + bmp->bitmapInfo().numPixels(); 302 return bmp; 308 memset(bmp->bytes(), 0xFF, bmp->bitmapInfo().numPixels() * 4); 309 return bmp; 1762 RefPtr<SharedBitmap> bmp = SharedBitmap::create(IntSize(boxWidthBest, boxHeightBest), BitmapInfo::BitCount16, true); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
ImageWin.cpp | 53 bool BitmapImage::getHBITMAP(HBITMAP bmp) 55 return getHBITMAPOfSize(bmp, 0);
|
ImageCGWin.cpp | 62 bool BitmapImage::getHBITMAPOfSize(HBITMAP bmp, LPSIZE size) 64 ASSERT(bmp); 67 GetObject(bmp, sizeof(BITMAP), &bmpInfo);
|
ImageCairoWin.cpp | 58 bool BitmapImage::getHBITMAPOfSize(HBITMAP bmp, LPSIZE size) 60 ASSERT(bmp); 63 GetObject(bmp, sizeof(BITMAP), &bmpInfo);
|
/external/webkit/Tools/DumpRenderTree/win/ |
PixelDumpSupportWin.cpp | 53 BITMAPINFO bmp = {0}; 54 bmp.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); 55 bmp.bmiHeader.biWidth = frame.right - frame.left; 56 bmp.bmiHeader.biHeight = -(frame.bottom - frame.top); 57 bmp.bmiHeader.biPlanes = 1; 58 bmp.bmiHeader.biBitCount = 32; 59 bmp.bmiHeader.biCompression = BI_RGB; 62 HBITMAP bitmap = CreateDIBSection(0, &bmp, DIB_RGB_COLORS, &bits, 0, 0);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
NinePatchDrawableTest.java | 86 Bitmap bmp = BitmapFactory.decodeResource(mResources, R.drawable.ninepatch_0); local 89 new NinePatchDrawable(bmp, chunk, r, name); 91 new NinePatchDrawable(new NinePatch(bmp, chunk, name)); 96 new NinePatchDrawable(bmp, chunk, r, name); 111 Bitmap bmp = Bitmap.createBitmap(9, 9, Config.ARGB_8888); local 112 Canvas c = new Canvas(bmp); 118 assertColorFillRect(bmp, 0, 0, 4, 4, Color.RED); 119 assertColorFillRect(bmp, 5, 0, 4, 4, Color.BLUE); 120 assertColorFillRect(bmp, 0, 5, 4, 4, ocean); 121 assertColorFillRect(bmp, 5, 5, 4, 4, Color.YELLOW) 264 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local 280 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local 296 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local 312 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local [all...] |
TransitionDrawableTest.java | 266 private void assertColorFillRect(Bitmap bmp, int x, int y, int w, int h, int color) { 269 assertEquals(color, bmp.getPixel(i, j)); 274 private void assertColorNotFillRect(Bitmap bmp, int x, int y, int w, int h, int color) { 277 assertTrue(color != bmp.getPixel(i, j));
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/win/ |
ChunkedUpdateDrawingAreaWin.cpp | 43 BitmapInfo bmp = BitmapInfo::createBottomUp(updateChunk->rect().size()); local 44 OwnPtr<HBITMAP> hbmp(::CreateDIBSection(0, &bmp, DIB_RGB_COLORS, &bits, updateChunk->memory(), 0));
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 243 Bitmap bmp = Bitmap.createBitmap( local 245 Canvas c = new Canvas(bmp); 247 return bmp; 250 private boolean saveImage(Bitmap bmp, String name) { 261 if (!bmp.compress(CompressFormat.PNG, 100, fout)) { 295 Bitmap bmp = getPreviewBitmap(); local 296 if (saveImage(bmp, mAppWidgetName)) {
|
/external/webkit/Source/WebKit/android/jni/ |
WebCoreJniOnLoad.cpp | 303 SkBitmap bmp; local 304 bmp.setConfig(SkBitmap::kARGB_8888_Config, width, height); 305 bmp.allocPixels(); 306 SkCanvas canvas(bmp); 313 enc->encodeFile("/sdcard/webcore_test.png", bmp, 100);
|
/cts/tests/src/android/theme/cts/ |
ActivitySnapshotTester.java | 199 Bitmap bmp = activity.getBitmapOfWindow(); local 200 processor.processBitmap(bmp); 201 bmp.recycle();
|
/external/chromium/chrome/browser/resources/shared/js/ |
media_common.js | 14 return /\.(bmp|gif|jpe?g|ico|png|webp)$/i.test(path);
|
/external/webkit/Source/WebCore/page/win/ |
FrameCGWin.cpp | 62 BitmapInfo bmp = BitmapInfo::create(IntSize(w, h)); local 64 HBITMAP hbmp = CreateDIBSection(0, &bmp, DIB_RGB_COLORS, static_cast<void**>(&bits), 0, 0);
|
/external/skia/gm/ |
shadertext.cpp | 34 static SkBitmap bmp; local 35 if (bmp.isNull()) { 36 makebm(&bmp, SkBitmap::kARGB_8888_Config, w/2, h/4); 38 return SkShader::CreateBitmapShader(bmp, tx, ty);
|
/external/skia/samplecode/ |
SampleShaderText.cpp | 33 static SkBitmap bmp; local 34 if (bmp.isNull()) { 35 makebm(&bmp, SkBitmap::kARGB_8888_Config, w/2, h/4); 37 return SkShader::CreateBitmapShader(bmp, tx, ty);
|
/frameworks/base/graphics/java/android/renderscript/ |
RenderScript.java | 235 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); 236 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { 238 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 240 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); 241 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { 243 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); 245 native int rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp); 246 synchronized int nAllocationCreateBitmapRef(int type, Bitmap bmp) { 248 return rsnAllocationCreateBitmapRef(mContext, type, bmp); 256 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp); [all...] |
/external/chromium/chrome/browser/tab_contents/ |
thumbnail_generator.cc | 92 const SkBitmap& bmp = temp_canvas.getTopPlatformDevice().accessBitmap(false); local 97 bmp, desired_width, desired_height, clip_result); 107 bmp, desired_width, desired_height); 115 if (bmp.width() == result.width() && 116 bmp.height() == result.height()) 117 bmp.copyTo(&result, SkBitmap::kARGB_8888_Config);
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 32 void MakeTestSkBitmap(int w, int h, SkBitmap* bmp) { 33 bmp->setConfig(SkBitmap::kARGB_8888_Config, w, h); 34 bmp->allocPixels(); 36 uint32_t* src_data = bmp->getAddr32(0, 0);
|
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/plugin/include/ |
sbitmap.h | 113 /* Initialize the iterator I with sbitmap BMP and the initial index 117 sbitmap_iter_init (sbitmap_iterator *i, const_sbitmap bmp, unsigned int min) 121 i->size = bmp->size; 122 i->ptr = bmp->elms;
|
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/lib/gcc/arm-eabi/4.4.3/plugin/include/ |
sbitmap.h | 113 /* Initialize the iterator I with sbitmap BMP and the initial index 117 sbitmap_iter_init (sbitmap_iterator *i, const_sbitmap bmp, unsigned int min) 121 i->size = bmp->size; 122 i->ptr = bmp->elms;
|
/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/lib/gcc/arm-linux-androideabi/4.4.3/plugin/include/ |
sbitmap.h | 113 /* Initialize the iterator I with sbitmap BMP and the initial index 117 sbitmap_iter_init (sbitmap_iterator *i, const_sbitmap bmp, unsigned int min) 121 i->size = bmp->size; 122 i->ptr = bmp->elms;
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameView.java | 449 Bitmap bmp = BitmapFactory.decodeResource(res, bmpResId, opts);
451 if (bmp == null && isInEditMode()) {
458 bmp = Bitmap.createBitmap(w, h, Config.ARGB_8888);
459 Canvas c = new Canvas(bmp);
464 return bmp;
|