| /external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
| NativeImageSkia.h | 65 static PassRefPtr<NativeImageSkia> create(const SkBitmap& bitmap) 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/freetype/src/raster/ |
| ftrend1.c | 98 /* 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->width = width [all...] |
| /external/chromium_org/third_party/skia/experimental/Intersection/ |
| 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);
|
| EdgeWalker_Test.h | 15 extern int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap); 24 SkBitmap& bitmap); 47 SkBitmap bitmap; member in struct:State4
|
| /external/chromium_org/third_party/skia/experimental/pixman/ |
| junk.cpp | 29 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/chromium_org/third_party/skia/gm/ |
| bitmappremul.cpp | 14 * This GM checks that bitmap pixels are unpremultiplied before being exported 18 * This tests both the ARGB4444 and ARGB8888 bitmap configurations. 25 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { 26 bitmap->allocPixels(SkImageInfo::Make(SLIDE_SIZE, SLIDE_SIZE, ct, 28 bitmap->eraseColor(SK_ColorWHITE); 32 SkBitmap bitmap; local 33 init_bitmap(kN32_SkColorType, &bitmap); 36 uint32_t* dst = bitmap.getAddr32(0, y); 45 return bitmap; 49 SkBitmap bitmap; local 66 SkBitmap bitmap; local 85 SkBitmap bitmap; local [all...] |
| extractbitmap.cpp | 17 static void create_bitmap(SkBitmap* bitmap) { 20 bitmap->allocN32Pixels(W, H); 22 SkCanvas canvas(*bitmap); 44 SkBitmap bitmap; variable 45 create_bitmap(&bitmap); variable 46 int x = bitmap.width() / 2; 47 int y = bitmap.height() / 2; 51 canvas->drawBitmap(bitmap, 0, 0); 56 // Draw the bottom right fourth of the bitmap over the top left 58 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y)) [all...] |
| /external/chromium_org/third_party/skia/samplecode/ |
| SampleWritePixels.cpp | 19 static void create_bitmap(SkBitmap* bitmap) { 22 bitmap->allocN32Pixels(W, H); 24 SkCanvas canvas(*bitmap); 47 SkBitmap bitmap; local 48 create_bitmap(&bitmap); 49 int x = bitmap.width() / 2; 50 int y = bitmap.height() / 2; 53 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y)); 57 canvas->writePixels(bitmap, 0, 0);
|
| /external/chromium_org/third_party/skia/src/effects/ |
| SkBitmapSource.cpp | 15 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap) 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) 25 , fBitmap(bitmap) 46 SkBitmap bitmap; local 47 if (!buffer.readBitmap(&bitmap)) { 50 return SkBitmapSource::Create(bitmap, src, dst); 65 // No regions cropped out or resized; return entire bitmap [all...] |
| /external/chromium_org/third_party/skia/src/images/ |
| SkMovie.cpp | 69 const SkBitmap& SkMovie::bitmap() function in class:SkMovie
|
| /external/chromium_org/third_party/skia/src/utils/ |
| SkPDFRasterizer.cpp | 52 SkBitmap bitmap; local 53 if (!bitmap.tryAllocN32Pixels(width, height)) { 56 bitmap.eraseColor(SK_ColorWHITE); 57 SkPMColor* bitmapPixels = (SkPMColor*)bitmap.getPixels(); 76 output->swap(bitmap);
|
| /external/chromium_org/third_party/skia/tests/ |
| PathOpsOpLoopThreadedTest.cpp | 93 SkBitmap bitmap; local 94 state.fBitmap = &bitmap;
|
| /external/chromium_org/tools/telemetry/telemetry/core/ |
| video.py | 7 from telemetry.core import bitmap namespace 11 HIGHLIGHT_ORANGE_FRAME = bitmap.WEB_PAGE_TEST_ORANGE 41 (time_ms, bitmap) tuples representing each video keyframe. Only the first 44 bitmap is a telemetry.core.Bitmap. 169 bitmap.Bitmap(3, dimensions[0], dimensions[1], frame_data))
|
| /external/chromium_org/ui/base/cursor/ |
| cursor_loader_ozone.cc | 22 SkBitmap bitmap; local 25 GetImageCursorBitmap(resource_id, scale(), rotation(), &hotspot, &bitmap); 28 CursorFactoryOzone::GetInstance()->CreateImageCursor(bitmap, hotspot);
|
| cursor_util.cc | 20 SkBitmap* bitmap, 26 hotpoint->SetPoint(bitmap->height() - hotpoint->y(), hotpoint->x()); 27 *bitmap = SkBitmapOperations::Rotate( 28 *bitmap, SkBitmapOperations::ROTATION_90_CW); 32 bitmap->width() - hotpoint->x(), bitmap->height() - hotpoint->y()); 33 *bitmap = SkBitmapOperations::Rotate( 34 *bitmap, SkBitmapOperations::ROTATION_180_CW); 37 hotpoint->SetPoint(hotpoint->y(), bitmap->width() - hotpoint->x()); 38 *bitmap = SkBitmapOperations::Rotate 87 SkBitmap bitmap = image_rep.sk_bitmap(); local [all...] |
| /external/freetype/src/raster/ |
| ftrend1.c | 98 /* 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->width = width [all...] |
| /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
| BitmapDrawableResource.java | 1 package com.bumptech.glide.load.resource.bitmap;
|
| CenterCrop.java | 1 package com.bumptech.glide.load.resource.bitmap; 3 import android.graphics.Bitmap; 14 public class CenterCrop implements Transformation<Bitmap> { 22 public Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) { 28 final Bitmap toReuse = pool.get(outWidth, outHeight, resource.get().getConfig()); 29 Bitmap transformed = TransformationUtils.centerCrop(toReuse, resource.get(), outWidth, outHeight); 43 return "CenterCrop.com.bumptech.glide.load.resource.bitmap";
|
| FileDescriptorBitmapDataLoadProvider.java | 1 package com.bumptech.glide.load.resource.bitmap; 3 import android.graphics.Bitmap; 14 public class FileDescriptorBitmapDataLoadProvider implements DataLoadProvider<ParcelFileDescriptor, Bitmap> { 28 public ResourceDecoder<InputStream, Bitmap> getCacheDecoder() { 33 public ResourceDecoder<ParcelFileDescriptor, Bitmap> getSourceDecoder() { 43 public ResourceEncoder<Bitmap> getEncoder() {
|
| FitCenter.java | 1 package com.bumptech.glide.load.resource.bitmap; 3 import android.graphics.Bitmap; 12 public class FitCenter implements Transformation<Bitmap> { 20 public Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) { 25 Bitmap transformed = TransformationUtils.fitCenter(resource.get(), pool, outWidth, outHeight); 35 return "FitCenter.com.bumptech.glide.load.resource.bitmap";
|
| ImageVideoDataLoadProvider.java | 1 package com.bumptech.glide.load.resource.bitmap; 3 import android.graphics.Bitmap; 17 public class ImageVideoDataLoadProvider implements DataLoadProvider<ImageVideoWrapper, Bitmap> { 33 public ResourceDecoder<InputStream, Bitmap> getCacheDecoder() { 38 public ResourceDecoder<ImageVideoWrapper, Bitmap> getSourceDecoder() { 48 public ResourceEncoder<Bitmap> getEncoder() {
|
| StreamBitmapDataLoadProvider.java | 1 package com.bumptech.glide.load.resource.bitmap; 3 import android.graphics.Bitmap; 13 public class StreamBitmapDataLoadProvider implements DataLoadProvider<InputStream, Bitmap> { 25 public ResourceDecoder<InputStream, Bitmap> getCacheDecoder() { 30 public ResourceDecoder<InputStream, Bitmap> getSourceDecoder() { 40 public ResourceEncoder<Bitmap> getEncoder() {
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
| GifFrameResourceDecoder.java | 3 import android.graphics.Bitmap; 8 import com.bumptech.glide.load.resource.bitmap.BitmapResource; 12 class GifFrameResourceDecoder implements ResourceDecoder<GifDecoder, Bitmap> { 20 public Resource<Bitmap> decode(GifDecoder source, int width, int height) throws IOException { 21 Bitmap bitmap = source.getNextFrame(); local 22 return new BitmapResource(bitmap ,bitmapPool);
|
| /external/oprofile/libdb/ |
| db_debug.c | 21 unsigned char * bitmap = malloc(data->descr->current_size); local 22 memset(bitmap, '\0', data->descr->current_size); 29 if (bitmap[index]) 32 bitmap[index] = 1; 41 memset(bitmap, '\0', data->descr->current_size); 46 if (bitmap[index]) 49 bitmap[index] = 1; 59 bitmap[index] = 1; 64 free(bitmap); 73 unsigned char * bitmap = malloc(max + 1) local [all...] |
| /external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/raster/ |
| ftrend1.c | 98 /* 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->width = width [all...] |