| /external/chromium_org/content/browser/devtools/ |
| renderer_overrides_handler_browsertest.cc | 124 SkBitmap bitmap; local 126 png.size(), &bitmap); local 127 SkColor color(bitmap.getColor(0, 0));
|
| /external/chromium_org/remoting/host/chromeos/ |
| aura_desktop_capturer.cc | 24 static SkiaBitmapDesktopFrame* Create(scoped_ptr<SkBitmap> bitmap); 31 scoped_ptr<SkBitmap> bitmap); 40 scoped_ptr<SkBitmap> bitmap) { 42 webrtc::DesktopSize size(bitmap->width(), bitmap->height()); 43 DCHECK_EQ(kRGBA_8888_SkColorType, bitmap->info().colorType()) 46 uint8_t* bitmap_data = reinterpret_cast<uint8_t*>(bitmap->getPixels()); 49 size, bitmap->rowBytes(), bitmap_data, bitmap.Pass()); 57 scoped_ptr<SkBitmap> bitmap) 103 scoped_ptr<SkBitmap> bitmap = result->TakeBitmap(); local [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/clipboard/ |
| Pasteboard.cpp | 85 RefPtr<NativeImageSkia> bitmap = image->nativeImageForCurrentFrame(); local 86 if (!bitmap) 89 blink::WebImage webImage = bitmap->bitmap();
|
| /external/chromium_org/third_party/skia/experimental/PdfViewer/src/ |
| SkPdfDiffEncoder.cpp | 38 // 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/chromium_org/third_party/skia/gm/ |
| resizeimagefilter.cpp | 98 SkBitmap bitmap; local 99 bitmap.allocN32Pixels(16, 16); 100 bitmap.eraseARGB(0x00, 0x00, 0x00, 0x00); 102 SkBitmapDevice bitmapDevice(bitmap); 112 SkAutoTUnref<SkBitmapSource> source(SkBitmapSource::Create(bitmap, inRect, outRect));
|
| /external/chromium_org/third_party/skia/samplecode/ |
| SampleAARects.cpp | 16 SkBitmap bitmap; local 17 bitmap.allocN32Pixels(n, n); 18 bitmap.eraseColor(SK_ColorGREEN); 20 SkCanvas canvas(bitmap); 34 return bitmap;
|
| SampleMipMap.cpp | 16 SkBitmap bitmap; local 17 bitmap.allocN32Pixels(n, n); 18 bitmap.eraseColor(SK_ColorTRANSPARENT); 20 SkCanvas canvas(bitmap); 34 return bitmap;
|
| /external/chromium_org/third_party/skia/tests/ |
| PathOpsThreadedCommon.h | 77 SkBitmap bitmap; variable 78 fState.fBitmap = &bitmap;
|
| /external/chromium_org/ui/base/cursor/ |
| cursor_loader_x11.cc | 157 SkBitmap bitmap; local 160 GetImageCursorBitmap(resource_id, scale(), rotation(), &hotspot, &bitmap); 161 XcursorImage* x_image = SkBitmapToXcursorImage(&bitmap, hotspot);
|
| /external/chromium_org/ui/gfx/ |
| blit.cc | 160 SkBitmap& bitmap = const_cast<SkBitmap&>( local 162 SkAutoLockPixels lock(bitmap); 166 in_clip, gfx::Rect(0, 0, bitmap.width(), bitmap.height())); 180 memcpy(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), 181 bitmap.getAddr32(src_rect.x(), src_rect.y() + y), 187 memcpy(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), 188 bitmap.getAddr32(src_rect.x(), src_rect.y() + y), 196 memmove(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), 197 bitmap.getAddr32(src_rect.x(), src_rect.y() + y) [all...] |
| blit_unittest.cc | 23 SkBitmap& bitmap = const_cast<SkBitmap&>( local 25 SkAutoLockPixels lock(bitmap); 26 ASSERT_EQ(w, bitmap.width()); 27 ASSERT_EQ(h, bitmap.height()); 32 *bitmap.getAddr32(x, y) = 40 // bitmap (see SetToCanvas above). 43 SkBitmap& bitmap = const_cast<SkBitmap&>( local 45 SkAutoLockPixels lock(bitmap); 46 ASSERT_EQ(w, bitmap.width()); 47 ASSERT_EQ(h, bitmap.height()) [all...] |
| /external/chromium_org/ui/views/controls/button/ |
| label_button_unittest.cc | 20 SkBitmap bitmap; local 21 bitmap.allocN32Pixels(width, height); 22 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
| ImageVideoBitmapDecoder.java | 1 package com.bumptech.glide.load.resource.bitmap; 3 import android.graphics.Bitmap; 13 public class ImageVideoBitmapDecoder implements ResourceDecoder<ImageVideoWrapper, Bitmap> { 15 private final ResourceDecoder<InputStream, Bitmap> streamDecoder; 16 private final ResourceDecoder<ParcelFileDescriptor, Bitmap> fileDescriptorDecoder; 18 public ImageVideoBitmapDecoder(ResourceDecoder<InputStream, Bitmap> streamDecoder, 19 ResourceDecoder<ParcelFileDescriptor, Bitmap> fileDescriptorDecoder) { 25 public Resource<Bitmap> decode(ImageVideoWrapper source, int width, int height) throws IOException { 26 Resource<Bitmap> result = null; 49 return "ImageVideoBitmapDecoder.com.bumptech.glide.load.resource.bitmap"; [all...] |
| /external/skia/experimental/PdfViewer/ |
| pdf_viewer_main.cpp | 112 static void setup_bitmap(SkBitmap* bitmap, int width, int height, SkColor color) { 113 bitmap->allocN32Pixels(width, height); 114 bitmap->eraseColor(color); 141 SkBitmap bitmap; local 142 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap))); 149 SkBitmap bitmap; 158 setup_bitmap(&bitmap, 3 * (int)SkScalarToDouble(width), 3 * (int)SkScalarToDouble(height), 161 setup_bitmap(&bitmap, (int)SkScalarToDouble(width), (int)SkScalarToDouble(height), 166 device.reset(SkNEW_ARGS(SkBitmapDevice, (bitmap))); 197 gDumpBitmap = &bitmap; [all...] |
| /external/skia/experimental/PdfViewer/src/ |
| SkPdfDiffEncoder.cpp | 38 // 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/gm/ |
| resizeimagefilter.cpp | 95 SkBitmap bitmap; local 96 bitmap.allocN32Pixels(16, 16); 97 bitmap.eraseARGB(0x00, 0x00, 0x00, 0x00); 99 SkBitmapDevice bitmapDevice(bitmap); 109 SkAutoTUnref<SkBitmapSource> source(SkBitmapSource::Create(bitmap, inRect, outRect));
|
| /external/skia/samplecode/ |
| SampleAARects.cpp | 16 SkBitmap bitmap; local 17 bitmap.allocN32Pixels(n, n); 18 bitmap.eraseColor(SK_ColorGREEN); 20 SkCanvas canvas(bitmap); 34 return bitmap;
|
| SampleMipMap.cpp | 16 SkBitmap bitmap; local 17 bitmap.allocN32Pixels(n, n); 18 bitmap.eraseColor(SK_ColorTRANSPARENT); 20 SkCanvas canvas(bitmap); 34 return bitmap;
|
| /external/valgrind/main/drd/ |
| pub_drd_bitmap.h | 26 * 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* const bm [all...] |
| /frameworks/base/core/java/android/text/style/ |
| ImageSpan.java | 20 import android.graphics.Bitmap; 37 * @deprecated Use {@link #ImageSpan(Context, Bitmap)} instead. 40 public ImageSpan(Bitmap b) { 45 * @deprecated Use {@link #ImageSpan(Context, Bitmap, int) instead. 48 public ImageSpan(Bitmap b, int verticalAlignment) { 52 public ImageSpan(Context context, Bitmap b) { 60 public ImageSpan(Context context, Bitmap b, int verticalAlignment) { 134 Bitmap bitmap = null; local 138 bitmap = BitmapFactory.decodeStream(is) [all...] |
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
| ExposureFilterTest.java | 20 import android.graphics.Bitmap; 52 Bitmap bitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); local 53 image.setBitmap(bitmap);
|
| /frameworks/minikin/libs/minikin/ |
| MinikinFontFreeType.cpp | 87 FT_Bitmap &bitmap = mTypeface->glyph->bitmap; local 88 result->buffer = bitmap.buffer; 89 result->width = bitmap.width; 90 result->height = bitmap.rows;
|
| /frameworks/opt/bitmap/src/com/android/bitmap/util/ |
| BitmapUtils.java | 17 package com.android.bitmap.util;
|
| /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
| BitmapUtils.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Bitmap.CompressFormat; 44 * bitmap. 52 * generates a smaller bitmap, unless minSideLength = UNCONSTRAINED. 116 public static Bitmap resizeBitmapByScale( 117 Bitmap bitmap, float scale, boolean recycle) { 118 int width = Math.round(bitmap.getWidth() * scale); 119 int height = Math.round(bitmap.getHeight() * scale); 120 if (width == bitmap.getWidth( 185 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); local 208 Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); local [all...] |
| /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
| BitmapUtils.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Bitmap.CompressFormat; 44 * bitmap. 52 * generates a smaller bitmap, unless minSideLength = UNCONSTRAINED. 116 public static Bitmap resizeBitmapByScale( 117 Bitmap bitmap, float scale, boolean recycle) { 118 int width = Math.round(bitmap.getWidth() * scale); 119 int height = Math.round(bitmap.getHeight() * scale); 120 if (width == bitmap.getWidth( 185 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); local 208 Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); local [all...] |