HomeSort by relevance Sort by last modified time
    Searched refs:bmp (Results 1 - 25 of 56) 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...]
TransitionDrawableTest.java 196 private void assertColorFillRect(Bitmap bmp, int x, int y, int w, int h, int color) {
199 assertEquals(color, bmp.getPixel(i, j));
204 private void assertColorNotFillRect(Bitmap bmp, int x, int y, int w, int h, int color) {
207 assertTrue(color != bmp.getPixel(i, j));
  /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 18 SkBitmap bmp; local
19 bmp.setConfig(SkBitmap::kARGB_8888_Config, 256, 256);
20 bmp.allocPixels();
21 SkAutoLockPixels alp(bmp);
22 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels());
29 canvas->writePixels(bmp, 0, 0, unpremulConfig);
WritePixelsTest.cpp 129 static SkBitmap bmp; local
130 if (bmp.isNull()) {
131 bmp.setConfig(SkBitmap::kARGB_8888_Config, DEV_W, DEV_H);
132 bool alloc = bmp.allocPixels();
134 SkAutoLockPixels alp(bmp);
135 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels());
138 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
148 canvas->drawBitmap(bmp, 0, 0, &paint);
298 SkBitmap bmp; local
407 SkBitmap bmp; local
    [all...]
ReadPixelsTest.cpp 101 static SkBitmap bmp; local
102 if (bmp.isNull()) {
103 bmp.setConfig(SkBitmap::kARGB_8888_Config, DEV_W, DEV_H);
104 bool alloc = bmp.allocPixels();
106 SkAutoLockPixels alp(bmp);
107 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels());
110 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
120 canvas->drawBitmap(bmp, 0, 0, &paint);
341 SkBitmap bmp; local
    [all...]
DeferredCanvasTest.cpp 107 SkBitmap bmp; local
108 create(&bmp, SkBitmap::kARGB_8888_Config, 0xFFFFFFFF);
109 bmp.setIsOpaque(true);
110 SkShader* shader = SkShader::CreateBitmapShader(bmp,
129 SkBitmap bmp; local
130 create(&bmp, SkBitmap::kARGB_8888_Config, 0xFFFFFFFF);
131 bmp.setIsOpaque(false);
132 SkShader* shader = SkShader::CreateBitmapShader(bmp,
  /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));
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/
ExifOutputStreamTest.java 43 Bitmap bmp = BitmapFactory.decodeStream(imageInputStream); local
54 bmp.compress(Bitmap.CompressFormat.JPEG, 100, exifOutputStream);
  /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);
  /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);
  /external/skia/gm/
shadertext.cpp 41 static SkBitmap bmp; local
42 if (bmp.isNull()) {
43 makebm(&bmp, SkBitmap::kARGB_8888_Config, w/2, h/4);
45 return SkShader::CreateBitmapShader(bmp, tx, ty);
  /external/skia/samplecode/
SampleShaderText.cpp 40 static SkBitmap bmp; local
41 if (bmp.isNull()) {
42 makebm(&bmp, SkBitmap::kARGB_8888_Config, w/2, h/4);
44 return SkShader::CreateBitmapShader(bmp, tx, ty);
  /frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
RenderScript.java 190 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage);
191 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) {
193 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage);
195 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage);
196 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) {
198 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage);
200 native int rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp);
201 synchronized int nAllocationCreateBitmapRef(int type, Bitmap bmp) {
203 return rsnAllocationCreateBitmapRef(mContext, type, bmp);
211 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp);
    [all...]

Completed in 434 milliseconds

1 2 3