Searched refs:bitmap (Results 476 - 500 of 1242) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/skia/src/core/
H A DSkReadBuffer.cpp192 bool SkReadBuffer::readBitmap(SkBitmap* bitmap) { argument
201 this->readUInt(); // bitmap generation ID (see SkWriteBuffer::writeBitmap)
203 *bitmap = *fBitmapStorage->getBitmap(index);
207 // The bitmap was stored in a heap, but there is no way to access it. Set an error and
208 // fall through to use a place holder bitmap.
226 if (fBitmapDecoder != NULL && fBitmapDecoder(data, length, bitmap)) {
227 if (bitmap->width() == width && bitmap->height() == height) {
231 " but offset is not zero. \nInfo about the bitmap:"
250 //SkASSERT(width <= bitmap
[all...]
H A DSkBlitBWMaskTemplate.h19 SK_BLITBWMASK_NAME name of function(const SkBitmap& bitmap, const SkMask& mask, const SkIRect& clip, SK_BLITBWMASK_ARGS)
26 static void SK_BLITBWMASK_NAME(const SkBitmap& bitmap, const SkMask& srcMask, const SkIRect& clip SK_BLITBWMASK_ARGS) argument
34 size_t bitmap_rowBytes = bitmap.rowBytes();
42 SK_BLITBWMASK_DEVTYPE* device = bitmap.SK_BLITBWMASK_GETADDR(cx, cy);
H A DSkCanvas.cpp88 by the device's XY offset and bitmap-bounds.
176 bitmap/device to draw into from this level. This value is NOT
451 SkBitmap bitmap; local
452 bitmap.setInfo(SkImageInfo::MakeUnknown(width, height));
453 return bitmap;
501 SkCanvas::SkCanvas(const SkBitmap& bitmap, const SkSurfaceProps& props) argument
507 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap)));
511 SkCanvas::SkCanvas(const SkBitmap& bitmap) argument
517 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap)));
642 bool SkCanvas::readPixels(SkBitmap* bitmap, in argument
667 readPixels(const SkIRect& srcRect, SkBitmap* bitmap) argument
729 writePixels(const SkBitmap& bitmap, int x, int y) argument
1173 internalDrawBitmap(const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) argument
1240 drawSprite(const SkBitmap& bitmap, int x, int y, const SkPaint* paint) argument
1900 drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y, const SkPaint* paint) argument
1924 internalDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, const SkRect& dst, const SkPaint* paint, DrawBitmapRectFlags flags) argument
1956 drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, const SkRect& dst, const SkPaint* paint, DrawBitmapRectFlags flags) argument
1963 drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) argument
1969 internalDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, const SkRect& dst, const SkPaint* paint) argument
2039 drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, const SkRect& dst, const SkPaint* paint) argument
2509 SkBitmap bitmap; local
2526 SkBitmap bitmap; local
[all...]
/external/chromium_org/third_party/skia/tests/
H A DCanvasStateTest.cpp262 SkBitmap bitmap; local
263 bitmap.allocN32Pixels(10, 10);
264 SkCanvas canvas(bitmap);
286 SkBitmap bitmap; local
287 bitmap.allocN32Pixels(10, 10);
288 SkCanvas canvas(bitmap);
311 SkBitmap bitmap; local
312 bitmap.allocN32Pixels(WIDTH, HEIGHT);
313 SkCanvas canvas(bitmap);
H A DPDFPrimitivesTest.cpp44 static SkData* encode_to_dct_data(size_t* pixelRefOffset, const SkBitmap& bitmap) { argument
245 // Create a bitmap that would be very eficiently compressed in a ZIP.
246 static void setup_bitmap(SkBitmap* bitmap, int width, int height) { argument
247 bitmap->allocN32Pixels(width, height);
248 bitmap->eraseColor(SK_ColorWHITE);
251 static void TestImage(skiatest::Reporter* reporter, const SkBitmap& bitmap, argument
253 SkISize pageSize = SkISize::Make(bitmap.width(), bitmap.height());
261 c.drawBitmap(bitmap, 0, 0, NULL);
273 SkBitmap bitmap; local
290 SkBitmap bitmap; local
305 SkBitmap bitmap; local
[all...]
/external/skia/src/core/
H A DSkReadBuffer.cpp194 bool SkReadBuffer::readBitmap(SkBitmap* bitmap) { argument
203 this->readUInt(); // bitmap generation ID (see SkWriteBuffer::writeBitmap)
205 *bitmap = *fBitmapStorage->getBitmap(index);
209 // The bitmap was stored in a heap, but there is no way to access it. Set an error and
210 // fall through to use a place holder bitmap.
228 if (fBitmapDecoder != NULL && fBitmapDecoder(data, length, bitmap)) {
229 if (bitmap->width() == width && bitmap->height() == height) {
233 " but offset is not zero. \nInfo about the bitmap:"
252 //SkASSERT(width <= bitmap
[all...]
H A DSkBlitBWMaskTemplate.h19 SK_BLITBWMASK_NAME name of function(const SkBitmap& bitmap, const SkMask& mask, const SkIRect& clip, SK_BLITBWMASK_ARGS)
26 static void SK_BLITBWMASK_NAME(const SkBitmap& bitmap, const SkMask& srcMask, const SkIRect& clip SK_BLITBWMASK_ARGS) argument
34 size_t bitmap_rowBytes = bitmap.rowBytes();
42 SK_BLITBWMASK_DEVTYPE* device = bitmap.SK_BLITBWMASK_GETADDR(cx, cy);
/external/skia/tests/
H A DCanvasStateTest.cpp192 SkBitmap bitmap; local
193 bitmap.allocN32Pixels(10, 10);
194 SkCanvas canvas(bitmap);
216 SkBitmap bitmap; local
217 bitmap.allocN32Pixels(10, 10);
218 SkCanvas canvas(bitmap);
241 SkBitmap bitmap; local
242 bitmap.allocN32Pixels(WIDTH, HEIGHT);
243 SkCanvas canvas(bitmap);
H A DSerializationTest.cpp248 // Try to render a small bitmap using the invalid deserialized filter
251 SkBitmap bitmap; local
252 bitmap.allocN32Pixels(24, 24);
253 SkCanvas canvas(bitmap);
258 canvas.drawBitmap(bitmap, 0, 0, &paint);
262 static bool setup_bitmap_for_canvas(SkBitmap* bitmap) { argument
265 return bitmap->allocPixels(info);
268 static bool make_checkerboard_bitmap(SkBitmap& bitmap) { argument
269 bool success = setup_bitmap_for_canvas(&bitmap);
271 SkCanvas canvas(bitmap);
296 SkBitmap bitmap; local
[all...]
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwContentsClientGetDefaultVideoPosterTest.java83 Bitmap bitmap = BitmapFactory.decodeStream(requestData.getData());
85 assertEquals("poster.getHeight() not equal to bitmap.getHeight()",
86 poster.getHeight(), bitmap.getHeight());
87 assertEquals("poster.getWidth() not equal to bitmap.getWidth()",
88 poster.getWidth(), bitmap.getWidth());
/external/chromium_org/cc/resources/
H A Dresource_update_controller.cc87 update.bitmap->lockPixels();
90 static_cast<const uint8_t*>(update.bitmap->getPixels()),
94 update.bitmap->unlockPixels();
/external/chromium_org/chrome/browser/android/
H A Dmost_visited_sites.h29 void(base::android::ScopedJavaGlobalRef<jobject>* bitmap,
79 base::android::ScopedJavaGlobalRef<jobject>* bitmap,
92 const SkBitmap* bitmap);
/external/chromium_org/content/child/
H A Dchild_shared_bitmap_manager.cc16 cc::SharedBitmap* bitmap) {
18 sender->Send(new ChildProcessHostMsg_DeletedSharedBitmap(bitmap->id()));
19 delete bitmap->memory();
15 FreeSharedMemory(scoped_refptr<ThreadSafeSender> sender, cc::SharedBitmap* bitmap) argument
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebImageSkia.cpp91 return WebImage(image->bitmap());
126 frames.append(WebImage(image->bitmap()));
161 assign(p->bitmap());
/external/chromium_org/third_party/skia/gm/
H A Dninepatchstretch.cpp10 static void make_bitmap(SkBitmap* bitmap, SkIRect* center) { argument
15 bitmap->allocN32Pixels(kSize, kSize);
16 SkCanvas canvas(*bitmap);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleFilterFuzz.cpp151 static void rand_bitmap_for_canvas(SkBitmap* bitmap) { argument
156 } while (!valid_for_raster_canvas(info) || !bitmap->tryAllocPixels(info));
159 static void make_g_bitmap(SkBitmap& bitmap) { argument
160 rand_bitmap_for_canvas(&bitmap);
162 SkCanvas canvas(bitmap);
173 static void make_checkerboard_bitmap(SkBitmap& bitmap) { argument
174 rand_bitmap_for_canvas(&bitmap);
176 SkCanvas canvas(bitmap);
198 static SkBitmap bitmap[2]; local
201 make_g_bitmap(bitmap[
[all...]
/external/chromium_org/third_party/skia/src/views/win/
H A DSkOSWindow_win.cpp185 const SkBitmap& bitmap = this->getBitmap(); local
190 bmi.bmiHeader.biWidth = bitmap.width();
191 bmi.bmiHeader.biHeight = -bitmap.height(); // top-down image
204 // seems to be to copy the bitmap to a temporary (contiguous)
206 SkASSERT(bitmap.width() * bitmap.bytesPerPixel() == bitmap.rowBytes());
207 bitmap.lockPixels();
210 bitmap.width(), bitmap
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dvideo.py7 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/skia/dm/
H A DDMBenchTask.cpp56 SkBitmap bitmap; local
57 AllocatePixels(colorType, bench->getSize().x(), bench->getSize().y(), &bitmap);
58 SkCanvas canvas(bitmap);
/external/skia/gm/
H A Dninepatchstretch.cpp10 static void make_bitmap(SkBitmap* bitmap, SkIRect* center) { argument
15 bitmap->allocN32Pixels(kSize, kSize);
16 SkCanvas canvas(*bitmap);
/external/skia/samplecode/
H A DSampleFilterFuzz.cpp153 static void rand_bitmap_for_canvas(SkBitmap* bitmap) { argument
158 } while (!valid_for_raster_canvas(info) || !bitmap->allocPixels(info));
161 static void make_g_bitmap(SkBitmap& bitmap) { argument
162 rand_bitmap_for_canvas(&bitmap);
164 SkCanvas canvas(bitmap);
175 static void make_checkerboard_bitmap(SkBitmap& bitmap) { argument
176 rand_bitmap_for_canvas(&bitmap);
178 SkCanvas canvas(bitmap);
200 static SkBitmap bitmap[2]; local
203 make_g_bitmap(bitmap[
[all...]
/external/skia/src/views/win/
H A DSkOSWindow_win.cpp185 const SkBitmap& bitmap = this->getBitmap(); local
190 bmi.bmiHeader.biWidth = bitmap.width();
191 bmi.bmiHeader.biHeight = -bitmap.height(); // top-down image
204 // seems to be to copy the bitmap to a temporary (contiguous)
206 SkASSERT(bitmap.width() * bitmap.bytesPerPixel() == bitmap.rowBytes());
207 bitmap.lockPixels();
210 bitmap.width(), bitmap
[all...]
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DPlanarYUVLuminanceSource.java125 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
126 bitmap.setPixels(pixels, 0, width, 0, 0, width, height);
127 return bitmap;
/external/chromium_org/printing/
H A Demf_win.cc48 // Play this command to the bitmap DC.
57 // EMRALPHABLEND is rendered into bitmap and metafile contexts with
110 NOTREACHED() << "Raster bitmap creation for printing failed";
353 scoped_ptr<SkBitmap> bitmap; local
358 bitmap.reset(gfx::JPEGCodec::Decode(bits, bmih->biSizeImage));
364 bitmap.reset(new SkBitmap());
365 gfx::PNGCodec::Decode(bits, bmih->biSizeImage, bitmap.get());
369 DCHECK(bitmap.get());
370 if (bitmap.get()) {
371 SkAutoLockPixels lock(*bitmap
[all...]
/external/chromium_org/third_party/sfntly/
H A Dsfntly.target.darwin-arm.mk41 third_party/sfntly/cpp/src/sfntly/table/bitmap/big_glyph_metrics.cc \
42 third_party/sfntly/cpp/src/sfntly/table/bitmap/bitmap_glyph.cc \
43 third_party/sfntly/cpp/src/sfntly/table/bitmap/bitmap_glyph_info.cc \
44 third_party/sfntly/cpp/src/sfntly/table/bitmap/bitmap_size_table.cc \
45 third_party/sfntly/cpp/src/sfntly/table/bitmap/composite_bitmap_glyph.cc \
46 third_party/sfntly/cpp/src/sfntly/table/bitmap/ebdt_table.cc \
47 third_party/sfntly/cpp/src/sfntly/table/bitmap/eblc_table.cc \
48 third_party/sfntly/cpp/src/sfntly/table/bitmap/ebsc_table.cc \
49 third_party/sfntly/cpp/src/sfntly/table/bitmap/glyph_metrics.cc \
50 third_party/sfntly/cpp/src/sfntly/table/bitmap/index_sub_tabl
[all...]

Completed in 637 milliseconds

<<11121314151617181920>>