/external/skia/tests/ |
H A D | BitmapGetColorTest.cpp | 97 SkBitmap bm; local 99 bm.setConfig(gRec[i].fConfig, 2, 2); 100 bm.setPixels(storage); 102 bm.eraseColor(initColor); 103 bm.eraseArea(area, gRec[i].fInColor); 105 SkColor c = bm.getColor(1, 1);
|
H A D | DrawPathTest.cpp | 15 SkBitmap bm; local 16 bm.setConfig(config, w, h, rb); 18 bm.setPixels(addr); 20 bm.allocPixels(); 22 return new SkCanvas(bm); 86 SkBitmap bm; local 87 bm.setConfig(SkBitmap::kARGB_8888_Config, 2700, 30*1024); 88 bm.allocPixels(); 89 SkCanvas canvas(bm);
|
H A D | BitmapFactoryTest.cpp | 26 SkBitmap* bm = SkNEW(SkBitmap); local 29 bm->setConfig(SkBitmap::kARGB_8888_Config, W, H); 30 bm->allocPixels(); 31 bm->eraseColor(SK_ColorBLACK); 32 SkCanvas canvas(*bm); 36 return bm; 39 static SkData* create_data_from_bitmap(const SkBitmap& bm) { argument 41 if (SkImageEncoder::EncodeStream(&stream, bm, SkImageEncoder::kPNG_Type, 100)) {
|
H A D | ImageDecodingTest.cpp | 198 SkBitmap bm; local 200 bm.setConfig(SkBitmap::kARGB_8888_Config, size, size); 201 bm.allocPixels(); 202 SkCanvas canvas(bm); 215 SkAutoTUnref<SkData> data(SkImageEncoder::EncodeData(bm, type, 100)); 253 SkBitmap bm; local 254 decoder->decodeSubset(&bm, SkIRect::MakeWH(width, height),
|
/external/skia/bench/ |
H A D | BitmapRectBench.cpp | 16 static void draw_into_bitmap(const SkBitmap& bm) { argument 17 const int w = bm.width(); 18 const int h = bm.height(); 20 SkCanvas canvas(bm);
|
H A D | DecodeBench.cpp | 46 SkBitmap bm; local 47 SkImageDecoder::DecodeFile(fFilename, &bm, fPrefConfig,
|
H A D | ImageDecodeBench.cpp | 61 SkBitmap bm; variable 63 SkDEBUGCODE(bool success =) SkImageDecoder::DecodeStream(&fStream, &bm);
|
H A D | SkipZeroesBench.cpp | 76 SkBitmap bm; variable 78 SkDEBUGCODE(bool success =) fDecoder->decode(&fStream, &bm,
|
/external/chromium_org/sync/syncable/ |
H A D | parent_child_index_unittest.cc | 78 EntryKernel* bm = new EntryKernel(); local 79 bm->put(META_HANDLE, n); 80 bm->put(BASE_VERSION, 10); 81 bm->put(SERVER_VERSION, 10); 82 bm->put(IS_DIR, is_dir); 83 bm->put(ID, GetBookmarkId(n)); 84 bm->put(PARENT_ID, GetBookmarkRootId()); 85 bm->put(SERVER_PARENT_ID, GetBookmarkRootId()); 87 bm->put(UNIQUE_BOOKMARK_TAG, 89 bm [all...] |
/external/chromium_org/third_party/skia/include/images/ |
H A D | SkImageRef.h | 51 bool getInfo(SkBitmap* bm); 57 bool isOpaque(SkBitmap* bm);
|
/external/skia/include/images/ |
H A D | SkImageRef.h | 51 bool getInfo(SkBitmap* bm); 57 bool isOpaque(SkBitmap* bm);
|
/external/valgrind/main/drd/ |
H A D | drd_segment.h | 60 struct bitmap bm; member in struct:segment 97 return &sg->bm;
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapHeap.h | 221 LookupEntry(const SkBitmap& bm) argument 222 : fGenerationId(bm.getGenerationID()) 223 , fPixelOffset(bm.pixelRefOffset()) 224 , fWidth(bm.width()) 225 , fHeight(bm.height())
|
/external/skia/gm/ |
H A D | shadertext3.cpp | 14 static void makebm(SkBitmap* bm, SkBitmap::Config config, int w, int h) { argument 15 bm->setConfig(config, w, h); 16 bm->allocPixels(); 17 bm->eraseColor(SK_ColorTRANSPARENT); 19 SkCanvas canvas(*bm);
|
H A D | tilemodes.cpp | 22 static void makebm(SkBitmap* bm, SkBitmap::Config config, int w, int h) { argument 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, argument 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, t [all...] |
H A D | filterbitmap.cpp | 19 static SkSize computeSize(const SkBitmap& bm, const SkMatrix& mat) { argument 20 SkRect bounds = SkRect::MakeWH(SkIntToScalar(bm.width()), 21 SkIntToScalar(bm.height())); 26 static void draw_col(SkCanvas* canvas, const SkBitmap& bm, const SkMatrix& mat, argument 32 canvas->drawBitmapMatrix(bm, mat, &paint); 36 canvas->drawBitmapMatrix(bm, mat, &paint); 40 canvas->drawBitmapMatrix(bm, mat, &paint);
|
H A D | gammatext.cpp | 41 static CGContextRef makeCG(const SkBitmap& bm) { argument 42 if (SkBitmap::kARGB_8888_Config != bm.config() || 43 NULL == bm.getPixels()) { 47 CGContextRef cg = CGBitmapContextCreate(bm.getPixels(), bm.width(), bm.height(), 48 8, bm.rowBytes(), space, BITMAP_INFO_RGB);
|
/external/skia/src/core/ |
H A D | SkBitmapHeap.h | 221 LookupEntry(const SkBitmap& bm) argument 222 : fGenerationId(bm.getGenerationID()) 223 , fPixelOffset(bm.pixelRefOffset()) 224 , fWidth(bm.width()) 225 , fHeight(bm.height())
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkPictureUtils.cpp | 54 void addBitmap(const SkBitmap& bm) { argument 55 fPRSet->add(bm.pixelRef()); 61 SkBitmap bm; local 66 shader->asABitmap(&bm, NULL, NULL)) { 67 fPRSet->add(bm.pixelRef()); 73 GatherPixelRefDevice(const SkBitmap& bm, PixelRefSet* prset) : SkDevice(bm) { argument
|
/external/skia/src/utils/ |
H A D | SkPictureUtils.cpp | 54 void addBitmap(const SkBitmap& bm) { argument 55 fPRSet->add(bm.pixelRef()); 61 SkBitmap bm; local 66 shader->asABitmap(&bm, NULL, NULL)) { 67 fPRSet->add(bm.pixelRef()); 73 GatherPixelRefDevice(const SkBitmap& bm, PixelRefSet* prset) : SkDevice(bm) { argument
|
/external/chromium_org/third_party/skia/src/views/ |
H A D | SkParsePaint.cpp | 47 SkBitmap bm; 49 if (SkImageDecoder::DecodeFile(str, &bm)) 57 return SkShader::CreateBitmapShader(bm, mode, mode);
|
H A D | SkProgressView.cpp | 111 SkBitmap bm; local 113 return SkImageDecoder::DecodeFile(file, &bm) ? 114 SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode) :
|
/external/iptables/extensions/ |
H A D | libipt_NETMAP.c | 35 uint32_t bm; local 39 for (bits = 0, bm = 0x80000000; netmask & bm; netmask <<= 1)
|
/external/skia/src/views/ |
H A D | SkParsePaint.cpp | 47 SkBitmap bm; 49 if (SkImageDecoder::DecodeFile(str, &bm)) 57 return SkShader::CreateBitmapShader(bm, mode, mode);
|
H A D | SkProgressView.cpp | 111 SkBitmap bm; local 113 return SkImageDecoder::DecodeFile(file, &bm) ? 114 SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode) :
|