/external/chromium_org/chrome/browser/ |
H A D | bitmap_fetcher_delegate.h | 19 // This will be called when the bitmap has been requested, whether or not the 21 // match up the bitmap with a specific request. |bitmap| may be NULL if the 23 virtual void OnFetchComplete(const GURL url, const SkBitmap* bitmap) = 0;
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_install_ui_util.cc | 20 install_ui->OnInstallSuccess(extension, approval.installing_icon.bitmap());
|
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | simple_thumbnail_crop.h | 28 const SkBitmap& bitmap) OVERRIDE; 33 // bitmap are all the same brightness. 35 static double CalculateBoringScore(const SkBitmap& bitmap); 37 // Gets the clipped bitmap from |bitmap| per the aspect ratio of the 39 // bitmap is vertically long (ex. 400x900) and the desired size is 40 // square (ex. 100x100), the clipped bitmap will be the top half of the 41 // input bitmap (400x400). 43 static SkBitmap GetClippedBitmap(const SkBitmap& bitmap, 63 static SkBitmap CreateThumbnail(const SkBitmap& bitmap, [all...] |
/external/chromium_org/content/common/cursors/ |
H A D | webcursor_ozone.cc | 18 SkBitmap bitmap; 19 ImageFromCustomData(&bitmap); 22 device_scale_factor_, rotation_, &bitmap, &hotspot); 24 return ui::CursorFactoryOzone::GetInstance()->CreateImageCursor(bitmap,
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
H A D | NativeImageSkia.h | 65 static PassRefPtr<NativeImageSkia> create(const SkBitmap& bitmap) argument 67 return adoptRef(new NativeImageSkia(bitmap)); 73 bool isDataComplete() const { return bitmap().isImmutable(); } 76 const SkBitmap& bitmap() const { return m_bitmap; } function in class:blink::NativeImageSkia 78 // We can keep a resized version of the bitmap cached on this object. 138 // what's required. On the other hand, resampling the entire bitmap is 139 // better if we're going to be using it more than once (like a bitmap 149 // The cached bitmap fragment. This is a subset of the scaled version of
|
/external/chromium_org/third_party/WebKit/public/platform/ |
H A D | WebImage.h | 49 // A container for an ARGB bitmap. 87 WebImage(const SkBitmap& bitmap) : m_bitmap(bitmap) { } argument 89 WebImage& operator=(const SkBitmap& bitmap) argument 91 m_bitmap = bitmap;
|
/external/chromium_org/third_party/ots/test/ |
H A D | side-by-side.cc | 22 void DumpBitmap(const FT_Bitmap *bitmap) { argument 23 for (int i = 0; i < bitmap->rows * bitmap->width; ++i) { 24 if (bitmap->buffer[i] > 192) { 26 } else if (bitmap->buffer[i] > 128) { 28 } else if (bitmap->buffer[i] > 64) { 30 } else if (bitmap->buffer[i] > 32) { 36 if ((i + 1) % bitmap->width == 0) { 49 std::fprintf(stderr, "bitmap data doesn't match!\n"); 55 std::fprintf(stderr, "bitmap metric 73 GetBitmap(FT_Library library, FT_Outline *outline, FT_Bitmap *bitmap) argument [all...] |
/external/chromium_org/third_party/skia/dm/ |
H A D | DMGpuGMTask.cpp | 43 SkBitmap bitmap; local 44 bitmap.setInfo(info); 45 canvas->readPixels(&bitmap, 0, 0); 47 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, "GM", bitmap)));
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | bitmaps.c | 32 void ext2fs_free_inode_bitmap(ext2fs_inode_bitmap bitmap) argument 34 ext2fs_free_generic_bmap(bitmap); 37 void ext2fs_free_block_bitmap(ext2fs_block_bitmap bitmap) argument 39 ext2fs_free_generic_bmap(bitmap); 116 * bitmap for backwards compatibility. This function allocates a 117 * block bitmap which is truly per-block, even if clusters/bigalloc 154 int ext2fs_get_bitmap_granularity(ext2fs_block_bitmap bitmap) argument 156 ext2fs_generic_bitmap bmap = bitmap; 164 errcode_t ext2fs_fudge_inode_bitmap_end(ext2fs_inode_bitmap bitmap, argument 170 retval = ext2fs_fudge_generic_bmap_end((ext2fs_generic_bitmap) bitmap, 178 ext2fs_fudge_block_bitmap_end(ext2fs_block_bitmap bitmap, blk_t end, blk_t *oend) argument 187 ext2fs_fudge_block_bitmap_end2(ext2fs_block_bitmap bitmap, blk64_t end, blk64_t *oend) argument 195 ext2fs_clear_inode_bitmap(ext2fs_inode_bitmap bitmap) argument 200 ext2fs_clear_block_bitmap(ext2fs_block_bitmap bitmap) argument [all...] |
H A D | ext2fsP.h | 109 * 64-bit bitmap support 126 extern errcode_t ext2fs_fudge_generic_bmap_end(ext2fs_generic_bitmap bitmap, 129 extern int ext2fs_mark_generic_bmap(ext2fs_generic_bitmap bitmap, 131 extern int ext2fs_unmark_generic_bmap(ext2fs_generic_bitmap bitmap, 133 extern int ext2fs_test_generic_bmap(ext2fs_generic_bitmap bitmap, 135 extern errcode_t ext2fs_set_generic_bmap_range(ext2fs_generic_bitmap bitmap, 138 extern errcode_t ext2fs_get_generic_bmap_range(ext2fs_generic_bitmap bitmap, 141 extern void ext2fs_warn_bitmap32(ext2fs_generic_bitmap bitmap,const char *func);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
H A D | BitmapPool.java | 8 public boolean put(Bitmap bitmap); argument
|
H A D | BitmapPoolAdapter.java | 11 public boolean put(Bitmap bitmap) { argument
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
H A D | FileDescriptorBitmapDecoder.java | 1 package com.bumptech.glide.load.resource.bitmap; 31 Bitmap bitmap = bitmapDecoder.decode(source, bitmapPool, width, height, decodeFormat); 32 if (bitmap == null) { 35 return new BitmapResource(bitmap, bitmapPool); 41 return "FileDescriptorBitmapDecoder.com.bumptech.glide.load.data.bitmap";
|
H A D | StreamBitmapDecoder.java | 1 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);
|
/external/skia/src/image/ |
H A D | SkImage_Codec.cpp | 68 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/utils/ |
H A D | SkTextureCompressor.h | 27 // to the bitmap. If the bitmap colorType cannot be compressed using the 30 SkData* CompressBitmapToFormat(const SkBitmap& bitmap, Format format);
|
/external/chromium_org/skia/ext/ |
H A D | pixel_ref_utils.cc | 56 SkBitmap bitmap; variable 57 if (GetBitmapFromPaint(paint, &bitmap)) { 59 AddBitmap(bitmap, clip_rect); 68 SkBitmap bitmap; variable 69 if (!GetBitmapFromPaint(paint, &bitmap)) 93 SkBitmap bitmap; variable 94 if (GetBitmapFromPaint(paint, &bitmap)) { 98 AddBitmap(bitmap, mapped_rect); 116 SkBitmap bitmap; variable 117 if (!GetBitmapFromPaint(paint, &bitmap)) 180 SkBitmap bitmap; variable 228 SkBitmap bitmap; variable 280 SkBitmap bitmap; variable [all...] |
H A D | vector_canvas_unittest.cc | 55 hdr.biHeight = -y; // Minus means top-down bitmap. 82 // Lightweight raw-bitmap management. The image, once initialized, is immuable. 92 SkBitmap bitmap; local 95 compressed.size(), &bitmap)); local 96 SetSkBitmap(bitmap); 101 // Use a different way to access the bitmap. The normal way would be to 105 HGDIOBJ bitmap = GetCurrentObject(context, OBJ_BITMAP); local 106 EXPECT_TRUE(bitmap != NULL); 107 // Initialize the clip region to the entire bitmap. 109 EXPECT_EQ(GetObject(bitmap, sizeo 119 Image(const SkBitmap& bitmap) argument 187 SetSkBitmap(const SkBitmap& bitmap) argument 313 Premultiply(SkBitmap bitmap) argument 334 LoadPngFileToSkBitmap(const base::FilePath& filename, SkBitmap* bitmap, bool is_opaque) argument 343 compressed.size(), bitmap)); local 803 SkBitmap bitmap; local 811 SkBitmap bitmap; local 820 SkBitmap bitmap; local 837 SkBitmap bitmap; local 851 SkBitmap bitmap; local 873 SkBitmap bitmap; local 895 SkBitmap bitmap; local 923 SkBitmap bitmap; local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | DragImageTest.cpp | 65 SkBitmap bitmap; local 66 bitmap.allocN32Pixels(size.width(), size.height()); 67 m_nativeImage = NativeImageSkia::create(bitmap); 140 SkAutoLockPixels lock1(dragImage->bitmap()), lock2(testImage->nativeImageForCurrentFrame()->bitmap()); 141 EXPECT_NE(dragImage->bitmap().getPixels(), testImage->nativeImageForCurrentFrame()->bitmap().getPixels());
|
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/ |
H A D | PNGImageEncoder.cpp | 117 bool PNGImageEncoder::encode(const SkBitmap& bitmap, Vector<unsigned char>* output) argument 119 SkAutoLockPixels bitmapLock(bitmap); 121 if (bitmap.colorType() != kN32_SkColorType || !bitmap.getPixels()) 124 return encodePixels(IntSize(bitmap.width(), bitmap.height()), static_cast<unsigned char*>(bitmap.getPixels()), true, output);
|
H A D | WEBPImageEncoder.cpp | 118 bool WEBPImageEncoder::encode(const SkBitmap& bitmap, int quality, Vector<unsigned char>* output) argument 120 SkAutoLockPixels bitmapLock(bitmap); 122 if (bitmap.colorType() != kN32_SkColorType || !bitmap.getPixels()) 125 return encodePixels(IntSize(bitmap.width(), bitmap.height()), static_cast<unsigned char *>(bitmap.getPixels()), true, quality, output);
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | EdgeWalkerQuadralaterals_Test.cpp | 11 static SkBitmap bitmap; variable 25 testSimplify(path, true, out, bitmap); 40 testSimplify(path, true, out, bitmap); 55 testSimplify(path, true, out, bitmap); 70 testSimplify(path, true, out, bitmap); 85 testSimplify(path, true, out, bitmap); 100 testSimplify(path, true, out, bitmap);
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | DebugSystem.java | 68 DrawableBitmap bitmap = factory.allocateDrawableBitmap(); 69 if (bitmap != null) { 71 bitmap.resize((int)texture.width, (int)texture.height); 73 bitmap.setWidth((int)width); 74 bitmap.setHeight((int)height); 75 bitmap.setTexture(texture); 78 render.scheduleForDraw(bitmap, mWorkVector, SortConstants.HUD, true);
|
/external/skia/experimental/Intersection/ |
H A D | EdgeWalkerQuadralaterals_Test.cpp | 11 static SkBitmap bitmap; variable 25 testSimplify(path, true, out, bitmap); 40 testSimplify(path, true, out, bitmap); 55 testSimplify(path, true, out, bitmap); 70 testSimplify(path, true, out, bitmap); 85 testSimplify(path, true, out, bitmap); 100 testSimplify(path, true, out, bitmap);
|
/external/chromium_org/athena/content/ |
H A D | content_proxy.cc | 30 void EncodeImage(const SkBitmap& bitmap, base::Closure callback) { argument 34 bitmap), 38 DCHECK(false) << "Cannot start bitmap encode task."; 50 void EncodeOnWorker(const SkBitmap& bitmap) { argument 51 DCHECK_EQ(bitmap.colorType(), kAlpha_8_SkColorType); 52 // Encode the A8 bitmap to grayscale PNG treating alpha as color intensity. 54 if (gfx::PNGCodec::EncodeA8SkBitmap(bitmap, &data)) 160 void ContentProxy::OnContentImageRead(bool success, const SkBitmap& bitmap) { argument 165 if (!success || bitmap.empty() || bitmap [all...] |