| /external/chromium_org/cc/output/ |
| renderer_pixeltest.cc | 1190 SkBitmap bitmap; local 1902 SkBitmap bitmap; local [all...] |
| /external/chromium_org/chrome/browser/favicon/ |
| favicon_handler_unittest.cc | 43 SkBitmap bitmap; local 44 FillDataToBitmap(w, h, &bitmap); 45 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, output); 390 SkBitmap bitmap; local 391 FillDataToBitmap(downloaded_size, downloaded_size, &bitmap); 392 bitmaps.push_back(bitmap); 456 // a downloaded bitmap in FaviconHandler::OnDidDownloadFavicon(). 693 // Empty bitmap data is invalid. [all...] |
| /external/chromium_org/chrome/browser/ui/views/profiles/ |
| profile_chooser_view.cc | 103 SkBitmap bitmap; local 104 bitmap.allocPixels(SkImageInfo::MakeA8(size, size)); 105 bitmap.eraseARGB(0, 0, 0, 0); 106 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); [all...] |
| /external/chromium_org/chrome/browser/ui/views/toolbar/ |
| wrench_menu.cc | 400 SkBitmap bitmap = rep.sk_bitmap(); variable 402 white.allocN32Pixels(bitmap.width(), bitmap.height()); 404 bitmap.lockPixels(); 405 for (int y = 0; y < bitmap.height(); ++y) { 406 uint32* image_row = bitmap.getAddr32(0, y); 408 for (int x = 0; x < bitmap.width(); ++x) { 414 bitmap.unlockPixels(); [all...] |
| /external/chromium_org/content/renderer/media/android/ |
| webmediaplayer_android.cc | 543 SkBitmap& bitmap, 548 if (!bitmap.getTexture() || bitmap.width() != size.width 549 || bitmap.height() != size.height) { 568 bitmap.setInfo(info); 569 bitmap.setPixelRef(pixelRef)->unref(); 595 // Copy video texture into a RGBA texture based bitmap first as video texture 597 // The bitmap's size needs to be the same as the video and use naturalSize() 598 // here. Check if we could reuse existing texture based bitmap. 599 // Otherwise, release existing texture based bitmap and allocat 1099 SkBitmap bitmap; local [all...] |
| /external/chromium_org/content/shell/renderer/test_runner/ |
| web_test_proxy.cc | 75 virtual void didCompositeAndReadback(const SkBitmap& bitmap); 509 const SkBitmap& bitmap = image.getSkBitmap(); local 510 SkAutoLockPixels autoLock(bitmap); 511 callback.Run(bitmap); 536 const SkBitmap& bitmap = device->accessBitmap(false); local 537 callback.Run(bitmap); 548 void CaptureCallback::didCompositeAndReadback(const SkBitmap& bitmap) { 552 bitmap.info().fWidth, 554 bitmap.info().fHeight); 556 callback_.Run(bitmap); [all...] |
| /external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
| GraphicsLayer.cpp | 933 m_imageLayer->setImageBitmap(nativeImage->bitmap()); 955 const SkBitmap& bitmap = nativeImage->bitmap(); local 956 int borderWidth = bitmap.width() - aperture.width(); 957 int borderHeight = bitmap.height() - aperture.height(); 960 m_ninePatchLayer->setBitmap(bitmap); [all...] |
| /external/chromium_org/third_party/skia/experimental/Intersection/ |
| EdgeWalker_TestUtility.cpp | 295 int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap) { 298 int errors = pathsDrawTheSame(one, two, bitmap, scaledOne, scaledTwo, errors2x2); 329 SkBitmap& bitmap, const SkPath& a, const SkPath& b, const ShapeOp shapeOp, 332 int errors = pathsDrawTheSame(bitmap, scaledOne, scaledTwo, errors2x2); 379 bool testSimplify(const SkPath& path, bool fill, SkPath& out, SkBitmap& bitmap) { 387 return comparePaths(path, out, bitmap) == 0; 401 int result = comparePaths(path, out, state.bitmap); 424 SkBitmap bitmap; local 425 int result = comparePaths(path, out, bitmap); 460 SkBitmap bitmap; local [all...] |
| /external/chromium_org/third_party/skia/src/effects/ |
| SkBlurMaskFilter.cpp | 210 SkBitmap bitmap; local 211 bitmap.installMaskPixels(*mask); 213 SkCanvas canvas(bitmap); 228 SkBitmap bitmap; local 229 bitmap.installPixels(SkImageInfo::Make(mask->fBounds.width(), 235 SkCanvas canvas(bitmap); [all...] |
| /external/chromium_org/third_party/skia/src/effects/gradients/ |
| SkGradientShader.cpp | 670 * over and over, we'd like to return exactly the same "bitmap" if possible, 671 * allowing the client to utilize a cache of our bitmap (e.g. with a GPU). 676 void SkGradientShaderBase::getGradientTableBitmap(SkBitmap* bitmap) const { 704 // each cache cost 1K of RAM, since each bitmap will be 1x256 at 32bpp 713 if (!gCache->find(storage.get(), size, bitmap)) { 716 bitmap->setInfo(SkImageInfo::MakeN32Premul(kCache32Count, 1)); 717 bitmap->setPixelRef(cache->getCache32PixelRef()); 719 gCache->add(storage.get(), size, *bitmap); 1143 SkBitmap bitmap; local [all...] |
| /external/chromium_org/third_party/skia/src/images/ |
| SkImageDecoder_libjpeg.cpp | 239 virtual bool onDecodeSubset(SkBitmap* bitmap, const SkIRect& rect) SK_OVERRIDE; 251 * Determine the appropriate bitmap colortype and out_color_space based on 374 * resulting bitmap. 488 Sets all pixels in given bitmap to SK_ColorWHITE for all rows >= y. 491 static void fill_below_level(int y, SkBitmap* bitmap) { 492 SkIRect rect = SkIRect::MakeLTRB(0, y, bitmap->width(), bitmap->height()); 493 SkCanvas canvas(*bitmap); 579 // Assume an A8 bitmap is not opaque to avoid the check of each 581 // an opaque A8 bitmap would not be very interesting 831 SkBitmap bitmap; local [all...] |
| /external/chromium_org/third_party/skia/src/utils/debugger/ |
| SkDrawCommand.h | 177 SkDrawBitmapCommand(const SkBitmap& bitmap, SkScalar left, SkScalar top, 193 SkDrawBitmapMatrixCommand(const SkBitmap& bitmap, const SkMatrix& matrix, 208 SkDrawBitmapNineCommand(const SkBitmap& bitmap, const SkIRect& center, 224 SkDrawBitmapRectCommand(const SkBitmap& bitmap, const SkRect* src, 230 const SkBitmap& bitmap() const { return fBitmap; } function in class:SkDrawBitmapRectCommand 497 SkDrawSpriteCommand(const SkBitmap& bitmap, int left, int top, const SkPaint* paint);
|
| /external/chromium_org/third_party/skia/tests/ |
| CanvasTest.cpp | 251 SkBitmap bitmap; local 252 createBitmap(&bitmap, 0x05060708); 253 return bitmap; [all...] |
| SkpSkGrTest.cpp | 48 {1, "http___accuweather_com_.skp"}, // Couldn't convert bitmap to texture.http___absoku072_com_ 367 static void writePict(const SkBitmap& bitmap, const char* outDir, const char* pngName) { 369 if (!SkImageEncoder::EncodeFile(outFile.c_str(), bitmap, 372 bitmap.width(), bitmap.height()); 421 SkBitmap bitmap; local 426 bool success = bitmap.allocN32Pixels(dim.fX, dim.fY); 433 SkDebugf("unable to allocate bitmap for %s (w=%d h=%d) (sw=%d sh=%d)\n", 437 SkCanvas skCanvas(bitmap); 460 fPixelError = similarBits(grBitmap, bitmap); [all...] |
| /external/chromium_org/ui/base/clipboard/ |
| clipboard_aura.cc | 34 BITMAP = 1 << 4, 88 const SkBitmap& bitmap() const { return bitmap_; } function in class:ui::__anon322::ClipboardData 89 void SetBitmapData(const SkBitmap& bitmap) { 90 bitmap.copyTo(&bitmap_); 91 format_ |= BITMAP; 132 // Bitmap images. 246 if (!HasFormat(BITMAP)) 250 const SkBitmap& clipboard_bitmap = GetData()->bitmap(); 383 static void WriteBitmap(const SkBitmap& bitmap) { 385 data->SetBitmapData(bitmap); [all...] |
| clipboard_aurax11.cc | 719 SkBitmap bitmap; local 720 if (gfx::PNGCodec::Decode(data.GetData(), data.GetSize(), &bitmap)) 721 return SkBitmap(bitmap); 821 void Clipboard::WriteBitmap(const SkBitmap& bitmap) { 822 // Encode the bitmap as a PNG for transport. 824 if (gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, false, &output)) {
|
| /external/chromium_org/ui/compositor/ |
| layer_unittest.cc | 135 void ReadPixels(SkBitmap* bitmap) { 136 ReadPixels(bitmap, gfx::Rect(GetCompositor()->size())); 139 void ReadPixels(SkBitmap* bitmap, gfx::Rect source_rect) { 159 *bitmap = holder->result(); 881 SkBitmap bitmap; local 882 ReadPixels(&bitmap, gfx::Rect(viewport_size)); 883 ASSERT_FALSE(bitmap.empty()); 885 SkAutoLockPixels lock(bitmap); 888 SkColor actual_color = bitmap.getColor(x, y); 919 SkBitmap bitmap; local 960 SkBitmap bitmap; local 1101 SkBitmap bitmap; local 1165 SkBitmap bitmap; local [all...] |
| /external/chromium_org/ui/native_theme/ |
| native_theme_win.cc | 79 // Confusing bit: we first create a temporary bitmap with our desired pattern, 80 // then copy it to another bitmap. The temporary bitmap doesn't take 83 // the bitmap, which is in turn owned by the shader, etc., so it will live 88 SkBitmap bitmap; local 89 temp_bitmap.copyTo(&bitmap); 96 skia::AdoptRef(SkShader::CreateBitmapShader(bitmap, 655 // it creates a new offscreen bitmap Skia canvas. This can 696 // Copy the pixels to a bitmap that has ref-counted pixel storage, which is 700 SkBitmap bitmap; local [all...] |
| /external/pdfium/core/src/fpdfapi/fpdf_render/ |
| fpdf_render_image.cpp | 1078 CFX_DIBitmap& bitmap = *bitmap_device.GetBitmap(); local [all...] |
| fpdf_render_text.cpp | 498 CFX_DIBitmap bitmap;
local 499 if (!bitmap.Create((int)(rect.Width() * sa), (int)(rect.Height() * sd), FXDIB_8bppMask)) {
503 bitmap.Clear(0);
509 bitmap.TransferBitmap((int)((glyph.m_OriginX + glyph.m_pGlyph->m_Left - rect.left) * sa),
514 m_pDevice->SetBitMask(&bitmap, rect.left, rect.top, fill_argb);
|
| /external/skia/experimental/Intersection/ |
| EdgeWalker_TestUtility.cpp | 295 int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap) { 298 int errors = pathsDrawTheSame(one, two, bitmap, scaledOne, scaledTwo, errors2x2); 329 SkBitmap& bitmap, const SkPath& a, const SkPath& b, const ShapeOp shapeOp, 332 int errors = pathsDrawTheSame(bitmap, scaledOne, scaledTwo, errors2x2); 379 bool testSimplify(const SkPath& path, bool fill, SkPath& out, SkBitmap& bitmap) { 387 return comparePaths(path, out, bitmap) == 0; 401 int result = comparePaths(path, out, state.bitmap); 424 SkBitmap bitmap; local 425 int result = comparePaths(path, out, bitmap); 460 SkBitmap bitmap; local [all...] |
| /external/skia/src/effects/ |
| SkBlurMaskFilter.cpp | 207 SkBitmap bitmap; local 208 bitmap.installMaskPixels(*mask); 210 SkCanvas canvas(bitmap); 225 SkBitmap bitmap; local 226 bitmap.installPixels(SkImageInfo::Make(mask->fBounds.width(), 232 SkCanvas canvas(bitmap); [all...] |
| /external/skia/src/gpu/ |
| SkGpuDevice.cpp | 82 const SkBitmap& bitmap, 88 *texture = this->set(device, bitmap, params); 98 const SkBitmap& bitmap, 105 GrTexture* result = (GrTexture*)bitmap.getTexture(); 108 fTexture = GrLockAndRefCachedBitmapTexture(device->context(), bitmap, params); 132 * to make conservative guesses when we return an "equivalent" bitmap. 135 SkBitmap bitmap; local 136 bitmap.setInfo(renderTarget->info()); 137 return bitmap; 293 // need to bump our genID for compatibility with clients that "know" we have a bitmap [all...] |
| /external/skia/src/images/ |
| SkImageDecoder_libjpeg.cpp | 239 virtual bool onDecodeSubset(SkBitmap* bitmap, const SkIRect& rect) SK_OVERRIDE; 251 * Determine the appropriate bitmap colortype and out_color_space based on 389 * resulting bitmap. 502 Sets all pixels in given bitmap to SK_ColorWHITE for all rows >= y. 505 static void fill_below_level(int y, SkBitmap* bitmap) { 506 SkIRect rect = SkIRect::MakeLTRB(0, y, bitmap->width(), bitmap->height()); 507 SkCanvas canvas(*bitmap); 593 // Assume an A8 bitmap is not opaque to avoid the check of each 595 // an opaque A8 bitmap would not be very interesting 849 SkBitmap bitmap; local [all...] |
| /external/skia/src/utils/debugger/ |
| SkDrawCommand.h | 177 SkDrawBitmapCommand(const SkBitmap& bitmap, SkScalar left, SkScalar top, 193 SkDrawBitmapMatrixCommand(const SkBitmap& bitmap, const SkMatrix& matrix, 208 SkDrawBitmapNineCommand(const SkBitmap& bitmap, const SkIRect& center, 224 SkDrawBitmapRectCommand(const SkBitmap& bitmap, const SkRect* src, 230 const SkBitmap& bitmap() const { return fBitmap; } function in class:SkDrawBitmapRectCommand 477 SkDrawSpriteCommand(const SkBitmap& bitmap, int left, int top, const SkPaint* paint);
|