/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
xfonts.c | 229 GLubyte *bm; local 250 bm = (GLubyte *) MALLOC((max_bm_width * max_bm_height) * sizeof(GLubyte)); 251 if (!bm) { 348 memset(bm, '\0', bm_width * bm_height); 349 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); 351 glBitmap(width, height, x0, y0, dx, dy, bm); 356 dump_bitmap(bm_width, bm_height, bm); 366 FREE(bm);
|
/external/chromium_org/third_party/skia/src/fonts/ |
SkGScalerContext.cpp | 121 SkBitmap bm; local 122 bm.setConfig(SkBitmap::kARGB_8888_Config, glyph.fWidth, glyph.fHeight, 124 bm.setPixels(glyph.fImage); 125 bm.eraseColor(0); 127 SkCanvas canvas(bm);
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder.cpp | 189 bool SkImageDecoder::decode(SkStream* stream, SkBitmap* bm, 202 bm->swap(tmp); 206 bool SkImageDecoder::decodeSubset(SkBitmap* bm, const SkIRect& rect, 213 return this->onDecodeSubset(bm, rect); 274 bool SkImageDecoder::DecodeFile(const char file[], SkBitmap* bm, 277 SkASSERT(bm); 281 if (SkImageDecoder::DecodeStream(stream, bm, pref, mode, format)) { 282 bm->pixelRef()->setURI(file); 289 bool SkImageDecoder::DecodeMemory(const void* buffer, size_t size, SkBitmap* bm, 297 return SkImageDecoder::DecodeStream(&stream, bm, pref, mode, format) 412 SkBitmap bm; local [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkLuaCanvas.cpp | 76 SkBitmap bm; local 77 bm.setConfig(SkBitmap::kNo_Config, width, height); 78 return bm;
|
SkNWayCanvas.cpp | 11 SkBitmap bm; local 12 bm.setConfig(SkBitmap::kNo_Config, width, height); 13 return bm;
|
/external/chromium_org/third_party/skia/src/views/ |
SkWindow.cpp | 22 test_bounder(const SkBitmap& bm) : fCanvas(bm) {} 167 SkBitmap bm = this->getBitmap(); local 177 bm.setPixels(buffer); 194 test_bounder b(bm);
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
glx_usefont.c | 222 GLubyte *bm; local 244 bm = (GLubyte *) MALLOC((max_bm_width * max_bm_height) * sizeof(GLubyte)); 245 if (!bm) { 342 memset(bm, '\0', bm_width * bm_height); 343 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); 345 glBitmap(width, height, x0, y0, dx, dy, bm); 350 dump_bitmap(bm_width, bm_height, bm); 360 FREE(bm);
|
/external/mesa3d/src/glx/ |
xfont.c | 229 GLubyte *bm; local 248 bm = (GLubyte *) Xmalloc((max_bm_width * max_bm_height) * sizeof(GLubyte)); 249 if (!bm) { 344 memset(bm, '\0', bm_width * bm_height); 345 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); 347 glBitmap(width, height, x0, y0, dx, dy, bm); 352 dump_bitmap(bm_width, bm_height, bm); 362 Xfree(bm);
|
/external/mesa3d/src/mesa/drivers/x11/ |
xfonts.c | 229 GLubyte *bm; local 250 bm = (GLubyte *) MALLOC((max_bm_width * max_bm_height) * sizeof(GLubyte)); 251 if (!bm) { 348 memset(bm, '\0', bm_width * bm_height); 349 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); 351 glBitmap(width, height, x0, y0, dx, dy, bm); 356 dump_bitmap(bm_width, bm_height, bm); 366 FREE(bm);
|
/external/skia/bench/ |
BitmapBench.cpp | 112 SkBitmap bm; local 115 bm.setConfig(SkBitmap::kARGB_8888_Config, W, H); 117 bm.setConfig(fConfig, W, H); 120 bm.allocPixels(); 121 bm.eraseColor(fIsOpaque ? SK_ColorBLACK : 0); 123 onDrawIntoBitmap(bm); 126 convertToIndex666(bm, &fBitmap); 128 fBitmap = bm; 178 virtual void onDrawIntoBitmap(const SkBitmap& bm) { 179 const int w = bm.width() [all...] |
/external/skia/gm/ |
aaclip.cpp | 106 SkBitmap bm; local 107 bm.setConfig(SkBitmap::kARGB_8888_Config, bounds.width(), bounds.height()); 108 bm.allocPixels(); 109 bm.eraseColor(SK_ColorTRANSPARENT); 111 SkCanvas* canvas = new SkCanvas(bm); 117 static void GetBitmap(const SkCanvas* canvas, SkBitmap* bm) { 118 *bm = canvas->getDevice()->accessBitmap(false);
|
blurrect.cpp | 193 SkBitmap bm; local 194 bm.setConfig(SkBitmap::kA8_Config, mask.fBounds.width(), mask.fBounds.height()); 195 bm.setPixels(mask.fImage); 200 canvas->drawBitmap(bm, SkIntToScalar(center_x), SkIntToScalar(center_y), NULL);
|
tilemodes.cpp | 22 static void makebm(SkBitmap* bm, SkBitmap::Config config, int w, int h) { 23 bm->setConfig(config, w, h); 24 bm->allocPixels(); 25 bm->eraseColor(SK_ColorTRANSPARENT); 27 SkCanvas canvas(*bm); 46 static void setup(SkPaint* paint, const SkBitmap& bm, bool filter, 48 SkShader* shader = SkShader::CreateBitmapShader(bm, tmx, tmy); 173 SkBitmap bm; local 174 makebm(&bm, SkBitmap::kARGB_8888_Config, gWidth, gHeight); 175 return SkShader::CreateBitmapShader(bm, tx, ty) [all...] |
/external/skia/src/fonts/ |
SkGScalerContext.cpp | 121 SkBitmap bm; local 122 bm.setConfig(SkBitmap::kARGB_8888_Config, glyph.fWidth, glyph.fHeight, 124 bm.setPixels(glyph.fImage); 125 bm.eraseColor(0); 127 SkCanvas canvas(bm);
|
/external/skia/src/images/ |
SkImageDecoder.cpp | 192 bool SkImageDecoder::decode(SkStream* stream, SkBitmap* bm, 205 bm->swap(tmp); 209 bool SkImageDecoder::decodeSubset(SkBitmap* bm, const SkIRect& rect, 216 return this->onDecodeSubset(bm, rect); 277 bool SkImageDecoder::DecodeFile(const char file[], SkBitmap* bm, 280 SkASSERT(bm); 284 if (SkImageDecoder::DecodeStream(stream, bm, pref, mode, format)) { 285 bm->pixelRef()->setURI(file); 292 bool SkImageDecoder::DecodeMemory(const void* buffer, size_t size, SkBitmap* bm, 300 return SkImageDecoder::DecodeStream(&stream, bm, pref, mode, format) 415 SkBitmap bm; local [all...] |
/external/skia/src/utils/ |
SkLuaCanvas.cpp | 76 SkBitmap bm; local 77 bm.setConfig(SkBitmap::kNo_Config, width, height); 78 return bm;
|
SkNWayCanvas.cpp | 11 SkBitmap bm; local 12 bm.setConfig(SkBitmap::kNo_Config, width, height); 13 return bm;
|
/external/skia/src/views/ |
SkWindow.cpp | 22 test_bounder(const SkBitmap& bm) : fCanvas(bm) {} 167 SkBitmap bm = this->getBitmap(); local 177 bm.setPixels(buffer); 194 test_bounder b(bm);
|
/external/skia/tests/ |
DrawBitmapRectTest.cpp | 101 const SkBitmap& bm, bool shouldBeDrawn) { 102 for (int y = 0; y < bm.height(); ++y) { 103 for (int x = 0; x < bm.width(); ++x) { 105 if (SK_ColorTRANSPARENT == *bm.getAddr32(x, y)) { 111 if (SK_ColorTRANSPARENT != *bm.getAddr32(x, y)) { 139 SkBitmap bm; local 140 bm.setConfig(SkBitmap::kARGB_8888_Config, width, height); 141 bm.allocPixels(); 142 bm.eraseColor(SK_ColorRED); 144 SkShader* s = SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode 206 SkBitmap bm; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
BitmapRegionDecoder.cpp | 100 SkBitmapRegionDecoder *bm = new SkBitmapRegionDecoder(decoder, width, height); local 101 return GraphicsJNI::createBitmapRegionDecoder(env, bm);
|
/frameworks/base/graphics/java/android/graphics/ |
BitmapFactory.java | 365 Bitmap bm = null; local 369 bm = decodeStream(stream, null, opts); 372 If the exception happened on open, bm will be null. 384 return bm; 438 Bitmap bm = null; local 445 bm = decodeResourceStream(res, value, is, null, opts); 448 If the exception happened on open, bm will be null. 449 If it happened on close, bm is still valid. 459 if (bm == null && opts != null && opts.inBitmap != null) { 463 return bm; 496 Bitmap bm; local 581 Bitmap bm = null; local 645 Bitmap bm; local [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsHelper.java | 144 IBackupManager bm = IBackupManager.Stub.asInterface( local 146 if (bm != null) { 147 bm.setAutoRestore(enabled);
|
/packages/apps/Browser/src/com/android/browser/ |
Bookmarks.java | 133 private static byte[] bitmapToBytes(Bitmap bm) { 134 if (bm == null) { 139 bm.compress(Bitmap.CompressFormat.PNG, 100, os);
|
WallpaperHandler.java | 161 Bitmap bm = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); local 162 Canvas canvas = new Canvas(bm); 167 wm.setBitmap(bm);
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
BitmapJobDrawable.java | 140 Bitmap bm = mBitmap; local 141 return (bm == null || bm.hasAlpha() || mPaint.getAlpha() < 255) ?
|