Home
last modified time | relevance | path

Searched refs:ToSkBitmap (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/api/extension_action/
Dbrowser_action_apitest.cc152 uint32_t action_icon_last_id = action_icon.ToSkBitmap()->getGenerationID(); in IN_PROC_BROWSER_TEST_F()
156 icon_factory.GetIcon(0).ToSkBitmap()->getGenerationID()); in IN_PROC_BROWSER_TEST_F()
168 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID(); in IN_PROC_BROWSER_TEST_F()
185 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID(); in IN_PROC_BROWSER_TEST_F()
204 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID(); in IN_PROC_BROWSER_TEST_F()
221 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID(); in IN_PROC_BROWSER_TEST_F()
239 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID(); in IN_PROC_BROWSER_TEST_F()
257 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID(); in IN_PROC_BROWSER_TEST_F()
280 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID(); in IN_PROC_BROWSER_TEST_F()
285 *action_icon.ToSkBitmap(), in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ui/gfx/image/
Dimage_unittest.cc148 const SkBitmap* bitmap1 = image.ToSkBitmap(); in TEST_F()
149 const SkBitmap* bitmap2 = image.ToSkBitmap(); in TEST_F()
375 const SkBitmap* bitmap = image.ToSkBitmap(); in TEST_F()
395 const SkBitmap* bitmap = image.ToSkBitmap(); in TEST_F()
476 const SkBitmap* bitmap = image.ToSkBitmap(); in TEST_F()
514 const SkBitmap* bitmap2 = from_platform.ToSkBitmap(); in TEST_F()
555 const SkBitmap* bitmap2 = from_platform.ToSkBitmap(); in TEST_F()
618 EXPECT_EQ(image1.ToSkBitmap(), image2.ToSkBitmap()); in TEST_F()
675 EXPECT_TRUE(!image.ToSkBitmap()->isNull()); in TEST_F()
Dimage.h114 const SkBitmap* ToSkBitmap() const;
Dimage.cc502 const SkBitmap* Image::ToSkBitmap() const { in ToSkBitmap() function in gfx::Image
672 return IsEmpty() ? SkBitmap() : *ToSkBitmap(); in AsBitmap()
697 return new SkBitmap(*ToSkBitmap()); in CopySkBitmap()
Dimage_ios_unittest.mm92 const SkBitmap* bitmap = to_skbitmap.ToSkBitmap();
Dimage_unittest_util.cc173 const SkBitmap& bmp = *image.ToSkBitmap(); in IsEmpty()
/external/chromium_org/chrome/browser/ui/
Dchrome_style.cc16 const SkBitmap* image = rb.GetNativeImageNamed(IDR_CLOSE_DIALOG).ToSkBitmap(); in GetCloseButtonSize()
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dmenu_util.cc25 GdkPixbuf* pixbuf = GdkPixbufFromSkBitmap(*icon.ToSkBitmap()); in BuildMenuItemWithImage()
238 GdkPixbuf* pixbuf = GdkPixbufFromSkBitmap(*icon.ToSkBitmap()); in SetMenuItemInfo()
/external/chromium_org/ui/base/resource/
Dresource_bundle_unittest.cc236 EXPECT_EQ(empty_image.ToSkBitmap(), result.ToSkBitmap()); in TEST_F()
256 EXPECT_EQ(empty_image.ToSkBitmap(), result.ToSkBitmap()); in TEST_F()
/external/chromium_org/chrome/browser/ui/views/frame/
Dtaskbar_decorator_win.cc90 profiles::GetAvatarIconAsSquare(*image->ToSkBitmap(), 1))); in DrawTaskbarDecoration()
/external/chromium_org/chrome/browser/ui/android/
Dnavigation_popup.cc79 gfx::ConvertToJavaBitmap(image.ToSkBitmap()).obj()); in OnFaviconDataAvailable()
/external/chromium_org/chrome/browser/extensions/
Dextension_action_icon_factory_unittest.cc46 const SkBitmap* original_bitmap = original.ToSkBitmap(); in EnsureImageSize()
51 *original.ToSkBitmap(), skia::ImageOperations::RESIZE_LANCZOS3, in EnsureImageSize()
Dextension_icon_manager.cc106 icons_[extension_id] = ApplyTransforms(*image.ToSkBitmap()); in OnImageLoaded()
Dbookmark_app_helper.cc107 icon_info.data = *it->ToSkBitmap(); in OnIconsLoaded()
Dtab_helper.cc481 extension_app_icon_ = *image.ToSkBitmap(); in OnImageLoaded()
/external/chromium_org/extensions/browser/
Dimage_loader_unittest.cc148 image_.ToSkBitmap()->width()); in TEST_F()
196 image_.ToSkBitmap()->width()); in TEST_F()
/external/chromium_org/content/browser/frame_host/
Dnavigation_controller_android.cc42 if (status.valid && status.image.ToSkBitmap()->getSize() > 0) in CreateJavaNavigationEntry()
43 j_bitmap = gfx::ConvertToJavaBitmap(status.image.ToSkBitmap()); in CreateJavaNavigationEntry()
/external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/
Dapp_info_header_panel.cc160 bitmap = image.ToSkBitmap(); in OnAppImageLoaded()
/external/chromium_org/chrome/browser/ui/toolbar/
Dback_forward_menu_model_unittest.cc549 SkBitmap default_icon_bitmap = *default_icon.ToSkBitmap(); in TEST_F()
550 SkBitmap valid_icon_bitmap = *valid_icon.ToSkBitmap(); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dntp_login_handler.cc59 SkBitmap bmp = skia::ImageOperations::Resize(*image.ToSkBitmap(), in GetGAIAPictureForNTP()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dapp_window_launcher_item_controller.cc47 skia::ImageOperations::Resize(*app_window->app_icon().ToSkBitmap(), in GetAppListIcon()
/external/chromium_org/ui/snapshot/
Dsnapshot_aura_unittest.cc61 const SkBitmap* bitmap = image.ToSkBitmap(); in GetFailedPixelsCountWithScaleFactor()
/external/chromium_org/chrome/browser/profiles/
Dgaia_info_update_service_unittest.cc111 const SkBitmap* bmp = image.ToSkBitmap(); in ProfileDownloadSuccess()
Dprofile_info_cache_unittest.cc136 i)).ToSkBitmap(); in TEST_F()
149 GetCache()->GetAvatarIconOfProfileAtIndex(i).ToSkBitmap(); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dextension_icon_source.cc260 FinalizeImage(image.ToSkBitmap(), request_id); in OnImageLoaded()

12