/external/chromium_org/content/browser/android/ |
H A D | system_ui_resource_manager_impl.cc | 57 SkBitmap bitmap; local 60 bitmap = gfx::CreateSkBitmapFromAndroidResource( 64 bitmap = gfx::CreateSkBitmapFromAndroidResource( 68 bitmap = CreateOverscrollGlowLBitmap(screen_size); 71 bitmap.setImmutable(); 72 *bitmap_holder = bitmap; 90 void SetBitmap(const SkBitmap& bitmap) { argument 91 DCHECK(!bitmap.empty()); 94 bitmap_ = bitmap; 115 const SkBitmap& bitmap() cons function in class:content::SystemUIResourceManagerImpl::Entry 158 SkBitmap* bitmap = new SkBitmap(); local [all...] |
/external/chromium_org/content/common/cursors/ |
H A D | webcursor.cc | 229 void WebCursor::SetCustomData(const SkBitmap& bitmap) { argument 230 if (bitmap.empty()) 234 SkAutoLockPixels bitmap_lock(bitmap); 235 custom_data_.resize(bitmap.getSize()); 237 memcpy(&custom_data_[0], bitmap.getPixels(), bitmap.getSize()); 238 custom_size_.set_width(bitmap.width()); 239 custom_size_.set_height(bitmap.height());
|
/external/chromium_org/content/common/gpu/client/ |
H A D | gl_helper_benchmark.cc | 82 SkBitmap* bitmap) { 88 compressed.size(), bitmap)); local 92 void SaveToFile(SkBitmap* bitmap, const base::FilePath& filename) { argument 95 static_cast<unsigned char*>(bitmap->getPixels()), 97 gfx::Size(bitmap->width(), bitmap->height()), 98 static_cast<int>(bitmap->rowBytes()), 81 LoadPngFileToSkBitmap(const base::FilePath& filename, SkBitmap* bitmap) argument
|
/external/chromium_org/content/common/ |
H A D | host_shared_bitmap_manager.cc | 36 cc::SharedBitmap* bitmap) {} 99 scoped_ptr<cc::SharedBitmap> bitmap(new cc::SharedBitmap( 102 return bitmap.Pass(); 196 cc::SharedBitmap* bitmap) { 198 handle_map_.erase(bitmap->id()); 35 FreeSharedMemory(scoped_refptr<BitmapData> data, cc::SharedBitmap* bitmap) argument 195 FreeSharedMemoryFromMap( cc::SharedBitmap* bitmap) argument
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
H A D | ContentReadbackHandler.java | 22 * A callback interface for content readback into a bitmap. 27 * @param bitmap The {@link Bitmap} of the content. Null will be passed for readback 30 public void onFinishGetBitmap(Bitmap bitmap); argument 62 private void notifyGetBitmapFinished(int readbackId, Bitmap bitmap) { argument 66 callback.onFinishGetBitmap(bitmap); 74 * Asynchronously, generate and grab a bitmap representing what is currently on the screen 80 * @param view The {@link ContentViewCore} to grab the bitmap from. 99 * Asynchronously, grab a bitmap of the current browser compositor root layer.
|
/external/chromium_org/content/renderer/ |
H A D | webclipboard_impl.cc | 157 const SkBitmap& bitmap = image.getSkBitmap(); local 159 DCHECK_EQ(bitmap.colorType(), kN32_SkColorType); 161 SkAutoLockPixels locked(bitmap); 162 void *pixels = bitmap.getPixels();
|
/external/chromium_org/content/test/ |
H A D | mock_webclipboard_impl.cc | 101 const SkBitmap& bitmap = m_image.getSkBitmap(); local 102 SkAutoLockPixels lock(bitmap); 103 gfx::PNGCodec::Encode(static_cast<unsigned char*>(bitmap.getPixels()), 109 gfx::Size(bitmap.width(), bitmap.height()), 110 static_cast<int>(bitmap.rowBytes()),
|
/external/chromium_org/media/video/capture/ |
H A D | fake_video_capture_device.cc | 109 SkBitmap bitmap; local 110 bitmap.installPixels(info, fake_frame_.get(), info.width()); 111 SkCanvas canvas(bitmap);
|
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/ |
H A D | bitmap_uploader.cc | 78 void BitmapUploader::SetBitmap(SkBitmap bitmap) { argument 79 bitmap_ = bitmap;
|
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | disk_format_base.h | 46 // where did we find the last entry of that type (to avoid searching the bitmap 114 // The SparseHeader will be followed by a bitmap, as described by this 118 uint32 bitmap[32]; // Bitmap representation of known children (if this member in struct:disk_cache::SparseData
|
/external/chromium_org/skia/ext/ |
H A D | pixel_ref_utils_unittest.cc | 25 void CreateBitmap(gfx::Size size, const char* uri, SkBitmap* bitmap); 37 virtual SkShader::BitmapType asABitmap(SkBitmap* bitmap, 40 if (bitmap) 41 *bitmap = bitmap_; 64 void CreateBitmap(gfx::Size size, const char* uri, SkBitmap* bitmap) { argument 65 bitmap->allocN32Pixels(size.width(), size.height()); 66 bitmap->pixelRef()->setImmutable(); 67 bitmap->pixelRef()->setURI(uri); 466 // (0, 30, 100, 100). One from bitmap, one from paint.
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | ImageBitmap.cpp | 34 image->nativeImageForCurrentFrame()->bitmap().extractSubset(&cropped, intersectRect); 109 ImageBitmap::ImageBitmap(ImageBitmap* bitmap, const IntRect& cropRect) argument 110 : m_imageElement(bitmap->imageElement()) 115 IntRect oldBitmapRect = bitmap->bitmapRect(); 122 } else if (bitmap->bitmapImage()) { 124 m_bitmap = cropImage(bitmap->bitmapImage().get(), adjustedCropRect); 169 PassRefPtrWillBeRawPtr<ImageBitmap> ImageBitmap::create(ImageBitmap* bitmap, const IntRect& cropRect) argument 172 return adoptRefWillBeNoop(new ImageBitmap(bitmap, normalizedCropRect));
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | Canvas2DLayerBridgeTest.cpp | 180 NullWebExternalBitmap bitmap; local 181 bridge->prepareMailbox(0, &bitmap);
|
H A D | GraphicsContextRecorder.cpp | 105 SkBitmap bitmap; local 106 bitmap.allocPixels(SkImageInfo::MakeN32Premul(width, height)); 108 ReplayingCanvas canvas(bitmap, fromStep, toStep); 115 if (!PNGImageEncoder::encode(bitmap, reinterpret_cast<Vector<unsigned char>*>(&encodedImage))) 125 SkBitmap bitmap; local 126 bitmap.allocPixels(SkImageInfo::MakeN32Premul(m_picture->width(), m_picture->height())); 127 OwnPtr<ProfilingCanvas> canvas = adoptPtr(new ProfilingCanvas(bitmap)); 137 canvas = adoptPtr(new ProfilingCanvas(bitmap));
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/ |
H A D | GIFImageDecoderTest.cpp | 63 unsigned hashSkBitmap(const SkBitmap& bitmap) argument 65 return StringHasher::hashMemory(bitmap.getPixels(), bitmap.getSize());
|
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/ |
H A D | JPEGImageEncoder.cpp | 200 bool JPEGImageEncoder::encode(const SkBitmap& bitmap, int quality, Vector<unsigned char>* output) argument 202 SkAutoLockPixels bitmapLock(bitmap); 204 if (bitmap.colorType() != kN32_SkColorType || !bitmap.getPixels()) 207 return encodePixels(IntSize(bitmap.width(), bitmap.height()), static_cast<unsigned char *>(bitmap.getPixels()), true, quality, output);
|
/external/chromium_org/third_party/freetype/include/freetype/ |
H A D | ftglyph.h | 63 /* bitmap, a vector outline, or even images in other formats. */ 80 /* bitmap or pointer. */ 124 /* A handle to an object used to model a bitmap glyph image. This is */ 136 /* A structure used for bitmap glyph images. This really is a */ 144 /* glyph bitmap. */ 148 /* bitmap. This distance is positive for upwards~y! */ 150 /* bitmap :: A descriptor for the bitmap. */ 155 /* the bitmap's contents easily. */ 165 FT_Bitmap bitmap; member in struct:FT_BitmapGlyphRec_ [all...] |
/external/chromium_org/third_party/freetype/src/base/ |
H A D | ftglyph.c | 80 glyph->bitmap = slot->bitmap; 85 FT_Bitmap_New( &glyph->bitmap ); 86 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); 106 return FT_Bitmap_Copy( library, &source->bitmap, &target->bitmap ); 117 FT_Bitmap_Done( library, &glyph->bitmap ); 129 cbox->xMax = cbox->xMin + ( glyph->bitmap.width << 6 ); 131 cbox->yMin = cbox->yMax - ( glyph->bitmap 516 FT_BitmapGlyph bitmap = NULL; local [all...] |
/external/chromium_org/third_party/freetype/src/cache/ |
H A D | ftcsbits.c | 44 FT_Bitmap* bitmap, 48 FT_Int pitch = bitmap->pitch; 55 size = (FT_ULong)( pitch * bitmap->rows ); 58 FT_MEM_COPY( sbit->buffer, bitmap->buffer, size ); 92 * This function tries to load a small bitmap within a given FTC_SNode. 134 FT_Bitmap* bitmap = &slot->bitmap; local 141 " glyph loaded didn't return a bitmap\n" )); 146 /* If this is not the case, our bitmap is too large */ 156 if ( !CHECK_BYTE( bitmap 43 ftc_sbit_copy_bitmap( FTC_SBit sbit, FT_Bitmap* bitmap, FT_Memory memory ) argument [all...] |
/external/chromium_org/third_party/skia/dm/ |
H A D | DMWriteTask.cpp | 39 WriteTask::WriteTask(const Task& parent, const char* sourceType, SkBitmap bitmap) argument 43 , fBitmap(bitmap)
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | EdgeWalkerPolygons_Mismatches.cpp | 1589 SkBitmap bitmap; local 1620 testSimplify(path, true, out, bitmap);
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/ |
H A D | SkTracker.h | 140 void before(const SkBitmap& bitmap) { argument 146 fBeforeTouched[i] = pickColor(bitmap, fExpectedTouched[i].x(), fExpectedTouched[i].y()); 149 fBeforeUntouched[i] = pickColor(bitmap, fExpectedUntouched[i].x(), 156 void after(const SkBitmap& bitmap) { argument 165 doBreak = doBreak || fBeforeTouched[i] != pickColor(bitmap, fExpectedTouched[i].x(), 171 doBreak = doBreak && fBeforeTouched[i] != pickColor(bitmap, fExpectedTouched[i].x(), 177 doBreak = doBreak && fBeforeUntouched[i] == pickColor(bitmap, fExpectedUntouched[i].x(), 190 inline SkColor pickColor(const SkBitmap& bitmap, int x, int y) { argument 191 return bitmap.getColor(x, y);
|
H A D | chop_transparency_main.cpp | 60 static void setup_bitmap(SkBitmap* bitmap, int width, int height) { argument 61 bitmap->allocN32Pixels(width, height); 96 SkBitmap bitmap; local 111 if (!codec->decode(&stream, &bitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode)) { 115 write_bitmap(srcPath, bitmap);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | bitmaprect.cpp | 16 static void make_bitmap(SkBitmap* bitmap) { argument 17 bitmap->allocN32Pixels(64, 64); 19 SkCanvas canvas(*bitmap); 68 SkBitmap bitmap; variable 69 make_bitmap(&bitmap); variable 78 canvas->drawBitmap(bitmap, 0, 0, &paint); 80 canvas->drawBitmapRectToRect(bitmap, &srcR, dstR, &paint); 82 canvas->drawBitmapRect(bitmap, &src[i], dstR, &paint); 97 static void make_3x3_bitmap(SkBitmap* bitmap) { argument 109 bitmap 143 SkBitmap bitmap; variable 144 make_3x3_bitmap(&bitmap); variable 157 make_big_bitmap(SkBitmap* bitmap) argument [all...] |
H A D | imagefilterscropexpand.cpp | 39 void make_checkerboard(SkBitmap* bitmap) { argument 40 bitmap->allocN32Pixels(64, 64); 41 SkCanvas canvas(*bitmap); 60 void make_gradient_circle(int width, int height, SkBitmap* bitmap) { argument 64 bitmap->allocN32Pixels(width, height); 65 SkCanvas canvas(*bitmap); 79 static void draw(SkCanvas* canvas, const SkBitmap& bitmap, const SkRect& rect, SkImageFilter* filter) { argument 83 canvas->drawBitmap(bitmap, 0, 0);
|