Searched defs:bitmap (Results 151 - 175 of 826) sorted by relevance

1234567891011>>

/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DBitmapPool.java8 public boolean put(Bitmap bitmap); argument
H A DBitmapPoolAdapter.java11 public boolean put(Bitmap bitmap) { argument
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DStreamBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
15 private static final String ID = "StreamBitmapDecoder.com.bumptech.glide.load.resource.bitmap";
37 Bitmap bitmap = downsampler.decode(source, bitmapPool, width, height, decodeFormat);
38 if (bitmap == null) {
41 return new BitmapResource(bitmap, bitmapPool);
H A DVideoBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
42 return "VideoBitmapDecoder.com.bumptech.glide.load.resource.bitmap";
/external/jemalloc/include/jemalloc/internal/
H A Dutil.h112 int jemalloc_ffsl(long bitmap);
113 int jemalloc_ffs(int bitmap);
128 jemalloc_ffsl(long bitmap) argument
131 return (JEMALLOC_INTERNAL_FFSL(bitmap));
135 jemalloc_ffs(int bitmap) argument
138 return (JEMALLOC_INTERNAL_FFS(bitmap));
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/raster/
H A Dftrend1.c98 /* convert a slot's glyph image into a bitmap */
109 FT_Bitmap* bitmap; local
187 bitmap = &slot->bitmap;
190 /* release old bitmap buffer */
193 FT_FREE( bitmap->buffer );
202 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY;
203 bitmap->num_grays = 256;
208 bitmap->pixel_mode = FT_PIXEL_MODE_MONO;
211 bitmap
[all...]
/external/pdfium/fpdfsdk/src/
H A Dfpdfeditimg.cpp57 DLLEXPORT FPDF_BOOL STDCALL FPDFImageObj_SetBitmap(FPDF_PAGE* pages,int nCount,FPDF_PAGEOBJECT image_object,FPDF_BITMAP bitmap) argument
59 if (!image_object || !bitmap)
62 pBmp = (CFX_DIBitmap*)bitmap;
/external/skia/experimental/PdfViewer/src/
H A DSkPdfDiffEncoder.cpp38 // Only attempt to write if the dump bitmap and canvas are non NULL. They are set by
51 SkBitmap bitmap; local
52 if (gDumpBitmap->copyTo(&bitmap, SkBitmap::kARGB_8888_Config)) {
54 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap)));
120 SkImageEncoder::EncodeFile(out.c_str(), bitmap, SkImageEncoder::kPNG_Type, 100);
/external/skia/experimental/pixman/
H A Djunk.cpp29 SkBitmap* bitmap = new SkBitmap; local
30 bitmap->setConfig(SkBitmap::kARGB_8888_Config, width, height);
31 bitmap->allocPixels();
33 int p_stride = bitmap->rowBytes();
34 uint32_t *p_bits = bitmap->getAddr32(0, 0);
44 return (void*) bitmap;
88 SkBitmap* bitmap = (SkBitmap*) pixbuf_from_argb32 (pixman_image_get_data (copy), local
91 canvas->drawBitmap(*bitmap, 0, 0);
92 delete bitmap;
/external/skia/gm/
H A Dmatriximagefilter.cpp25 void draw(SkCanvas* canvas, const SkRect& rect, const SkBitmap& bitmap, argument
32 canvas->drawBitmap(bitmap, 0, 0);
40 void make_checkerboard(SkBitmap* bitmap) { argument
41 bitmap->allocN32Pixels(64, 64);
42 SkCanvas canvas(*bitmap);
/external/skia/samplecode/
H A DSampleMipMap.cpp16 SkBitmap bitmap; local
17 bitmap.allocN32Pixels(n, n);
18 bitmap.eraseColor(SK_ColorTRANSPARENT);
20 SkCanvas canvas(bitmap);
34 return bitmap;
/external/skia/src/effects/
H A DSkBitmapSource.cpp15 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap) argument
17 fBitmap(bitmap),
18 fSrcRect(SkRect::MakeWH(SkIntToScalar(bitmap.width()),
19 SkIntToScalar(bitmap.height()))),
23 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect) argument
25 , fBitmap(bitmap)
53 // No regions cropped out or resized; return entire bitmap.
/external/skia/src/image/
H A DSkImage_Codec.cpp68 SkBitmap bitmap; local
69 if (!SkImageDecoder::DecodeMemory(data->bytes(), data->size(), &bitmap, kUnknown_SkColorType,
74 return SkNEW_ARGS(SkImage_Codec, (data, bitmap.width(), bitmap.height()));
/external/skia/src/images/
H A DSkMovie.cpp69 const SkBitmap& SkMovie::bitmap() function in class:SkMovie
/external/skia/src/utils/
H A DSkMeshUtils.cpp88 void SkMeshUtils::Draw(SkCanvas* canvas, const SkBitmap& bitmap, argument
93 if (idx.init(bitmap.width(), bitmap.height(), rows, cols)) {
95 p.setShader(SkShader::CreateBitmapShader(bitmap,
H A DSkPDFRasterizer.cpp52 SkBitmap bitmap; local
53 if (!bitmap.allocPixels(SkImageInfo::MakeN32Premul(width, height))) {
56 bitmap.eraseColor(SK_ColorWHITE);
57 SkPMColor* bitmapPixels = (SkPMColor*)bitmap.getPixels();
76 output->swap(bitmap);
/external/skia/tools/
H A Dpicture_utils.cpp18 void force_all_opaque(const SkBitmap& bitmap) { argument
19 SkASSERT(NULL == bitmap.getTexture());
20 SkASSERT(kN32_SkColorType == bitmap.colorType());
21 if (NULL != bitmap.getTexture() || kN32_SkColorType == bitmap.colorType()) {
25 SkAutoLockPixels lock(bitmap);
26 for (int y = 0; y < bitmap.height(); y++) {
27 for (int x = 0; x < bitmap.width(); x++) {
28 *bitmap.getAddr32(x, y) |= (SK_A32_MASK << SK_A32_SHIFT);
49 void setup_bitmap(SkBitmap* bitmap, in argument
[all...]
/external/valgrind/main/drd/
H A Dpub_drd_bitmap.h26 * A bitmap is a data structure that contains information about which
53 struct bitmap;
68 /* Complete bitmap. */
69 struct bitmap struct
80 struct bitmap* DRD_(bm_new)(void);
81 void DRD_(bm_delete)(struct bitmap* const bm);
82 void DRD_(bm_init)(struct bitmap* const bm);
83 void DRD_(bm_cleanup)(struct bitmap* const bm);
84 void DRD_(bm_access_range)(struct bitmap* const bm,
87 void DRD_(bm_access_range_load)(struct bitmap* cons
[all...]
/external/chromium_org/athena/test/
H A Dtest_app_model_builder.cc80 SkBitmap bitmap; local
81 bitmap.allocN32Pixels(kIconSize, kIconSize);
82 bitmap.eraseColor(color);
83 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
/external/chromium_org/cc/layers/
H A Dimage_layer.cc24 void ImageLayer::SetBitmap(const SkBitmap& bitmap) { argument
29 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef())
32 bitmap_ = bitmap;
/external/chromium_org/cc/resources/
H A Dimage_layer_updater.cc59 void ImageLayerUpdater::SetBitmap(const SkBitmap& bitmap) { argument
60 DCHECK(bitmap.pixelRef());
61 bitmap_ = bitmap;
64 bool ImageLayerUpdater::UsingBitmap(const SkBitmap& bitmap) const {
65 return bitmap.pixelRef() == bitmap_.pixelRef();
/external/chromium_org/cc/test/
H A Dfake_content_layer_client.h22 SkBitmap bitmap; member in struct:cc::FakeContentLayerClient::BitmapData
45 void add_draw_bitmap(const SkBitmap& bitmap, argument
49 data.bitmap = bitmap;
H A Dfake_picture_pile_impl.h37 void add_draw_bitmap(const SkBitmap& bitmap, const gfx::Point& point) { argument
38 client_.add_draw_bitmap(bitmap, point, default_paint_);
45 void add_draw_bitmap_with_paint(const SkBitmap& bitmap, argument
48 client_.add_draw_bitmap(bitmap, point, paint);
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_pixeltest_readback.cc89 scoped_ptr<SkBitmap> bitmap = local
93 ReadbackResultAsBitmap(CopyOutputResult::CreateBitmapResult(bitmap.Pass()));
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/profiles/
H A DProfileDownloader.java29 * @param bitmap A user picture.
31 void onProfileDownloaded(String accountId, String fullName, Bitmap bitmap); argument
63 private static void onProfileDownloadSuccess(String accountId, String fullName, Bitmap bitmap) { argument
66 observer.onProfileDownloaded(accountId, fullName, bitmap);

Completed in 1179 milliseconds

1234567891011>>