HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 351 - 375 of 1117) sorted by null

<<11121314151617181920>>

  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
HandleViewResources.java 10 import android.graphics.Bitmap;
63 private static Bitmap getHandleBitmap(Context context, final int[] attrs) {
70 final Bitmap.Config config = Bitmap.Config.ARGB_8888;
74 Bitmap bitmap = BitmapFactory.decodeResource(res, resId, options); local
75 if (bitmap != null) return bitmap;
80 bitmap = BitmapFactory.decodeResource(context.getResources(), resId, options);
81 if (bitmap != null) return bitmap
    [all...]
  /external/chromium_org/content/renderer/
child_frame_compositing_helper.cc 304 scoped_ptr<SkBitmap> bitmap; local
306 bitmap = result->TakeBitmap();
309 if (bitmap) {
311 skia::ImageOperations::Resize(*bitmap,
  /external/chromium_org/content/renderer/gpu/
compositor_software_output_device.cc 27 scoped_ptr<cc::SharedBitmap> bitmap)
28 : id_(id), shared_bitmap_(bitmap.Pass()), free_(true), parent_(NULL) {}
155 SkBitmap bitmap; local
156 bitmap.installPixels(info, current->memory(), info.minRowBytes());
157 canvas_ = skia::AdoptRef(new SkCanvas(bitmap));
  /external/chromium_org/content/renderer/media/webrtc/
video_destination_handler.cc 125 const SkBitmap* bitmap = image_data->GetMappedBitmap(); local
126 if (!bitmap) {
128 << "The image_data's mapped bitmap is NULL.";
132 const gfx::Size frame_size(bitmap->width(), bitmap->height());
152 libyuv::BGRAToI420(reinterpret_cast<uint8*>(bitmap->getPixels()),
153 bitmap->rowBytes(),
  /external/chromium_org/content/renderer/pepper/
pepper_video_source_host.cc 207 const SkBitmap* bitmap = shared_image_->GetMappedBitmap(); local
208 if (!bitmap) {
213 uint8_t* bitmap_pixels = static_cast<uint8_t*>(bitmap->getPixels());
220 // |bitmap|. If |frame| has been cropped,
244 bitmap->rowBytes(),
ppb_image_data_impl.cc 209 const SkBitmap& bitmap = local
213 const_cast<SkBitmap&>(bitmap).setAlphaType(kPremul_SkAlphaType);
215 bitmap.lockPixels();
216 return bitmap.getAddr32(0, 0);
  /external/chromium_org/net/disk_cache/blockfile/
disk_format_base.h 38 // Bitmap to track used blocks on a block-file.
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/
bitmap_platform_device_cairo.cc 23 // Back the destination bitmap by a Cairo surface. The bitmap's
27 // Note: it may immediately destroy the surface, if it fails to create a bitmap
111 SkBitmap bitmap; local
112 if (!InstallCairoSurfacePixels(&bitmap, surface, is_opaque)) {
118 return new BitmapPlatformDevice(bitmap, cairo);
123 // This initializes the bitmap to all zeros.
157 const SkBitmap& bitmap,
159 : SkBitmapDevice(bitmap),
215 // The SkBitmap allocates and owns the bitmap memory; PlatformBitmap owns th
    [all...]
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...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
Canvas2DLayerBridgeTest.cpp 180 NullWebExternalBitmap bitmap; local
181 bridge->prepareMailbox(0, &bitmap);
ImageFrameGenerator.cpp 133 SkBitmap bitmap = tryToResumeDecode(scaledSize, index); local
134 if (bitmap.isNull())
141 ASSERT(bitmap.width() == scaledSize.width());
142 ASSERT(bitmap.height() == scaledSize.height());
147 if (bitmap.getPixels() != pixels)
148 result = bitmap.copyPixelsTo(pixels, rowBytes * info.fHeight, rowBytes);
253 bool ImageFrameGenerator::decode(size_t index, ImageDecoder** decoder, SkBitmap* bitmap)
302 *bitmap = fullSizeBitmap;
  /external/chromium_org/third_party/freetype/include/freetype/
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/cache/
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->rows ) |
    [all...]
  /external/chromium_org/third_party/freetype/src/smooth/
ftsmooth.c 97 /* convert a slot's glyph image into a bitmap */
112 FT_Bitmap* bitmap = &slot->bitmap; local
185 /* release old bitmap buffer */
188 FT_FREE( bitmap->buffer );
247 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY;
248 bitmap->num_grays = 256;
249 bitmap->width = width;
250 bitmap->rows = height;
251 bitmap->pitch = pitch
    [all...]
  /external/chromium_org/third_party/skia/experimental/Intersection/
EdgeWalkerPolygons_Mismatches.cpp 1589 SkBitmap bitmap; local
    [all...]
  /external/chromium_org/third_party/skia/experimental/nanomsg/
picture_demo.cpp 194 SkBitmap bitmap; local
195 bitmap.allocN32Pixels(1000, 1000);
196 SkCanvas canvas(bitmap);
202 SkImageEncoder::EncodeFile(FLAGS_png[0], bitmap, SkImageEncoder::kPNG_Type, 100);
  /external/chromium_org/third_party/skia/gm/
bitmaprect.cpp 16 static void make_bitmap(SkBitmap* bitmap) {
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) {
109 bitmap->allocN32Pixels(gXSize, gYSize)
143 SkBitmap bitmap; variable
144 make_3x3_bitmap(&bitmap); variable
    [all...]
xfermodes3.cpp 22 * This tests drawing device-covering rects with solid colors and bitmap shaders over a
173 SkBitmap bitmap; local
174 if (ropixels.asROBitmap(&bitmap)) {
175 canvas->drawBitmap(bitmap, 0, 0);
  /external/chromium_org/third_party/skia/platform_tools/nacl/src/
nacl_sample.cpp 95 // Create a bitmap using the fPixelBuffer pixels
96 SkBitmap bitmap; local
97 bitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h);
98 bitmap.setPixels(data);
99 // Create a canvas with the bitmap as the backend
100 SkCanvas canvas(bitmap);
  /external/chromium_org/third_party/skia/samplecode/
SampleBitmapRect.cpp 30 static void make_bitmap(SkBitmap* bitmap) {
31 bitmap->allocN32Pixels(INT_SIZE, INT_SIZE);
32 SkCanvas canvas(*bitmap);
120 SkBitmap bitmap; local
121 make_bitmap(&bitmap);
125 canvas->drawBitmap(bitmap, 0, 0, &paint);
130 canvas->drawBitmapRectToRect(bitmap, &srcR, fDstR[i], &paint);
SamplePath.cpp 75 SkBitmap bitmap; local
76 bitmap.allocN32Pixels(300, 200);
78 SkCanvas canvas(bitmap);
  /external/chromium_org/third_party/skia/src/core/
SkDevice.cpp 57 const SkBitmap& bitmap = this->onAccessBitmap(); local
59 bitmap.notifyPixelsChanged();
61 return bitmap;
  /external/chromium_org/third_party/skia/src/image/
SkImage_Raster.cpp 208 SkBitmap bitmap; local
209 if (!SkInstallDiscardablePixelRef(generator, &bitmap)) {
212 return SkNEW_ARGS(SkImage_Raster, (bitmap));
  /external/chromium_org/third_party/skia/src/images/
SkDecodingImageGenerator.cpp 88 // a bitmap described by fInfo and fRowBytes
89 const size_t fRowBytes; // rowbytes for the destination bitmap
168 SkBitmap bitmap; local
171 bool success = decoder->decode(fStream, &bitmap, info.colorType(),
179 SkASSERT(bitmap.canCopyTo(info.colorType()));
180 bool copySuccess = bitmap.copyTo(&bm, info.colorType(), &allocator);
182 SkDEBUGFAIL("bitmap.copyTo(requestedConfig) failed.");
188 SkASSERT(check_alpha(info.alphaType(), bitmap.alphaType()));
192 if (kIndex_8_SkColorType != bitmap.colorType()) {
195 SkColorTable* ctable = bitmap.getColorTable()
221 SkBitmap bitmap; local
    [all...]
  /external/chromium_org/third_party/skia/src/utils/
SkGatherPixelRefsAndRects.h 112 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap,
117 SkRect bitmapRect = SkRect::MakeWH(SkIntToScalar(bitmap.width()),
118 SkIntToScalar(bitmap.height()));
121 fPRCont->add(bitmap.pixelRef(), mappedRect);
128 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap,
134 SkRect bitmapRect = SkRect::MakeWH(SkIntToScalar(bitmap.width()),
135 SkIntToScalar(bitmap.height()));
138 fPRCont->add(bitmap.pixelRef(), mappedRect);
145 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
149 SkRect bitmapRect = SkRect::MakeWH(SkIntToScalar(bitmap.width())
158 SkBitmap bitmap; variable
200 SkBitmap bitmap; variable
247 SkBitmap bitmap; variable
    [all...]

Completed in 1591 milliseconds

<<11121314151617181920>>