/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));
|
/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/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/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...] |
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...] |
/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...] |
/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);
|
/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/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);
|
SampleApp.cpp | 816 SkBitmap bmp; local 817 if (device->accessBitmap(false).copyTo(&bmp, SkBitmap::kARGB_8888_Config)) { 821 SkImageEncoder::EncodeFile(name.c_str(), bmp, [all...] |
/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/WebCore/platform/graphics/wx/ |
GraphicsContextWx.cpp | 662 wxBitmap bmp; local 663 bmp.SetHBITMAP(bitmap); 666 bmp.UseAlpha(); 668 m_data->context->DrawBitmap(bmp, dstRect.x(), dstRect.y(), supportAlphaBlend);
|
/external/webkit/Source/WebCore/plugins/win/ |
PluginViewWin.cpp | 1035 BitmapInfo bmp = BitmapInfo::createBottomUp(frameRect().size()); local 1036 OwnPtr<HBITMAP> hbmp(CreateDIBSection(0, &bmp, DIB_RGB_COLORS, &bits, 0, 0));
|
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
HoloSpiralRS.java | 182 Bitmap bmp = BitmapFactory.decodeResource( local 184 Allocation pointTexture = Allocation.createFromBitmap(mRS, bmp);
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
WebsiteSettingsFragment.java | 337 Bitmap bmp = null; local 340 bmp = BitmapFactory.decodeByteArray(data, 0, data.length); 358 if (bmp != null) { 360 site.setIcon(bmp); 498 Bitmap bmp = site.getIcon(); local 499 if (bmp == null) { 500 bmp = mDefaultIcon; 502 icon.setImageBitmap(bmp);
|