bitmap 544 android_webview/browser/browser_view_renderer.cc SkBitmap bitmap; bitmap 545 android_webview/browser/browser_view_renderer.cc bitmap.allocN32Pixels(1, 1); bitmap 546 android_webview/browser/browser_view_renderer.cc bitmap.eraseColor(0); bitmap 547 android_webview/browser/browser_view_renderer.cc SkCanvas canvas(bitmap); bitmap 31 android_webview/browser/icon_helper.h const SkBitmap& bitmap) = 0; bitmap 1822 android_webview/java/src/org/chromium/android_webview/AwContents.java private void onReceivedIcon(Bitmap bitmap) { bitmap 1823 android_webview/java/src/org/chromium/android_webview/AwContents.java mContentsClient.onReceivedIcon(bitmap); bitmap 1824 android_webview/java/src/org/chromium/android_webview/AwContents.java mFavicon = bitmap; bitmap 202 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java public abstract void onReceivedIcon(Bitmap bitmap); bitmap 33 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java Bitmap bitmap = null; bitmap 35 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); bitmap 39 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java return bitmap; bitmap 47 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java private static void drawBitmapIntoCanvas(Bitmap bitmap, Canvas canvas, int x, int y) { bitmap 48 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java canvas.drawBitmap(bitmap, x, y, null); bitmap 65 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFaviconTest.java public void onReceivedIcon(Bitmap bitmap) { bitmap 67 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFaviconTest.java mFaviconHelper.notifyFavicon(bitmap); bitmap 83 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetDefaultVideoPosterTest.java Bitmap bitmap = BitmapFactory.decodeStream(requestData.getData()); bitmap 86 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetDefaultVideoPosterTest.java poster.getHeight(), bitmap.getHeight()); bitmap 88 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetDefaultVideoPosterTest.java poster.getWidth(), bitmap.getWidth()); bitmap 304 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565); bitmap 306 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java bitmap.compress(Bitmap.CompressFormat.PNG, 100, fos); bitmap 634 android_webview/native/aw_contents.cc void AwContents::OnReceivedIcon(const GURL& icon_url, const SkBitmap& bitmap) { bitmap 647 android_webview/native/aw_contents.cc entry->GetFavicon().image = gfx::Image::CreateFrom1xBitmap(bitmap); bitmap 651 android_webview/native/aw_contents.cc env, obj.obj(), gfx::ConvertToJavaBitmap(&bitmap).obj()); bitmap 153 android_webview/native/aw_contents.h const SkBitmap& bitmap) OVERRIDE; bitmap 160 android_webview/native/java_browser_view_renderer_helper.cc SkBitmap bitmap; bitmap 161 android_webview/native/java_browser_view_renderer_helper.cc bitmap.installPixels(info, pixels, bitmap_info.stride); bitmap 163 android_webview/native/java_browser_view_renderer_helper.cc SkCanvas canvas(bitmap); bitmap 171 android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java public void onReceivedIcon(Bitmap bitmap) { bitmap 125 ash/desktop_background/desktop_background_controller.cc scoped_ptr<SkBitmap> bitmap(gfx::JPEGCodec::Decode( bitmap 127 ash/desktop_background/desktop_background_controller.cc if (!bitmap) bitmap 129 ash/desktop_background/desktop_background_controller.cc return bitmap.Pass(); bitmap 142 ash/desktop_background/desktop_background_controller_unittest.cc SkBitmap bitmap; bitmap 143 ash/desktop_background/desktop_background_controller_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); bitmap 144 ash/desktop_background/desktop_background_controller_unittest.cc bitmap.allocPixels(); bitmap 145 ash/desktop_background/desktop_background_controller_unittest.cc bitmap.eraseColor(color); bitmap 146 ash/desktop_background/desktop_background_controller_unittest.cc gfx::ImageSkia image = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 169 ash/desktop_background/desktop_background_controller_unittest.cc const SkBitmap* bitmap = image.bitmap(); bitmap 170 ash/desktop_background/desktop_background_controller_unittest.cc if (!bitmap) { bitmap 175 ash/desktop_background/desktop_background_controller_unittest.cc bitmap->lockPixels(); bitmap 177 ash/desktop_background/desktop_background_controller_unittest.cc SkColor image_color = bitmap->getColor(center.x(), center.y()); bitmap 178 ash/desktop_background/desktop_background_controller_unittest.cc bitmap->unlockPixels(); bitmap 203 ash/desktop_background/desktop_background_controller_unittest.cc SkBitmap bitmap; bitmap 204 ash/desktop_background/desktop_background_controller_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0); bitmap 205 ash/desktop_background/desktop_background_controller_unittest.cc bitmap.allocPixels(); bitmap 206 ash/desktop_background/desktop_background_controller_unittest.cc bitmap.eraseColor(color); bitmap 211 ash/desktop_background/desktop_background_controller_unittest.cc static_cast<const unsigned char*>(bitmap.getPixels()), bitmap 212 ash/desktop_background/desktop_background_controller_unittest.cc gfx::JPEGCodec::FORMAT_SkBitmap, width, height, bitmap.rowBytes(), bitmap 133 ash/desktop_background/wallpaper_resizer.cc base::Bind(&Resize, *image_.bitmap(), target_size_, bitmap 50 ash/desktop_background/wallpaper_resizer_unittest.cc const SkBitmap* image_bitmap = image.bitmap(); bitmap 114 ash/shelf/shelf_button.h void SetShadowedImage(const gfx::ImageSkia& bitmap); bitmap 50 cc/debug/rasterize_and_record_benchmark_impl.cc SkBitmap bitmap; bitmap 51 cc/debug/rasterize_and_record_benchmark_impl.cc bitmap.allocPixels(SkImageInfo::MakeN32Premul(content_rect_.width(), bitmap 53 cc/debug/rasterize_and_record_benchmark_impl.cc SkCanvas canvas(bitmap); bitmap 24 cc/layers/image_layer.cc void ImageLayer::SetBitmap(const SkBitmap& bitmap) { bitmap 29 cc/layers/image_layer.cc if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef()) bitmap 32 cc/layers/image_layer.cc bitmap_ = bitmap; bitmap 59 cc/layers/nine_patch_layer_impl_unittest.cc UIResourceBitmap bitmap(bitmap_size, is_opaque); bitmap 61 cc/layers/nine_patch_layer_impl_unittest.cc host_impl.CreateUIResource(uid, bitmap); bitmap 31 cc/layers/picture_image_layer.cc void PictureImageLayer::SetBitmap(const SkBitmap& bitmap) { bitmap 36 cc/layers/picture_image_layer.cc if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef()) bitmap 39 cc/layers/picture_image_layer.cc bitmap_ = bitmap; bitmap 827 cc/layers/scrollbar_layer_unittest.cc UIResourceBitmap* bitmap = layer_tree_host_->ui_resource_bitmap( bitmap 830 cc/layers/scrollbar_layer_unittest.cc DCHECK(bitmap); bitmap 832 cc/layers/scrollbar_layer_unittest.cc AutoLockUIResourceBitmap locked_bitmap(*bitmap); bitmap 838 cc/layers/scrollbar_layer_unittest.cc int width = bitmap->GetSize().width(); bitmap 839 cc/layers/scrollbar_layer_unittest.cc int height = bitmap->GetSize().height(); bitmap 38 cc/layers/ui_resource_layer_impl_unittest.cc UIResourceBitmap bitmap(bitmap_size, opaque); bitmap 40 cc/layers/ui_resource_layer_impl_unittest.cc host_impl->CreateUIResource(uid, bitmap); bitmap 157 cc/layers/ui_resource_layer_impl_unittest.cc UIResourceBitmap bitmap(sk_bitmap); bitmap 158 cc/layers/ui_resource_layer_impl_unittest.cc impl.host_impl()->CreateUIResource(uid, bitmap); bitmap 67 cc/layers/ui_resource_layer_unittest.cc SkBitmap bitmap; bitmap 68 cc/layers/ui_resource_layer_unittest.cc bitmap.allocN32Pixels(10, 10); bitmap 69 cc/layers/ui_resource_layer_unittest.cc bitmap.setImmutable(); bitmap 71 cc/layers/ui_resource_layer_unittest.cc test_layer->SetBitmap(bitmap); bitmap 53 cc/output/copy_output_request.cc void CopyOutputRequest::SendBitmapResult(scoped_ptr<SkBitmap> bitmap) { bitmap 54 cc/output/copy_output_request.cc SendResult(CopyOutputResult::CreateBitmapResult(bitmap.Pass()).Pass()); bitmap 64 cc/output/copy_output_request.h void SendBitmapResult(scoped_ptr<SkBitmap> bitmap); bitmap 16 cc/output/copy_output_result.cc CopyOutputResult::CopyOutputResult(scoped_ptr<SkBitmap> bitmap) bitmap 17 cc/output/copy_output_result.cc : size_(bitmap->width(), bitmap->height()), bitmap 18 cc/output/copy_output_result.cc bitmap_(bitmap.Pass()) { bitmap 25 cc/output/copy_output_result.h scoped_ptr<SkBitmap> bitmap) { bitmap 26 cc/output/copy_output_result.h return make_scoped_ptr(new CopyOutputResult(bitmap.Pass())); bitmap 49 cc/output/copy_output_result.h explicit CopyOutputResult(scoped_ptr<SkBitmap> bitmap); bitmap 85 cc/output/gl_renderer.cc SkBitmap* bitmap, bitmap 89 cc/output/gl_renderer.cc bitmap_(bitmap), bitmap 2314 cc/output/gl_renderer.cc scoped_ptr<SkBitmap> bitmap(new SkBitmap); bitmap 2315 cc/output/gl_renderer.cc bitmap->allocN32Pixels(window_rect.width(), window_rect.height()); bitmap 2317 cc/output/gl_renderer.cc scoped_ptr<SkAutoLockPixels> lock(new SkAutoLockPixels(*bitmap)); bitmap 2320 cc/output/gl_renderer.cc uint8* pixels = static_cast<uint8*>(bitmap->getPixels()); bitmap 2325 cc/output/gl_renderer.cc base::Passed(&bitmap), bitmap 2509 cc/output/gl_renderer.cc void GLRenderer::PassOnSkBitmap(scoped_ptr<SkBitmap> bitmap, bitmap 2517 cc/output/gl_renderer.cc request->SendBitmapResult(bitmap.Pass()); bitmap 212 cc/output/gl_renderer.h void PassOnSkBitmap(scoped_ptr<SkBitmap> bitmap, bitmap 1123 cc/output/renderer_pixeltest.cc SkBitmap bitmap; bitmap 1124 cc/output/renderer_pixeltest.cc bitmap.allocPixels( bitmap 1126 cc/output/renderer_pixeltest.cc SkCanvas canvas(bitmap); bitmap 1148 cc/output/renderer_pixeltest.cc SkAutoLockPixels lock(bitmap); bitmap 1151 cc/output/renderer_pixeltest.cc reinterpret_cast<uint8_t*>(bitmap.getPixels()), bitmap 1869 cc/output/renderer_pixeltest.cc SkBitmap bitmap; bitmap 1870 cc/output/renderer_pixeltest.cc bitmap.allocN32Pixels(2, 2); bitmap 1872 cc/output/renderer_pixeltest.cc SkAutoLockPixels lock(bitmap); bitmap 1873 cc/output/renderer_pixeltest.cc SkCanvas canvas(bitmap); bitmap 1884 cc/output/renderer_pixeltest.cc pile->add_draw_bitmap_with_paint(bitmap, gfx::Point(), paint); bitmap 426 cc/output/software_renderer.cc const SkBitmap* bitmap = lock.sk_bitmap(); bitmap 429 cc/output/software_renderer.cc bitmap->width(), bitmap 430 cc/output/software_renderer.cc bitmap->height()); bitmap 442 cc/output/software_renderer.cc !bitmap->isOpaque(); bitmap 458 cc/output/software_renderer.cc SkShader::CreateBitmapShader(*bitmap, tile_mode, tile_mode)); bitmap 465 cc/output/software_renderer.cc current_canvas_->drawBitmapRectToRect(*bitmap, bitmap 618 cc/output/software_renderer.cc scoped_ptr<SkBitmap> bitmap(new SkBitmap); bitmap 619 cc/output/software_renderer.cc bitmap->setConfig(SkBitmap::kARGB_8888_Config, bitmap 623 cc/output/software_renderer.cc bitmap.get(), window_copy_rect.x(), window_copy_rect.y()); bitmap 625 cc/output/software_renderer.cc request->SendBitmapResult(bitmap.Pass()); bitmap 59 cc/resources/image_layer_updater.cc void ImageLayerUpdater::SetBitmap(const SkBitmap& bitmap) { bitmap 60 cc/resources/image_layer_updater.cc DCHECK(bitmap.pixelRef()); bitmap 61 cc/resources/image_layer_updater.cc bitmap_ = bitmap; bitmap 64 cc/resources/image_layer_updater.cc bool ImageLayerUpdater::UsingBitmap(const SkBitmap& bitmap) const { bitmap 65 cc/resources/image_layer_updater.cc return bitmap.pixelRef() == bitmap_.pixelRef(); bitmap 46 cc/resources/image_layer_updater.h void SetBitmap(const SkBitmap& bitmap); bitmap 47 cc/resources/image_layer_updater.h bool UsingBitmap(const SkBitmap& bitmap) const; bitmap 53 cc/resources/picture_pile_impl_perftest.cc SkBitmap bitmap; bitmap 54 cc/resources/picture_pile_impl_perftest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 1, 1); bitmap 55 cc/resources/picture_pile_impl_perftest.cc bitmap.allocPixels(); bitmap 56 cc/resources/picture_pile_impl_perftest.cc SkCanvas canvas(bitmap); bitmap 683 cc/resources/picture_pile_impl_unittest.cc SkBitmap bitmap; bitmap 684 cc/resources/picture_pile_impl_unittest.cc bitmap.allocN32Pixels(canvas_rect.width(), canvas_rect.height()); bitmap 685 cc/resources/picture_pile_impl_unittest.cc SkCanvas canvas(bitmap); bitmap 695 cc/resources/picture_pile_impl_unittest.cc SkColor* pixels = reinterpret_cast<SkColor*>(bitmap.getPixels()); bitmap 696 cc/resources/picture_pile_impl_unittest.cc int num_pixels = bitmap.width() * bitmap.height(); bitmap 736 cc/resources/picture_pile_impl_unittest.cc SkBitmap bitmap; bitmap 737 cc/resources/picture_pile_impl_unittest.cc bitmap.allocN32Pixels(canvas_rect.width(), canvas_rect.height()); bitmap 738 cc/resources/picture_pile_impl_unittest.cc SkCanvas canvas(bitmap); bitmap 744 cc/resources/picture_pile_impl_unittest.cc SkColor* pixels = reinterpret_cast<SkColor*>(bitmap.getPixels()); bitmap 745 cc/resources/picture_pile_impl_unittest.cc int num_pixels = bitmap.width() * bitmap.height(); bitmap 782 cc/resources/picture_pile_impl_unittest.cc SkBitmap bitmap; bitmap 783 cc/resources/picture_pile_impl_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 786 cc/resources/picture_pile_impl_unittest.cc bitmap.allocPixels(); bitmap 787 cc/resources/picture_pile_impl_unittest.cc SkCanvas canvas(bitmap); bitmap 795 cc/resources/picture_pile_impl_unittest.cc for (int y = 0; y < bitmap.height(); y++) { bitmap 796 cc/resources/picture_pile_impl_unittest.cc for (int x = 0; x < bitmap.width(); x++) { bitmap 797 cc/resources/picture_pile_impl_unittest.cc SkColor color = bitmap.getColor(x, y); bitmap 287 cc/resources/resource_provider.cc SharedBitmap* bitmap, bitmap 309 cc/resources/resource_provider.cc has_shared_bitmap_id(!!bitmap), bitmap 324 cc/resources/resource_provider.cc shared_bitmap(bitmap) { bitmap 327 cc/resources/resource_provider.cc if (bitmap) bitmap 328 cc/resources/resource_provider.cc shared_bitmap_id = bitmap->id(); bitmap 700 cc/resources/resource_provider.cc scoped_ptr<SharedBitmap> bitmap; bitmap 702 cc/resources/resource_provider.cc bitmap = shared_bitmap_manager_->AllocateSharedBitmap(size); bitmap 705 cc/resources/resource_provider.cc if (bitmap) bitmap 706 cc/resources/resource_provider.cc pixels = bitmap->pixels(); bitmap 713 cc/resources/resource_provider.cc pixels, bitmap.release(), size, Resource::Internal, GL_LINEAR, wrap_mode); bitmap 1072 cc/resources/resource_provider.cc scoped_ptr<SharedBitmap> bitmap = bitmap 1075 cc/resources/resource_provider.cc if (bitmap) { bitmap 1076 cc/resources/resource_provider.cc resource->shared_bitmap = bitmap.release(); bitmap 395 cc/resources/resource_provider.h SharedBitmap* bitmap, bitmap 2836 cc/resources/resource_provider_unittest.cc SkBitmap bitmap; bitmap 2837 cc/resources/resource_provider_unittest.cc bitmap.allocN32Pixels(size.width(), size.height()); bitmap 2838 cc/resources/resource_provider_unittest.cc *(bitmap.getAddr32(0, 0)) = kBadBeef; bitmap 2840 cc/resources/resource_provider_unittest.cc canvas->writePixels(bitmap, 0, 0); bitmap 3055 cc/resources/resource_provider_unittest.cc SkBitmap bitmap; bitmap 3056 cc/resources/resource_provider_unittest.cc bitmap.allocN32Pixels(size.width(), size.height()); bitmap 3057 cc/resources/resource_provider_unittest.cc *(bitmap.getAddr32(0, 0)) = kBadBeef; bitmap 3060 cc/resources/resource_provider_unittest.cc canvas->writePixels(bitmap, 0, 0); bitmap 12 cc/resources/resource_update.cc const SkBitmap* bitmap, bitmap 19 cc/resources/resource_update.cc update.bitmap = bitmap; bitmap 20 cc/resources/resource_update.h const SkBitmap* bitmap, bitmap 29 cc/resources/resource_update.h const SkBitmap* bitmap; bitmap 87 cc/resources/resource_update_controller.cc update.bitmap->lockPixels(); bitmap 90 cc/resources/resource_update_controller.cc static_cast<const uint8_t*>(update.bitmap->getPixels()), bitmap 94 cc/resources/resource_update_controller.cc update.bitmap->unlockPixels(); bitmap 15 cc/resources/scoped_ui_resource.cc const UIResourceBitmap& bitmap) { bitmap 16 cc/resources/scoped_ui_resource.cc return make_scoped_ptr(new ScopedUIResource(host, bitmap)); bitmap 20 cc/resources/scoped_ui_resource.cc const UIResourceBitmap& bitmap) bitmap 21 cc/resources/scoped_ui_resource.cc : bitmap_(bitmap), host_(host) { bitmap 27 cc/resources/scoped_ui_resource.h const UIResourceBitmap& bitmap); bitmap 36 cc/resources/scoped_ui_resource.h ScopedUIResource(LayerTreeHost* host, const UIResourceBitmap& bitmap); bitmap 63 cc/resources/ui_resource_bitmap.cc const UIResourceBitmap& bitmap) : bitmap_(bitmap) { bitmap 68 cc/resources/ui_resource_bitmap.h explicit AutoLockUIResourceBitmap(const UIResourceBitmap& bitmap); bitmap 15 cc/resources/ui_resource_request.cc const UIResourceBitmap& bitmap) bitmap 16 cc/resources/ui_resource_request.cc : type_(type), id_(id), bitmap_(new UIResourceBitmap(bitmap)) {} bitmap 27 cc/resources/ui_resource_request.h const UIResourceBitmap& bitmap); bitmap 41 cc/test/fake_content_layer_client.cc canvas->drawBitmap(it->bitmap, it->point.x(), it->point.y(), &it->paint); bitmap 22 cc/test/fake_content_layer_client.h SkBitmap bitmap; bitmap 42 cc/test/fake_content_layer_client.h void add_draw_bitmap(const SkBitmap& bitmap, bitmap 46 cc/test/fake_content_layer_client.h data.bitmap = bitmap; bitmap 37 cc/test/fake_picture_pile_impl.h void add_draw_bitmap(const SkBitmap& bitmap, const gfx::Point& point) { bitmap 38 cc/test/fake_picture_pile_impl.h client_.add_draw_bitmap(bitmap, point, default_paint_); bitmap 45 cc/test/fake_picture_pile_impl.h void add_draw_bitmap_with_paint(const SkBitmap& bitmap, bitmap 48 cc/test/fake_picture_pile_impl.h client_.add_draw_bitmap(bitmap, point, paint); bitmap 20 cc/test/fake_ui_resource_layer_tree_host_impl.cc const UIResourceBitmap& bitmap) { bitmap 26 cc/test/fake_ui_resource_layer_tree_host_impl.cc data.size = bitmap.GetSize(); bitmap 27 cc/test/fake_ui_resource_layer_tree_host_impl.cc data.opaque = bitmap.GetOpaque(); bitmap 20 cc/test/fake_ui_resource_layer_tree_host_impl.h const UIResourceBitmap& bitmap) OVERRIDE; bitmap 71 cc/test/layer_tree_json_parser.cc SkBitmap bitmap; bitmap 72 cc/test/layer_tree_json_parser.cc bitmap.allocN32Pixels(image_width, image_height); bitmap 73 cc/test/layer_tree_json_parser.cc bitmap.setImmutable(); bitmap 74 cc/test/layer_tree_json_parser.cc nine_patch_layer->SetBitmap(bitmap); bitmap 178 cc/test/layer_tree_pixel_test.cc const gfx::Rect& rect, const SkBitmap& bitmap) { bitmap 188 cc/test/layer_tree_pixel_test.cc bitmap, &texture_mailbox, &release_callback); bitmap 270 cc/test/layer_tree_pixel_test.cc scoped_ptr<SkBitmap> bitmap(new SkBitmap); bitmap 271 cc/test/layer_tree_pixel_test.cc bitmap->allocN32Pixels(size.width(), size.height()); bitmap 273 cc/test/layer_tree_pixel_test.cc uint8* out_pixels = static_cast<uint8*>(bitmap->getPixels()); bitmap 289 cc/test/layer_tree_pixel_test.cc return bitmap.Pass(); bitmap 306 cc/test/layer_tree_pixel_test.cc const SkBitmap& bitmap, bitmap 309 cc/test/layer_tree_pixel_test.cc DCHECK_GT(bitmap.width(), 0); bitmap 310 cc/test/layer_tree_pixel_test.cc DCHECK_GT(bitmap.height(), 0); bitmap 323 cc/test/layer_tree_pixel_test.cc DCHECK_EQ(kPMColor_SkColorType, bitmap.colorType()); bitmap 326 cc/test/layer_tree_pixel_test.cc SkAutoLockPixels lock(bitmap); bitmap 328 cc/test/layer_tree_pixel_test.cc size_t row_bytes = bitmap.width() * 4; bitmap 329 cc/test/layer_tree_pixel_test.cc size_t total_bytes = bitmap.height() * row_bytes; bitmap 332 cc/test/layer_tree_pixel_test.cc uint8* bitmap_pixels = static_cast<uint8*>(bitmap.getPixels()); bitmap 349 cc/test/layer_tree_pixel_test.cc bitmap.width(), bitmap 350 cc/test/layer_tree_pixel_test.cc bitmap.height(), bitmap 60 cc/test/layer_tree_pixel_test.h const SkBitmap& bitmap); bitmap 83 cc/test/layer_tree_pixel_test.h const SkBitmap& bitmap, bitmap 17 cc/test/pixel_test_utils.cc bool WritePNGFile(const SkBitmap& bitmap, const base::FilePath& file_path, bitmap 20 cc/test/pixel_test_utils.cc if (gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, bitmap 31 cc/test/pixel_test_utils.cc bool ReadPNGFile(const base::FilePath& file_path, SkBitmap* bitmap) { bitmap 32 cc/test/pixel_test_utils.cc DCHECK(bitmap); bitmap 37 cc/test/pixel_test_utils.cc bitmap); bitmap 17 cc/test/pixel_test_utils.h bool WritePNGFile(const SkBitmap& bitmap, const base::FilePath& file_path, bitmap 22 cc/test/pixel_test_utils.h bool ReadPNGFile(const base::FilePath& file_path, SkBitmap* bitmap); bitmap 20 cc/test/skia_common.cc SkBitmap bitmap; bitmap 21 cc/test/skia_common.cc bitmap.installPixels(info, buffer, info.minRowBytes()); bitmap 22 cc/test/skia_common.cc SkCanvas canvas(bitmap); bitmap 27 cc/test/skia_common.cc void CreateBitmap(const gfx::Size& size, const char* uri, SkBitmap* bitmap) { bitmap 30 cc/test/skia_common.cc bitmap->allocPixels(info); bitmap 31 cc/test/skia_common.cc bitmap->pixelRef()->setImmutable(); bitmap 32 cc/test/skia_common.cc bitmap->pixelRef()->setURI(uri); bitmap 26 cc/test/skia_common.h void CreateBitmap(const gfx::Size& size, const char* uri, SkBitmap* bitmap); bitmap 668 cc/trees/layer_tree_host.cc void LayerTreeHost::SetOverhangBitmap(const SkBitmap& bitmap) { bitmap 669 cc/trees/layer_tree_host.cc DCHECK(bitmap.width() && bitmap.height()); bitmap 670 cc/trees/layer_tree_host.cc DCHECK_EQ(bitmap.bytesPerPixel(), 4); bitmap 673 cc/trees/layer_tree_host.cc if (bitmap.isImmutable()) { bitmap 674 cc/trees/layer_tree_host.cc bitmap_copy = bitmap; bitmap 676 cc/trees/layer_tree_host.cc bitmap.copyTo(&bitmap_copy); bitmap 227 cc/trees/layer_tree_host.h void SetOverhangBitmap(const SkBitmap& bitmap); bitmap 2932 cc/trees/layer_tree_host_impl.cc const UIResourceBitmap& bitmap) { bitmap 2936 cc/trees/layer_tree_host_impl.cc switch (bitmap.GetWrapMode()) { bitmap 2952 cc/trees/layer_tree_host_impl.cc if (bitmap.GetFormat() == UIResourceBitmap::ETC1) bitmap 2955 cc/trees/layer_tree_host_impl.cc bitmap.GetSize(), bitmap 2962 cc/trees/layer_tree_host_impl.cc data.size = bitmap.GetSize(); bitmap 2963 cc/trees/layer_tree_host_impl.cc data.opaque = bitmap.GetOpaque(); bitmap 2967 cc/trees/layer_tree_host_impl.cc AutoLockUIResourceBitmap bitmap_lock(bitmap); bitmap 2970 cc/trees/layer_tree_host_impl.cc gfx::Rect(bitmap.GetSize()), bitmap 2971 cc/trees/layer_tree_host_impl.cc gfx::Rect(bitmap.GetSize()), bitmap 400 cc/trees/layer_tree_host_impl.h const UIResourceBitmap& bitmap); bitmap 5700 cc/trees/layer_tree_host_impl_unittest.cc UIResourceBitmap bitmap(gfx::Size(1, 1), is_opaque); bitmap 5701 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->CreateUIResource(ui_resource_id, bitmap); bitmap 5709 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->CreateUIResource(ui_resource_id, bitmap); bitmap 5752 cc/trees/layer_tree_host_impl_unittest.cc UIResourceBitmap bitmap(pixel_ref, size); bitmap 5754 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->CreateUIResource(ui_resource_id, bitmap); bitmap 80 cc/trees/layer_tree_host_pixeltest_masks.cc SkBitmap bitmap; bitmap 81 cc/trees/layer_tree_host_pixeltest_masks.cc bitmap.allocN32Pixels(400, 400); bitmap 82 cc/trees/layer_tree_host_pixeltest_masks.cc SkCanvas canvas(bitmap); bitmap 88 cc/trees/layer_tree_host_pixeltest_masks.cc mask->SetBitmap(bitmap); bitmap 88 cc/trees/layer_tree_host_pixeltest_readback.cc scoped_ptr<SkBitmap> bitmap = bitmap 92 cc/trees/layer_tree_host_pixeltest_readback.cc ReadbackResultAsBitmap(CopyOutputResult::CreateBitmapResult(bitmap.Pass())); bitmap 1111 cc/trees/layer_tree_host_pixeltest_readback.cc scoped_ptr<SkBitmap> bitmap(new SkBitmap); bitmap 1112 cc/trees/layer_tree_host_pixeltest_readback.cc bitmap->allocN32Pixels(device_viewport_copy_rect.width(), bitmap 1114 cc/trees/layer_tree_host_pixeltest_readback.cc layer_tree_host()->CompositeAndReadback(bitmap->getPixels(), bitmap 1117 cc/trees/layer_tree_host_pixeltest_readback.cc result_bitmap_ = bitmap.Pass(); bitmap 98 cc/trees/layer_tree_host_unittest_copyrequest.cc scoped_ptr<SkBitmap> bitmap = result->TakeBitmap().Pass(); bitmap 100 cc/trees/layer_tree_host_unittest_copyrequest.cc gfx::Size(bitmap->width(), bitmap->height()).ToString()); bitmap 107 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java Bitmap bitmap = null; bitmap 112 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java bitmap = Bitmap.createBitmap(iconSize, iconSize, Bitmap.Config.ARGB_8888); bitmap 113 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java Canvas canvas = new Canvas(bitmap); bitmap 130 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java return bitmap; bitmap 137 chrome/android/java/src/org/chromium/chrome/browser/NavigationPopup.java private void updateBitmapForTextView(TextView view, Bitmap bitmap) { bitmap 139 chrome/android/java/src/org/chromium/chrome/browser/NavigationPopup.java if (bitmap != null) { bitmap 140 chrome/android/java/src/org/chromium/chrome/browser/NavigationPopup.java faviconDrawable = new BitmapDrawable(mContext.getResources(), bitmap); bitmap 31 chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java void onProfileDownloaded(String accountId, String fullName, Bitmap bitmap); bitmap 63 chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java private static void onProfileDownloadSuccess(String accountId, String fullName, Bitmap bitmap) { bitmap 66 chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java observer.onProfileDownloaded(accountId, fullName, bitmap); bitmap 75 chrome/browser/android/banners/app_banner_manager.cc void AppBannerManager::OnFetchComplete(const GURL url, const SkBitmap* bitmap) { bitmap 76 chrome/browser/android/banners/app_banner_manager.cc if (bitmap) { bitmap 85 chrome/browser/android/banners/app_banner_manager.cc ScopedJavaLocalRef<jobject> jimage = gfx::ConvertToJavaBitmap(bitmap); bitmap 88 chrome/browser/android/banners/app_banner_manager.h virtual void OnFetchComplete(const GURL url, const SkBitmap* bitmap) OVERRIDE; bitmap 147 chrome/browser/android/favicon_helper.cc jobject bitmap) { bitmap 148 chrome/browser/android/favicon_helper.cc if (!bitmap) bitmap 151 chrome/browser/android/favicon_helper.cc gfx::JavaBitmap bitmap_lock(bitmap); bitmap 83 chrome/browser/android/most_visited_sites.cc ScopedJavaGlobalRef<jobject>* bitmap, bitmap 88 chrome/browser/android/most_visited_sites.cc env, j_callback->obj(), bitmap->obj()); bitmap 96 chrome/browser/android/profiles/profile_downloader_android.cc const SkBitmap& bitmap) { bitmap 99 chrome/browser/android/profiles/profile_downloader_android.cc if (!bitmap.isNull() && bitmap.bytesPerPixel() != 0) bitmap 100 chrome/browser/android/profiles/profile_downloader_android.cc jbitmap = gfx::ConvertToJavaBitmap(&bitmap); bitmap 139 chrome/browser/android/profiles/profile_downloader_android.cc if (!img.IsEmpty() && img.AsImageSkia().bitmap()) bitmap 140 chrome/browser/android/profiles/profile_downloader_android.cc jbitmap = gfx::ConvertToJavaBitmap(img.AsImageSkia().bitmap()); bitmap 26 chrome/browser/android/profiles/profile_downloader_android.h const SkBitmap& bitmap); bitmap 65 chrome/browser/bitmap_fetcher.cc scoped_ptr<SkBitmap> bitmap(new SkBitmap()); bitmap 66 chrome/browser/bitmap_fetcher.cc decoded_image.deepCopyTo(bitmap.get()); bitmap 69 chrome/browser/bitmap_fetcher.cc delegate_->OnFetchComplete(url_, bitmap.get()); bitmap 38 chrome/browser/bitmap_fetcher_browsertest.cc const SkBitmap* bitmap) OVERRIDE { bitmap 41 chrome/browser/bitmap_fetcher_browsertest.cc if (NULL != bitmap) { bitmap 43 chrome/browser/bitmap_fetcher_browsertest.cc bitmap->deepCopyTo(&bitmap_); bitmap 123 chrome/browser/bitmap_fetcher_browsertest.cc const SkBitmap& found_image = delegate.bitmap(); bitmap 146 chrome/browser/bitmap_fetcher_browsertest.cc EXPECT_TRUE(gfx::BitmapsAreEqual(image, delegate.bitmap())); bitmap 23 chrome/browser/bitmap_fetcher_delegate.h virtual void OnFetchComplete(const GURL url, const SkBitmap* bitmap) = 0; bitmap 159 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc SkBitmap bitmap; bitmap 160 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc MakeTestSkBitmap(kIconWidth, kIconHeight, &bitmap); bitmap 162 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &icon_data); bitmap 208 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc gfx::Image::CreateFrom1xBitmap(bitmap)); bitmap 406 chrome/browser/chromeos/app_mode/kiosk_app_data.cc SetCache(name_, *extensions::IconsInfo::GetDefaultAppIcon().bitmap()); bitmap 90 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc const SkBitmap* const bitmap = image.ToSkBitmap(); bitmap 91 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc if (bitmap) { bitmap 93 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc new std::string(webui::GetBitmapDataUrl(*bitmap))); bitmap 346 chrome/browser/chromeos/login/screens/user_image_screen.cc *content::Details<const gfx::ImageSkia>(details).ptr()->bitmap()); bitmap 36 chrome/browser/chromeos/login/user_image.cc const SkBitmap& bitmap = *image.bitmap(); bitmap 37 chrome/browser/chromeos/login/user_image.cc SkAutoLockPixels lock_image(bitmap); bitmap 39 chrome/browser/chromeos/login/user_image.cc reinterpret_cast<unsigned char*>(bitmap.getAddr32(0, 0)), bitmap 41 chrome/browser/chromeos/login/user_image.cc bitmap.width(), bitmap 42 chrome/browser/chromeos/login/user_image.cc bitmap.height(), bitmap 43 chrome/browser/chromeos/login/user_image.cc bitmap.width() * bitmap.bytesPerPixel(), bitmap 25 chrome/browser/chromeos/login/user_image_manager_test_util.cc const SkBitmap* first_bitmap = first.bitmap(); bitmap 26 chrome/browser/chromeos/login/user_image_manager_test_util.cc const SkBitmap* second_bitmap = second.bitmap(); bitmap 561 chrome/browser/chromeos/login/wallpaper_manager.cc SkBitmap image = *(resized_image.bitmap()); bitmap 450 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc SkBitmap bitmap; bitmap 451 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 1, 1); bitmap 452 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc bitmap.allocPixels(); bitmap 453 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc bitmap.eraseColor(color); bitmap 454 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 80 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc SkColor ComputeAverageColor(const SkBitmap& bitmap) { bitmap 81 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc if (bitmap.empty() || bitmap.width() < 1 || bitmap.height() < 1) { bitmap 85 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc if (bitmap.isNull()) { bitmap 89 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc if (bitmap.config() == SkBitmap::kNo_Config) { bitmap 94 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc bitmap.lockPixels(); bitmap 95 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc for (int x = 0; x < bitmap.width(); ++x) { bitmap 96 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 97 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc const SkColor color = bitmap.getColor(x, y); bitmap 104 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc bitmap.unlockPixels(); bitmap 105 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc uint64 pixel_number = bitmap.width() * bitmap.height(); bitmap 124 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc const SkBitmap& bitmap = representation.sk_bitmap(); bitmap 125 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc return ComputeAverageColor(bitmap); bitmap 154 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc SkBitmap bitmap; bitmap 155 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 1, 1); bitmap 156 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc bitmap.allocPixels(); bitmap 157 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc bitmap.eraseColor(color); bitmap 158 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 86 chrome/browser/extensions/api/capture_web_contents_function.cc const SkBitmap& bitmap) { bitmap 88 chrome/browser/extensions/api/capture_web_contents_function.cc OnCaptureSuccess(bitmap); bitmap 108 chrome/browser/extensions/api/capture_web_contents_function.cc const SkBitmap& bitmap) { bitmap 110 chrome/browser/extensions/api/capture_web_contents_function.cc OnCaptureSuccess(bitmap); bitmap 115 chrome/browser/extensions/api/capture_web_contents_function.cc void CaptureWebContentsFunction::OnCaptureSuccess(const SkBitmap& bitmap) { bitmap 117 chrome/browser/extensions/api/capture_web_contents_function.cc SkAutoLockPixels screen_capture_lock(bitmap); bitmap 123 chrome/browser/extensions/api/capture_web_contents_function.cc reinterpret_cast<unsigned char*>(bitmap.getAddr32(0, 0)), bitmap 125 chrome/browser/extensions/api/capture_web_contents_function.cc bitmap.width(), bitmap 126 chrome/browser/extensions/api/capture_web_contents_function.cc bitmap.height(), bitmap 127 chrome/browser/extensions/api/capture_web_contents_function.cc static_cast<int>(bitmap.rowBytes()), bitmap 134 chrome/browser/extensions/api/capture_web_contents_function.cc bitmap, bitmap 46 chrome/browser/extensions/api/capture_web_contents_function.h void CopyFromBackingStoreComplete(bool succeed, const SkBitmap& bitmap); bitmap 47 chrome/browser/extensions/api/capture_web_contents_function.h void GetSnapshotFromRendererComplete(bool succeeded, const SkBitmap& bitmap); bitmap 48 chrome/browser/extensions/api/capture_web_contents_function.h void OnCaptureSuccess(const SkBitmap& bitmap); bitmap 110 chrome/browser/extensions/api/extension_action/extension_action_api.cc bool StringToSkBitmap(const std::string& str, SkBitmap* bitmap) { bitmap 119 chrome/browser/extensions/api/extension_action/extension_action_api.cc bitmap); bitmap 125 chrome/browser/extensions/api/extension_action/extension_action_api.cc SkBitmap bitmap = image.GetRepresentation(scale).sk_bitmap(); bitmap 126 chrome/browser/extensions/api/extension_action/extension_action_api.cc SkAutoLockPixels lock_image(bitmap); bitmap 128 chrome/browser/extensions/api/extension_action/extension_action_api.cc bool success = gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &data); bitmap 145 chrome/browser/extensions/api/extension_action/extension_action_api.cc SkBitmap bitmap; bitmap 186 chrome/browser/extensions/api/extension_action/extension_action_api.cc StringToSkBitmap(str_value, &bitmap)) { bitmap 187 chrome/browser/extensions/api/extension_action/extension_action_api.cc CHECK(!bitmap.isNull()); bitmap 189 chrome/browser/extensions/api/extension_action/extension_action_api.cc icon.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); bitmap 687 chrome/browser/extensions/api/extension_action/extension_action_api.cc SkBitmap bitmap; bitmap 688 chrome/browser/extensions/api/extension_action/extension_action_api.cc EXTENSION_FUNCTION_VALIDATE(IPC::ReadParam(&pickle, &iter, &bitmap)); bitmap 689 chrome/browser/extensions/api/extension_action/extension_action_api.cc CHECK(!bitmap.isNull()); bitmap 691 chrome/browser/extensions/api/extension_action/extension_action_api.cc icon.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); bitmap 80 chrome/browser/extensions/api/notifications/notifications_api.cc SkBitmap bitmap; bitmap 81 chrome/browser/extensions/api/notifications/notifications_api.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); bitmap 84 chrome/browser/extensions/api/notifications/notifications_api.cc if (!bitmap.allocPixels()) bitmap 88 chrome/browser/extensions/api/notifications/notifications_api.cc if (rgba_data_length != bitmap.getSafeSize()) bitmap 91 chrome/browser/extensions/api/notifications/notifications_api.cc uint32_t* pixels = bitmap.getAddr32(0, 0); bitmap 105 chrome/browser/extensions/api/notifications/notifications_api.cc gfx::ImageSkia skia(gfx::ImageSkiaRep(bitmap, 1.0f)); bitmap 55 chrome/browser/extensions/bookmark_app_helper_unittest.cc SkBitmap bitmap; bitmap 56 chrome/browser/extensions/bookmark_app_helper_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, size, size); bitmap 57 chrome/browser/extensions/bookmark_app_helper_unittest.cc bitmap.allocPixels(); bitmap 58 chrome/browser/extensions/bookmark_app_helper_unittest.cc bitmap.eraseColor(color); bitmap 59 chrome/browser/extensions/bookmark_app_helper_unittest.cc return bitmap; bitmap 62 chrome/browser/extensions/bookmark_app_helper_unittest.cc void ValidateBitmapSizeAndColor(SkBitmap bitmap, int size, SkColor color) { bitmap 64 chrome/browser/extensions/bookmark_app_helper_unittest.cc SkAutoLockPixels lock(bitmap); bitmap 65 chrome/browser/extensions/bookmark_app_helper_unittest.cc EXPECT_EQ(color, bitmap.getColor(0, 0)); bitmap 66 chrome/browser/extensions/bookmark_app_helper_unittest.cc EXPECT_EQ(size, bitmap.width()); bitmap 67 chrome/browser/extensions/bookmark_app_helper_unittest.cc EXPECT_EQ(size, bitmap.height()); bitmap 57 chrome/browser/extensions/extension_action_icon_factory_unittest.cc SkBitmap bitmap; bitmap 58 chrome/browser/extensions/extension_action_icon_factory_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 61 chrome/browser/extensions/extension_action_icon_factory_unittest.cc bitmap.allocPixels(); bitmap 62 chrome/browser/extensions/extension_action_icon_factory_unittest.cc bitmap.eraseColor(SkColorSetARGB(0, 0, 0, 0)); bitmap 63 chrome/browser/extensions/extension_action_icon_factory_unittest.cc return gfx::ImageSkiaRep(bitmap, scale); bitmap 76 chrome/browser/extensions/extension_action_icon_factory_unittest.cc SkBitmap bitmap; bitmap 77 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::PNGCodec::Decode(data, file_contents.length(), &bitmap); bitmap 79 chrome/browser/extensions/extension_action_icon_factory_unittest.cc return gfx::Image::CreateFrom1xBitmap(bitmap); bitmap 33 chrome/browser/extensions/extension_icon_image_unittest.cc SkBitmap bitmap; bitmap 35 chrome/browser/extensions/extension_icon_image_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 38 chrome/browser/extensions/extension_icon_image_unittest.cc bitmap.allocPixels(); bitmap 39 chrome/browser/extensions/extension_icon_image_unittest.cc bitmap.eraseColor(SkColorSetARGB(0, 0, 0, 0)); bitmap 40 chrome/browser/extensions/extension_icon_image_unittest.cc return bitmap; bitmap 22 chrome/browser/extensions/favicon_downloader_unittest.cc SkBitmap& bitmap = bitmaps[i]; bitmap 23 chrome/browser/extensions/favicon_downloader_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 26 chrome/browser/extensions/favicon_downloader_unittest.cc bitmap.allocPixels(); bitmap 27 chrome/browser/extensions/favicon_downloader_unittest.cc bitmap.eraseColor(SK_ColorRED); bitmap 59 chrome/browser/extensions/image_loader.cc SkBitmap ResizeIfNeeded(const SkBitmap& bitmap, bitmap 61 chrome/browser/extensions/image_loader.cc gfx::Size original_size(bitmap.width(), bitmap.height()); bitmap 66 chrome/browser/extensions/image_loader.cc bitmap, skia::ImageOperations::RESIZE_LANCZOS3, bitmap 70 chrome/browser/extensions/image_loader.cc return bitmap; bitmap 73 chrome/browser/extensions/image_loader.cc void LoadResourceOnUIThread(int resource_id, SkBitmap* bitmap) { bitmap 79 chrome/browser/extensions/image_loader.cc *bitmap = *image.bitmap(); bitmap 83 chrome/browser/extensions/image_loader.cc SkBitmap* bitmap) { bitmap 101 chrome/browser/extensions/image_loader.cc gfx::PNGCodec::Decode(data, file_contents.length(), bitmap); bitmap 172 chrome/browser/extensions/image_loader.cc LoadResult(const SkBitmap& bitmap, bitmap 177 chrome/browser/extensions/image_loader.cc SkBitmap bitmap; bitmap 183 chrome/browser/extensions/image_loader.cc const SkBitmap& bitmap, bitmap 186 chrome/browser/extensions/image_loader.cc : bitmap(bitmap), bitmap 210 chrome/browser/extensions/image_loader.cc SkBitmap bitmap; bitmap 212 chrome/browser/extensions/image_loader.cc LoadImageOnBlockingPool(image, &bitmap); bitmap 214 chrome/browser/extensions/image_loader.cc bitmap = bitmaps[i]; bitmap 217 chrome/browser/extensions/image_loader.cc if (bitmap.isNull() || bitmap.empty()) bitmap 220 chrome/browser/extensions/image_loader.cc gfx::Size original_size(bitmap.width(), bitmap.height()); bitmap 221 chrome/browser/extensions/image_loader.cc bitmap = ResizeIfNeeded(bitmap, image); bitmap 224 chrome/browser/extensions/image_loader.cc ImageLoader::LoadResult(bitmap, original_size, image)); bitmap 360 chrome/browser/extensions/image_loader.cc const SkBitmap& bitmap = it->bitmap; bitmap 364 chrome/browser/extensions/image_loader.cc bitmap, bitmap 388 chrome/browser/extensions/image_loader.cc const SkBitmap& bitmap = it->bitmap; bitmap 395 chrome/browser/extensions/image_loader.cc gfx::ImageSkiaRep(bitmap, ui::GetImageScale(image_rep.scale_factor))); bitmap 45 chrome/browser/favicon/favicon_handler_unittest.cc SkBitmap bitmap; bitmap 46 chrome/browser/favicon/favicon_handler_unittest.cc FillDataToBitmap(w, h, &bitmap); bitmap 47 chrome/browser/favicon/favicon_handler_unittest.cc gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, output); bitmap 353 chrome/browser/favicon/favicon_handler_unittest.cc SkBitmap bitmap; bitmap 354 chrome/browser/favicon/favicon_handler_unittest.cc FillDataToBitmap(downloaded_size, downloaded_size, &bitmap); bitmap 355 chrome/browser/favicon/favicon_handler_unittest.cc bitmaps.push_back(bitmap); bitmap 118 chrome/browser/favicon/favicon_util.cc SkBitmap bitmap; bitmap 119 chrome/browser/favicon/favicon_util.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 122 chrome/browser/favicon/favicon_util.cc bitmap.allocPixels(); bitmap 124 chrome/browser/favicon/favicon_util.cc bitmap.eraseARGB(0, 0, 0, 0); bitmap 126 chrome/browser/favicon/favicon_util.cc SkCanvas canvas(bitmap); bitmap 129 chrome/browser/favicon/favicon_util.cc return bitmap; bitmap 217 chrome/browser/favicon/favicon_util.cc SkBitmap bitmap; bitmap 220 chrome/browser/favicon/favicon_util.cc &bitmap)) { bitmap 221 chrome/browser/favicon/favicon_util.cc bitmaps.push_back(bitmap); bitmap 233 chrome/browser/favicon/favicon_util.cc SkBitmap bitmap = ResizeBitmapByDownsamplingIfPossible( bitmap 236 chrome/browser/favicon/favicon_util.cc gfx::ImageSkiaRep(bitmap, scale_factor)); bitmap 31 chrome/browser/history/select_favicon_frames.cc SkBitmap bitmap; bitmap 32 chrome/browser/history/select_favicon_frames.cc bitmap.setConfig( bitmap 34 chrome/browser/history/select_favicon_frames.cc bitmap.allocPixels(); bitmap 36 chrome/browser/history/select_favicon_frames.cc bitmap.eraseARGB(0, 0, 0, 0); bitmap 39 chrome/browser/history/select_favicon_frames.cc SkCanvas canvas(bitmap); bitmap 44 chrome/browser/history/select_favicon_frames.cc return bitmap; bitmap 37 chrome/browser/history/select_favicon_frames_unittest.cc SkBitmap bitmap; bitmap 38 chrome/browser/history/select_favicon_frames_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h); bitmap 39 chrome/browser/history/select_favicon_frames_unittest.cc bitmap.allocPixels(); bitmap 40 chrome/browser/history/select_favicon_frames_unittest.cc bitmap.eraseColor(color); bitmap 41 chrome/browser/history/select_favicon_frames_unittest.cc return bitmap; bitmap 46 chrome/browser/history/select_favicon_frames_unittest.cc const SkBitmap& bitmap = bitmap 49 chrome/browser/history/select_favicon_frames_unittest.cc x = bitmap.width() / 2; bitmap 51 chrome/browser/history/select_favicon_frames_unittest.cc y = bitmap.width() / 2; bitmap 52 chrome/browser/history/select_favicon_frames_unittest.cc bitmap.lockPixels(); bitmap 53 chrome/browser/history/select_favicon_frames_unittest.cc SkColor color = bitmap.getColor(x, y); bitmap 54 chrome/browser/history/select_favicon_frames_unittest.cc bitmap.unlockPixels(); bitmap 539 chrome/browser/history/top_sites_impl.cc bool TopSitesImpl::EncodeBitmap(const gfx::Image& bitmap, bitmap 541 chrome/browser/history/top_sites_impl.cc if (bitmap.IsEmpty()) bitmap 545 chrome/browser/history/top_sites_impl.cc if (!gfx::JPEG1xEncodedDataFromImage(bitmap, kTopSitesImageQuality, &data)) bitmap 136 chrome/browser/history/top_sites_impl.h static bool EncodeBitmap(const gfx::Image& bitmap, bitmap 61 chrome/browser/icon_loader_linux.cc SkBitmap bitmap; bitmap 65 chrome/browser/icon_loader_linux.cc &bitmap); bitmap 66 chrome/browser/icon_loader_linux.cc if (success && !bitmap.empty()) { bitmap 67 chrome/browser/icon_loader_linux.cc DCHECK_EQ(size_pixels, bitmap.width()); bitmap 68 chrome/browser/icon_loader_linux.cc DCHECK_EQ(size_pixels, bitmap.height()); bitmap 69 chrome/browser/icon_loader_linux.cc gfx::ImageSkia image_skia = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 61 chrome/browser/icon_loader_win.cc scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON( bitmap 63 chrome/browser/icon_loader_win.cc if (bitmap.get()) { bitmap 65 chrome/browser/icon_loader_win.cc *bitmap, gfx::win::GetDeviceScaleFactor())); bitmap 62 chrome/browser/jumplist_win.cc bool CreateIconFile(const SkBitmap& bitmap, bitmap 75 chrome/browser/jumplist_win.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(bitmap)); bitmap 54 chrome/browser/media/fake_desktop_media_list.cc SkBitmap bitmap; bitmap 55 chrome/browser/media/fake_desktop_media_list.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 150, 150); bitmap 56 chrome/browser/media/fake_desktop_media_list.cc bitmap.allocPixels(); bitmap 57 chrome/browser/media/fake_desktop_media_list.cc bitmap.eraseRGB(0, 255, 0); bitmap 58 chrome/browser/media/fake_desktop_media_list.cc thumbnail_ = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 73 chrome/browser/notifications/sync_notifier/image_holder.cc void ImageHolder::OnFetchComplete(const GURL url, const SkBitmap* bitmap) { bitmap 79 chrome/browser/notifications/sync_notifier/image_holder.cc if (bitmap != NULL) bitmap 80 chrome/browser/notifications/sync_notifier/image_holder.cc image_.AddRepresentation(gfx::ImageSkiaRep(*bitmap, 1.0)); bitmap 83 chrome/browser/notifications/sync_notifier/image_holder.cc if (bitmap != NULL) bitmap 84 chrome/browser/notifications/sync_notifier/image_holder.cc image_.AddRepresentation(gfx::ImageSkiaRep(*bitmap, 2.0)); bitmap 43 chrome/browser/notifications/sync_notifier/image_holder.h virtual void OnFetchComplete(const GURL url, const SkBitmap* bitmap) OVERRIDE; bitmap 49 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc SkBitmap bitmap; bitmap 50 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); bitmap 51 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc bitmap.allocPixels(); bitmap 52 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc bitmap.eraseColor(SK_ColorGREEN); bitmap 54 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc image_holder.OnFetchComplete(GURL(kIconUrl1), &bitmap); bitmap 77 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc SkBitmap bitmap; bitmap 78 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); bitmap 79 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc bitmap.allocPixels(); bitmap 80 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc bitmap.eraseColor(SK_ColorGREEN); bitmap 83 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc image_holder1.OnFetchComplete(GURL(kIconUrl1), &bitmap); bitmap 84 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc image_holder2.OnFetchComplete(GURL(kIconUrl1), &bitmap); bitmap 85 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc image_holder3.OnFetchComplete(GURL(kIconUrl1), &bitmap); bitmap 86 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc image_holder4.OnFetchComplete(GURL(kIconUrl1), &bitmap); bitmap 93 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc image_holder1.OnFetchComplete(GURL(kIconUrl2), &bitmap); bitmap 94 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc image_holder2.OnFetchComplete(GURL(kIconUrl2), &bitmap); bitmap 95 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc image_holder3.OnFetchComplete(GURL(kIconUrl2), &bitmap); bitmap 96 chrome/browser/notifications/sync_notifier/image_holder_unittest.cc image_holder4.OnFetchComplete(GURL(kIconUrl2), &bitmap); bitmap 668 chrome/browser/notifications/sync_notifier/synced_notification.cc const SkBitmap* bitmap) { bitmap 673 chrome/browser/notifications/sync_notifier/synced_notification.cc if (bitmap != NULL) bitmap 674 chrome/browser/notifications/sync_notifier/synced_notification.cc downloaded_image = gfx::Image::CreateFrom1xBitmap(*bitmap); bitmap 697 chrome/browser/notifications/sync_notifier/synced_notification.cc if (bitmap != NULL) { bitmap 698 chrome/browser/notifications/sync_notifier/synced_notification.cc button_bitmaps_[i] = gfx::Image::CreateFrom1xBitmap(*bitmap); bitmap 121 chrome/browser/notifications/sync_notifier/synced_notification.h virtual void OnFetchComplete(const GURL url, const SkBitmap* bitmap) OVERRIDE; bitmap 81 chrome/browser/notifications/sync_notifier/synced_notification_app_info_unittest.cc SkBitmap bitmap; bitmap 82 chrome/browser/notifications/sync_notifier/synced_notification_app_info_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); bitmap 83 chrome/browser/notifications/sync_notifier/synced_notification_app_info_unittest.cc bitmap.allocPixels(); bitmap 84 chrome/browser/notifications/sync_notifier/synced_notification_app_info_unittest.cc bitmap.eraseColor(SK_ColorGREEN); bitmap 87 chrome/browser/notifications/sync_notifier/synced_notification_app_info_unittest.cc app_info.settings_holder_->OnFetchComplete(GURL(kIconUrl1), &bitmap); bitmap 91 chrome/browser/notifications/sync_notifier/synced_notification_app_info_unittest.cc app_info.settings_holder_->OnFetchComplete(GURL(kIconUrl2), &bitmap); bitmap 320 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc SkBitmap bitmap; bitmap 323 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); bitmap 324 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc bitmap.allocPixels(); bitmap 325 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc bitmap.eraseColor(SK_ColorGREEN); bitmap 330 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification1_->OnFetchComplete(GURL(kIconUrl1), &bitmap); bitmap 333 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification1_->OnFetchComplete(GURL(kImageUrl1), &bitmap); bitmap 335 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification1_->OnFetchComplete(GURL(kButtonOneIconUrl), &bitmap); bitmap 337 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification1_->OnFetchComplete(GURL(kButtonTwoIconUrl), &bitmap); bitmap 373 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc SkBitmap bitmap; bitmap 377 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); bitmap 378 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc bitmap.allocPixels(); bitmap 379 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc bitmap.eraseColor(SK_ColorGREEN); bitmap 389 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification1_->OnFetchComplete(GURL(kIconUrl1), &bitmap); bitmap 392 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification1_->OnFetchComplete(GURL(kImageUrl1), &bitmap); bitmap 109 chrome/browser/profiles/gaia_info_update_service.cc SkBitmap bitmap = downloader->GetProfilePicture(); bitmap 130 chrome/browser/profiles/gaia_info_update_service.cc gfx::Image gfx_image = gfx::Image::CreateFrom1xBitmap(bitmap); bitmap 42 chrome/browser/task_manager/browser_process_resource_provider.cc scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON(icon)); bitmap 43 chrome/browser/task_manager/browser_process_resource_provider.cc default_icon_ = new gfx::ImageSkia(gfx::ImageSkiaRep(*bitmap, 1.0f)); bitmap 520 chrome/browser/themes/browser_theme_pack.cc SkBitmap bitmap; bitmap 523 chrome/browser/themes/browser_theme_pack.cc &bitmap)) { bitmap 527 chrome/browser/themes/browser_theme_pack.cc bitmap_map_[scale_factor] = bitmap; bitmap 528 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(bitmap, scale); bitmap 1280 chrome/browser/themes/browser_theme_pack.cc SkBitmap bitmap; bitmap 1282 chrome/browser/themes/browser_theme_pack.cc &bitmap)) { bitmap 1284 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkiaRep(bitmap, bitmap 30 chrome/browser/themes/theme_service_gtk.cc SkBitmap bitmap = GetImageNamed(id).AsBitmap(); bitmap 31 chrome/browser/themes/theme_service_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); bitmap 663 chrome/browser/thumbnails/content_analysis.cc SkBitmap ComputeDecimatedImage(const SkBitmap& bitmap, bitmap 666 chrome/browser/thumbnails/content_analysis.cc SkAutoLockPixels source_lock(bitmap); bitmap 667 chrome/browser/thumbnails/content_analysis.cc DCHECK(bitmap.getPixels()); bitmap 668 chrome/browser/thumbnails/content_analysis.cc DCHECK_GT(bitmap.bytesPerPixel(), 0); bitmap 669 chrome/browser/thumbnails/content_analysis.cc DCHECK_EQ(bitmap.width(), static_cast<int>(columns.size())); bitmap 670 chrome/browser/thumbnails/content_analysis.cc DCHECK_EQ(bitmap.height(), static_cast<int>(rows.size())); bitmap 684 chrome/browser/thumbnails/content_analysis.cc target.setConfig(bitmap.config(), target_column_count, target_row_count); bitmap 688 chrome/browser/thumbnails/content_analysis.cc for (int r = 0; r < bitmap.height(); ++r) { bitmap 692 chrome/browser/thumbnails/content_analysis.cc static_cast<uint8*>(bitmap.getPixels()) + r * bitmap.rowBytes(); bitmap 696 chrome/browser/thumbnails/content_analysis.cc for (int c = 0; c < bitmap.width(); ++c) { bitmap 701 chrome/browser/thumbnails/content_analysis.cc size_t bytes_to_copy = (c - left_copy_pixel) * bitmap.bytesPerPixel(); bitmap 703 chrome/browser/thumbnails/content_analysis.cc src_row + left_copy_pixel * bitmap.bytesPerPixel(), bitmap 712 chrome/browser/thumbnails/content_analysis.cc (bitmap.width() - left_copy_pixel) * bitmap.bytesPerPixel(); bitmap 714 chrome/browser/thumbnails/content_analysis.cc src_row + left_copy_pixel * bitmap.bytesPerPixel(), bitmap 69 chrome/browser/thumbnails/content_analysis.h SkBitmap ComputeDecimatedImage(const SkBitmap& bitmap, bitmap 32 chrome/browser/thumbnails/content_analysis_unittest.cc unsigned long ImagePixelSum(const SkBitmap& bitmap, const gfx::Rect& rect) { bitmap 35 chrome/browser/thumbnails/content_analysis_unittest.cc DCHECK_EQ(SkBitmap::kA8_Config, bitmap.config()); bitmap 39 chrome/browser/thumbnails/content_analysis_unittest.cc bitmap.getPixels()) + r * bitmap.rowBytes(); bitmap 61 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc const SkBitmap& bitmap) { bitmap 64 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc if (bitmap.isNull() || bitmap.empty()) bitmap 71 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc PrepareSourceBitmap(bitmap, target_thumbnail_size, context.get()); bitmap 27 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h const SkBitmap& bitmap) OVERRIDE; bitmap 26 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc const SkBitmap& bitmap) { bitmap 28 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc captured_bitmap_ = bitmap; bitmap 43 chrome/browser/thumbnails/simple_thumbnail_crop.cc const SkBitmap& bitmap) { bitmap 45 chrome/browser/thumbnails/simple_thumbnail_crop.cc if (bitmap.isNull() || bitmap.empty()) bitmap 49 chrome/browser/thumbnails/simple_thumbnail_crop.cc bitmap, bitmap 62 chrome/browser/thumbnails/simple_thumbnail_crop.cc double SimpleThumbnailCrop::CalculateBoringScore(const SkBitmap& bitmap) { bitmap 63 chrome/browser/thumbnails/simple_thumbnail_crop.cc if (bitmap.isNull() || bitmap.empty()) bitmap 66 chrome/browser/thumbnails/simple_thumbnail_crop.cc color_utils::BuildLumaHistogram(bitmap, histogram); bitmap 69 chrome/browser/thumbnails/simple_thumbnail_crop.cc int pixel_count = bitmap.width() * bitmap.height(); bitmap 73 chrome/browser/thumbnails/simple_thumbnail_crop.cc SkBitmap SimpleThumbnailCrop::GetClippedBitmap(const SkBitmap& bitmap, bitmap 78 chrome/browser/thumbnails/simple_thumbnail_crop.cc GetClippingRect(gfx::Size(bitmap.width(), bitmap.height()), bitmap 84 chrome/browser/thumbnails/simple_thumbnail_crop.cc bitmap.extractSubset(&clipped_bitmap, src_rect); bitmap 196 chrome/browser/thumbnails/simple_thumbnail_crop.cc SkBitmap SimpleThumbnailCrop::CreateThumbnail(const SkBitmap& bitmap, bitmap 208 chrome/browser/thumbnails/simple_thumbnail_crop.cc std::max(1, bitmap.width() - scrollbar_size), bitmap 209 chrome/browser/thumbnails/simple_thumbnail_crop.cc std::max(1, bitmap.height() - scrollbar_size) }; bitmap 211 chrome/browser/thumbnails/simple_thumbnail_crop.cc bitmap.extractSubset(&bmp, scrollbarless_rect); bitmap 216 chrome/browser/thumbnails/simple_thumbnail_crop.cc clipped_bitmap = bitmap; bitmap 28 chrome/browser/thumbnails/simple_thumbnail_crop.h const SkBitmap& bitmap) OVERRIDE; bitmap 35 chrome/browser/thumbnails/simple_thumbnail_crop.h static double CalculateBoringScore(const SkBitmap& bitmap); bitmap 43 chrome/browser/thumbnails/simple_thumbnail_crop.h static SkBitmap GetClippedBitmap(const SkBitmap& bitmap, bitmap 63 chrome/browser/thumbnails/simple_thumbnail_crop.h static SkBitmap CreateThumbnail(const SkBitmap& bitmap, bitmap 27 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc SkBitmap bitmap; bitmap 28 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_DOUBLE_EQ(1.0, SimpleThumbnailCrop::CalculateBoringScore(bitmap)); bitmap 37 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc SkBitmap bitmap = bitmap 40 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_DOUBLE_EQ(1.0, SimpleThumbnailCrop::CalculateBoringScore(bitmap)); bitmap 53 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc SkBitmap bitmap = bitmap 55 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc ASSERT_EQ(kSize.width(), bitmap.width()); bitmap 56 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc ASSERT_EQ(kSize.height(), bitmap.height()); bitmap 58 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_DOUBLE_EQ(0.5, SimpleThumbnailCrop::CalculateBoringScore(bitmap)); bitmap 64 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc SkBitmap bitmap = bitmap 70 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc bitmap, 10, 10, &clip_result); bitmap 81 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc SkBitmap bitmap = bitmap 87 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc bitmap, 10, 10, &clip_result); bitmap 98 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc SkBitmap bitmap = bitmap 104 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc bitmap, 10, 10, &clip_result); bitmap 115 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc SkBitmap bitmap = bitmap 121 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc bitmap, 10, 10, &clip_result); bitmap 132 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc SkBitmap bitmap = bitmap 138 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc bitmap, 20, 10, &clip_result); bitmap 67 chrome/browser/thumbnails/thumbnail_tab_helper.cc const SkBitmap& bitmap) { bitmap 75 chrome/browser/thumbnails/thumbnail_tab_helper.cc algorithm->ProcessBitmap(context, base::Bind(&UpdateThumbnail), bitmap); bitmap 80 chrome/browser/thumbnails/thumbnail_tab_helper.cc const SkBitmap& bitmap) { bitmap 82 chrome/browser/thumbnails/thumbnail_tab_helper.cc callback.Run(bitmap); bitmap 46 chrome/browser/thumbnails/thumbnailing_algorithm.h const SkBitmap& bitmap) = 0; bitmap 92 chrome/browser/ui/app_list/fast_show_pickler.cc SkBitmap bitmap = it->sk_bitmap(); bitmap 93 chrome/browser/ui/app_list/fast_show_pickler.cc SkAutoLockPixels lock(bitmap); bitmap 94 chrome/browser/ui/app_list/fast_show_pickler.cc pickle->WriteBytes(bitmap.getPixels(), size); bitmap 134 chrome/browser/ui/app_list/fast_show_pickler.cc SkBitmap bitmap; bitmap 135 chrome/browser/ui/app_list/fast_show_pickler.cc bitmap.setConfig(static_cast<SkBitmap::Config>(config), width, height); bitmap 136 chrome/browser/ui/app_list/fast_show_pickler.cc if (!bitmap.allocPixels()) bitmap 139 chrome/browser/ui/app_list/fast_show_pickler.cc SkAutoLockPixels lock(bitmap); bitmap 140 chrome/browser/ui/app_list/fast_show_pickler.cc memcpy(bitmap.getPixels(), pixels, bitmap.getSize()); bitmap 142 chrome/browser/ui/app_list/fast_show_pickler.cc result.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); bitmap 66 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc SkBitmap bitmap; bitmap 67 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, kWidth, kHeight); bitmap 68 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc bitmap.allocPixels(); bitmap 69 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc bitmap.eraseARGB(255, 1, 2, 3); bitmap 70 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 177 chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc return favicon_handler_->bitmap(); bitmap 48 chrome/browser/ui/ash/user_wallpaper_delegate_win.cc SkBitmap bitmap; bitmap 49 chrome/browser/ui/ash/user_wallpaper_delegate_win.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); bitmap 50 chrome/browser/ui/ash/user_wallpaper_delegate_win.cc bitmap.allocPixels(); bitmap 51 chrome/browser/ui/ash/user_wallpaper_delegate_win.cc bitmap.eraseARGB(255, kBackgroundRed, kBackgroundGreen, kBackgroundBlue); bitmap 56 chrome/browser/ui/ash/user_wallpaper_delegate_win.cc SkAutoLockPixels alp(bitmap); bitmap 57 chrome/browser/ui/ash/user_wallpaper_delegate_win.cc *bitmap.getAddr32(0,0) = SkColorSetRGB(0, 0, 0); bitmap 60 chrome/browser/ui/ash/user_wallpaper_delegate_win.cc gfx::ImageSkia wallpaper = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 49 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GdkPixbuf* icon_pixbuf = gfx::GdkPixbufFromSkBitmap(*icon->bitmap()); bitmap 81 chrome/browser/ui/gtk/extensions/extension_uninstall_dialog_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(*icon_.bitmap()); bitmap 977 chrome/browser/ui/gtk/gtk_theme_service.cc SkBitmap bitmap; bitmap 978 chrome/browser/ui/gtk/gtk_theme_service.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 980 chrome/browser/ui/gtk/gtk_theme_service.cc bitmap.allocPixels(); bitmap 981 chrome/browser/ui/gtk/gtk_theme_service.cc bitmap.eraseRGB(color->red >> 8, color->green >> 8, color->blue >> 8); bitmap 982 chrome/browser/ui/gtk/gtk_theme_service.cc return bitmap; bitmap 358 chrome/browser/ui/gtk/gtk_tree.cc pixbufs_.push_back(gfx::GdkPixbufFromSkBitmap(*icons[i].bitmap())); bitmap 159 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc SkBitmap bitmap; bitmap 173 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc bitmap = canvas->ExtractImageRep().sk_bitmap(); bitmap 175 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc bitmap = *icon->bitmap(); bitmap 178 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); bitmap 281 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(*image.bitmap()); bitmap 33 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(*image.bitmap()); bitmap 105 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc GdkPixbuf* GetResizedGdkPixbufFromSkBitmap(const SkBitmap& bitmap, bitmap 110 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc int bitmap_w = bitmap.width(); bitmap 111 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc int bitmap_h = bitmap.height(); bitmap 121 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); bitmap 124 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc bitmap, bitmap 656 chrome/browser/ui/gtk/task_manager_gtk.cc SkBitmap icon = *model_->GetResourceIcon(row).bitmap(); bitmap 95 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc *bundle.GetImageSkiaNamed(IDR_INPUT_ALERT)->bitmap()); bitmap 521 chrome/browser/ui/libgtk2ui/gtk2_ui.cc SkBitmap bitmap = GdkPixbufToImageSkia(pixbuf.get()); bitmap 522 chrome/browser/ui/libgtk2ui/gtk2_ui.cc DCHECK_EQ(size, bitmap.width()); bitmap 523 chrome/browser/ui/libgtk2ui/gtk2_ui.cc DCHECK_EQ(size, bitmap.height()); bitmap 524 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::ImageSkia image_skia = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 1027 chrome/browser/ui/libgtk2ui/gtk2_ui.cc SkBitmap bitmap; bitmap 1028 chrome/browser/ui/libgtk2ui/gtk2_ui.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 1030 chrome/browser/ui/libgtk2ui/gtk2_ui.cc bitmap.allocPixels(); bitmap 1031 chrome/browser/ui/libgtk2ui/gtk2_ui.cc bitmap.eraseRGB(color->red >> 8, color->green >> 8, color->blue >> 8); bitmap 1032 chrome/browser/ui/libgtk2ui/gtk2_ui.cc return bitmap; bitmap 91 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap) { bitmap 92 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc if (bitmap.isNull()) bitmap 95 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc SkAutoLockPixels lock_pixels(bitmap); bitmap 97 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc int width = bitmap.width(); bitmap 98 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc int height = bitmap.height(); bitmap 113 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc uint32 pixel = bitmap.getAddr32(0, y)[x]; bitmap 38 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.h GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap); bitmap 70 chrome/browser/ui/metro_pin_tab_helper_win.cc bool CreateSiteSpecificLogo(const SkBitmap& bitmap, bitmap 81 chrome/browser/ui/metro_pin_tab_helper_win.cc if (bitmap.isNull()) bitmap 85 chrome/browser/ui/metro_pin_tab_helper_win.cc SkColor dominant_color = color_utils::CalculateKMeanColorOfBitmap(bitmap); bitmap 101 chrome/browser/ui/metro_pin_tab_helper_win.cc int left = (kLogoWidth - bitmap.width()) / 2; bitmap 102 chrome/browser/ui/metro_pin_tab_helper_win.cc int top = (kLogoHeight - kCaptionHeight - bitmap.height()) / 2; bitmap 103 chrome/browser/ui/metro_pin_tab_helper_win.cc canvas.DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(bitmap), left, top); bitmap 131 chrome/browser/ui/pdf/pdf_browsertest.cc const SkBitmap& bitmap) { bitmap 150 chrome/browser/ui/pdf/pdf_browsertest.cc int32* pixels = static_cast<int32*>(bitmap.getPixels()); bitmap 167 chrome/browser/ui/pdf/pdf_browsertest.cc for (snapshot_x_offset = 0; snapshot_x_offset < bitmap.width(); bitmap 174 chrome/browser/ui/pdf/pdf_browsertest.cc w - ref_x_offset, bitmap.width() - snapshot_x_offset); bitmap 175 chrome/browser/ui/pdf/pdf_browsertest.cc int y_max = std::min(h, bitmap.height()); bitmap 176 chrome/browser/ui/pdf/pdf_browsertest.cc int stride = bitmap.rowBytes(); bitmap 188 chrome/browser/ui/pdf/pdf_browsertest.cc gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &png_data); bitmap 204 chrome/browser/ui/tab_contents/core_tab_helper.cc const SkBitmap& bitmap, bitmap 206 chrome/browser/ui/tab_contents/core_tab_helper.cc if (bitmap.isNull()) bitmap 223 chrome/browser/ui/tab_contents/core_tab_helper.cc reinterpret_cast<unsigned char*>(bitmap.getAddr32(0, 0)), bitmap 224 chrome/browser/ui/tab_contents/core_tab_helper.cc gfx::JPEGCodec::FORMAT_SkBitmap, bitmap.width(), bitmap.height(), bitmap 225 chrome/browser/ui/tab_contents/core_tab_helper.cc static_cast<int>(bitmap.rowBytes()), kDefaultQualityForImageSearch, bitmap 68 chrome/browser/ui/tab_contents/core_tab_helper.h void OnRequestThumbnailForContextNodeACK(const SkBitmap& bitmap, bitmap 38 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc SkBitmap bitmap; bitmap 39 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); bitmap 40 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc bitmap.allocPixels(); bitmap 41 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc bitmap.eraseColor(color); bitmap 42 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc return bitmap; bitmap 346 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc const SkBitmap* bitmap; bitmap 348 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc bitmap = &extensions::IconsInfo::GetDefaultAppIcon() bitmap 352 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc bitmap = image.ToSkBitmap(); bitmap 355 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc app_icon_->SetImage(gfx::ImageSkia::CreateFrom1xBitmap(*bitmap)); bitmap 183 chrome/browser/ui/views/create_application_shortcut_view.cc const SkBitmap& bitmap = *icon->ToSkBitmap(); bitmap 184 chrome/browser/ui/views/create_application_shortcut_view.cc if (bitmap.width() == kIconPreviewSizePixels && bitmap 185 chrome/browser/ui/views/create_application_shortcut_view.cc bitmap.height() == kIconPreviewSizePixels) { bitmap 186 chrome/browser/ui/views/create_application_shortcut_view.cc icon_->SetImage(gfx::ImageSkia::CreateFrom1xBitmap(bitmap)); bitmap 190 chrome/browser/ui/views/create_application_shortcut_view.cc bitmap, skia::ImageOperations::RESIZE_LANCZOS3, bitmap 453 chrome/browser/ui/views/create_application_shortcut_view.cc SkBitmap bitmap = icon ? icon->AsBitmap() : SkBitmap(); bitmap 454 chrome/browser/ui/views/create_application_shortcut_view.cc extensions::TabHelper::FromWebContents(web_contents_)->SetAppIcon(bitmap); bitmap 535 chrome/browser/ui/views/frame/glass_browser_frame_view.cc frame_icon = IconUtil::CreateHICONFromSkBitmap(*icon.bitmap()); bitmap 36 chrome/browser/ui/views/frame/taskbar_decorator_win.cc void SetOverlayIcon(HWND hwnd, scoped_ptr<SkBitmap> bitmap) { bitmap 45 chrome/browser/ui/views/frame/taskbar_decorator_win.cc if (bitmap.get()) { bitmap 48 chrome/browser/ui/views/frame/taskbar_decorator_win.cc if ((bitmap->width() == profiles::kAvatarIconWidth) && bitmap 49 chrome/browser/ui/views/frame/taskbar_decorator_win.cc (bitmap->height() == profiles::kAvatarIconHeight)) { bitmap 53 chrome/browser/ui/views/frame/taskbar_decorator_win.cc bitmap->extractSubset(&squarer_bitmap, SkIRect::MakeXYWH(x, 0, bitmap 58 chrome/browser/ui/views/frame/taskbar_decorator_win.cc source_bitmap = bitmap.get(); bitmap 106 chrome/browser/ui/views/frame/taskbar_decorator_win.cc scoped_ptr<SkBitmap> bitmap( bitmap 110 chrome/browser/ui/views/frame/taskbar_decorator_win.cc FROM_HERE, base::Bind(&SetOverlayIcon, hwnd, Passed(&bitmap)), true); bitmap 63 chrome/browser/ui/views/location_bar/content_setting_image_view.cc const SkBitmap& bitmap( bitmap 66 chrome/browser/ui/views/location_bar/content_setting_image_view.cc SkAutoLockPixels pixel_lock(bitmap); bitmap 68 chrome/browser/ui/views/location_bar/content_setting_image_view.cc bitmap.getColor(bitmap.width() / 2, bitmap.height() / 2); bitmap 53 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc const SkBitmap& bitmap( bitmap 56 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc SkAutoLockPixels pixel_lock(bitmap); bitmap 58 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc bitmap.getColor(bitmap.width() / 2, bitmap.height() / 2); bitmap 271 chrome/browser/ui/views/location_bar/origin_chip_view.cc const SkBitmap& bitmap( bitmap 274 chrome/browser/ui/views/location_bar/origin_chip_view.cc SkAutoLockPixels pixel_lock(bitmap); bitmap 276 chrome/browser/ui/views/location_bar/origin_chip_view.cc bitmap.getColor(bitmap.width() / 2, bitmap.height() / 2)); bitmap 169 chrome/browser/ui/views/panels/panel_view.cc scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON(app_icon)); bitmap 170 chrome/browser/ui/views/panels/panel_view.cc return bitmap.get() && bitmap 171 chrome/browser/ui/views/panels/panel_view.cc bitmap->width() == panel::kPanelAppIconSize && bitmap 172 chrome/browser/ui/views/panels/panel_view.cc bitmap->height() == panel::kPanelAppIconSize; bitmap 17 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc HBITMAP GetNativeBitmapFromSkBitmap(const SkBitmap& bitmap) { bitmap 18 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc int width = bitmap.width(); bitmap 19 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc int height = bitmap.height(); bitmap 34 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc bitmap.copyPixelsTo(bits, width * height * 4, width * 4); bitmap 95 chrome/browser/ui/views/status_icons/status_icon_win.cc icon_.Set(IconUtil::CreateHICONFromSkBitmap(*image.bitmap())); bitmap 131 chrome/browser/ui/views/status_icons/status_icon_win.cc balloon_icon_.Set(IconUtil::CreateHICONFromSkBitmap(*icon.bitmap())); bitmap 40 chrome/browser/ui/views/tab_icon_view.cc scoped_ptr<SkBitmap> bitmap( bitmap 42 chrome/browser/ui/views/tab_icon_view.cc g_default_favicon = new gfx::ImageSkia(gfx::ImageSkiaRep(*bitmap, 1.0f)); bitmap 228 chrome/browser/ui/views/tabs/tab_unittest.cc SkBitmap bitmap; bitmap 229 chrome/browser/ui/views/tabs/tab_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); bitmap 230 chrome/browser/ui/views/tabs/tab_unittest.cc bitmap.allocPixels(); bitmap 232 chrome/browser/ui/views/tabs/tab_unittest.cc data.favicon = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 488 chrome/browser/ui/views/toolbar/wrench_menu.cc SkBitmap bitmap = rep.sk_bitmap(); bitmap 491 chrome/browser/ui/views/toolbar/wrench_menu.cc bitmap.width(), bitmap.height(), 0); bitmap 494 chrome/browser/ui/views/toolbar/wrench_menu.cc bitmap.lockPixels(); bitmap 495 chrome/browser/ui/views/toolbar/wrench_menu.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 496 chrome/browser/ui/views/toolbar/wrench_menu.cc uint32* image_row = bitmap.getAddr32(0, y); bitmap 498 chrome/browser/ui/views/toolbar/wrench_menu.cc for (int x = 0; x < bitmap.width(); ++x) { bitmap 504 chrome/browser/ui/views/toolbar/wrench_menu.cc bitmap.unlockPixels(); bitmap 592 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc scoped_refptr<base::RefCountedMemory> bitmap(GetFaviconResourceBytes( bitmap 594 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc if (bitmap.get() && bitmap->size()) { bitmap 596 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc bitmap_result.bitmap_data = bitmap; bitmap 234 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc out_info->SetString("iconURL", webui::GetBitmapDataUrl(*app.icon.bitmap())); bitmap 98 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc icon_url = webui::GetBitmapDataUrl(*app_data.icon.bitmap()); bitmap 86 chrome/browser/ui/webui/chromeos/login/kiosk_autolaunch_screen_handler.cc icon_url = webui::GetBitmapDataUrl(*app.icon.bitmap()); bitmap 42 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc icon_url = webui::GetBitmapDataUrl(*app_data.icon.bitmap()); bitmap 169 chrome/browser/ui/webui/extensions/extension_icon_source.cc SkBitmap bitmap; bitmap 172 chrome/browser/ui/webui/extensions/extension_icon_source.cc bitmap = DesaturateImage(image); bitmap 174 chrome/browser/ui/webui/extensions/extension_icon_source.cc bitmap = *image; bitmap 176 chrome/browser/ui/webui/extensions/extension_icon_source.cc request->callback.Run(BitmapToMemory(&bitmap).get()); bitmap 157 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc const SkBitmap& bitmap = app_icon_color_manager_->GetIcon(extension_id); bitmap 160 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc if (!gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &bits)) bitmap 273 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc SendOldImage(webui::GetBitmapDataUrl(*previous_image_.bitmap())); bitmap 300 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::StringValue data_url(webui::GetBitmapDataUrl(*image.bitmap())); bitmap 45 chrome/browser/web_applications/web_app_win.cc SkBitmap bitmap = it->AsBitmap(); bitmap 47 chrome/browser/web_applications/web_app_win.cc SkAutoLockPixels image_lock(bitmap); bitmap 49 chrome/browser/web_applications/web_app_win.cc reinterpret_cast<const char*>(bitmap.getPixels()), bitmap.getSize()); bitmap 70 chrome/renderer/extensions/set_icon_natives.cc SkBitmap bitmap; bitmap 71 chrome/renderer/extensions/set_icon_natives.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); bitmap 72 chrome/renderer/extensions/set_icon_natives.cc if (!bitmap.allocPixels()) { bitmap 77 chrome/renderer/extensions/set_icon_natives.cc bitmap.eraseARGB(0, 0, 0, 0); bitmap 79 chrome/renderer/extensions/set_icon_natives.cc uint32_t* pixels = bitmap.getAddr32(0, 0); bitmap 95 chrome/renderer/extensions/set_icon_natives.cc IPC::WriteParam(&bitmap_pickle, bitmap); bitmap 389 chrome/renderer/pepper/pepper_pdf_host.cc const SkBitmap* bitmap = &skia::GetTopDevice(*canvas)->accessBitmap(false); bitmap 390 chrome/renderer/pepper/pepper_pdf_host.cc pixels_to_write.copyPixelsTo(bitmap->getPixels(), bitmap 391 chrome/renderer/pepper/pepper_pdf_host.cc bitmap->getSize(), bitmap 392 chrome/renderer/pepper/pepper_pdf_host.cc bitmap->rowBytes()); bitmap 275 chrome/test/base/ui_test_utils.h SkBitmap* bitmap) WARN_UNUSED_RESULT; bitmap 594 chrome/utility/chrome_content_utility_client.cc base::PlatformFile bitmap = bitmap 596 chrome/utility/chrome_content_utility_client.cc if (RenderPDFPagesToPWGRaster(pdf, settings, bitmap_settings, bitmap)) { bitmap 59 chrome/utility/extensions/unpacker.cc SkBitmap bitmap = content::DecodeImage(data, bitmap 62 chrome/utility/extensions/unpacker.cc if (bitmap.computeSize64() > kMaxImageCanvas) bitmap 64 chrome/utility/extensions/unpacker.cc return bitmap; bitmap 100 content/browser/android/content_view_render_view.cc gfx::JavaBitmap bitmap(java_bitmap); bitmap 101 content/browser/android/content_view_render_view.cc if (!compositor_ || bitmap.format() != ANDROID_BITMAP_FORMAT_RGBA_8888) bitmap 103 content/browser/android/content_view_render_view.cc return compositor_->CompositeAndReadback(bitmap.pixels(), bitmap 104 content/browser/android/content_view_render_view.cc gfx::Rect(bitmap.size())); bitmap 30 content/browser/android/overscroll_glow.cc SkBitmap bitmap = CreateSkBitmapFromJavaBitmap(gfx::JavaBitmap(jobj.obj())); bitmap 31 content/browser/android/overscroll_glow.cc if (bitmap.isNull()) bitmap 32 content/browser/android/overscroll_glow.cc return bitmap; bitmap 35 content/browser/android/overscroll_glow.cc bitmap, skia::ImageOperations::RESIZE_BOX, size.width(), size.height()); bitmap 64 content/browser/android/overscroll_glow.cc scoped_refptr<cc::Layer> CreateImageLayer(const SkBitmap& bitmap) { bitmap 66 content/browser/android/overscroll_glow.cc layer->SetBitmap(bitmap); bitmap 1679 content/browser/browser_plugin/browser_plugin_guest.cc const SkBitmap& bitmap) { bitmap 1684 content/browser/browser_plugin/browser_plugin_guest.cc callback.Run(!bitmap.empty() && !bitmap.isNull(), bitmap); bitmap 1860 content/browser/browser_plugin/browser_plugin_guest.cc GetTransportDIB(params.bitmap); bitmap 413 content/browser/browser_plugin/browser_plugin_guest.h const SkBitmap& bitmap); bitmap 805 content/browser/browser_plugin/browser_plugin_host_browsertest.cc const SkBitmap& bitmap) { bitmap 806 content/browser/browser_plugin/browser_plugin_host_browsertest.cc EXPECT_EQ(expected_bitmap.width(), bitmap.width()); bitmap 807 content/browser/browser_plugin/browser_plugin_host_browsertest.cc if (expected_bitmap.width() != bitmap.width()) bitmap 809 content/browser/browser_plugin/browser_plugin_host_browsertest.cc EXPECT_EQ(expected_bitmap.height(), bitmap.height()); bitmap 810 content/browser/browser_plugin/browser_plugin_host_browsertest.cc if (expected_bitmap.height() != bitmap.height()) bitmap 812 content/browser/browser_plugin/browser_plugin_host_browsertest.cc EXPECT_EQ(expected_bitmap.config(), bitmap.config()); bitmap 813 content/browser/browser_plugin/browser_plugin_host_browsertest.cc if (expected_bitmap.config() != bitmap.config()) bitmap 817 content/browser/browser_plugin/browser_plugin_host_browsertest.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 820 content/browser/browser_plugin/browser_plugin_host_browsertest.cc for (int i = 0; i < bitmap.width() && fails < 10; ++i) { bitmap 821 content/browser/browser_plugin/browser_plugin_host_browsertest.cc for (int j = 0; j < bitmap.height() && fails < 10; ++j) { bitmap 823 content/browser/browser_plugin/browser_plugin_host_browsertest.cc SkColor color = bitmap.getColor(i, j); bitmap 861 content/browser/browser_plugin/browser_plugin_host_browsertest.cc const SkBitmap& bitmap) { bitmap 864 content/browser/browser_plugin/browser_plugin_host_browsertest.cc CompareSkBitmaps(expected_bitmap, bitmap); bitmap 517 content/browser/devtools/renderer_overrides_handler.cc const SkBitmap& bitmap) { bitmap 531 content/browser/devtools/renderer_overrides_handler.cc SkAutoLockPixels lock_image(bitmap); bitmap 535 content/browser/devtools/renderer_overrides_handler.cc reinterpret_cast<unsigned char*>(bitmap.getAddr32(0, 0)), bitmap 537 content/browser/devtools/renderer_overrides_handler.cc gfx::Size(bitmap.width(), bitmap.height()), bitmap 538 content/browser/devtools/renderer_overrides_handler.cc bitmap.width() * bitmap.bytesPerPixel(), bitmap 542 content/browser/devtools/renderer_overrides_handler.cc reinterpret_cast<unsigned char*>(bitmap.getAddr32(0, 0)), bitmap 544 content/browser/devtools/renderer_overrides_handler.cc bitmap.width(), bitmap 545 content/browser/devtools/renderer_overrides_handler.cc bitmap.height(), bitmap 546 content/browser/devtools/renderer_overrides_handler.cc bitmap.width() * bitmap.bytesPerPixel(), bitmap 88 content/browser/devtools/renderer_overrides_handler.h const SkBitmap& bitmap); bitmap 46 content/browser/frame_host/navigation_controller_impl_unittest.cc SkBitmap bitmap; bitmap 47 content/browser/frame_host/navigation_controller_impl_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 1, 1); bitmap 48 content/browser/frame_host/navigation_controller_impl_unittest.cc bitmap.allocPixels(); bitmap 49 content/browser/frame_host/navigation_controller_impl_unittest.cc bitmap.eraseColor(color); bitmap 50 content/browser/frame_host/navigation_controller_impl_unittest.cc return gfx::Image::CreateFrom1xBitmap(bitmap); bitmap 81 content/browser/frame_host/navigation_controller_impl_unittest.cc SkBitmap bitmap; bitmap 82 content/browser/frame_host/navigation_controller_impl_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 1, 1); bitmap 83 content/browser/frame_host/navigation_controller_impl_unittest.cc bitmap.allocPixels(); bitmap 84 content/browser/frame_host/navigation_controller_impl_unittest.cc bitmap.eraseRGB(0, 0, 0); bitmap 86 content/browser/frame_host/navigation_controller_impl_unittest.cc OnScreenshotTaken(entry->GetUniqueID(), true, bitmap); bitmap 35 content/browser/frame_host/navigation_entry_screenshot_manager.cc void EncodeScreenshot(const SkBitmap& bitmap, base::Closure callback) { bitmap 39 content/browser/frame_host/navigation_entry_screenshot_manager.cc bitmap), bitmap 53 content/browser/frame_host/navigation_entry_screenshot_manager.cc void EncodeOnWorker(const SkBitmap& bitmap) { bitmap 58 content/browser/frame_host/navigation_entry_screenshot_manager.cc bitmap.width(), bitmap 59 content/browser/frame_host/navigation_entry_screenshot_manager.cc bitmap.height(), bitmap 67 content/browser/frame_host/navigation_entry_screenshot_manager.cc canvas.drawBitmap(bitmap, SK_Scalar1, SK_Scalar1, &paint); bitmap 155 content/browser/frame_host/navigation_entry_screenshot_manager.cc const SkBitmap& bitmap) { bitmap 171 content/browser/frame_host/navigation_entry_screenshot_manager.cc if (!success || bitmap.empty() || bitmap.isNull()) { bitmap 179 content/browser/frame_host/navigation_entry_screenshot_manager.cc bitmap, bitmap 54 content/browser/frame_host/navigation_entry_screenshot_manager.h const SkBitmap& bitmap); bitmap 297 content/browser/media/capture/web_contents_video_capture_device.cc const SkBitmap& bitmap); bitmap 748 content/browser/media/capture/web_contents_video_capture_device.cc const SkBitmap& bitmap) { bitmap 758 content/browser/media/capture/web_contents_video_capture_device.cc &RenderVideoFrame, bitmap, target, bitmap 58 content/browser/renderer_host/backing_store.h TransportDIB::Id bitmap, bitmap 93 content/browser/renderer_host/backing_store_aura.cc TransportDIB::Id bitmap, bitmap 113 content/browser/renderer_host/backing_store_aura.cc TransportDIB* dib = process->GetTransportDIB(bitmap); bitmap 43 content/browser/renderer_host/backing_store_aura.h TransportDIB::Id bitmap, bitmap 314 content/browser/renderer_host/backing_store_gtk.cc TransportDIB* bitmap, bitmap 324 content/browser/renderer_host/backing_store_gtk.cc pixmap_gc_, static_cast<uint8*>(bitmap->memory()), bitmap 346 content/browser/renderer_host/backing_store_gtk.cc TransportDIB::Id bitmap, bitmap 369 content/browser/renderer_host/backing_store_gtk.cc TransportDIB* dib = process->GetTransportDIB(bitmap); bitmap 602 content/browser/renderer_host/backing_store_gtk.cc const SkBitmap& bitmap = output->GetBitmap(); bitmap 603 content/browser/renderer_host/backing_store_gtk.cc SkAutoLockPixels alp(bitmap); bitmap 608 content/browser/renderer_host/backing_store_gtk.cc uint32* dest_row = bitmap.getAddr32(0, y); bitmap 61 content/browser/renderer_host/backing_store_gtk.h TransportDIB::Id bitmap, bitmap 76 content/browser/renderer_host/backing_store_gtk.h void PaintRectWithoutXrender(TransportDIB* bitmap, bitmap 38 content/browser/renderer_host/backing_store_mac.h TransportDIB::Id bitmap, bitmap 197 content/browser/renderer_host/backing_store_manager.cc TransportDIB::Id bitmap, bitmap 221 content/browser/renderer_host/backing_store_manager.cc backing_store->PaintToBackingStore(host->GetProcess(), bitmap, bitmap 56 content/browser/renderer_host/backing_store_manager.h TransportDIB::Id bitmap, bitmap 251 content/browser/renderer_host/clipboard_message_filter.cc SkBitmap bitmap = GetClipboard()->ReadImage(type); bitmap 257 content/browser/renderer_host/clipboard_message_filter.cc &ClipboardMessageFilter::OnReadImageReply, this, bitmap, reply_msg)); bitmap 259 content/browser/renderer_host/clipboard_message_filter.cc OnReadImageReply(bitmap, reply_msg); bitmap 264 content/browser/renderer_host/clipboard_message_filter.cc const SkBitmap& bitmap, IPC::Message* reply_msg) { bitmap 267 content/browser/renderer_host/clipboard_message_filter.cc if (!bitmap.isNull()) { bitmap 269 content/browser/renderer_host/clipboard_message_filter.cc if (gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, false, &png_data)) { bitmap 54 content/browser/renderer_host/clipboard_message_filter.h void OnReadImageReply(const SkBitmap& bitmap, IPC::Message* reply_msg); bitmap 112 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc SkBitmap bitmap; bitmap 113 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height()); bitmap 114 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc CHECK(bitmap.allocPixels()); bitmap 115 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc SkAutoLockPixels lock_bitmap(bitmap); bitmap 116 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc bitmap.eraseColor(SK_ColorGRAY); bitmap 118 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc uint32_t* p = bitmap.getAddr32(0, y); bitmap 128 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc return bitmap; bitmap 132 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc GLuint CreateTextureWithImage(const SkBitmap& bitmap) { bitmap 137 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc SkAutoLockPixels lock_bitmap(bitmap); bitmap 139 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc kGLTextureTarget, 0, GL_RGBA, bitmap.width(), bitmap.height(), 0, bitmap 140 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, bitmap.getPixels())); bitmap 104 content/browser/renderer_host/compositor_impl_android.cc const cc::UIResourceBitmap& bitmap) { bitmap 105 content/browser/renderer_host/compositor_impl_android.cc return make_scoped_ptr(new TransientUIResource(host, bitmap)); bitmap 133 content/browser/renderer_host/compositor_impl_android.cc const cc::UIResourceBitmap& bitmap) bitmap 134 content/browser/renderer_host/compositor_impl_android.cc : cc::ScopedUIResource(host, bitmap), retrieved_(false) {} bitmap 439 content/browser/renderer_host/compositor_impl_android.cc const cc::UIResourceBitmap& bitmap, bitmap 448 content/browser/renderer_host/compositor_impl_android.cc TransientUIResource::Create(host_.get(), bitmap); bitmap 453 content/browser/renderer_host/compositor_impl_android.cc cc::ScopedUIResource::Create(host_.get(), bitmap); bitmap 462 content/browser/renderer_host/compositor_impl_android.cc cc::UIResourceId CompositorImpl::GenerateUIResource(const SkBitmap& bitmap, bitmap 464 content/browser/renderer_host/compositor_impl_android.cc return GenerateUIResourceFromUIResourceBitmap(cc::UIResourceBitmap(bitmap), bitmap 76 content/browser/renderer_host/compositor_impl_android.h virtual cc::UIResourceId GenerateUIResource(const SkBitmap& bitmap, bitmap 115 content/browser/renderer_host/compositor_impl_android.h const cc::UIResourceBitmap& bitmap, bitmap 1411 content/browser/renderer_host/render_view_host_impl.cc const SkBitmap& bitmap, bitmap 1444 content/browser/renderer_host/render_view_host_impl.cc gfx::ImageSkia image(gfx::ImageSkiaRep(bitmap, scale)); bitmap 548 content/browser/renderer_host/render_view_host_impl.h const SkBitmap& bitmap, bitmap 29 content/browser/renderer_host/render_widget_host_browsertest.cc const SkBitmap& bitmap) { bitmap 33 content/browser/renderer_host/render_widget_host_browsertest.cc const int row_bytes = bitmap.rowBytesAsPixels(); bitmap 34 content/browser/renderer_host/render_widget_host_browsertest.cc SkColor* pixels = reinterpret_cast<SkColor*>(bitmap.getPixels()); bitmap 35 content/browser/renderer_host/render_widget_host_browsertest.cc for (int i = 0; i < bitmap.width(); ++i) { bitmap 36 content/browser/renderer_host/render_widget_host_browsertest.cc for (int j = 0; j < bitmap.height(); ++j) { bitmap 1284 content/browser/renderer_host/render_widget_host_impl.cc const SkBitmap& bitmap) { bitmap 1300 content/browser/renderer_host/render_widget_host_impl.cc callback.Run(success, bitmap); bitmap 1652 content/browser/renderer_host/render_widget_host_impl.cc TransportDIB* dib = process_->GetTransportDIB(params.bitmap); bitmap 1677 content/browser/renderer_host/render_widget_host_impl.cc params.bitmap, bitmap 1950 content/browser/renderer_host/render_widget_host_impl.cc TransportDIB::Id bitmap, bitmap 1970 content/browser/renderer_host/render_widget_host_impl.cc BackingStoreManager::PrepareBackingStore(this, view_size, bitmap, bitmap_rect, bitmap 699 content/browser/renderer_host/render_widget_host_impl.h void OnSnapshot(bool success, const SkBitmap& bitmap); bitmap 711 content/browser/renderer_host/render_widget_host_impl.h bool PaintBackingStoreRect(TransportDIB::Id bitmap, bitmap 390 content/browser/renderer_host/render_widget_host_unittest.cc params->bitmap = current_update_buf_->id(); bitmap 80 content/browser/renderer_host/render_widget_host_view_android.cc scoped_ptr<SkBitmap> bitmap, bitmap 88 content/browser/renderer_host/render_widget_host_view_android.cc callback.Run(result, *bitmap); bitmap 891 content/browser/renderer_host/render_widget_host_view_android.cc SkBitmap bitmap; bitmap 892 content/browser/renderer_host/render_widget_host_view_android.cc bitmap.setConfig(config, bitmap 895 content/browser/renderer_host/render_widget_host_view_android.cc bitmap.allocPixels(); bitmap 896 content/browser/renderer_host/render_widget_host_view_android.cc SkCanvas canvas(bitmap); bitmap 901 content/browser/renderer_host/render_widget_host_view_android.cc callback.Run(true, bitmap); bitmap 1307 content/browser/renderer_host/render_widget_host_view_android.cc scoped_ptr<SkBitmap> bitmap(new SkBitmap); bitmap 1308 content/browser/renderer_host/render_widget_host_view_android.cc bitmap->setConfig(bitmap_config, bitmap 1312 content/browser/renderer_host/render_widget_host_view_android.cc if (!bitmap->allocPixels()) bitmap 1323 content/browser/renderer_host/render_widget_host_view_android.cc new SkAutoLockPixels(*bitmap)); bitmap 1324 content/browser/renderer_host/render_widget_host_view_android.cc uint8* pixels = static_cast<uint8*>(bitmap->getPixels()); bitmap 1346 content/browser/renderer_host/render_widget_host_view_android.cc base::Passed(&bitmap), bitmap 1794 content/browser/renderer_host/render_widget_host_view_aura.cc scoped_ptr<SkBitmap> bitmap, bitmap 1807 content/browser/renderer_host/render_widget_host_view_aura.cc callback.Run(result, *bitmap); bitmap 1820 content/browser/renderer_host/render_widget_host_view_aura.cc scoped_ptr<SkBitmap> bitmap(new SkBitmap); bitmap 1821 content/browser/renderer_host/render_widget_host_view_aura.cc bitmap->setConfig(config, bitmap 1824 content/browser/renderer_host/render_widget_host_view_aura.cc if (!bitmap->allocPixels()) bitmap 1833 content/browser/renderer_host/render_widget_host_view_aura.cc new SkAutoLockPixels(*bitmap)); bitmap 1834 content/browser/renderer_host/render_widget_host_view_aura.cc uint8* pixels = static_cast<uint8*>(bitmap->getPixels()); bitmap 1856 content/browser/renderer_host/render_widget_host_view_aura.cc base::Passed(&bitmap), bitmap 1882 content/browser/renderer_host/render_widget_host_view_aura.cc SkBitmap bitmap = skia::ImageOperations::Resize( bitmap 1887 content/browser/renderer_host/render_widget_host_view_aura.cc callback.Run(true, bitmap); bitmap 1969 content/browser/renderer_host/render_widget_host_view_aura.cc scoped_ptr<SkBitmap> bitmap = result->TakeBitmap(); bitmap 1976 content/browser/renderer_host/render_widget_host_view_aura.cc scaled_bitmap = skia::ImageOperations::Resize(*bitmap.get(), method, bitmap 1980 content/browser/renderer_host/render_widget_host_view_aura.cc scaled_bitmap = *bitmap.get(); bitmap 125 content/browser/renderer_host/render_widget_host_view_browsertest.cc const SkBitmap& bitmap) { bitmap 129 content/browser/renderer_host/render_widget_host_view_browsertest.cc EXPECT_FALSE(bitmap.empty()); bitmap 516 content/browser/renderer_host/render_widget_host_view_browsertest.cc const SkBitmap& bitmap) { bitmap 525 content/browser/renderer_host/render_widget_host_view_browsertest.cc EXPECT_EQ(expected_bitmap.width(), bitmap.width()); bitmap 526 content/browser/renderer_host/render_widget_host_view_browsertest.cc EXPECT_EQ(expected_bitmap.height(), bitmap.height()); bitmap 527 content/browser/renderer_host/render_widget_host_view_browsertest.cc EXPECT_EQ(expected_bitmap.config(), bitmap.config()); bitmap 529 content/browser/renderer_host/render_widget_host_view_browsertest.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 531 content/browser/renderer_host/render_widget_host_view_browsertest.cc for (int i = 0; i < bitmap.width() && fails < 10; ++i) { bitmap 532 content/browser/renderer_host/render_widget_host_view_browsertest.cc for (int j = 0; j < bitmap.height() && fails < 10; ++j) { bitmap 537 content/browser/renderer_host/render_widget_host_view_browsertest.cc SkColor color = bitmap.getColor(i, j); bitmap 585 content/browser/renderer_host/render_widget_host_view_browsertest.cc SkBitmap bitmap; bitmap 586 content/browser/renderer_host/render_widget_host_view_browsertest.cc bitmap.allocPixels(SkImageInfo::Make(video_frame->visible_rect().width(), bitmap 590 content/browser/renderer_host/render_widget_host_view_browsertest.cc bitmap.allocPixels(); bitmap 591 content/browser/renderer_host/render_widget_host_view_browsertest.cc SkCanvas canvas(bitmap); bitmap 600 content/browser/renderer_host/render_widget_host_view_browsertest.cc bitmap); bitmap 604 content/browser/renderer_host/render_widget_host_view_browsertest.cc const SkBitmap& bitmap) { bitmap 606 content/browser/renderer_host/render_widget_host_view_browsertest.cc expected_copy_from_compositing_surface_bitmap_ = bitmap; bitmap 744 content/browser/renderer_host/render_widget_host_view_browsertest.cc void SetupLeftRightBitmap(const gfx::Size& copy_size, SkBitmap* bitmap) { bitmap 745 content/browser/renderer_host/render_widget_host_view_browsertest.cc bitmap->setConfig( bitmap 747 content/browser/renderer_host/render_widget_host_view_browsertest.cc bitmap->allocPixels(); bitmap 749 content/browser/renderer_host/render_widget_host_view_browsertest.cc bitmap->eraseARGB(255, 0, 255, 255); bitmap 752 content/browser/renderer_host/render_widget_host_view_browsertest.cc SkAutoLockPixels lock(*bitmap); bitmap 755 content/browser/renderer_host/render_widget_host_view_browsertest.cc *(bitmap->getAddr32(copy_size.width() / 2 + i, j)) = bitmap 26 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc SkBitmap bitmap; bitmap 27 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 1, 1); bitmap 28 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc bitmap.allocPixels(); bitmap 29 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc bitmap.eraseColor(SK_ColorWHITE); bitmap 30 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc return gfx::Image::CreateFrom1xBitmap(bitmap); bitmap 34 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc SkBitmap bitmap; bitmap 35 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 1, 1); bitmap 36 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc bitmap.allocPixels(); bitmap 37 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc bitmap.eraseColor(SK_ColorWHITE); bitmap 39 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &png_data); bitmap 386 content/browser/web_contents/web_contents_view_gtk.cc *image.bitmap(), image_offset)) { bitmap 80 content/child/child_shared_bitmap_manager.cc void ChildSharedBitmapManager::FreeSharedMemory(cc::SharedBitmap* bitmap) { bitmap 82 content/child/child_shared_bitmap_manager.cc sender_->Send(new ChildProcessHostMsg_DeletedSharedBitmap(bitmap->id())); bitmap 83 content/child/child_shared_bitmap_manager.cc delete bitmap->memory(); bitmap 30 content/child/child_shared_bitmap_manager.h void FreeSharedMemory(cc::SharedBitmap* bitmap); bitmap 85 content/common/common_param_traits_unittest.cc SkBitmap bitmap; bitmap 87 content/common/common_param_traits_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 5); bitmap 88 content/common/common_param_traits_unittest.cc bitmap.allocPixels(); bitmap 89 content/common/common_param_traits_unittest.cc memset(bitmap.getPixels(), 'A', bitmap.getSize()); bitmap 92 content/common/common_param_traits_unittest.cc IPC::ParamTraits<SkBitmap>::Write(&msg, bitmap); bitmap 98 content/common/common_param_traits_unittest.cc EXPECT_EQ(bitmap.config(), output.config()); bitmap 99 content/common/common_param_traits_unittest.cc EXPECT_EQ(bitmap.width(), output.width()); bitmap 100 content/common/common_param_traits_unittest.cc EXPECT_EQ(bitmap.height(), output.height()); bitmap 101 content/common/common_param_traits_unittest.cc EXPECT_EQ(bitmap.rowBytes(), output.rowBytes()); bitmap 102 content/common/common_param_traits_unittest.cc EXPECT_EQ(bitmap.getSize(), output.getSize()); bitmap 103 content/common/common_param_traits_unittest.cc EXPECT_EQ(memcmp(bitmap.getPixels(), output.getPixels(), bitmap.getSize()), bitmap 115 content/common/common_param_traits_unittest.cc const size_t bogus_pixels_size = bitmap.getSize() * 2; bitmap 229 content/common/cursors/webcursor.cc void WebCursor::SetCustomData(const SkBitmap& bitmap) { bitmap 230 content/common/cursors/webcursor.cc if (bitmap.empty()) bitmap 234 content/common/cursors/webcursor.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 235 content/common/cursors/webcursor.cc custom_data_.resize(bitmap.getSize()); bitmap 237 content/common/cursors/webcursor.cc memcpy(&custom_data_[0], bitmap.getPixels(), bitmap.getSize()); bitmap 238 content/common/cursors/webcursor.cc custom_size_.set_width(bitmap.width()); bitmap 239 content/common/cursors/webcursor.cc custom_size_.set_height(bitmap.height()); bitmap 27 content/common/cursors/webcursor_aurax11.cc SkBitmap bitmap; bitmap 28 content/common/cursors/webcursor_aurax11.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 30 content/common/cursors/webcursor_aurax11.cc bitmap.allocPixels(); bitmap 31 content/common/cursors/webcursor_aurax11.cc memcpy(bitmap.getAddr32(0, 0), custom_data_.data(), custom_data_.size()); bitmap 34 content/common/cursors/webcursor_aurax11.cc device_scale_factor_, rotation_, &bitmap, &hotspot); bitmap 36 content/common/cursors/webcursor_aurax11.cc XcursorImage* image = ui::SkBitmapToXcursorImage(&bitmap, hotspot); bitmap 175 content/common/cursors/webcursor_gtk.cc SkBitmap bitmap; bitmap 176 content/common/cursors/webcursor_gtk.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 178 content/common/cursors/webcursor_gtk.cc bitmap.allocPixels(); bitmap 179 content/common/cursors/webcursor_gtk.cc memcpy(bitmap.getAddr32(0, 0), custom_data_.data(), custom_data_.size()); bitmap 181 content/common/cursors/webcursor_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); bitmap 18 content/common/cursors/webcursor_ozone.cc SkBitmap bitmap; bitmap 19 content/common/cursors/webcursor_ozone.cc ImageFromCustomData(&bitmap); bitmap 22 content/common/cursors/webcursor_ozone.cc device_scale_factor_, rotation_, &bitmap, &hotspot); bitmap 24 content/common/cursors/webcursor_ozone.cc return ui::CursorFactoryOzone::GetInstance()->CreateImageCursor(bitmap, bitmap 86 content/common/gpu/client/gl_helper_benchmark.cc SkBitmap* bitmap) { bitmap 92 content/common/gpu/client/gl_helper_benchmark.cc compressed.size(), bitmap)); bitmap 96 content/common/gpu/client/gl_helper_benchmark.cc void SaveToFile(SkBitmap* bitmap, const base::FilePath& filename) { bitmap 99 content/common/gpu/client/gl_helper_benchmark.cc static_cast<unsigned char*>(bitmap->getPixels()), bitmap 101 content/common/gpu/client/gl_helper_benchmark.cc gfx::Size(bitmap->width(), bitmap->height()), bitmap 102 content/common/gpu/client/gl_helper_benchmark.cc static_cast<int>(bitmap->rowBytes()), bitmap 514 content/common/gpu/client/gl_helper_unittest.cc void FlipSKBitmap(SkBitmap* bitmap) { bitmap 516 content/common/gpu/client/gl_helper_unittest.cc int bottom_line = bitmap->height() - 1; bitmap 518 content/common/gpu/client/gl_helper_unittest.cc for (int x = 0; x < bitmap->width(); x++) { bitmap 519 content/common/gpu/client/gl_helper_unittest.cc std::swap(*bitmap->getAddr32(x, top_line), bitmap 520 content/common/gpu/client/gl_helper_unittest.cc *bitmap->getAddr32(x, bottom_line)); bitmap 35 content/common/host_shared_bitmap_manager.cc cc::SharedBitmap* bitmap) {} bitmap 77 content/common/host_shared_bitmap_manager.cc scoped_ptr<cc::SharedBitmap> bitmap(new cc::SharedBitmap( bitmap 80 content/common/host_shared_bitmap_manager.cc return bitmap.Pass(); bitmap 21 content/common/host_shared_bitmap_manager_unittest.cc scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory()); bitmap 22 content/common/host_shared_bitmap_manager_unittest.cc bitmap->CreateAndMapAnonymous(size_in_bytes); bitmap 23 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap->memory(), 0xff, size_in_bytes); bitmap 27 content/common/host_shared_bitmap_manager_unittest.cc bitmap->ShareToProcess(base::GetCurrentProcessHandle(), &handle); bitmap 53 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), 4), 0); bitmap 63 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), size_in_bytes), bitmap 68 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap->memory(), 0, size_in_bytes); bitmap 70 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), size_in_bytes), bitmap 72 content/common/host_shared_bitmap_manager_unittest.cc bitmap.reset(); bitmap 86 content/common/host_shared_bitmap_manager_unittest.cc scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory(handle, false)); bitmap 87 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_TRUE(bitmap->Map(size_in_bytes)); bitmap 88 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap->memory(), 0xff, size_in_bytes); bitmap 94 content/common/host_shared_bitmap_manager_unittest.cc memcmp(bitmap->memory(), shared_bitmap->pixels(), size_in_bytes) == 0); bitmap 101 content/common/host_shared_bitmap_manager_unittest.cc scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory()); bitmap 102 content/common/host_shared_bitmap_manager_unittest.cc bitmap->CreateAndMapAnonymous(size_in_bytes); bitmap 103 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap->memory(), 0xff, size_in_bytes); bitmap 107 content/common/host_shared_bitmap_manager_unittest.cc bitmap->ShareToProcess(base::GetCurrentProcessHandle(), &handle); bitmap 122 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), size_in_bytes), bitmap 135 content/common/host_shared_bitmap_manager_unittest.cc scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory()); bitmap 136 content/common/host_shared_bitmap_manager_unittest.cc bitmap->CreateAndMapAnonymous(size_in_bytes); bitmap 137 content/common/host_shared_bitmap_manager_unittest.cc memset(bitmap->memory(), 0xff, size_in_bytes); bitmap 141 content/common/host_shared_bitmap_manager_unittest.cc bitmap->ShareToProcess(base::GetCurrentProcessHandle(), &handle); bitmap 155 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), size_in_bytes), bitmap 403 content/common/view_messages.h IPC_STRUCT_MEMBER(TransportDIB::Id, bitmap) bitmap 243 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java Bitmap bitmap = Bitmap.createBitmap(getWidth(), getHeight(), bitmap 245 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java if (nativeCompositeToBitmap(mNativeContentViewRenderView, bitmap)) { bitmap 246 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java canvas.drawBitmap(bitmap, 0, 0, null); bitmap 342 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java private native boolean nativeCompositeToBitmap(long nativeContentViewRenderView, Bitmap bitmap); bitmap 244 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java public void setBitmap(Bitmap bitmap) { bitmap 249 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java mZoomedBitmap = bitmap; bitmap 78 content/public/browser/android/compositor.h virtual cc::UIResourceId GenerateUIResource(const SkBitmap& bitmap, bitmap 31 content/public/common/common_param_traits.cc void InitSkBitmapDataForTransfer(const SkBitmap& bitmap) { bitmap 32 content/public/common/common_param_traits.cc fConfig = bitmap.config(); bitmap 33 content/public/common/common_param_traits.cc fWidth = bitmap.width(); bitmap 34 content/public/common/common_param_traits.cc fHeight = bitmap.height(); bitmap 38 content/public/common/common_param_traits.cc bool InitSkBitmapFromData(SkBitmap* bitmap, const char* pixels, bitmap 41 content/public/common/common_param_traits.cc bitmap->setConfig(fConfig, fWidth, fHeight, 0); bitmap 42 content/public/common/common_param_traits.cc if (!bitmap->allocPixels()) bitmap 44 content/public/common/common_param_traits.cc if (total_pixels != bitmap->getSize()) bitmap 46 content/public/common/common_param_traits.cc memcpy(bitmap->getPixels(), pixels, total_pixels); bitmap 37 content/renderer/browser_plugin/browser_plugin_backing_store.cc void* bitmap) { bitmap 51 content/renderer/browser_plugin/browser_plugin_backing_store.cc if (!bitmap) bitmap 59 content/renderer/browser_plugin/browser_plugin_backing_store.cc sk_bitmap.setPixels(bitmap); bitmap 41 content/renderer/browser_plugin/browser_plugin_backing_store.h void* bitmap); bitmap 546 content/renderer/child_frame_compositing_helper.cc scoped_ptr<SkBitmap> bitmap; bitmap 548 content/renderer/child_frame_compositing_helper.cc bitmap = result->TakeBitmap(); bitmap 551 content/renderer/child_frame_compositing_helper.cc if (bitmap) { bitmap 553 content/renderer/child_frame_compositing_helper.cc skia::ImageOperations::Resize(*bitmap, bitmap 49 content/renderer/fetchers/image_resource_fetcher.cc SkBitmap bitmap; bitmap 53 content/renderer/fetchers/image_resource_fetcher.cc bitmap = decoder.Decode( bitmap 63 content/renderer/fetchers/image_resource_fetcher.cc callback.Run(this, bitmap); bitmap 149 content/renderer/gpu/compositor_software_output_device.cc SkBitmap bitmap; bitmap 150 content/renderer/gpu/compositor_software_output_device.cc bitmap.installPixels(info, current->memory(), info.minRowBytes()); bitmap 151 content/renderer/gpu/compositor_software_output_device.cc canvas_ = skia::AdoptRef(new SkCanvas(bitmap)); bitmap 464 content/renderer/gpu/render_widget_compositor.cc void RenderWidgetCompositor::setOverhangBitmap(const SkBitmap& bitmap) { bitmap 465 content/renderer/gpu/render_widget_compositor.cc layer_tree_host_->SetOverhangBitmap(bitmap); bitmap 90 content/renderer/gpu/render_widget_compositor.h virtual void setOverhangBitmap(const SkBitmap& bitmap); bitmap 901 content/renderer/media/android/webmediaplayer_android.cc SkBitmap bitmap; bitmap 902 content/renderer/media/android/webmediaplayer_android.cc bitmap.setConfig( bitmap 904 content/renderer/media/android/webmediaplayer_android.cc bitmap.allocPixels(); bitmap 907 content/renderer/media/android/webmediaplayer_android.cc SkCanvas canvas(bitmap); bitmap 976 content/renderer/media/android/webmediaplayer_android.cc SkAutoLockPixels lock(bitmap); bitmap 980 content/renderer/media/android/webmediaplayer_android.cc bitmap.width(), bitmap 981 content/renderer/media/android/webmediaplayer_android.cc bitmap.height(), bitmap 985 content/renderer/media/android/webmediaplayer_android.cc bitmap.getPixels()); bitmap 296 content/renderer/media/video_capture_impl.cc static void NullReadPixelsCB(const SkBitmap& bitmap) { NOTIMPLEMENTED(); } bitmap 54 content/renderer/media/webmediaplayer_ms.cc SkBitmap bitmap; bitmap 55 content/renderer/media/webmediaplayer_ms.cc bitmap.allocN32Pixels(frame->visible_rect().width(), bitmap 57 content/renderer/media/webmediaplayer_ms.cc frame->ReadPixelsFromNativeTexture(bitmap); bitmap 60 content/renderer/media/webmediaplayer_ms.cc reinterpret_cast<uint8*>(bitmap.getPixels()), bitmap 61 content/renderer/media/webmediaplayer_ms.cc bitmap.rowBytes(), bitmap 74 content/renderer/media/webrtc/video_destination_handler.cc const SkBitmap* bitmap = image_data->GetMappedBitmap(); bitmap 75 content/renderer/media/webrtc/video_destination_handler.cc if (!bitmap) { bitmap 81 content/renderer/media/webrtc/video_destination_handler.cc const gfx::Size frame_size(bitmap->width(), bitmap->height()); bitmap 110 content/renderer/media/webrtc/video_destination_handler.cc libyuv::BGRAToI420(reinterpret_cast<uint8*>(bitmap->getPixels()), bitmap 111 content/renderer/media/webrtc/video_destination_handler.cc bitmap->rowBytes(), bitmap 715 content/renderer/npapi/webplugin_delegate_proxy.cc const SkBitmap& bitmap = bitmap 721 content/renderer/npapi/webplugin_delegate_proxy.cc canvas->drawBitmapRect(bitmap, bitmap 69 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc void PaintToWebCanvas(SkBitmap* bitmap) { bitmap 70 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc scoped_ptr<WebCanvas> canvas(new WebCanvas(*bitmap)); bitmap 76 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc void ResetPageBitmap(SkBitmap* bitmap) { bitmap 80 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc if (bitmap->isNull() || bitmap->width() != width || bitmap 81 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc bitmap->height() != height) { bitmap 82 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc bitmap->setConfig(SkBitmap::kARGB_8888_Config, width, height); bitmap 83 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc bitmap->allocPixels(); bitmap 85 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc bitmap->eraseColor(0); bitmap 2603 content/renderer/pepper/pepper_plugin_instance_impl.cc const SkBitmap* bitmap = image_data->GetMappedBitmap(); bitmap 2606 content/renderer/pepper/pepper_plugin_instance_impl.cc if (!bitmap->copyTo(&custom_cursor->customImage.getSkBitmap())) { bitmap 171 content/renderer/pepper/pepper_video_source_host.cc const SkBitmap* bitmap = image_data->GetMappedBitmap(); bitmap 172 content/renderer/pepper/pepper_video_source_host.cc if (!bitmap) { bitmap 176 content/renderer/pepper/pepper_video_source_host.cc uint8_t* bitmap_pixels = static_cast<uint8_t*>(bitmap->getPixels()); bitmap 182 content/renderer/pepper/pepper_video_source_host.cc size_t bitmap_size = bitmap->getSize(); bitmap 186 content/renderer/pepper/pepper_video_source_host.cc bitmap->rowBytes()); bitmap 224 content/renderer/pepper/ppb_image_data_impl.cc const SkBitmap& bitmap = bitmap 228 content/renderer/pepper/ppb_image_data_impl.cc const_cast<SkBitmap&>(bitmap).setAlphaType(kPremul_SkAlphaType); bitmap 230 content/renderer/pepper/ppb_image_data_impl.cc bitmap.lockPixels(); bitmap 231 content/renderer/pepper/ppb_image_data_impl.cc return bitmap.getAddr32(0, 0); bitmap 409 content/renderer/render_thread_impl.h void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); bitmap 1627 content/renderer/render_widget.cc pending_update_params_->bitmap = dib->id(); bitmap 1664 content/renderer/render_widget.cc pending_update_params_->bitmap = current_paint_buf_->id(); bitmap 2267 content/renderer/render_widget.cc const SkBitmap& bitmap = skia::GetTopDevice(*canvas)->accessBitmap(false); bitmap 2268 content/renderer/render_widget.cc if (!bitmap.copyTo(snapshot, kPMColor_SkColorType)) bitmap 313 content/renderer/render_widget.h virtual void SetBackground(const SkBitmap& bitmap); bitmap 533 content/renderer/render_widget.h bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap); bitmap 156 content/renderer/skia_benchmarking_extension.cc SkBitmap bitmap; bitmap 157 content/renderer/skia_benchmarking_extension.cc if (!bitmap.setConfig(SkBitmap::kARGB_8888_Config, snapped_clip.width(), bitmap 160 content/renderer/skia_benchmarking_extension.cc if (!bitmap.allocPixels()) bitmap 162 content/renderer/skia_benchmarking_extension.cc bitmap.eraseARGB(0, 0, 0, 0); bitmap 164 content/renderer/skia_benchmarking_extension.cc SkCanvas canvas(bitmap); bitmap 185 content/renderer/skia_benchmarking_extension.cc blink::WebArrayBuffer::create(bitmap.getSize(), 1); bitmap 186 content/renderer/skia_benchmarking_extension.cc uint32* packed_pixels = reinterpret_cast<uint32*>(bitmap.getPixels()); bitmap 189 content/renderer/skia_benchmarking_extension.cc for (size_t i = 0; i < bitmap.getSize(); i += 4) { bitmap 265 content/renderer/skia_benchmarking_extension.cc SkBitmap bitmap; bitmap 266 content/renderer/skia_benchmarking_extension.cc bitmap.allocN32Pixels(bounds.width(), bounds.height()); bitmap 267 content/renderer/skia_benchmarking_extension.cc SkCanvas bitmap_canvas(bitmap); bitmap 157 content/renderer/webclipboard_impl.cc const SkBitmap& bitmap = image.getSkBitmap(); bitmap 158 content/renderer/webclipboard_impl.cc SkAutoLockPixels locked(bitmap); bitmap 159 content/renderer/webclipboard_impl.cc scw.WriteBitmapFromPixels(bitmap.getPixels(), image.size()); bitmap 298 content/shell/renderer/test_runner/TestPlugin.cpp scoped_ptr<base::SharedMemory> bitmap = bitmap 300 content/shell/renderer/test_runner/TestPlugin.cpp if (!bitmap->Map(bytes)) { bitmap 303 content/shell/renderer/test_runner/TestPlugin.cpp drawSceneSoftware(bitmap->memory(), bytes); bitmap 305 content/shell/renderer/test_runner/TestPlugin.cpp bitmap.get(), gfx::Size(m_rect.width, m_rect.height)); bitmap 306 content/shell/renderer/test_runner/TestPlugin.cpp m_sharedBitmap = bitmap.Pass(); bitmap 331 content/shell/renderer/test_runner/TestPlugin.cpp static void releaseSharedMemory(scoped_ptr<base::SharedMemory> bitmap, bitmap 437 content/shell/renderer/test_runner/TestPlugin.cpp SkBitmap bitmap; bitmap 438 content/shell/renderer/test_runner/TestPlugin.cpp bitmap.setConfig(SkBitmap::kARGB_8888_Config, m_rect.width, m_rect.height); bitmap 439 content/shell/renderer/test_runner/TestPlugin.cpp bitmap.setPixels(memory); bitmap 440 content/shell/renderer/test_runner/TestPlugin.cpp SkCanvas canvas(bitmap); bitmap 106 content/shell/renderer/webkit_test_runner.cc void MakeBitmapOpaque(SkBitmap* bitmap) { bitmap 107 content/shell/renderer/webkit_test_runner.cc SkAutoLockPixels lock(*bitmap); bitmap 108 content/shell/renderer/webkit_test_runner.cc DCHECK_EQ(bitmap->config(), SkBitmap::kARGB_8888_Config); bitmap 109 content/shell/renderer/webkit_test_runner.cc for (int y = 0; y < bitmap->height(); ++y) { bitmap 110 content/shell/renderer/webkit_test_runner.cc uint32_t* row = bitmap->getAddr32(0, y); bitmap 111 content/shell/renderer/webkit_test_runner.cc for (int x = 0; x < bitmap->width(); ++x) bitmap 119 content/shell/renderer/webkit_test_runner.cc const SkBitmap& bitmap = device->accessBitmap(false); bitmap 120 content/shell/renderer/webkit_test_runner.cc const bool success = bitmap.copyTo(snapshot, kPMColor_SkColorType); bitmap 96 content/test/mock_webclipboard_impl.cc const SkBitmap& bitmap = m_image.getSkBitmap(); bitmap 97 content/test/mock_webclipboard_impl.cc SkAutoLockPixels lock(bitmap); bitmap 98 content/test/mock_webclipboard_impl.cc gfx::PNGCodec::Encode(static_cast<unsigned char*>(bitmap.getPixels()), bitmap 104 content/test/mock_webclipboard_impl.cc gfx::Size(bitmap.width(), bitmap.height()), bitmap 105 content/test/mock_webclipboard_impl.cc bitmap.rowBytes(), bitmap 19 content/test/test_backing_store.cc TransportDIB::Id bitmap, bitmap 22 content/test/test_backing_store.h TransportDIB::Id bitmap, bitmap 80 media/filters/skcanvas_video_renderer.cc const SkBitmap& bitmap = canvas->getDevice()->accessBitmap(true); bitmap 118 media/filters/skcanvas_video_renderer.cc uint8* dest_rect_pointer = static_cast<uint8*>(bitmap.getPixels()) + bitmap 119 media/filters/skcanvas_video_renderer.cc local_dest_irect.fTop * bitmap.rowBytes() + bitmap 166 media/filters/skcanvas_video_renderer.cc bitmap.lockPixels(); bitmap 177 media/filters/skcanvas_video_renderer.cc bitmap.rowBytes(), bitmap 181 media/filters/skcanvas_video_renderer.cc bitmap.unlockPixels(); bitmap 189 media/filters/skcanvas_video_renderer.cc SkBitmap* bitmap) { bitmap 198 media/filters/skcanvas_video_renderer.cc if (bitmap->isNull() || bitmap 199 media/filters/skcanvas_video_renderer.cc bitmap->width() != video_frame->visible_rect().width() || bitmap 200 media/filters/skcanvas_video_renderer.cc bitmap->height() != video_frame->visible_rect().height()) { bitmap 201 media/filters/skcanvas_video_renderer.cc bitmap->setConfig(SkBitmap::kARGB_8888_Config, bitmap 204 media/filters/skcanvas_video_renderer.cc bitmap->allocPixels(); bitmap 205 media/filters/skcanvas_video_renderer.cc bitmap->setIsVolatile(true); bitmap 208 media/filters/skcanvas_video_renderer.cc bitmap->lockPixels(); bitmap 234 media/filters/skcanvas_video_renderer.cc static_cast<uint8*>(bitmap->getPixels()), bitmap 239 media/filters/skcanvas_video_renderer.cc bitmap->rowBytes(), bitmap 248 media/filters/skcanvas_video_renderer.cc static_cast<uint8*>(bitmap->getPixels()), bitmap 253 media/filters/skcanvas_video_renderer.cc bitmap->rowBytes(), bitmap 263 media/filters/skcanvas_video_renderer.cc static_cast<uint8*>(bitmap->getPixels()), bitmap 269 media/filters/skcanvas_video_renderer.cc bitmap->rowBytes(), bitmap 275 media/filters/skcanvas_video_renderer.cc video_frame->ReadPixelsFromNativeTexture(*bitmap); bitmap 282 media/filters/skcanvas_video_renderer.cc bitmap->notifyPixelsChanged(); bitmap 283 media/filters/skcanvas_video_renderer.cc bitmap->unlockPixels(); bitmap 26 media/filters/skcanvas_video_renderer_unittest.cc SkBitmap bitmap; bitmap 27 media/filters/skcanvas_video_renderer_unittest.cc if (!bitmap.allocN32Pixels(1, 1)) bitmap 29 media/filters/skcanvas_video_renderer_unittest.cc if (!canvas->readPixels(&bitmap, x, y)) bitmap 31 media/filters/skcanvas_video_renderer_unittest.cc return bitmap.getColor(0, 0); bitmap 83 media/filters/skcanvas_video_renderer_unittest.cc SkBitmap bitmap; bitmap 85 media/filters/skcanvas_video_renderer_unittest.cc bitmap.allocPixels(SkImageInfo::MakeN32(width, height, alpha_type)); bitmap 87 media/filters/skcanvas_video_renderer_unittest.cc bitmap.eraseColor(0); bitmap 88 media/filters/skcanvas_video_renderer_unittest.cc return bitmap; bitmap 170 media/video/capture/fake_video_capture_device.cc SkBitmap bitmap; bitmap 171 media/video/capture/fake_video_capture_device.cc bitmap.setConfig(SkBitmap::kA8_Config, bitmap 175 media/video/capture/fake_video_capture_device.cc bitmap.setPixels(fake_frame_.get()); bitmap 176 media/video/capture/fake_video_capture_device.cc SkCanvas canvas(bitmap); bitmap 26 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap bitmap(80, true); bitmap 30 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(80, bitmap.Size()); bitmap 31 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(3, bitmap.ArraySize()); bitmap 34 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(0U, bitmap.GetMapElement(1)); bitmap 35 net/disk_cache/blockfile/bitmap_unittest.cc bitmap.SetMapElement(1, kValue); bitmap 36 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(kValue, bitmap.GetMapElement(1)); bitmap 39 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_TRUE(bitmap.Get(48)); bitmap 40 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_FALSE(bitmap.Get(49)); bitmap 41 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_FALSE(bitmap.Get(50)); bitmap 42 net/disk_cache/blockfile/bitmap_unittest.cc bitmap.Set(49, true); bitmap 43 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_TRUE(bitmap.Get(48)); bitmap 44 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_TRUE(bitmap.Get(49)); bitmap 45 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_FALSE(bitmap.Get(50)); bitmap 46 net/disk_cache/blockfile/bitmap_unittest.cc bitmap.Set(49, false); bitmap 47 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_TRUE(bitmap.Get(48)); bitmap 48 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_FALSE(bitmap.Get(49)); bitmap 49 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_FALSE(bitmap.Get(50)); bitmap 52 net/disk_cache/blockfile/bitmap_unittest.cc bitmap.Set(i, (i % 7) == 0); bitmap 54 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(bitmap.Get(i), (i % 7) == 0); bitmap 96 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap bitmap(kMapSize * 8, false); bitmap 97 net/disk_cache/blockfile/bitmap_unittest.cc bitmap.SetMap(reinterpret_cast<uint32*>(local_map), kMapSize / 4); bitmap 100 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_TRUE(bitmap.Get(i * 8)); bitmap 102 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_FALSE(bitmap.Get(i * 8)); bitmap 105 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(0, memcmp(local_map, bitmap.GetMap(), kMapSize)); bitmap 114 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_NE(0, memcmp(local_map, bitmap.GetMap(), kMapSize)); bitmap 236 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap bitmap(64, true); bitmap 237 net/disk_cache/blockfile/bitmap_unittest.cc bitmap.SetMapElement(0, 0x7ff10060); bitmap 241 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(5, bitmap.FindBits(&index, 63, false)); bitmap 244 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(2, bitmap.FindBits(&index, 63, true)); bitmap 248 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(2, bitmap.FindBits(&index, 63, true)); bitmap 252 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(9, bitmap.FindBits(&index, 63, false)); bitmap 257 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(1, bitmap.FindBits(&index, 63, true)); bitmap 261 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(11, bitmap.FindBits(&index, 63, true)); bitmap 265 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(0, bitmap.FindBits(&index, 63, true)); bitmap 270 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(0, bitmap.FindBits(&index, 16, true)); bitmap 274 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap bitmap(500, true); bitmap 275 net/disk_cache/blockfile/bitmap_unittest.cc bitmap.SetMapElement(10, 0xff00); bitmap 278 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(0, bitmap.FindBits(&index, 300, true)); bitmap 280 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(8, bitmap.FindBits(&index, 500, true)); bitmap 283 net/disk_cache/blockfile/bitmap_unittest.cc bitmap.SetMapElement(10, 0xff000000); bitmap 284 net/disk_cache/blockfile/bitmap_unittest.cc bitmap.SetMapElement(11, 0xff); bitmap 287 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(16, bitmap.FindBits(&index, 500, true)); bitmap 291 net/disk_cache/blockfile/bitmap_unittest.cc EXPECT_EQ(4, bitmap.FindBits(&index, 348, true)); bitmap 118 net/disk_cache/blockfile/disk_format_base.h uint32 bitmap[32]; // Bitmap representation of known children (if this bitmap 98 net/disk_cache/blockfile/disk_format_v3.h uint32 bitmap[kBaseBitmapBytes / 4]; // First page of the bitmap. bitmap 514 net/disk_cache/blockfile/index_table_v3.cc memset(params->index_bitmap->bitmap + old_main_table_bit_words, 0, bitmap 523 net/disk_cache/blockfile/index_table_v3.cc bitmap_.reset(new Bitmap(params->index_bitmap->bitmap, header_->table_len, bitmap 115 net/disk_cache/blockfile/index_table_v3_unittest.cc memcpy(result->backup_bitmap.get(), result->index_bitmap->bitmap, bitmap 128 net/disk_cache/blockfile/index_table_v3_unittest.cc memcpy(this_bitmap->bitmap, other_bitmap->bitmap, other.num_bitmap_bytes_); bitmap 99 net/disk_cache/blockfile/sparse_control.cc children_map_.SetMap(data->bitmap, num_bits / 32); bitmap 196 net/disk_cache/blockfile/sparse_control.cc child_map_(child_data_.bitmap, kNumSparseBits, kNumSparseBits / 32), bitmap 99 net/disk_cache/blockfile/sparse_control_v3.cc children_map_.SetMap(data->bitmap, num_bits / 32); bitmap 198 net/disk_cache/blockfile/sparse_control_v3.cc child_map_(child_data_.bitmap, kNumSparseBits, kNumSparseBits / 32), bitmap 216 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc void* bitmap = NULL; bitmap 217 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc PP_Resource image = CreateImageData(size2d, kOpaqueBlack, &bitmap); bitmap 232 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc uint32_t pixel_color = static_cast<uint32_t*>(bitmap)[stride * y + x]; bitmap 394 ppapi/proxy/ppb_image_data_proxy.cc const SkBitmap& bitmap = bitmap 397 ppapi/proxy/ppb_image_data_proxy.cc bitmap.lockPixels(); bitmap 398 ppapi/proxy/ppb_image_data_proxy.cc return bitmap.getAddr(0, 0); bitmap 393 printing/emf_win.cc scoped_ptr<SkBitmap> bitmap; bitmap 398 printing/emf_win.cc bitmap.reset(gfx::JPEGCodec::Decode(bits, bmih->biSizeImage)); bitmap 404 printing/emf_win.cc bitmap.reset(new SkBitmap()); bitmap 405 printing/emf_win.cc gfx::PNGCodec::Decode(bits, bmih->biSizeImage, bitmap.get()); bitmap 409 printing/emf_win.cc DCHECK(bitmap.get()); bitmap 410 printing/emf_win.cc if (bitmap.get()) { bitmap 411 printing/emf_win.cc SkAutoLockPixels lock(*bitmap.get()); bitmap 412 printing/emf_win.cc DCHECK_EQ(bitmap->config(), SkBitmap::kARGB_8888_Config); bitmap 414 printing/emf_win.cc static_cast<const uint32_t*>(bitmap->getPixels()); bitmap 420 printing/emf_win.cc gfx::CreateBitmapHeader(bitmap->width(), bitmap->height(), &bmi); bitmap 617 printing/emf_win.cc RasterBitmap bitmap(page_size); bitmap 621 printing/emf_win.cc Playback(bitmap.context(), &rect); bitmap 641 printing/emf_win.cc bitmap.context(), bitmap_rect.x(), bitmap_rect.y(), SRCCOPY); bitmap 656 printing/emf_win.cc RasterBitmap bitmap(page_bounds.size()); bitmap 660 printing/emf_win.cc ::SetWorldTransform(bitmap.context(), &xform); bitmap 668 printing/emf_win.cc HDC bitmap_dc = bitmap.context(); bitmap 70 printing/image_win.cc base::win::ScopedBitmap bitmap( bitmap 73 printing/image_win.cc DCHECK(bitmap); bitmap 74 printing/image_win.cc base::win::ScopedSelectObject select_object(hdc, bitmap); bitmap 397 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java private static void setVideoFrame(Bitmap bitmap) { bitmap 403 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java sFrameBitmap = bitmap; bitmap 261 remoting/client/jni/chromoting_jni_runtime.cc void ChromotingJniRuntime::UpdateFrameBitmap(jobject bitmap) { bitmap 265 remoting/client/jni/chromoting_jni_runtime.cc Java_JniInterface_setVideoFrame(env, bitmap); bitmap 91 remoting/client/jni/chromoting_jni_runtime.h void UpdateFrameBitmap(jobject bitmap); bitmap 172 skia/ext/analysis_canvas.cc void AnalysisCanvas::drawBitmap(const SkBitmap& bitmap, bitmap 194 skia/ext/analysis_canvas.cc void AnalysisCanvas::drawBitmapMatrix(const SkBitmap& bitmap, bitmap 201 skia/ext/analysis_canvas.cc void AnalysisCanvas::drawBitmapNine(const SkBitmap& bitmap, bitmap 209 skia/ext/analysis_canvas.cc void AnalysisCanvas::drawSprite(const SkBitmap& bitmap, bitmap 272 skia/ext/analysis_canvas.cc SkBitmap bitmap; bitmap 273 skia/ext/analysis_canvas.cc bitmap.setConfig(SkBitmap::kNo_Config, width, height); bitmap 274 skia/ext/analysis_canvas.cc return bitmap; bitmap 56 skia/ext/analysis_canvas.h virtual void drawBitmapNine(const SkBitmap& bitmap, bitmap 91 skia/ext/benchmarking_canvas.cc virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, bitmap 94 skia/ext/benchmarking_canvas.cc SkProxyCanvas::drawBitmap(bitmap, left, top, paint); bitmap 97 skia/ext/benchmarking_canvas.cc virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, bitmap 102 skia/ext/benchmarking_canvas.cc SkProxyCanvas::drawBitmapRectToRect(bitmap, src, dst, paint, flags); bitmap 105 skia/ext/benchmarking_canvas.cc virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, bitmap 108 skia/ext/benchmarking_canvas.cc SkProxyCanvas::drawBitmapMatrix(bitmap, m, paint); bitmap 111 skia/ext/benchmarking_canvas.cc virtual void drawSprite(const SkBitmap& bitmap, int left, int top, bitmap 114 skia/ext/benchmarking_canvas.cc SkProxyCanvas::drawSprite(bitmap, left, top, paint); bitmap 110 skia/ext/bitmap_platform_device_cairo.cc SkBitmap bitmap; bitmap 111 skia/ext/bitmap_platform_device_cairo.cc if (!InstallCairoSurfacePixels(&bitmap, surface, is_opaque)) { bitmap 117 skia/ext/bitmap_platform_device_cairo.cc return new BitmapPlatformDevice(bitmap, cairo); bitmap 156 skia/ext/bitmap_platform_device_cairo.cc const SkBitmap& bitmap, bitmap 158 skia/ext/bitmap_platform_device_cairo.cc : SkBitmapDevice(bitmap), bitmap 103 skia/ext/bitmap_platform_device_mac.cc SkBitmap bitmap; bitmap 106 skia/ext/bitmap_platform_device_mac.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0, bitmap 112 skia/ext/bitmap_platform_device_mac.cc bitmap.setPixels(data); bitmap 114 skia/ext/bitmap_platform_device_mac.cc if (!bitmap.allocPixels()) bitmap 116 skia/ext/bitmap_platform_device_mac.cc data = bitmap.getPixels(); bitmap 124 skia/ext/bitmap_platform_device_mac.cc bitmap.eraseARGB(255, 0, 255, 128); // bright bluish green bitmap 135 skia/ext/bitmap_platform_device_mac.cc BitmapPlatformDevice* rv = new BitmapPlatformDevice(context, bitmap); bitmap 174 skia/ext/bitmap_platform_device_mac.cc CGContextRef context, const SkBitmap& bitmap) bitmap 175 skia/ext/bitmap_platform_device_mac.cc : SkBitmapDevice(bitmap), bitmap 64 skia/ext/bitmap_platform_device_mac.h const SkBitmap& bitmap); bitmap 12 skia/ext/bitmap_platform_device_skia.cc SkBitmap bitmap; bitmap 13 skia/ext/bitmap_platform_device_skia.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0, bitmap 15 skia/ext/bitmap_platform_device_skia.cc if (bitmap.allocPixels()) { bitmap 19 skia/ext/bitmap_platform_device_skia.cc bitmap.eraseARGB(0, 0, 0, 0); bitmap 20 skia/ext/bitmap_platform_device_skia.cc return new BitmapPlatformDevice(bitmap); bitmap 37 skia/ext/bitmap_platform_device_skia.cc SkBitmap bitmap; bitmap 38 skia/ext/bitmap_platform_device_skia.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0, bitmap 41 skia/ext/bitmap_platform_device_skia.cc bitmap.setPixels(data); bitmap 42 skia/ext/bitmap_platform_device_skia.cc else if (!bitmap.allocPixels()) bitmap 45 skia/ext/bitmap_platform_device_skia.cc return new BitmapPlatformDevice(bitmap); bitmap 48 skia/ext/bitmap_platform_device_skia.cc BitmapPlatformDevice::BitmapPlatformDevice(const SkBitmap& bitmap) bitmap 49 skia/ext/bitmap_platform_device_skia.cc : SkBitmapDevice(bitmap) { bitmap 105 skia/ext/bitmap_platform_device_win.cc static bool InstallHBitmapPixels(SkBitmap* bitmap, int width, int height, bitmap 110 skia/ext/bitmap_platform_device_win.cc return bitmap->installPixels(info, data, rowBytes, DeleteHBitmapCallback, bitmap 130 skia/ext/bitmap_platform_device_win.cc SkBitmap bitmap; bitmap 131 skia/ext/bitmap_platform_device_win.cc if (!InstallHBitmapPixels(&bitmap, width, height, is_opaque, data, hbitmap)) bitmap 139 skia/ext/bitmap_platform_device_win.cc bitmap.eraseARGB(255, 0, 255, 128); // bright bluish green bitmap 144 skia/ext/bitmap_platform_device_win.cc return new BitmapPlatformDevice(hbitmap, bitmap); bitmap 168 skia/ext/bitmap_platform_device_win.cc const SkBitmap& bitmap) bitmap 169 skia/ext/bitmap_platform_device_win.cc : SkBitmapDevice(bitmap), bitmap 76 skia/ext/bitmap_platform_device_win.h BitmapPlatformDevice(HBITMAP hbitmap, const SkBitmap& bitmap); bitmap 92 skia/ext/image_operations_bench.cc int GetBitmapSize(const SkBitmap* bitmap) { bitmap 93 skia/ext/image_operations_bench.cc return bitmap->height() * bitmap->bytesPerPixel() * bitmap->width(); bitmap 56 skia/ext/pixel_ref_utils.cc SkBitmap bitmap; bitmap 57 skia/ext/pixel_ref_utils.cc if (GetBitmapFromPaint(paint, &bitmap)) { bitmap 59 skia/ext/pixel_ref_utils.cc AddBitmap(bitmap, clip_rect); bitmap 68 skia/ext/pixel_ref_utils.cc SkBitmap bitmap; bitmap 69 skia/ext/pixel_ref_utils.cc if (!GetBitmapFromPaint(paint, &bitmap)) bitmap 93 skia/ext/pixel_ref_utils.cc SkBitmap bitmap; bitmap 94 skia/ext/pixel_ref_utils.cc if (GetBitmapFromPaint(paint, &bitmap)) { bitmap 98 skia/ext/pixel_ref_utils.cc AddBitmap(bitmap, mapped_rect); bitmap 116 skia/ext/pixel_ref_utils.cc SkBitmap bitmap; bitmap 117 skia/ext/pixel_ref_utils.cc if (!GetBitmapFromPaint(paint, &bitmap)) bitmap 130 skia/ext/pixel_ref_utils.cc const SkBitmap& bitmap, bitmap 136 skia/ext/pixel_ref_utils.cc SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); bitmap 139 skia/ext/pixel_ref_utils.cc AddBitmap(bitmap, mapped_rect); bitmap 146 skia/ext/pixel_ref_utils.cc const SkBitmap& bitmap, bitmap 151 skia/ext/pixel_ref_utils.cc SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); bitmap 154 skia/ext/pixel_ref_utils.cc GatherPixelRefDevice::drawBitmap(draw, bitmap, matrix, paint); bitmap 157 skia/ext/pixel_ref_utils.cc const SkBitmap& bitmap, bitmap 165 skia/ext/pixel_ref_utils.cc SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); bitmap 169 skia/ext/pixel_ref_utils.cc AddBitmap(bitmap, mapped_rect); bitmap 180 skia/ext/pixel_ref_utils.cc SkBitmap bitmap; bitmap 181 skia/ext/pixel_ref_utils.cc if (!GetBitmapFromPaint(paint, &bitmap)) bitmap 228 skia/ext/pixel_ref_utils.cc SkBitmap bitmap; bitmap 229 skia/ext/pixel_ref_utils.cc if (!GetBitmapFromPaint(paint, &bitmap)) bitmap 280 skia/ext/pixel_ref_utils.cc SkBitmap bitmap; bitmap 281 skia/ext/pixel_ref_utils.cc if (!GetBitmapFromPaint(paint, &bitmap)) bitmap 318 skia/ext/pixel_ref_utils.cc virtual bool onReadPixels(const SkBitmap& bitmap, bitmap 25 skia/ext/pixel_ref_utils_unittest.cc void CreateBitmap(gfx::Size size, const char* uri, SkBitmap* bitmap); bitmap 45 skia/ext/pixel_ref_utils_unittest.cc virtual SkShader::BitmapType asABitmap(SkBitmap* bitmap, bitmap 48 skia/ext/pixel_ref_utils_unittest.cc if (bitmap) bitmap 49 skia/ext/pixel_ref_utils_unittest.cc *bitmap = bitmap_; bitmap 61 skia/ext/pixel_ref_utils_unittest.cc void CreateBitmap(gfx::Size size, const char* uri, SkBitmap* bitmap) { bitmap 66 skia/ext/pixel_ref_utils_unittest.cc bitmap->setConfig(info); bitmap 67 skia/ext/pixel_ref_utils_unittest.cc bitmap->allocPixels(); bitmap 68 skia/ext/pixel_ref_utils_unittest.cc bitmap->pixelRef()->setImmutable(); bitmap 69 skia/ext/pixel_ref_utils_unittest.cc bitmap->pixelRef()->setURI(uri); bitmap 37 skia/ext/platform_canvas_unittest.cc const SkBitmap& bitmap = device->accessBitmap(false); bitmap 38 skia/ext/platform_canvas_unittest.cc SkAutoLockPixels lock(bitmap); bitmap 43 skia/ext/platform_canvas_unittest.cc for (int cur_y = 0; cur_y < bitmap.height(); cur_y++) { bitmap 44 skia/ext/platform_canvas_unittest.cc for (int cur_x = 0; cur_x < bitmap.width(); cur_x++) { bitmap 48 skia/ext/platform_canvas_unittest.cc if ((*bitmap.getAddr32(cur_x, cur_y) | alpha_mask) != bitmap 53 skia/ext/platform_canvas_unittest.cc if ((*bitmap.getAddr32(cur_x, cur_y) | alpha_mask) != bitmap 63 skia/ext/platform_canvas_unittest.cc bool IsOfColor(const SkBitmap& bitmap, int x, int y, uint32_t color) { bitmap 66 skia/ext/platform_canvas_unittest.cc return (*bitmap.getAddr32(x, y) | alpha_mask) == (color | alpha_mask); bitmap 76 skia/ext/platform_canvas_unittest.cc const SkBitmap& bitmap = device->accessBitmap(false); bitmap 77 skia/ext/platform_canvas_unittest.cc SkAutoLockPixels lock(bitmap); bitmap 80 skia/ext/platform_canvas_unittest.cc if (!IsOfColor(bitmap, x, y, canvas_color)) return false; bitmap 81 skia/ext/platform_canvas_unittest.cc if (!IsOfColor(bitmap, x + w, y, canvas_color)) return false; bitmap 82 skia/ext/platform_canvas_unittest.cc if (!IsOfColor(bitmap, x, y + h, canvas_color)) return false; bitmap 83 skia/ext/platform_canvas_unittest.cc if (!IsOfColor(bitmap, x + w, y, canvas_color)) return false; bitmap 86 skia/ext/platform_canvas_unittest.cc if (!IsOfColor(bitmap, (x + w / 2), y, rect_color)) return false; bitmap 87 skia/ext/platform_canvas_unittest.cc if (!IsOfColor(bitmap, x, (y + h / 2), rect_color)) return false; bitmap 88 skia/ext/platform_canvas_unittest.cc if (!IsOfColor(bitmap, x + w, (y + h / 2), rect_color)) return false; bitmap 89 skia/ext/platform_canvas_unittest.cc if (!IsOfColor(bitmap, (x + w / 2), y + h, rect_color)) return false; bitmap 92 skia/ext/vector_canvas_unittest.cc SkBitmap bitmap; bitmap 95 skia/ext/vector_canvas_unittest.cc compressed.size(), &bitmap)); bitmap 96 skia/ext/vector_canvas_unittest.cc SetSkBitmap(bitmap); bitmap 105 skia/ext/vector_canvas_unittest.cc HGDIOBJ bitmap = GetCurrentObject(context, OBJ_BITMAP); bitmap 106 skia/ext/vector_canvas_unittest.cc EXPECT_TRUE(bitmap != NULL); bitmap 109 skia/ext/vector_canvas_unittest.cc EXPECT_EQ(GetObject(bitmap, sizeof(BITMAP), &bitmap_data), sizeof(BITMAP)); bitmap 119 skia/ext/vector_canvas_unittest.cc Image(const SkBitmap& bitmap) : ignore_alpha_(true) { bitmap 120 skia/ext/vector_canvas_unittest.cc SetSkBitmap(bitmap); bitmap 187 skia/ext/vector_canvas_unittest.cc void SetSkBitmap(const SkBitmap& bitmap) { bitmap 188 skia/ext/vector_canvas_unittest.cc SkAutoLockPixels lock(bitmap); bitmap 189 skia/ext/vector_canvas_unittest.cc width_ = bitmap.width(); bitmap 190 skia/ext/vector_canvas_unittest.cc height_ = bitmap.height(); bitmap 191 skia/ext/vector_canvas_unittest.cc row_length_ = static_cast<int>(bitmap.rowBytes()); bitmap 194 skia/ext/vector_canvas_unittest.cc memcpy(&*data_.begin(), bitmap.getAddr(0, 0), size); bitmap 313 skia/ext/vector_canvas_unittest.cc void Premultiply(SkBitmap bitmap) { bitmap 314 skia/ext/vector_canvas_unittest.cc SkAutoLockPixels lock(bitmap); bitmap 315 skia/ext/vector_canvas_unittest.cc for (int x = 0; x < bitmap.width(); ++x) { bitmap 316 skia/ext/vector_canvas_unittest.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 317 skia/ext/vector_canvas_unittest.cc uint32_t* pixel_addr = bitmap.getAddr32(x, y); bitmap 335 skia/ext/vector_canvas_unittest.cc SkBitmap* bitmap, bitmap 343 skia/ext/vector_canvas_unittest.cc compressed.size(), bitmap)); bitmap 345 skia/ext/vector_canvas_unittest.cc EXPECT_EQ(is_opaque, bitmap->isOpaque()); bitmap 346 skia/ext/vector_canvas_unittest.cc Premultiply(*bitmap); bitmap 803 skia/ext/vector_canvas_unittest.cc SkBitmap bitmap; bitmap 804 skia/ext/vector_canvas_unittest.cc LoadPngFileToSkBitmap(test_file(L"bitmap_opaque.png"), &bitmap, true); bitmap 805 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 13, 3, NULL); bitmap 806 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 13, 3, NULL); bitmap 811 skia/ext/vector_canvas_unittest.cc SkBitmap bitmap; bitmap 812 skia/ext/vector_canvas_unittest.cc LoadPngFileToSkBitmap(test_file(L"bitmap_alpha.png"), &bitmap, false); bitmap 813 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 5, 15, NULL); bitmap 814 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 5, 15, NULL); bitmap 820 skia/ext/vector_canvas_unittest.cc SkBitmap bitmap; bitmap 821 skia/ext/vector_canvas_unittest.cc LoadPngFileToSkBitmap(test_file(L"..\\bitmaps\\bitmap_opaque.png"), &bitmap, bitmap 831 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 13, 3, NULL); bitmap 832 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 13, 3, NULL); bitmap 837 skia/ext/vector_canvas_unittest.cc SkBitmap bitmap; bitmap 838 skia/ext/vector_canvas_unittest.cc LoadPngFileToSkBitmap(test_file(L"..\\bitmaps\\bitmap_opaque.png"), &bitmap, bitmap 845 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 14, 3, NULL); bitmap 846 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 14, 3, NULL); bitmap 851 skia/ext/vector_canvas_unittest.cc SkBitmap bitmap; bitmap 852 skia/ext/vector_canvas_unittest.cc LoadPngFileToSkBitmap(test_file(L"..\\bitmaps\\bitmap_opaque.png"), &bitmap, bitmap 867 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 15, 3, NULL); bitmap 868 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 15, 3, NULL); bitmap 873 skia/ext/vector_canvas_unittest.cc SkBitmap bitmap; bitmap 874 skia/ext/vector_canvas_unittest.cc LoadPngFileToSkBitmap(test_file(L"..\\bitmaps\\bitmap_opaque.png"), &bitmap, bitmap 889 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 15, 3, NULL); bitmap 890 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 15, 3, NULL); bitmap 895 skia/ext/vector_canvas_unittest.cc SkBitmap bitmap; bitmap 896 skia/ext/vector_canvas_unittest.cc LoadPngFileToSkBitmap(test_file(L"..\\bitmaps\\bitmap_opaque.png"), &bitmap, bitmap 909 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 15, 3, NULL); bitmap 910 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 15, 3, NULL); bitmap 915 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 55, 3, NULL); bitmap 916 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 55, 3, NULL); bitmap 923 skia/ext/vector_canvas_unittest.cc SkBitmap bitmap; bitmap 924 skia/ext/vector_canvas_unittest.cc LoadPngFileToSkBitmap(test_file(L"..\\bitmaps\\bitmap_opaque.png"), &bitmap, bitmap 929 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 0, 0, NULL); bitmap 930 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 0, 0, NULL); bitmap 936 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 0, 0, NULL); bitmap 937 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 0, 0, NULL); bitmap 951 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 1, 1, NULL); bitmap 952 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 1, 1, NULL); bitmap 961 skia/ext/vector_canvas_unittest.cc vcanvas_->drawBitmap(bitmap, 20, -50, NULL); bitmap 962 skia/ext/vector_canvas_unittest.cc pcanvas_->drawBitmap(bitmap, 20, -50, NULL); bitmap 72 skia/ext/vector_platform_device_emf_win.cc SkBitmap bitmap; bitmap 86 skia/ext/vector_platform_device_emf_win.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 90 skia/ext/vector_platform_device_emf_win.cc bitmap.setPixels(bitmap_data.bmBits); bitmap 97 skia/ext/vector_platform_device_emf_win.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); bitmap 99 skia/ext/vector_platform_device_emf_win.cc return new VectorPlatformDeviceEmf(dc, bitmap); bitmap 102 skia/ext/vector_platform_device_emf_win.cc VectorPlatformDeviceEmf::VectorPlatformDeviceEmf(HDC dc, const SkBitmap& bitmap) bitmap 103 skia/ext/vector_platform_device_emf_win.cc : SkBitmapDevice(bitmap), bitmap 268 skia/ext/vector_platform_device_emf_win.cc const SkBitmap& bitmap, bitmap 277 skia/ext/vector_platform_device_emf_win.cc bitmapBounds.isetWH(bitmap.width(), bitmap.height()); bitmap 287 skia/ext/vector_platform_device_emf_win.cc const SkBitmap* bitmapPtr = &bitmap; bitmap 305 skia/ext/vector_platform_device_emf_win.cc if (!bitmap.extractSubset(&tmpBitmap, srcIR)) { bitmap 326 skia/ext/vector_platform_device_emf_win.cc const SkBitmap& bitmap, bitmap 335 skia/ext/vector_platform_device_emf_win.cc InternalDrawBitmap(bitmap, 0, 0, paint); bitmap 342 skia/ext/vector_platform_device_emf_win.cc const SkBitmap& bitmap, bitmap 349 skia/ext/vector_platform_device_emf_win.cc InternalDrawBitmap(bitmap, x, y, paint); bitmap 873 skia/ext/vector_platform_device_emf_win.cc void VectorPlatformDeviceEmf::InternalDrawBitmap(const SkBitmap& bitmap, bitmap 893 skia/ext/vector_platform_device_emf_win.cc int src_size_x = bitmap.width(); bitmap 894 skia/ext/vector_platform_device_emf_win.cc int src_size_y = bitmap.height(); bitmap 910 skia/ext/vector_platform_device_emf_win.cc SkAutoLockPixels lock(bitmap); bitmap 911 skia/ext/vector_platform_device_emf_win.cc SkASSERT(bitmap.config() == SkBitmap::kARGB_8888_Config); bitmap 912 skia/ext/vector_platform_device_emf_win.cc const uint32_t* pixels = static_cast<const uint32_t*>(bitmap.getPixels()); bitmap 919 skia/ext/vector_platform_device_emf_win.cc int row_length = bitmap.rowBytesAsPixels(); bitmap 950 skia/ext/vector_platform_device_emf_win.cc for (int row = 0; row < bitmap.height(); ++row) { bitmap 953 skia/ext/vector_platform_device_emf_win.cc int src_offset = row * bitmap.rowBytesAsPixels(); bitmap 30 skia/ext/vector_platform_device_emf_win.h VectorPlatformDeviceEmf(HDC dc, const SkBitmap& bitmap); bitmap 50 skia/ext/vector_platform_device_emf_win.h virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, bitmap 54 skia/ext/vector_platform_device_emf_win.h virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, bitmap 57 skia/ext/vector_platform_device_emf_win.h virtual void drawSprite(const SkDraw& draw, const SkBitmap& bitmap, bitmap 117 skia/ext/vector_platform_device_emf_win.h void InternalDrawBitmap(const SkBitmap& bitmap, int x, int y, bitmap 17 skia/ext/vector_platform_device_skia.cc SkBitmap bitmap; bitmap 18 skia/ext/vector_platform_device_skia.cc bitmap.setConfig(SkBitmap::kNo_Config, width, height); bitmap 19 skia/ext/vector_platform_device_skia.cc return bitmap; bitmap 26 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc void RunTestCase(std::string& ipc_filter_message, SkBitmap& bitmap, bitmap 46 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc canvas->drawBitmap(bitmap, 0, 0, &paint); bitmap 55 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc bool ReadAndRunTestCase(const char* filename, SkBitmap& bitmap, bitmap 65 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc RunTestCase(ipc_filter_message, bitmap, canvas); bitmap 75 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc SkBitmap bitmap; bitmap 76 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc bitmap.allocN32Pixels(BitmapSize, BitmapSize); bitmap 77 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc SkCanvas canvas(bitmap); bitmap 81 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc if (!ReadAndRunTestCase(argv[i], bitmap, &canvas)) bitmap 1966 third_party/wtl/include/atlctrls.h BOOL Create(ATL::_U_STRINGorID bitmap, int cx, int nGrow, COLORREF crMask) bitmap 1969 third_party/wtl/include/atlctrls.h m_hImageList = ImageList_LoadBitmap(ModuleHelper::GetResourceInstance(), bitmap.m_lpstr, cx, nGrow, crMask); bitmap 682 third_party/wtl/include/atlctrlw.h BOOL AddBitmap(ATL::_U_STRINGorID bitmap, int nCommandID) bitmap 686 third_party/wtl/include/atlctrlw.h bmp.LoadBitmap(bitmap.m_lpstr); bitmap 762 third_party/wtl/include/atlctrlw.h BOOL ReplaceBitmap(ATL::_U_STRINGorID bitmap, int nCommandID) bitmap 766 third_party/wtl/include/atlctrlw.h bmp.LoadBitmap(bitmap.m_lpstr); bitmap 718 third_party/wtl/include/atlgdi.h HBITMAP LoadBitmap(ATL::_U_STRINGorID bitmap) bitmap 721 third_party/wtl/include/atlgdi.h m_hBitmap = ::LoadBitmap(ModuleHelper::GetResourceInstance(), bitmap.m_lpstr); bitmap 3698 third_party/wtl/include/atlmisc.h inline HBITMAP AtlLoadBitmap(ATL::_U_STRINGorID bitmap) bitmap 3700 third_party/wtl/include/atlmisc.h return ::LoadBitmap(ModuleHelper::GetResourceInstance(), bitmap.m_lpstr); bitmap 3704 third_party/wtl/include/atlmisc.h inline HBITMAP AtlLoadSysBitmap(ATL::_U_STRINGorID bitmap) bitmap 3707 third_party/wtl/include/atlmisc.h WORD wID = (WORD)bitmap.m_lpstr; bitmap 3710 third_party/wtl/include/atlmisc.h return ::LoadBitmap(NULL, bitmap.m_lpstr); bitmap 3758 third_party/wtl/include/atlmisc.h inline HBITMAP AtlLoadBitmapImage(ATL::_U_STRINGorID bitmap, UINT fuLoad = LR_DEFAULTCOLOR) bitmap 3760 third_party/wtl/include/atlmisc.h return (HBITMAP)::LoadImage(ModuleHelper::GetResourceInstance(), bitmap.m_lpstr, IMAGE_BITMAP, 0, 0, fuLoad); bitmap 156 ui/android/java/src/org/chromium/ui/UiUtils.java Bitmap bitmap = Bitmap.createBitmap(newWidth, newHeight, bitmapConfig); bitmap 157 ui/android/java/src/org/chromium/ui/UiUtils.java Canvas canvas = new Canvas(bitmap); bitmap 161 ui/android/java/src/org/chromium/ui/UiUtils.java screenshot = bitmap; bitmap 120 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java Bitmap bitmap = UiUtils.generateScaledScreenshot(rootView, 0, Bitmap.Config.ARGB_8888); bitmap 121 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java if (bitmap == null) return null; bitmap 124 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java if (windowX > 0 || windowY > 0 || width != bitmap.getWidth() || bitmap 125 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java height != bitmap.getHeight()) { bitmap 126 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java Rect clip = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight()); bitmap 128 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java bitmap = Bitmap.createBitmap( bitmap 129 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java bitmap, clip.left, clip.top, clip.width(), clip.height()); bitmap 134 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java if (!bitmap.compress(Bitmap.CompressFormat.PNG, 100, result)) return null; bitmap 135 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java bitmap.recycle(); bitmap 154 ui/base/clipboard/clipboard.cc SkBitmap bitmap; bitmap 159 ui/base/clipboard/clipboard.cc if (!bitmap.setConfig(SkBitmap::kARGB_8888_Config, bitmap 166 ui/base/clipboard/clipboard.cc if (!sk_64_isS32(bitmap.computeSize64())) bitmap 177 ui/base/clipboard/clipboard.cc if (!ValidateAndMapSharedBitmap(bitmap.getSize(), bitmap_data.get())) bitmap 179 ui/base/clipboard/clipboard.cc bitmap.setPixels(bitmap_data->memory()); bitmap 181 ui/base/clipboard/clipboard.cc WriteBitmap(bitmap); bitmap 214 ui/base/clipboard/clipboard.cc SharedMemory* bitmap = new SharedMemory(bitmap_handle, true, process); bitmap 216 ui/base/clipboard/clipboard.cc SharedMemory* bitmap = new SharedMemory(bitmap_handle, true); bitmap 227 ui/base/clipboard/clipboard.cc iter->second[0].push_back(reinterpret_cast<char*>(&bitmap)[i]); bitmap 348 ui/base/clipboard/clipboard.h void WriteBitmap(const SkBitmap& bitmap); bitmap 421 ui/base/clipboard/clipboard_android.cc void Clipboard::WriteBitmap(const SkBitmap& bitmap) { bitmap 422 ui/base/clipboard/clipboard_android.cc gfx::Size size(bitmap.width(), bitmap.height()); bitmap 426 ui/base/clipboard/clipboard_android.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 427 ui/base/clipboard/clipboard_android.cc packed += std::string(static_cast<const char*>(bitmap.getPixels()), bitmap 428 ui/base/clipboard/clipboard_android.cc bitmap.getSize()); bitmap 89 ui/base/clipboard/clipboard_aura.cc void SetBitmapData(const SkBitmap& bitmap) { bitmap 90 ui/base/clipboard/clipboard_aura.cc bitmap.copyTo(&bitmap_); bitmap 250 ui/base/clipboard/clipboard_aura.cc const SkBitmap& clipboard_bitmap = GetData()->bitmap(); bitmap 383 ui/base/clipboard/clipboard_aura.cc static void WriteBitmap(const SkBitmap& bitmap) { bitmap 385 ui/base/clipboard/clipboard_aura.cc data->SetBitmapData(bitmap); bitmap 593 ui/base/clipboard/clipboard_aura.cc void Clipboard::WriteBitmap(const SkBitmap& bitmap) { bitmap 594 ui/base/clipboard/clipboard_aura.cc ClipboardDataBuilder::WriteBitmap(bitmap); bitmap 670 ui/base/clipboard/clipboard_aurax11.cc SkBitmap bitmap; bitmap 671 ui/base/clipboard/clipboard_aurax11.cc if (gfx::PNGCodec::Decode(data.GetData(), data.GetSize(), &bitmap)) bitmap 672 ui/base/clipboard/clipboard_aurax11.cc return SkBitmap(bitmap); bitmap 772 ui/base/clipboard/clipboard_aurax11.cc void Clipboard::WriteBitmap(const SkBitmap& bitmap) { bitmap 775 ui/base/clipboard/clipboard_aurax11.cc if (gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, false, &output)) { bitmap 308 ui/base/clipboard/clipboard_gtk.cc void Clipboard::WriteBitmap(const SkBitmap& bitmap) { bitmap 309 ui/base/clipboard/clipboard_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); bitmap 141 ui/base/clipboard/clipboard_win.cc bool BitmapHasInvalidPremultipliedColors(const SkBitmap& bitmap) { bitmap 142 ui/base/clipboard/clipboard_win.cc for (int x = 0; x < bitmap.width(); ++x) { bitmap 143 ui/base/clipboard/clipboard_win.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 144 ui/base/clipboard/clipboard_win.cc uint32_t pixel = *bitmap.getAddr32(x, y); bitmap 154 ui/base/clipboard/clipboard_win.cc void MakeBitmapOpaque(const SkBitmap& bitmap) { bitmap 155 ui/base/clipboard/clipboard_win.cc for (int x = 0; x < bitmap.width(); ++x) { bitmap 156 ui/base/clipboard/clipboard_win.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 157 ui/base/clipboard/clipboard_win.cc *bitmap.getAddr32(x, y) = SkColorSetA(*bitmap.getAddr32(x, y), 0xFF); bitmap 280 ui/base/clipboard/clipboard_win.cc void Clipboard::WriteBitmap(const SkBitmap& bitmap) { bitmap 290 ui/base/clipboard/clipboard_win.cc bm_info.bmiHeader.biWidth = bitmap.width(); bitmap 291 ui/base/clipboard/clipboard_win.cc bm_info.bmiHeader.biHeight = -bitmap.height(); // sets vertical orientation bitmap 305 ui/base/clipboard/clipboard_win.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 307 ui/base/clipboard/clipboard_win.cc memcpy(bits, bitmap.getPixels(), bitmap.getSize()); bitmap 312 ui/base/clipboard/clipboard_win.cc gfx::Size(bitmap.width(), bitmap.height())); bitmap 546 ui/base/clipboard/clipboard_win.cc BITMAPINFO* bitmap = static_cast<BITMAPINFO*>(::GetClipboardData(CF_DIB)); bitmap 547 ui/base/clipboard/clipboard_win.cc if (!bitmap) bitmap 550 ui/base/clipboard/clipboard_win.cc switch (bitmap->bmiHeader.biBitCount) { bitmap 554 ui/base/clipboard/clipboard_win.cc color_table_length = bitmap->bmiHeader.biClrUsed bitmap 555 ui/base/clipboard/clipboard_win.cc ? bitmap->bmiHeader.biClrUsed bitmap 556 ui/base/clipboard/clipboard_win.cc : 1 << bitmap->bmiHeader.biBitCount; bitmap 560 ui/base/clipboard/clipboard_win.cc if (bitmap->bmiHeader.biCompression == BI_BITFIELDS) bitmap 568 ui/base/clipboard/clipboard_win.cc const void* bitmap_bits = reinterpret_cast<const char*>(bitmap) bitmap 569 ui/base/clipboard/clipboard_win.cc + bitmap->bmiHeader.biSize + color_table_length * sizeof(RGBQUAD); bitmap 571 ui/base/clipboard/clipboard_win.cc gfx::Canvas canvas(gfx::Size(bitmap->bmiHeader.biWidth, bitmap 572 ui/base/clipboard/clipboard_win.cc bitmap->bmiHeader.biHeight), bitmap 578 ui/base/clipboard/clipboard_win.cc ::SetDIBitsToDevice(dc, 0, 0, bitmap->bmiHeader.biWidth, bitmap 579 ui/base/clipboard/clipboard_win.cc bitmap->bmiHeader.biHeight, 0, 0, 0, bitmap 580 ui/base/clipboard/clipboard_win.cc bitmap->bmiHeader.biHeight, bitmap_bits, bitmap, bitmap 595 ui/base/clipboard/clipboard_win.cc bool has_invalid_alpha_channel = bitmap->bmiHeader.biBitCount < 32 || bitmap 25 ui/base/cursor/cursor_loader_ozone.cc SkBitmap bitmap = image_rep.sk_bitmap(); bitmap 27 ui/base/cursor/cursor_loader_ozone.cc CursorFactoryOzone::GetInstance()->CreateImageCursor(bitmap, hot); bitmap 164 ui/base/cursor/cursor_loader_x11.cc SkBitmap bitmap = image_rep.sk_bitmap(); bitmap 167 ui/base/cursor/cursor_loader_x11.cc scale(), display().rotation(), &bitmap, &hotpoint); bitmap 169 ui/base/cursor/cursor_loader_x11.cc XcursorImage* x_image = SkBitmapToXcursorImage(&bitmap, hotpoint); bitmap 182 ui/base/cursor/cursor_loader_x11.cc SkBitmap bitmap = image_rep.sk_bitmap(); bitmap 183 ui/base/cursor/cursor_loader_x11.cc int frame_width = bitmap.height(); bitmap 185 ui/base/cursor/cursor_loader_x11.cc int total_width = bitmap.width(); bitmap 198 ui/base/cursor/cursor_loader_x11.cc bitmap, x_offset, 0, frame_width, frame_height); bitmap 18 ui/base/cursor/cursor_loader_x11_unittest.cc SkBitmap bitmap; bitmap 19 ui/base/cursor/cursor_loader_x11_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 5); bitmap 20 ui/base/cursor/cursor_loader_x11_unittest.cc bitmap.allocPixels(); bitmap 26 ui/base/cursor/cursor_loader_x11_unittest.cc &bitmap, bitmap 28 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(10, bitmap.width()); bitmap 29 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(5, bitmap.height()); bitmap 34 ui/base/cursor/cursor_loader_x11_unittest.cc &bitmap, bitmap 37 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(5, bitmap.width()); bitmap 38 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(10, bitmap.height()); bitmap 43 ui/base/cursor/cursor_loader_x11_unittest.cc &bitmap, bitmap 45 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(10, bitmap.width()); bitmap 46 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(20, bitmap.height()); bitmap 51 ui/base/cursor/cursor_loader_x11_unittest.cc &bitmap, bitmap 53 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(20, bitmap.width()); bitmap 54 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(10, bitmap.height()); bitmap 18 ui/base/cursor/cursor_util.cc SkBitmap* bitmap, bitmap 24 ui/base/cursor/cursor_util.cc hotpoint->SetPoint(bitmap->height() - hotpoint->y(), hotpoint->x()); bitmap 25 ui/base/cursor/cursor_util.cc *bitmap = SkBitmapOperations::Rotate( bitmap 26 ui/base/cursor/cursor_util.cc *bitmap, SkBitmapOperations::ROTATION_90_CW); bitmap 30 ui/base/cursor/cursor_util.cc bitmap->width() - hotpoint->x(), bitmap->height() - hotpoint->y()); bitmap 31 ui/base/cursor/cursor_util.cc *bitmap = SkBitmapOperations::Rotate( bitmap 32 ui/base/cursor/cursor_util.cc *bitmap, SkBitmapOperations::ROTATION_180_CW); bitmap 35 ui/base/cursor/cursor_util.cc hotpoint->SetPoint(hotpoint->y(), bitmap->width() - hotpoint->x()); bitmap 36 ui/base/cursor/cursor_util.cc *bitmap = SkBitmapOperations::Rotate( bitmap 37 ui/base/cursor/cursor_util.cc *bitmap, SkBitmapOperations::ROTATION_270_CW); bitmap 50 ui/base/cursor/cursor_util.cc gfx::ScaleSize(gfx::Size(bitmap->width(), bitmap->height()), scale)); bitmap 52 ui/base/cursor/cursor_util.cc *bitmap = skia::ImageOperations::Resize( bitmap 53 ui/base/cursor/cursor_util.cc *bitmap, bitmap 225 ui/base/cursor/cursors_aura.cc SkBitmap* bitmap, bitmap 227 ui/base/cursor/cursors_aura.cc DCHECK(bitmap && point); bitmap 238 ui/base/cursor/cursors_aura.cc GetImageSkiaNamed(resource_id)->bitmap(); bitmap 241 ui/base/cursor/cursors_aura.cc *bitmap = *cursor_bitmap; bitmap 41 ui/base/cursor/cursors_aura.h GetCursorBitmap(const Cursor& cursor, SkBitmap* bitmap, gfx::Point* point); bitmap 35 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc SkBitmap bitmap; bitmap 37 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc CHECK(GetCursorBitmap(type, &bitmap, &hotspot)); bitmap 38 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc default_cursors_[type] = new BitmapCursorOzone(bitmap, hotspot); bitmap 46 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc const SkBitmap& bitmap, bitmap 48 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc BitmapCursorOzone* cursor = new BitmapCursorOzone(bitmap, hotspot); bitmap 23 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h BitmapCursorOzone(const SkBitmap& bitmap, const gfx::Point& hotspot) bitmap 24 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h : bitmap_(bitmap), hotspot_(hotspot) {} bitmap 27 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h const SkBitmap& bitmap() { return bitmap_; } bitmap 53 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h virtual PlatformCursor CreateImageCursor(const SkBitmap& bitmap, bitmap 31 ui/base/cursor/ozone/cursor_factory_ozone.cc const SkBitmap& bitmap, bitmap 33 ui/base/cursor/ozone/cursor_factory_ozone.h virtual PlatformCursor CreateImageCursor(const SkBitmap& bitmap, bitmap 47 ui/base/dragdrop/drag_utils_win.cc HBITMAP bitmap = bitmap 50 ui/base/dragdrop/drag_utils_win.cc if (!bitmap || !bits) bitmap 56 ui/base/dragdrop/drag_utils_win.cc return bitmap; bitmap 67 ui/base/dragdrop/drag_utils_win.cc HBITMAP bitmap = CreateHBITMAPFromSkBitmap( bitmap 68 ui/base/dragdrop/drag_utils_win.cc SkBitmapOperations::UnPreMultiply(*image_skia.bitmap())); bitmap 69 ui/base/dragdrop/drag_utils_win.cc if (bitmap) { bitmap 71 ui/base/dragdrop/drag_utils_win.cc SetDragImageOnDataObject(bitmap, size, cursor_offset, bitmap 712 ui/base/resource/resource_bundle.cc SkBitmap* bitmap, bitmap 720 ui/base/resource/resource_bundle.cc if (DecodePNG(memory->front(), memory->size(), bitmap, fell_back_to_1x)) bitmap 729 ui/base/resource/resource_bundle.cc bitmap->swap(*jpeg_bitmap.get()); bitmap 741 ui/base/resource/resource_bundle.cc SkBitmap* bitmap, bitmap 749 ui/base/resource/resource_bundle.cc LoadBitmap(*data_packs_[i], resource_id, bitmap, fell_back_to_1x)) { bitmap 755 ui/base/resource/resource_bundle.cc LoadBitmap(*data_packs_[i], resource_id, bitmap, fell_back_to_1x)) { bitmap 767 ui/base/resource/resource_bundle.cc SkBitmap bitmap; bitmap 768 ui/base/resource/resource_bundle.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 32, 32); bitmap 769 ui/base/resource/resource_bundle.cc bitmap.allocPixels(); bitmap 770 ui/base/resource/resource_bundle.cc bitmap.eraseARGB(255, 255, 0, 0); bitmap 771 ui/base/resource/resource_bundle.cc empty_image_ = gfx::Image::CreateFrom1xBitmap(bitmap); bitmap 819 ui/base/resource/resource_bundle.cc SkBitmap* bitmap, bitmap 822 ui/base/resource/resource_bundle.cc return gfx::PNGCodec::Decode(buf, size, bitmap); bitmap 321 ui/base/resource/resource_bundle.h SkBitmap* bitmap, bitmap 330 ui/base/resource/resource_bundle.h SkBitmap* bitmap, bitmap 347 ui/base/resource/resource_bundle.h SkBitmap* bitmap, bitmap 126 ui/base/resource/resource_bundle_unittest.cc SkBitmap bitmap; bitmap 127 ui/base/resource/resource_bundle_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, edge_size, edge_size); bitmap 128 ui/base/resource/resource_bundle_unittest.cc bitmap.allocPixels(); bitmap 129 ui/base/resource/resource_bundle_unittest.cc bitmap.eraseColor(SK_ColorWHITE); bitmap 131 ui/base/resource/resource_bundle_unittest.cc EXPECT_TRUE(gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &bitmap_data)); bitmap 31 ui/base/webui/web_ui_util.cc std::string GetBitmapDataUrl(const SkBitmap& bitmap) { bitmap 33 ui/base/webui/web_ui_util.cc "width", bitmap.width(), "height", bitmap.height()); bitmap 35 ui/base/webui/web_ui_util.cc gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &output); bitmap 23 ui/base/webui/web_ui_util.h UI_BASE_EXPORT std::string GetBitmapDataUrl(const SkBitmap& bitmap); bitmap 413 ui/base/x/x11_util.cc const SkBitmap* bitmap = needs_scale ? &scaled : cursor_image; bitmap 414 ui/base/x/x11_util.cc XcursorImage* image = XcursorImageCreate(bitmap->width(), bitmap->height()); bitmap 415 ui/base/x/x11_util.cc image->xhot = std::min(bitmap->width() - 1, hotspot_point.x()); bitmap 416 ui/base/x/x11_util.cc image->yhot = std::min(bitmap->height() - 1, hotspot_point.y()); bitmap 418 ui/base/x/x11_util.cc if (bitmap->width() && bitmap->height()) { bitmap 419 ui/base/x/x11_util.cc bitmap->lockPixels(); bitmap 422 ui/base/x/x11_util.cc bitmap->getPixels(), bitmap 423 ui/base/x/x11_util.cc bitmap->width() * bitmap->height() * 4); bitmap 424 ui/base/x/x11_util.cc bitmap->unlockPixels(); bitmap 1249 ui/base/x/x11_util.cc SkBitmap bitmap; bitmap 1250 ui/base/x/x11_util.cc bitmap.installPixels(SkImageInfo::MakeN32Premul(image->width, bitmap 1254 ui/base/x/x11_util.cc gfx::ImageSkiaRep image_rep(bitmap, canvas->image_scale()); bitmap 98 ui/base/x/x11_util.h UI_BASE_EXPORT XcursorImage* SkBitmapToXcursorImage(const SkBitmap* bitmap, bitmap 131 ui/compositor/layer_unittest.cc bool ReadPixels(SkBitmap* bitmap) { bitmap 132 ui/compositor/layer_unittest.cc return ReadPixels(bitmap, gfx::Rect(GetCompositor()->size())); bitmap 135 ui/compositor/layer_unittest.cc bool ReadPixels(SkBitmap* bitmap, gfx::Rect source_rect) { bitmap 153 ui/compositor/layer_unittest.cc *bitmap = holder->result(); bitmap 854 ui/compositor/layer_unittest.cc SkBitmap bitmap; bitmap 855 ui/compositor/layer_unittest.cc ASSERT_TRUE(ReadPixels(&bitmap, gfx::Rect(viewport_size))); bitmap 856 ui/compositor/layer_unittest.cc ASSERT_FALSE(bitmap.empty()); bitmap 858 ui/compositor/layer_unittest.cc SkAutoLockPixels lock(bitmap); bitmap 861 ui/compositor/layer_unittest.cc SkColor actual_color = bitmap.getColor(x, y); bitmap 1006 ui/compositor/layer_unittest.cc SkBitmap bitmap; bitmap 1012 ui/compositor/layer_unittest.cc ASSERT_TRUE(ReadPixels(&bitmap)); bitmap 1013 ui/compositor/layer_unittest.cc ASSERT_FALSE(bitmap.empty()); bitmap 1015 ui/compositor/layer_unittest.cc EXPECT_TRUE(MatchesPNGFile(bitmap, ref_img1, cc::ExactPixelComparator(true))); bitmap 1019 ui/compositor/layer_unittest.cc ASSERT_TRUE(ReadPixels(&bitmap)); bitmap 1020 ui/compositor/layer_unittest.cc ASSERT_FALSE(bitmap.empty()); bitmap 1022 ui/compositor/layer_unittest.cc EXPECT_TRUE(MatchesPNGFile(bitmap, ref_img2, cc::ExactPixelComparator(true))); bitmap 1027 ui/compositor/layer_unittest.cc ASSERT_TRUE(ReadPixels(&bitmap)); bitmap 1028 ui/compositor/layer_unittest.cc ASSERT_FALSE(bitmap.empty()); bitmap 1029 ui/compositor/layer_unittest.cc EXPECT_TRUE(MatchesPNGFile(bitmap, ref_img1, cc::ExactPixelComparator(true))); bitmap 1034 ui/compositor/layer_unittest.cc ASSERT_TRUE(ReadPixels(&bitmap)); bitmap 1035 ui/compositor/layer_unittest.cc ASSERT_FALSE(bitmap.empty()); bitmap 1036 ui/compositor/layer_unittest.cc EXPECT_TRUE(MatchesPNGFile(bitmap, ref_img2, cc::ExactPixelComparator(true))); bitmap 1041 ui/compositor/layer_unittest.cc ASSERT_TRUE(ReadPixels(&bitmap)); bitmap 1042 ui/compositor/layer_unittest.cc ASSERT_FALSE(bitmap.empty()); bitmap 1043 ui/compositor/layer_unittest.cc EXPECT_TRUE(MatchesPNGFile(bitmap, ref_img1, cc::ExactPixelComparator(true))); bitmap 1048 ui/compositor/layer_unittest.cc ASSERT_TRUE(ReadPixels(&bitmap)); bitmap 1049 ui/compositor/layer_unittest.cc ASSERT_FALSE(bitmap.empty()); bitmap 1050 ui/compositor/layer_unittest.cc EXPECT_TRUE(MatchesPNGFile(bitmap, ref_img2, cc::ExactPixelComparator(true))); bitmap 1070 ui/compositor/layer_unittest.cc SkBitmap bitmap; bitmap 1071 ui/compositor/layer_unittest.cc ASSERT_TRUE(ReadPixels(&bitmap)); bitmap 1072 ui/compositor/layer_unittest.cc ASSERT_FALSE(bitmap.empty()); bitmap 1074 ui/compositor/layer_unittest.cc EXPECT_TRUE(MatchesPNGFile(bitmap, ref_img, cc::ExactPixelComparator(true))); bitmap 18 ui/gfx/android/java_bitmap.cc JavaBitmap::JavaBitmap(jobject bitmap) bitmap 19 ui/gfx/android/java_bitmap.cc : bitmap_(bitmap), bitmap 30 ui/gfx/android/java_bitmap.h explicit JavaBitmap(jobject bitmap); bitmap 42 ui/gfx/blit.cc const SkBitmap& bitmap = skia::GetTopDevice(canvas)->accessBitmap(false); bitmap 45 ui/gfx/blit.cc clip_bounds.fRight != bitmap.width() || bitmap 46 ui/gfx/blit.cc clip_bounds.fBottom != bitmap.height()) bitmap 153 ui/gfx/blit.cc SkBitmap& bitmap = const_cast<SkBitmap&>( bitmap 155 ui/gfx/blit.cc SkAutoLockPixels lock(bitmap); bitmap 159 ui/gfx/blit.cc in_clip, gfx::Rect(0, 0, bitmap.width(), bitmap.height())); bitmap 173 ui/gfx/blit.cc memcpy(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), bitmap 174 ui/gfx/blit.cc bitmap.getAddr32(src_rect.x(), src_rect.y() + y), bitmap 180 ui/gfx/blit.cc memcpy(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), bitmap 181 ui/gfx/blit.cc bitmap.getAddr32(src_rect.x(), src_rect.y() + y), bitmap 189 ui/gfx/blit.cc memmove(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), bitmap 190 ui/gfx/blit.cc bitmap.getAddr32(src_rect.x(), src_rect.y() + y), bitmap 23 ui/gfx/blit_unittest.cc SkBitmap& bitmap = const_cast<SkBitmap&>( bitmap 25 ui/gfx/blit_unittest.cc SkAutoLockPixels lock(bitmap); bitmap 26 ui/gfx/blit_unittest.cc ASSERT_EQ(w, bitmap.width()); bitmap 27 ui/gfx/blit_unittest.cc ASSERT_EQ(h, bitmap.height()); bitmap 32 ui/gfx/blit_unittest.cc *bitmap.getAddr32(x, y) = bitmap 43 ui/gfx/blit_unittest.cc SkBitmap& bitmap = const_cast<SkBitmap&>( bitmap 45 ui/gfx/blit_unittest.cc SkAutoLockPixels lock(bitmap); bitmap 46 ui/gfx/blit_unittest.cc ASSERT_EQ(w, bitmap.width()); bitmap 47 ui/gfx/blit_unittest.cc ASSERT_EQ(h, bitmap.height()); bitmap 54 ui/gfx/blit_unittest.cc ASSERT_EQ(expected, *bitmap.getAddr32(x, y)); bitmap 341 ui/gfx/canvas.cc const SkBitmap& bitmap = image_rep.sk_bitmap(); bitmap 347 ui/gfx/canvas.cc canvas_->drawBitmap(bitmap, bitmap 409 ui/gfx/canvas.cc const SkBitmap& bitmap = image_rep.sk_bitmap(); bitmap 410 ui/gfx/canvas.cc canvas_->drawBitmapRect(bitmap, &src_rect, dest_rect, &paint); bitmap 64 ui/gfx/canvas_skia.cc bool PixelShouldGetHalo(const SkBitmap& bitmap, bitmap 68 ui/gfx/canvas_skia.cc *bitmap.getAddr32(x - 1, y) != halo_color && bitmap 69 ui/gfx/canvas_skia.cc *bitmap.getAddr32(x - 1, y) != 0) bitmap 71 ui/gfx/canvas_skia.cc if (x < bitmap.width() - 1 && bitmap 72 ui/gfx/canvas_skia.cc *bitmap.getAddr32(x + 1, y) != halo_color && bitmap 73 ui/gfx/canvas_skia.cc *bitmap.getAddr32(x + 1, y) != 0) bitmap 76 ui/gfx/canvas_skia.cc *bitmap.getAddr32(x, y - 1) != halo_color && bitmap 77 ui/gfx/canvas_skia.cc *bitmap.getAddr32(x, y - 1) != 0) bitmap 79 ui/gfx/canvas_skia.cc if (y < bitmap.height() - 1 && bitmap 80 ui/gfx/canvas_skia.cc *bitmap.getAddr32(x, y + 1) != halo_color && bitmap 81 ui/gfx/canvas_skia.cc *bitmap.getAddr32(x, y + 1) != 0) bitmap 624 ui/gfx/codec/jpeg_codec.cc SkBitmap* bitmap = new SkBitmap(); bitmap 625 ui/gfx/codec/jpeg_codec.cc bitmap->setConfig(SkBitmap::kARGB_8888_Config, w, h); bitmap 626 ui/gfx/codec/jpeg_codec.cc bitmap->allocPixels(); bitmap 627 ui/gfx/codec/jpeg_codec.cc memcpy(bitmap->getAddr32(0, 0), &data_vector[0], data_length); bitmap 629 ui/gfx/codec/jpeg_codec.cc return bitmap; bitmap 90 ui/gfx/codec/png_codec.cc bitmap(NULL), bitmap 102 ui/gfx/codec/png_codec.cc bitmap(skbitmap), bitmap 114 ui/gfx/codec/png_codec.cc SkBitmap* bitmap; bitmap 278 ui/gfx/codec/png_codec.cc if (state->bitmap) { bitmap 279 ui/gfx/codec/png_codec.cc state->bitmap->setConfig(SkBitmap::kARGB_8888_Config, bitmap 281 ui/gfx/codec/png_codec.cc state->bitmap->allocPixels(); bitmap 302 ui/gfx/codec/png_codec.cc if (state->bitmap) bitmap 303 ui/gfx/codec/png_codec.cc base = reinterpret_cast<unsigned char*>(state->bitmap->getAddr32(0, 0)); bitmap 439 ui/gfx/codec/png_codec.cc SkBitmap* bitmap) { bitmap 440 ui/gfx/codec/png_codec.cc DCHECK(bitmap); bitmap 454 ui/gfx/codec/png_codec.cc PngDecoderState state(bitmap); bitmap 468 ui/gfx/codec/png_codec.cc bitmap->setAlphaType(state.is_opaque ? bitmap 126 ui/gfx/codec/png_codec.h SkBitmap* bitmap); bitmap 131 ui/gfx/color_analysis.cc void UnPreMultiply(const SkBitmap& bitmap, uint32_t* buffer, int buffer_size) { bitmap 132 ui/gfx/color_analysis.cc SkAutoLockPixels auto_lock(bitmap); bitmap 133 ui/gfx/color_analysis.cc uint32_t* in = static_cast<uint32_t*>(bitmap.getPixels()); bitmap 135 ui/gfx/color_analysis.cc int pixel_count = std::min(bitmap.width() * bitmap.height(), buffer_size); bitmap 385 ui/gfx/color_analysis.cc SkColor CalculateKMeanColorOfBitmap(const SkBitmap& bitmap) { bitmap 389 ui/gfx/color_analysis.cc int pixel_count = bitmap.width() * bitmap.height(); bitmap 391 ui/gfx/color_analysis.cc UnPreMultiply(bitmap, image.get(), pixel_count); bitmap 396 ui/gfx/color_analysis.cc bitmap.width(), bitmap 397 ui/gfx/color_analysis.cc bitmap.height(), bitmap 404 ui/gfx/color_analysis.cc gfx::Matrix3F ComputeColorCovariance(const SkBitmap& bitmap) { bitmap 406 ui/gfx/color_analysis.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 408 ui/gfx/color_analysis.cc if (!bitmap.getPixels()) bitmap 412 ui/gfx/color_analysis.cc DCHECK(bitmap.colorType() == kPMColor_SkColorType); bitmap 424 ui/gfx/color_analysis.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 425 ui/gfx/color_analysis.cc SkPMColor* current_color = static_cast<uint32_t*>(bitmap.getAddr32(0, y)); bitmap 426 ui/gfx/color_analysis.cc for (int x = 0; x < bitmap.width(); ++x, ++current_color) { bitmap 448 ui/gfx/color_analysis.cc int pixel_n = bitmap.width() * bitmap.height(); bitmap 100 ui/gfx/color_analysis.h GFX_EXPORT SkColor CalculateKMeanColorOfBitmap(const SkBitmap& bitmap); bitmap 103 ui/gfx/color_analysis.h GFX_EXPORT gfx::Matrix3F ComputeColorCovariance(const SkBitmap& bitmap); bitmap 131 ui/gfx/color_analysis_unittest.cc void Calculate8bitBitmapMinMax(const SkBitmap& bitmap, bitmap 134 ui/gfx/color_analysis_unittest.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 135 ui/gfx/color_analysis_unittest.cc DCHECK(bitmap.getPixels()); bitmap 136 ui/gfx/color_analysis_unittest.cc DCHECK(bitmap.config() == SkBitmap::kA8_Config); bitmap 141 ui/gfx/color_analysis_unittest.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 142 ui/gfx/color_analysis_unittest.cc uint8_t* current_color = bitmap.getAddr8(0, y); bitmap 143 ui/gfx/color_analysis_unittest.cc for (int x = 0; x < bitmap.width(); ++x, ++current_color) { bitmap 229 ui/gfx/color_analysis_unittest.cc SkBitmap bitmap; bitmap 230 ui/gfx/color_analysis_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); bitmap 231 ui/gfx/color_analysis_unittest.cc bitmap.allocPixels(); bitmap 232 ui/gfx/color_analysis_unittest.cc bitmap.eraseColor(SK_ColorWHITE); bitmap 233 ui/gfx/color_analysis_unittest.cc color = FindClosestColor(static_cast<uint8_t*>(bitmap.getPixels()), bitmap 234 ui/gfx/color_analysis_unittest.cc bitmap.width(), bitmap 235 ui/gfx/color_analysis_unittest.cc bitmap.height(), bitmap 241 ui/gfx/color_analysis_unittest.cc uint32_t* pixel = bitmap.getAddr32(0, 0); bitmap 243 ui/gfx/color_analysis_unittest.cc color = FindClosestColor(static_cast<uint8_t*>(bitmap.getPixels()), bitmap 244 ui/gfx/color_analysis_unittest.cc bitmap.width(), bitmap 245 ui/gfx/color_analysis_unittest.cc bitmap.height(), bitmap 252 ui/gfx/color_analysis_unittest.cc SkBitmap bitmap; bitmap 253 ui/gfx/color_analysis_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); bitmap 254 ui/gfx/color_analysis_unittest.cc bitmap.allocPixels(); bitmap 255 ui/gfx/color_analysis_unittest.cc bitmap.eraseARGB(255, 100, 150, 200); bitmap 257 ui/gfx/color_analysis_unittest.cc SkColor color = color_utils::CalculateKMeanColorOfBitmap(bitmap); bitmap 265 ui/gfx/color_analysis_unittest.cc bitmap.eraseARGB(128, 100, 150, 200); bitmap 266 ui/gfx/color_analysis_unittest.cc color = color_utils::CalculateKMeanColorOfBitmap(bitmap); bitmap 276 ui/gfx/color_analysis_unittest.cc SkBitmap bitmap; bitmap 277 ui/gfx/color_analysis_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 100, 200); bitmap 280 ui/gfx/color_analysis_unittest.cc color_utils::ComputeColorCovariance(bitmap)); bitmap 281 ui/gfx/color_analysis_unittest.cc bitmap.allocPixels(); bitmap 282 ui/gfx/color_analysis_unittest.cc bitmap.eraseRGB(50, 150, 200); bitmap 283 ui/gfx/color_analysis_unittest.cc gfx::Matrix3F covariance = color_utils::ComputeColorCovariance(bitmap); bitmap 298 ui/gfx/color_analysis_unittest.cc SkBitmap bitmap = bitmap 300 ui/gfx/color_analysis_unittest.cc gfx::Matrix3F covariance = color_utils::ComputeColorCovariance(bitmap); bitmap 196 ui/gfx/color_utils.cc void BuildLumaHistogram(const SkBitmap& bitmap, int histogram[256]) { bitmap 197 ui/gfx/color_utils.cc DCHECK_EQ(kPMColor_SkColorType, bitmap.colorType()); bitmap 199 ui/gfx/color_utils.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 201 ui/gfx/color_utils.cc int pixel_width = bitmap.width(); bitmap 202 ui/gfx/color_utils.cc int pixel_height = bitmap.height(); bitmap 205 ui/gfx/color_utils.cc ++histogram[GetLuminanceForColor(bitmap.getColor(x, y))]; bitmap 50 ui/gfx/color_utils.h GFX_EXPORT void BuildLumaHistogram(const SkBitmap& bitmap, int histogram[256]); bitmap 86 ui/gfx/gtk_util.cc GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap) { bitmap 87 ui/gfx/gtk_util.cc if (bitmap.isNull()) bitmap 90 ui/gfx/gtk_util.cc SkAutoLockPixels lock_pixels(bitmap); bitmap 92 ui/gfx/gtk_util.cc int width = bitmap.width(); bitmap 93 ui/gfx/gtk_util.cc int height = bitmap.height(); bitmap 107 ui/gfx/gtk_util.cc uint32 pixel = bitmap.getAddr32(0, y)[x]; bitmap 36 ui/gfx/gtk_util.h GFX_EXPORT GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap); bitmap 117 ui/gfx/icon_util.cc SkBitmap bitmap = image.AsBitmap(); bitmap 121 ui/gfx/icon_util.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 122 ui/gfx/icon_util.cc if ((bitmap.colorType() != kPMColor_SkColorType) || bitmap 123 ui/gfx/icon_util.cc (bitmap.getPixels() == NULL)) { bitmap 132 ui/gfx/icon_util.cc bitmaps->push_back(bitmap); bitmap 165 ui/gfx/icon_util.cc HICON IconUtil::CreateHICONFromSkBitmap(const SkBitmap& bitmap) { bitmap 168 ui/gfx/icon_util.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 169 ui/gfx/icon_util.cc if ((bitmap.colorType() != kPMColor_SkColorType) || bitmap 170 ui/gfx/icon_util.cc (bitmap.width() <= 0) || (bitmap.height() <= 0) || bitmap 171 ui/gfx/icon_util.cc (bitmap.getPixels() == NULL)) bitmap 179 ui/gfx/icon_util.cc InitializeBitmapHeader(&bitmap_header, bitmap.width(), bitmap.height()); bitmap 187 ui/gfx/icon_util.cc memcpy(bits, bitmap.getPixels(), bitmap.width() * bitmap.height() * 4); bitmap 198 ui/gfx/icon_util.cc static_cast<const uint32*>(bitmap.getPixels()), bitmap 199 ui/gfx/icon_util.cc bitmap.width() * bitmap.height()); bitmap 204 ui/gfx/icon_util.cc size_t bytes_per_line = (bitmap.width() + 0xF) / 16 * 2; bitmap 205 ui/gfx/icon_util.cc size_t mask_bits_size = bytes_per_line * bitmap.height(); bitmap 214 ui/gfx/icon_util.cc HBITMAP mono_bitmap = ::CreateBitmap(bitmap.width(), bitmap.height(), 1, 1, bitmap 253 ui/gfx/icon_util.cc scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON(icon_handle)); bitmap 255 ui/gfx/icon_util.cc return bitmap.Pass(); bitmap 373 ui/gfx/icon_util.cc SkBitmap bitmap; bitmap 374 ui/gfx/icon_util.cc bitmap.allocN32Pixels(s.width(), s.height()); bitmap 375 ui/gfx/icon_util.cc bitmap.eraseARGB(0, 0, 0, 0); bitmap 376 ui/gfx/icon_util.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 421 ui/gfx/icon_util.cc memcpy(bitmap.getPixels(), static_cast<void*>(bits), num_pixels * 4); bitmap 425 ui/gfx/icon_util.cc static_cast<const uint32*>(bitmap.getPixels()), num_pixels); bitmap 430 ui/gfx/icon_util.cc uint32* p = static_cast<uint32*>(bitmap.getPixels()); bitmap 444 ui/gfx/icon_util.cc return bitmap; bitmap 558 ui/gfx/icon_util.cc void IconUtil::SetSingleIconImageInformation(const SkBitmap& bitmap, bitmap 568 ui/gfx/icon_util.cc DCHECK_LT(bitmap.width(), kLargeIconSize); bitmap 569 ui/gfx/icon_util.cc DCHECK_LT(bitmap.height(), kLargeIconSize); bitmap 573 ui/gfx/icon_util.cc ComputeBitmapSizeComponents(bitmap, bitmap 577 ui/gfx/icon_util.cc icon_dir->idEntries[index].bWidth = static_cast<BYTE>(bitmap.width()); bitmap 578 ui/gfx/icon_util.cc icon_dir->idEntries[index].bHeight = static_cast<BYTE>(bitmap.height()); bitmap 588 ui/gfx/icon_util.cc icon_image->icHeader.biHeight = bitmap.height() * 2; bitmap 589 ui/gfx/icon_util.cc icon_image->icHeader.biWidth = bitmap.width(); bitmap 610 ui/gfx/icon_util.cc CopySkBitmapBitsIntoIconBuffer(bitmap, xor_mask_addr, xor_mask_size); bitmap 614 ui/gfx/icon_util.cc void IconUtil::CopySkBitmapBitsIntoIconBuffer(const SkBitmap& bitmap, bitmap 617 ui/gfx/icon_util.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 618 ui/gfx/icon_util.cc unsigned char* bitmap_ptr = static_cast<unsigned char*>(bitmap.getPixels()); bitmap 619 ui/gfx/icon_util.cc size_t bitmap_size = bitmap.height() * bitmap.width() * 4; bitmap 621 ui/gfx/icon_util.cc for (size_t i = 0; i < bitmap_size; i += bitmap.width() * 4) { bitmap 622 ui/gfx/icon_util.cc memcpy(buffer + bitmap_size - bitmap.width() * 4 - i, bitmap 624 ui/gfx/icon_util.cc bitmap.width() * 4); bitmap 652 ui/gfx/icon_util.cc void IconUtil::ComputeBitmapSizeComponents(const SkBitmap& bitmap, bitmap 657 ui/gfx/icon_util.cc *xor_mask_size = bitmap.width() * bitmap.height() * 4; bitmap 680 ui/gfx/icon_util.cc size_t and_line_length = (bitmap.width() + 7) >> 3; bitmap 682 ui/gfx/icon_util.cc size_t and_mask_size = and_line_length * bitmap.height(); bitmap 85 ui/gfx/icon_util.h static HICON CreateHICONFromSkBitmap(const SkBitmap& bitmap); bitmap 227 ui/gfx/icon_util.h static void SetSingleIconImageInformation(const SkBitmap& bitmap, bitmap 236 ui/gfx/icon_util.h static void CopySkBitmapBitsIntoIconBuffer(const SkBitmap& bitmap, bitmap 260 ui/gfx/icon_util.h static void ComputeBitmapSizeComponents(const SkBitmap& bitmap, bitmap 53 ui/gfx/icon_util_unittest.cc SkBitmap bitmap; bitmap 54 ui/gfx/icon_util_unittest.cc bitmap.allocN32Pixels(width, height); bitmap 56 ui/gfx/icon_util_unittest.cc memset(bitmap.getPixels(), 0, width * height * 4); bitmap 57 ui/gfx/icon_util_unittest.cc return bitmap; bitmap 133 ui/gfx/icon_util_unittest.cc SkBitmap bitmap = image.AsBitmap(); bitmap 134 ui/gfx/icon_util_unittest.cc EXPECT_EQ(256, bitmap.width()); bitmap 135 ui/gfx/icon_util_unittest.cc EXPECT_EQ(256, bitmap.height()); bitmap 160 ui/gfx/icon_util_unittest.cc scoped_ptr<SkBitmap> bitmap; bitmap 161 ui/gfx/icon_util_unittest.cc bitmap.reset(IconUtil::CreateSkBitmapFromHICON(icon, icon_size)); bitmap 162 ui/gfx/icon_util_unittest.cc EXPECT_NE(bitmap.get(), static_cast<SkBitmap*>(NULL)); bitmap 170 ui/gfx/icon_util_unittest.cc scoped_ptr<SkBitmap> bitmap; bitmap 173 ui/gfx/icon_util_unittest.cc bitmap.reset(new SkBitmap); bitmap 174 ui/gfx/icon_util_unittest.cc ASSERT_NE(bitmap.get(), static_cast<SkBitmap*>(NULL)); bitmap 175 ui/gfx/icon_util_unittest.cc bitmap->setConfig(SkImageInfo::MakeA8(kSmallIconWidth, kSmallIconHeight)); bitmap 176 ui/gfx/icon_util_unittest.cc icon = IconUtil::CreateHICONFromSkBitmap(*bitmap); bitmap 180 ui/gfx/icon_util_unittest.cc bitmap.reset(new SkBitmap); bitmap 181 ui/gfx/icon_util_unittest.cc ASSERT_NE(bitmap.get(), static_cast<SkBitmap*>(NULL)); bitmap 182 ui/gfx/icon_util_unittest.cc bitmap->setConfig(SkImageInfo::MakeN32Premul(0, 0)); bitmap 183 ui/gfx/icon_util_unittest.cc icon = IconUtil::CreateHICONFromSkBitmap(*bitmap); bitmap 187 ui/gfx/icon_util_unittest.cc bitmap.reset(new SkBitmap); bitmap 188 ui/gfx/icon_util_unittest.cc ASSERT_NE(bitmap.get(), static_cast<SkBitmap*>(NULL)); bitmap 189 ui/gfx/icon_util_unittest.cc bitmap->setConfig(SkImageInfo::MakeN32Premul(kSmallIconWidth, bitmap 191 ui/gfx/icon_util_unittest.cc icon = IconUtil::CreateHICONFromSkBitmap(*bitmap); bitmap 198 ui/gfx/icon_util_unittest.cc scoped_ptr<SkBitmap> bitmap; bitmap 206 ui/gfx/icon_util_unittest.cc bitmap.reset(new SkBitmap); bitmap 207 ui/gfx/icon_util_unittest.cc ASSERT_NE(bitmap.get(), static_cast<SkBitmap*>(NULL)); bitmap 208 ui/gfx/icon_util_unittest.cc bitmap->setConfig(SkImageInfo::MakeA8(kSmallIconWidth, kSmallIconHeight)); bitmap 211 ui/gfx/icon_util_unittest.cc bitmap->allocPixels(); bitmap 212 ui/gfx/icon_util_unittest.cc memset(bitmap->getPixels(), 0, bitmap->width() * bitmap->height()); bitmap 213 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(*bitmap)); bitmap 220 ui/gfx/icon_util_unittest.cc bitmap.reset(new SkBitmap); bitmap 221 ui/gfx/icon_util_unittest.cc ASSERT_NE(bitmap.get(), static_cast<SkBitmap*>(NULL)); bitmap 222 ui/gfx/icon_util_unittest.cc bitmap->setConfig(SkImageInfo::MakeN32Premul(0, 0)); bitmap 223 ui/gfx/icon_util_unittest.cc bitmap->allocPixels(); bitmap 224 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(*bitmap)); bitmap 231 ui/gfx/icon_util_unittest.cc bitmap.reset(new SkBitmap); bitmap 232 ui/gfx/icon_util_unittest.cc ASSERT_NE(bitmap.get(), static_cast<SkBitmap*>(NULL)); bitmap 233 ui/gfx/icon_util_unittest.cc bitmap->setConfig(SkImageInfo::MakeN32Premul(kSmallIconWidth, bitmap 235 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(*bitmap)); bitmap 242 ui/gfx/icon_util_unittest.cc bitmap->allocPixels(); bitmap 244 ui/gfx/icon_util_unittest.cc memset(bitmap->getPixels(), 0, bitmap->width() * bitmap->height() * 4); bitmap 245 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(*bitmap)); bitmap 273 ui/gfx/icon_util_unittest.cc scoped_ptr<SkBitmap> bitmap; bitmap 281 ui/gfx/icon_util_unittest.cc bitmap.reset(IconUtil::CreateSkBitmapFromHICON(small_icon, small_icon_size)); bitmap 282 ui/gfx/icon_util_unittest.cc ASSERT_NE(bitmap.get(), static_cast<SkBitmap*>(NULL)); bitmap 283 ui/gfx/icon_util_unittest.cc EXPECT_EQ(bitmap->width(), small_icon_size.width()); bitmap 284 ui/gfx/icon_util_unittest.cc EXPECT_EQ(bitmap->height(), small_icon_size.height()); bitmap 285 ui/gfx/icon_util_unittest.cc EXPECT_EQ(bitmap->colorType(), kPMColor_SkColorType); bitmap 295 ui/gfx/icon_util_unittest.cc bitmap.reset(IconUtil::CreateSkBitmapFromHICON(large_icon, large_icon_size)); bitmap 296 ui/gfx/icon_util_unittest.cc ASSERT_NE(bitmap.get(), static_cast<SkBitmap*>(NULL)); bitmap 297 ui/gfx/icon_util_unittest.cc EXPECT_EQ(bitmap->width(), large_icon_size.width()); bitmap 298 ui/gfx/icon_util_unittest.cc EXPECT_EQ(bitmap->height(), large_icon_size.height()); bitmap 299 ui/gfx/icon_util_unittest.cc EXPECT_EQ(bitmap->colorType(), kPMColor_SkColorType); bitmap 307 ui/gfx/icon_util_unittest.cc SkBitmap bitmap = CreateBlackSkBitmap(kSmallIconWidth, kSmallIconHeight); bitmap 308 ui/gfx/icon_util_unittest.cc HICON icon = IconUtil::CreateHICONFromSkBitmap(bitmap); bitmap 410 ui/gfx/icon_util_unittest.cc scoped_ptr<SkBitmap> bitmap( bitmap 412 ui/gfx/icon_util_unittest.cc ASSERT_TRUE(bitmap.get()); bitmap 413 ui/gfx/icon_util_unittest.cc EXPECT_EQ(48, bitmap->width()); bitmap 414 ui/gfx/icon_util_unittest.cc EXPECT_EQ(48, bitmap->height()); bitmap 419 ui/gfx/icon_util_unittest.cc scoped_ptr<SkBitmap> bitmap( bitmap 421 ui/gfx/icon_util_unittest.cc ASSERT_TRUE(bitmap.get()); bitmap 422 ui/gfx/icon_util_unittest.cc EXPECT_EQ(256, bitmap->width()); bitmap 423 ui/gfx/icon_util_unittest.cc EXPECT_EQ(256, bitmap->height()); bitmap 141 ui/gfx/image/image.cc SkBitmap bitmap; bitmap 142 ui/gfx/image/image.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); bitmap 143 ui/gfx/image/image.cc bitmap.allocPixels(); bitmap 144 ui/gfx/image/image.cc bitmap.eraseRGB(0xff, 0, 0); bitmap 145 ui/gfx/image/image.cc return new gfx::ImageSkia(gfx::ImageSkiaRep(bitmap, 1.0f)); bitmap 158 ui/gfx/image/image.cc SkBitmap bitmap; bitmap 160 ui/gfx/image/image.cc &bitmap)) { bitmap 167 ui/gfx/image/image.cc bitmap, image_png_reps[i].scale)); bitmap 593 ui/gfx/image/image.cc Image Image::CreateFrom1xBitmap(const SkBitmap& bitmap) { bitmap 594 ui/gfx/image/image.cc return gfx::Image(ImageSkia::CreateFrom1xBitmap(bitmap)); bitmap 621 ui/gfx/image/image.cc return ToImageSkia()->bitmap(); bitmap 686 ui/gfx/image/image.cc *skia_rep->image()->bitmap())); bitmap 106 ui/gfx/image/image.h static Image CreateFrom1xBitmap(const SkBitmap& bitmap); bitmap 32 ui/gfx/image/image_png_rep.cc SkBitmap bitmap; bitmap 34 ui/gfx/image/image_png_rep.cc &bitmap)) { bitmap 38 ui/gfx/image/image_png_rep.cc return gfx::Size(bitmap.width(), bitmap.height()); bitmap 242 ui/gfx/image/image_skia.cc ImageSkia ImageSkia::CreateFrom1xBitmap(const SkBitmap& bitmap) { bitmap 243 ui/gfx/image/image_skia.cc return ImageSkia(ImageSkiaRep(bitmap, 1.0f)); bitmap 79 ui/gfx/image/image_skia.h static ImageSkia CreateFrom1xBitmap(const SkBitmap& bitmap); bitmap 137 ui/gfx/image/image_skia.h const SkBitmap* bitmap() const { return &GetBitmap(); } bitmap 40 ui/gfx/image/image_skia_operations.cc SkBitmap bitmap; bitmap 41 ui/gfx/image/image_skia_operations.cc bitmap.setConfig( bitmap 43 ui/gfx/image/image_skia_operations.cc bitmap.allocPixels(); bitmap 44 ui/gfx/image/image_skia_operations.cc bitmap.eraseColor(SK_ColorRED); bitmap 45 ui/gfx/image/image_skia_operations.cc return gfx::ImageSkiaRep(bitmap, scale); bitmap 209 ui/gfx/image/image_skia_unittest.cc const SkBitmap* bitmap = image_skia.bitmap(); bitmap 210 ui/gfx/image/image_skia_unittest.cc EXPECT_NE(static_cast<SkBitmap*>(NULL), bitmap); bitmap 211 ui/gfx/image/image_skia_unittest.cc EXPECT_FALSE(bitmap->isNull()); bitmap 223 ui/gfx/image/image_skia_unittest.cc const SkBitmap* bitmap = empty_image_copy.bitmap(); bitmap 224 ui/gfx/image/image_skia_unittest.cc ASSERT_NE(static_cast<SkBitmap*>(NULL), bitmap); bitmap 225 ui/gfx/image/image_skia_unittest.cc EXPECT_TRUE(bitmap->isNull()); bitmap 226 ui/gfx/image/image_skia_unittest.cc EXPECT_TRUE(bitmap->empty()); bitmap 367 ui/gfx/image/image_unittest.cc const SkBitmap* bitmap = image.ToSkBitmap(); bitmap 368 ui/gfx/image/image_unittest.cc EXPECT_FALSE(bitmap->isNull()); bitmap 387 ui/gfx/image/image_unittest.cc const SkBitmap* bitmap = image.ToSkBitmap(); bitmap 388 ui/gfx/image/image_unittest.cc EXPECT_TRUE(bitmap); bitmap 389 ui/gfx/image/image_unittest.cc EXPECT_FALSE(bitmap->isNull()); bitmap 428 ui/gfx/image/image_unittest.cc const SkBitmap* bitmap = NULL; bitmap 431 ui/gfx/image/image_unittest.cc bitmap = image.CopySkBitmap(); bitmap 434 ui/gfx/image/image_unittest.cc EXPECT_TRUE(bitmap); bitmap 435 ui/gfx/image/image_unittest.cc EXPECT_FALSE(bitmap->isNull()); bitmap 436 ui/gfx/image/image_unittest.cc delete bitmap; bitmap 489 ui/gfx/image/image_unittest.cc const SkBitmap* bitmap = image.ToSkBitmap(); bitmap 490 ui/gfx/image/image_unittest.cc SkAutoLockPixels auto_lock(*bitmap); bitmap 491 ui/gfx/image/image_unittest.cc gt::CheckColors(bitmap->getColor(10, 10), SK_ColorGREEN); bitmap 497 ui/gfx/image/image_unittest.cc SkBitmap bitmap; bitmap 498 ui/gfx/image/image_unittest.cc bitmap.allocN32Pixels(width, height); bitmap 499 ui/gfx/image/image_unittest.cc bitmap.eraseRGB(0, 255, 0); bitmap 502 ui/gfx/image/image_unittest.cc SkCanvas canvas(bitmap); bitmap 508 ui/gfx/image/image_unittest.cc gt::CheckColors(bitmap.getColor(10, 10), SK_ColorRED); bitmap 509 ui/gfx/image/image_unittest.cc gt::CheckColors(bitmap.getColor(10, 40), SK_ColorGREEN); bitmap 514 ui/gfx/image/image_unittest.cc gfx::Image from_skbitmap = gfx::Image::CreateFrom1xBitmap(bitmap); bitmap 539 ui/gfx/image/image_unittest.cc SkBitmap bitmap; bitmap 540 ui/gfx/image/image_unittest.cc bitmap.allocN32Pixels(width, height); bitmap 541 ui/gfx/image/image_unittest.cc bitmap.eraseARGB(0, 0, 255, 0); bitmap 544 ui/gfx/image/image_unittest.cc SkCanvas canvas(bitmap); bitmap 550 ui/gfx/image/image_unittest.cc gt::CheckColors(bitmap.getColor(10, 10), SK_ColorRED); bitmap 551 ui/gfx/image/image_unittest.cc gt::CheckIsTransparent(bitmap.getColor(10, 40)); bitmap 556 ui/gfx/image/image_unittest.cc gfx::Image from_skbitmap = gfx::Image::CreateFrom1xBitmap(bitmap); bitmap 573 ui/gfx/image/image_unittest.cc gt::CheckIsTransparent(bitmap.getColor(10, 40)); bitmap 683 ui/gfx/image/image_unittest.cc SkBitmap bitmap(gt::CreateBitmap(10, 10)); bitmap 684 ui/gfx/image/image_unittest.cc EXPECT_TRUE(!bitmap.isNull()); bitmap 686 ui/gfx/image/image_unittest.cc gfx::ImageSkiaRep(bitmap, 1.0f))); bitmap 59 ui/gfx/image/image_unittest_util.cc SkBitmap bitmap; bitmap 60 ui/gfx/image/image_unittest_util.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); bitmap 61 ui/gfx/image/image_unittest_util.cc bitmap.allocPixels(); bitmap 62 ui/gfx/image/image_unittest_util.cc bitmap.eraseRGB(0, 255, 0); bitmap 63 ui/gfx/image/image_unittest_util.cc return bitmap; bitmap 71 ui/gfx/image/image_unittest_util.cc SkBitmap bitmap = CreateBitmap(edge_size, edge_size); bitmap 73 ui/gfx/image/image_unittest_util.cc PNGCodec::EncodeBGRASkBitmap(bitmap, false, &bytes->data()); bitmap 129 ui/gfx/image/image_unittest_util.cc const SkBitmap& bitmap) { bitmap 133 ui/gfx/image/image_unittest_util.cc return bitmap.isNull(); bitmap 136 ui/gfx/image/image_unittest_util.cc return IsEqual(bitmap, decoded); bitmap 140 ui/gfx/image/image_unittest_util.cc SkBitmap bitmap = image.AsBitmap(); bitmap 141 ui/gfx/image/image_unittest_util.cc EXPECT_FALSE(bitmap.isNull()); bitmap 142 ui/gfx/image/image_unittest_util.cc EXPECT_LE(16, bitmap.width()); bitmap 143 ui/gfx/image/image_unittest_util.cc EXPECT_LE(16, bitmap.height()); bitmap 144 ui/gfx/image/image_unittest_util.cc SkAutoLockPixels auto_lock(bitmap); bitmap 145 ui/gfx/image/image_unittest_util.cc CheckColors(bitmap.getColor(10, 10), SK_ColorRED); bitmap 181 ui/gfx/image/image_unittest_util.cc const SkBitmap bitmap(CreateBitmap(25, 25)); bitmap 188 ui/gfx/image/image_unittest_util.cc gfx::SkBitmapToUIImageWithColorSpace(bitmap, scale, color_space); bitmap 192 ui/gfx/image/image_unittest_util.cc NSImage* image = gfx::SkBitmapToNSImage(bitmap); bitmap 196 ui/gfx/image/image_unittest_util.cc return gfx::GdkPixbufFromSkBitmap(bitmap); bitmap 198 ui/gfx/image/image_unittest_util.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 252 ui/gfx/image/image_unittest_util.cc SkBitmap bitmap = *image.bitmap(); bitmap 253 ui/gfx/image/image_unittest_util.cc SkAutoLockPixels auto_lock(bitmap); bitmap 254 ui/gfx/image/image_unittest_util.cc return bitmap.getColor(x, y); bitmap 50 ui/gfx/image/image_unittest_util.h const SkBitmap& bitmap); bitmap 21 ui/gfx/image/image_util.cc scoped_ptr<SkBitmap> bitmap(gfx::JPEGCodec::Decode(input, input_size)); bitmap 22 ui/gfx/image/image_util.cc if (bitmap.get()) bitmap 23 ui/gfx/image/image_util.cc return Image::CreateFrom1xBitmap(*bitmap); bitmap 35 ui/gfx/image/image_util.cc const SkBitmap& bitmap = image_skia_rep.sk_bitmap(); bitmap 36 ui/gfx/image/image_util.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 38 ui/gfx/image/image_util.cc if (!bitmap.readyToDraw()) bitmap 42 ui/gfx/image/image_util.cc reinterpret_cast<unsigned char*>(bitmap.getAddr32(0, 0)), bitmap 43 ui/gfx/image/image_util.cc gfx::JPEGCodec::FORMAT_SkBitmap, bitmap.width(), bitmap 44 ui/gfx/image/image_util.cc bitmap.height(), bitmap 45 ui/gfx/image/image_util.cc static_cast<int>(bitmap.rowBytes()), quality, bitmap 60 ui/gfx/image/image_util.cc const SkBitmap& bitmap = rep.sk_bitmap(); bitmap 61 ui/gfx/image/image_util.cc if (bitmap.isNull() || bitmap.width() == 0) bitmap 64 ui/gfx/image/image_util.cc if (bitmap.isOpaque()) bitmap 67 ui/gfx/image/image_util.cc SkAutoLockPixels l(bitmap); bitmap 68 ui/gfx/image/image_util.cc int inner_min = bitmap.width(); bitmap 69 ui/gfx/image/image_util.cc for (int x = 0; x < bitmap.width(); ++x) { bitmap 70 ui/gfx/image/image_util.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 71 ui/gfx/image/image_util.cc if (SkColorGetA(bitmap.getColor(x, y)) > kMinimumVisibleOpacity) { bitmap 76 ui/gfx/image/image_util.cc if (inner_min < bitmap.width()) bitmap 81 ui/gfx/image/image_util.cc for (int x = bitmap.width() - 1; x > inner_min; --x) { bitmap 82 ui/gfx/image/image_util.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 83 ui/gfx/image/image_util.cc if (SkColorGetA(bitmap.getColor(x, y)) > kMinimumVisibleOpacity) { bitmap 92 ui/gfx/image/image_util.cc if (inner_min == bitmap.width()) { bitmap 93 ui/gfx/image/image_util.cc *leading = bitmap.width()/2; bitmap 94 ui/gfx/image/image_util.cc *trailing = bitmap.width()/2 + 1; bitmap 27 ui/gfx/ozone/dri/dri_skbitmap.cc DriSkBitmap* bitmap, bitmap 37 ui/gfx/ozone/dri/dri_skbitmap.cc if (drmIoctl(bitmap->get_fd(), DRM_IOCTL_MODE_CREATE_DUMB, &request) < 0) { bitmap 43 ui/gfx/ozone/dri/dri_skbitmap.cc bitmap->set_handle(request.handle); bitmap 47 ui/gfx/ozone/dri/dri_skbitmap.cc map_request.handle = bitmap->get_handle(); bitmap 48 ui/gfx/ozone/dri/dri_skbitmap.cc if (drmIoctl(bitmap->get_fd(), DRM_IOCTL_MODE_MAP_DUMB, &map_request)) { bitmap 51 ui/gfx/ozone/dri/dri_skbitmap.cc DestroyDumbBuffer(bitmap->get_fd(), bitmap->get_handle()); bitmap 59 ui/gfx/ozone/dri/dri_skbitmap.cc bitmap->get_fd(), bitmap 64 ui/gfx/ozone/dri/dri_skbitmap.cc DestroyDumbBuffer(bitmap->get_fd(), bitmap->get_handle()); bitmap 72 ui/gfx/ozone/dri/dri_skbitmap.cc DriSkBitmap *bitmap = reinterpret_cast<DriSkBitmap*>(context); bitmap 73 ui/gfx/ozone/dri/dri_skbitmap.cc if (!bitmap && !bitmap->getPixels()) bitmap 76 ui/gfx/ozone/dri/dri_skbitmap.cc munmap(bitmap->getPixels(), bitmap->getSize()); bitmap 77 ui/gfx/ozone/dri/dri_skbitmap.cc DestroyDumbBuffer(bitmap->get_fd(), bitmap->get_handle()); bitmap 29 ui/gfx/ozone/dri/dri_surface.cc CustomSkBitmapDevice(const SkBitmap& bitmap) : SkBitmapDevice(bitmap) {} bitmap 138 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc MockDriSkBitmap* bitmap = new MockDriSkBitmap(); bitmap 139 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc bitmaps_.push_back(bitmap); bitmap 141 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc return bitmap; bitmap 24 ui/gfx/ozone/impl/file_surface_factory.cc const SkBitmap& bitmap) { bitmap 26 ui/gfx/ozone/impl/file_surface_factory.cc gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, true, &png_data); bitmap 50 ui/gfx/ozone/impl/file_surface_factory.cc SkBitmap bitmap; bitmap 51 ui/gfx/ozone/impl/file_surface_factory.cc bitmap.setConfig( bitmap 54 ui/gfx/ozone/impl/file_surface_factory.cc if (canvas_->readPixels(&bitmap, 0, 0)) { bitmap 56 ui/gfx/ozone/impl/file_surface_factory.cc FROM_HERE, base::Bind(&WriteDataToFile, location_, bitmap), true); bitmap 524 ui/gfx/skbitmap_operations.cc const SkBitmap& bitmap, bitmap 549 ui/gfx/skbitmap_operations.cc DCHECK(bitmap.empty() == false); bitmap 550 ui/gfx/skbitmap_operations.cc DCHECK(bitmap.colorType() == kPMColor_SkColorType); bitmap 553 ui/gfx/skbitmap_operations.cc shifted.allocN32Pixels(bitmap.width(), bitmap.height()); bitmap 556 ui/gfx/skbitmap_operations.cc SkAutoLockPixels lock_bitmap(bitmap); bitmap 560 ui/gfx/skbitmap_operations.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 561 ui/gfx/skbitmap_operations.cc SkPMColor* pixels = bitmap.getAddr32(0, y); bitmap 564 ui/gfx/skbitmap_operations.cc (*line_proc)(hsl_shift, pixels, tinted_pixels, bitmap.width()); bitmap 605 ui/gfx/skbitmap_operations.cc SkBitmap SkBitmapOperations::DownsampleByTwoUntilSize(const SkBitmap& bitmap, bitmap 607 ui/gfx/skbitmap_operations.cc if ((bitmap.width() <= min_w) || (bitmap.height() <= min_h) || bitmap 609 ui/gfx/skbitmap_operations.cc return bitmap; bitmap 612 ui/gfx/skbitmap_operations.cc SkBitmap current = bitmap; bitmap 620 ui/gfx/skbitmap_operations.cc SkBitmap SkBitmapOperations::DownsampleByTwo(const SkBitmap& bitmap) { bitmap 622 ui/gfx/skbitmap_operations.cc if ((bitmap.width() <= 1) || (bitmap.height() <= 1)) bitmap 623 ui/gfx/skbitmap_operations.cc return bitmap; bitmap 626 ui/gfx/skbitmap_operations.cc result.allocN32Pixels((bitmap.width() + 1) / 2, (bitmap.height() + 1) / 2); bitmap 628 ui/gfx/skbitmap_operations.cc SkAutoLockPixels lock(bitmap); bitmap 631 ui/gfx/skbitmap_operations.cc const int srcLastX = bitmap.width() - 1; bitmap 635 ui/gfx/skbitmap_operations.cc const SkPMColor* SK_RESTRICT cur_src0 = bitmap.getAddr32(0, src_y); bitmap 637 ui/gfx/skbitmap_operations.cc if (src_y + 1 < bitmap.height()) bitmap 638 ui/gfx/skbitmap_operations.cc cur_src1 = bitmap.getAddr32(0, src_y + 1); bitmap 685 ui/gfx/skbitmap_operations.cc SkBitmap SkBitmapOperations::UnPreMultiply(const SkBitmap& bitmap) { bitmap 686 ui/gfx/skbitmap_operations.cc if (bitmap.isNull()) bitmap 687 ui/gfx/skbitmap_operations.cc return bitmap; bitmap 688 ui/gfx/skbitmap_operations.cc if (bitmap.isOpaque()) bitmap 689 ui/gfx/skbitmap_operations.cc return bitmap; bitmap 691 ui/gfx/skbitmap_operations.cc SkImageInfo info = bitmap.info(); bitmap 697 ui/gfx/skbitmap_operations.cc SkAutoLockPixels bitmap_lock(bitmap); bitmap 701 ui/gfx/skbitmap_operations.cc uint32 src_pixel = *bitmap.getAddr32(x, y); bitmap 734 ui/gfx/skbitmap_operations.cc SkBitmap SkBitmapOperations::CreateColorMask(const SkBitmap& bitmap, bitmap 736 ui/gfx/skbitmap_operations.cc DCHECK(bitmap.colorType() == kPMColor_SkColorType); bitmap 739 ui/gfx/skbitmap_operations.cc color_mask.allocN32Pixels(bitmap.width(), bitmap.height()); bitmap 748 ui/gfx/skbitmap_operations.cc canvas.drawBitmap(bitmap, SkIntToScalar(0), SkIntToScalar(0), &paint); bitmap 754 ui/gfx/skbitmap_operations.cc const SkBitmap& bitmap, bitmap 756 ui/gfx/skbitmap_operations.cc DCHECK(bitmap.colorType() == kPMColor_SkColorType); bitmap 764 ui/gfx/skbitmap_operations.cc image_with_shadow.allocN32Pixels(bitmap.width() + shadow_margin.width(), bitmap 765 ui/gfx/skbitmap_operations.cc bitmap.height() + shadow_margin.height()); bitmap 775 ui/gfx/skbitmap_operations.cc SkBitmap shadow_image = SkBitmapOperations::CreateColorMask(bitmap, bitmap 790 ui/gfx/skbitmap_operations.cc canvas.drawBitmap(bitmap, SkIntToScalar(0), SkIntToScalar(0)); bitmap 78 ui/gfx/skbitmap_operations.h static SkBitmap CreateHSLShiftedBitmap(const SkBitmap& bitmap, bitmap 84 ui/gfx/skbitmap_operations.h static SkBitmap CreateTiledBitmap(const SkBitmap& bitmap, bitmap 93 ui/gfx/skbitmap_operations.h static SkBitmap DownsampleByTwoUntilSize(const SkBitmap& bitmap, bitmap 98 ui/gfx/skbitmap_operations.h static SkBitmap DownsampleByTwo(const SkBitmap& bitmap); bitmap 104 ui/gfx/skbitmap_operations.h static SkBitmap UnPreMultiply(const SkBitmap& bitmap); bitmap 107 ui/gfx/skbitmap_operations.h static SkBitmap CreateTransposedBitmap(const SkBitmap& bitmap); bitmap 111 ui/gfx/skbitmap_operations.h static SkBitmap CreateColorMask(const SkBitmap& bitmap, SkColor c); bitmap 117 ui/gfx/skbitmap_operations.h static SkBitmap CreateDropShadow(const SkBitmap& bitmap, bitmap 62 ui/gfx/skbitmap_operations_unittest.cc const SkBitmap& bitmap, bitmap 65 ui/gfx/skbitmap_operations_unittest.cc shifted.setConfig(SkBitmap::kARGB_8888_Config, bitmap.width(), bitmap 66 ui/gfx/skbitmap_operations_unittest.cc bitmap.height()); bitmap 70 ui/gfx/skbitmap_operations_unittest.cc SkAutoLockPixels lock_bitmap(bitmap); bitmap 74 ui/gfx/skbitmap_operations_unittest.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 75 ui/gfx/skbitmap_operations_unittest.cc SkPMColor* pixels = bitmap.getAddr32(0, y); bitmap 78 ui/gfx/skbitmap_operations_unittest.cc for (int x = 0; x < bitmap.width(); ++x) { bitmap 98 ui/message_center/views/notification_view.cc SkBitmap bitmap = bitmap 100 ui/message_center/views/notification_view.cc if (!bitmap.isNull()) { bitmap 102 ui/message_center/views/notification_view.cc bitmap.extractAlpha(&alpha); bitmap 103 ui/message_center/views/notification_view.cc for (int y = 0; y < bitmap.height(); ++y) { bitmap 104 ui/message_center/views/notification_view.cc for (int x = 0; x < bitmap.width(); ++x) { bitmap 113 ui/message_center/views/notification_view.cc return bitmap.isNull(); bitmap 89 ui/native_theme/native_theme_win.cc SkBitmap bitmap; bitmap 90 ui/native_theme/native_theme_win.cc temp_bitmap.copyTo(&bitmap); bitmap 93 ui/native_theme/native_theme_win.cc bitmap, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode)); bitmap 712 ui/native_theme/native_theme_win.cc SkBitmap bitmap; bitmap 713 ui/native_theme/native_theme_win.cc hdc_bitmap.copyTo(&bitmap, kPMColor_SkColorType); bitmap 718 ui/native_theme/native_theme_win.cc SkPMColor* pixels = bitmap.getAddr32(0, 0); bitmap 733 ui/native_theme/native_theme_win.cc canvas->drawBitmap(bitmap, rect.x(), rect.y()); bitmap 35 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc cursor_window_, cursor_->bitmap(), bitmap_location()); bitmap 53 ui/snapshot/snapshot_aura.cc scoped_refptr<base::RefCountedBytes> EncodeBitmap(const SkBitmap& bitmap) { bitmap 56 ui/snapshot/snapshot_aura.cc reinterpret_cast<unsigned char*>(bitmap.pixelRef()->pixels()); bitmap 59 ui/snapshot/snapshot_aura.cc gfx::Size(bitmap.width(), bitmap.height()), bitmap 60 ui/snapshot/snapshot_aura.cc base::checked_cast<int>(bitmap.rowBytes()), bitmap 59 ui/snapshot/snapshot_aura_unittest.cc const SkBitmap* bitmap = image.ToSkBitmap(); bitmap 61 ui/snapshot/snapshot_aura_unittest.cc bitmap->pixelRef()->pixels()); bitmap 63 ui/snapshot/snapshot_aura_unittest.cc for (int y = 0; y < bitmap->height(); y += scale_factor) { bitmap 64 ui/snapshot/snapshot_aura_unittest.cc for (int x = 0; x < bitmap->width(); x += scale_factor) { bitmap 65 ui/snapshot/snapshot_aura_unittest.cc if (static_cast<SkColor>(bitmap_data[x + y * bitmap->width()]) != bitmap 58 ui/snapshot/snapshot_win.cc base::win::ScopedBitmap bitmap( bitmap 65 ui/snapshot/snapshot_win.cc base::win::ScopedSelectObject select_bitmap(mem_hdc, bitmap); bitmap 14 ui/views/controls/button/image_button_unittest.cc SkBitmap bitmap; bitmap 15 ui/views/controls/button/image_button_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); bitmap 16 ui/views/controls/button/image_button_unittest.cc bitmap.allocPixels(); bitmap 17 ui/views/controls/button/image_button_unittest.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 20 ui/views/controls/button/label_button_unittest.cc SkBitmap bitmap; bitmap 21 ui/views/controls/button/label_button_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); bitmap 22 ui/views/controls/button/label_button_unittest.cc bitmap.allocPixels(); bitmap 23 ui/views/controls/button/label_button_unittest.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 22 ui/views/controls/image_view.cc const SkBitmap& bitmap = img.GetRepresentation(image_scale).sk_bitmap(); bitmap 23 ui/views/controls/image_view.cc SkAutoLockPixels pixel_lock(bitmap); bitmap 24 ui/views/controls/image_view.cc return bitmap.getPixels(); bitmap 31 ui/views/controls/table/test_table_model.cc SkBitmap bitmap; bitmap 32 ui/views/controls/table/test_table_model.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); bitmap 33 ui/views/controls/table/test_table_model.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); bitmap 1249 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc const SkBitmap& bitmap = rep.sk_bitmap(); bitmap 1250 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc SkAutoLockPixels locker(bitmap); bitmap 1254 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc data->push_back(bitmap.getColor(x, y)); bitmap 323 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc const SkBitmap* in_bitmap = drag_image_.bitmap(); bitmap 851 ui/views/win/hwnd_message_handler.cc *window_icon.bitmap()); bitmap 861 ui/views/win/hwnd_message_handler.cc HICON windows_icon = IconUtil::CreateHICONFromSkBitmap(*app_icon.bitmap()); bitmap 19 ui/wm/core/image_grid_unittest.cc SkBitmap bitmap; bitmap 20 ui/wm/core/image_grid_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height()); bitmap 21 ui/wm/core/image_grid_unittest.cc return new gfx::Image(gfx::ImageSkia::CreateFrom1xBitmap(bitmap)); bitmap 73 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc WebExternalBitmapImpl* bitmap = NULL; bitmap 76 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc bitmap = AllocateBitmap(); bitmap 77 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc if (!client_->prepareMailbox(&client_mailbox, bitmap)) { bitmap 78 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc if (bitmap) bitmap 79 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc free_bitmaps_.push_back(bitmap); bitmap 84 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc if (bitmap) { bitmap 85 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc *mailbox = cc::TextureMailbox(bitmap->shared_memory(), bitmap->size()); bitmap 96 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc bitmap)); bitmap 115 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc WebExternalBitmapImpl* bitmap, bitmap 119 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc delete bitmap; bitmap 126 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc if (bitmap) bitmap 127 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc layer->free_bitmaps_.push_back(bitmap); bitmap 58 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h WebExternalBitmapImpl* bitmap, bitmap 25 webkit/renderer/compositor_bindings/web_image_layer_impl.cc void WebImageLayerImpl::setBitmap(SkBitmap bitmap) { bitmap 27 webkit/renderer/compositor_bindings/web_image_layer_impl.cc static_cast<cc::PictureImageLayer*>(layer_->layer())->SetBitmap(bitmap); bitmap 29 webkit/renderer/compositor_bindings/web_image_layer_impl.cc gfx::Size(bitmap.width(), bitmap.height())); bitmap 31 webkit/renderer/compositor_bindings/web_image_layer_impl.cc static_cast<cc::ImageLayer*>(layer_->layer())->SetBitmap(bitmap); bitmap 24 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc void WebNinePatchLayerImpl::setBitmap(SkBitmap bitmap, bitmap 26 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc setBitmap(bitmap); bitmap 29 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc bitmap.width() - aperture.width, bitmap 30 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc bitmap.height() - aperture.height)); bitmap 33 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc void WebNinePatchLayerImpl::setBitmap(SkBitmap bitmap) { bitmap 36 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc nine_patch->SetBitmap(bitmap); bitmap 27 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.h virtual void setBitmap(SkBitmap bitmap, const blink::WebRect& aperture); bitmap 28 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.h virtual void setBitmap(SkBitmap bitmap);