HomeSort by relevance Sort by last modified time
    Searched refs:bmp (Results 1 - 25 of 63) sorted by null

1 2 3

  /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;
  /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);
  /external/qemu/distrib/sdl-1.2.15/test/
testvidinfo.c 46 int RunBlitTests(SDL_Surface *screen, SDL_Surface *bmp, int blitcount)
53 maxx = (int)screen->w - bmp->w + 1;
54 maxy = (int)screen->h - bmp->h + 1;
67 dst.w = bmp->w;
68 dst.h = bmp->h;
69 SDL_BlitSurface(bmp, NULL, screen, &dst);
84 SDL_Surface *bmp, *bmpcc, *tmp; local
138 bmp = SDL_LoadBMP("sample.bmp");
139 if ( ! bmp ) {
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
NinePatchDrawableTest.java 68 Bitmap bmp = BitmapFactory.decodeResource(mResources, R.drawable.ninepatch_0); local
71 new NinePatchDrawable(bmp, chunk, r, name);
73 new NinePatchDrawable(new NinePatch(bmp, chunk, name));
78 new NinePatchDrawable(bmp, chunk, r, name);
86 Bitmap bmp = Bitmap.createBitmap(9, 9, Config.ARGB_8888); local
87 Canvas c = new Canvas(bmp);
93 assertColorFillRect(bmp, 0, 0, 4, 4, Color.RED);
94 assertColorFillRect(bmp, 5, 0, 4, 4, Color.BLUE);
95 assertColorFillRect(bmp, 0, 5, 4, 4, ocean);
96 assertColorFillRect(bmp, 5, 5, 4, 4, Color.YELLOW)
201 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local
212 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local
223 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local
234 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local
    [all...]
  /external/skia/gm/
bigmatrix.cpp 61 SkBitmap bmp; local
62 bmp.setConfig(SkBitmap::kARGB_8888_Config, 2, 2);
63 bmp.allocPixels();
64 bmp.lockPixels();
65 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels());
70 bmp.unlockPixels();
74 bmp,
modecolorfilters.cpp 40 SkBitmap bmp; local
41 bmp.setConfig(SkBitmap::kARGB_8888_Config, 2 * checkSize, 2 * checkSize);
42 bmp.allocPixels();
43 SkCanvas canvas(bmp);
53 return SkNEW_ARGS(SkBitmapProcShader, (bmp, SkShader::kRepeat_TileMode,
shadertext3.cpp 70 static SkBitmap bmp; local
71 if (bmp.isNull()) {
72 makebm(&bmp, SkBitmap::kARGB_8888_Config, kPointSize / 4, kPointSize / 4);
79 canvas->drawBitmap(bmp, 5.f, 5.f, &bmpPaint);
104 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(bmp,
shadertext2.cpp 94 static SkBitmap bmp; local
95 if (bmp.isNull()) {
96 makebm(&bmp, SkBitmap::kARGB_8888_Config, kPointSize / 2, kPointSize / 2);
99 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(bmp,
128 canvas->drawBitmap(bmp, 0, 0);
129 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f);
  /external/skia/tests/
ShaderOpacityTest.cpp 14 SkBitmap bmp; local
15 bmp.setConfig(SkBitmap::kARGB_8888_Config, 2, 2);
18 SkShader* shader = SkShader::CreateBitmapShader(bmp,
25 bmp.allocPixels();
28 shader = SkShader::CreateBitmapShader(bmp,
35 bmp.setIsOpaque(true);
36 shader = SkShader::CreateBitmapShader(bmp,
43 bmp.setIsOpaque(false);
44 shader = SkShader::CreateBitmapShader(bmp,
PremulAlphaRoundTripTest.cpp 22 SkBitmap bmp; local
23 bmp.setConfig(SkBitmap::kARGB_8888_Config, 256, 256);
24 bmp.allocPixels();
25 SkAutoLockPixels alp(bmp);
26 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels());
33 canvas->writePixels(bmp, 0, 0, unpremulConfig);
ReadPixelsTest.cpp 109 static SkBitmap bmp; local
110 if (bmp.isNull()) {
111 bmp.setConfig(SkBitmap::kARGB_8888_Config, DEV_W, DEV_H);
112 SkDEBUGCODE(bool alloc =) bmp.allocPixels();
114 SkAutoLockPixels alp(bmp);
115 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels());
118 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
128 canvas->drawBitmap(bmp, 0, 0, &paint);
348 SkBitmap bmp; local
    [all...]
WritePixelsTest.cpp 136 static SkBitmap bmp; local
137 if (bmp.isNull()) {
138 bmp.setConfig(SkBitmap::kARGB_8888_Config, DEV_W, DEV_H);
139 SkDEBUGCODE(bool alloc = ) bmp.allocPixels();
141 SkAutoLockPixels alp(bmp);
142 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels());
145 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
155 canvas->drawBitmap(bmp, 0, 0, &paint);
307 SkBitmap bmp; local
417 SkBitmap bmp; local
    [all...]
  /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/graphics/android/rendering/
ImageTexture.h 73 ImageTexture(SkBitmap* bmp, unsigned crc);
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/
MultiTouchView.java 156 final Bitmap bmp = Bitmap.createBitmap(colors, 0, w, w, h, Bitmap.Config.ARGB_8888); local
161 mCanvas.drawBitmap(bmp, mDrawMatrix, mPaint);
177 final Bitmap bmp = BitmapFactory.decodeStream(jpeg); local
182 mCanvas.drawBitmap(bmp, mDrawMatrix, mPaint);
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/
ExifOutputStreamTest.java 67 Bitmap bmp = BitmapFactory.decodeStream(imageInputStream); local
69 if (bmp == null) {
80 bmp.compress(Bitmap.CompressFormat.JPEG, 90, exifOutputStream);
143 Bitmap bmp = BitmapFactory.decodeStream(imageInputStream); local
145 if (bmp == null) {
169 bmp.compress(Bitmap.CompressFormat.JPEG, 90, exifOutputStream);
  /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/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);
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
RenderScript.java 224 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage);
225 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) {
227 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage);
230 native int rsnAllocationCreateBitmapBackedAllocation(int con, int type, int mip, Bitmap bmp, int usage);
231 synchronized int nAllocationCreateBitmapBackedAllocation(int type, int mip, Bitmap bmp, int usage) {
233 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage);
237 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage);
238 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) {
240 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage);
242 native int rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp);
    [all...]

Completed in 1857 milliseconds

1 2 3