Home
last modified time | relevance | path

Searched refs:ToImageSkia (Results 1 – 25 of 111) sorted by relevance

12345

/external/chromium_org/apps/ui/views/
Dshell_window_frame_view.cc67 rb.GetNativeImageNamed(IDR_APP_WINDOW_CLOSE).ToImageSkia()); in Init()
69 rb.GetNativeImageNamed(IDR_APP_WINDOW_CLOSE_H).ToImageSkia()); in Init()
71 rb.GetNativeImageNamed(IDR_APP_WINDOW_CLOSE_P).ToImageSkia()); in Init()
77 rb.GetNativeImageNamed(IDR_APP_WINDOW_MAXIMIZE).ToImageSkia()); in Init()
79 rb.GetNativeImageNamed(IDR_APP_WINDOW_MAXIMIZE_H).ToImageSkia()); in Init()
81 rb.GetNativeImageNamed(IDR_APP_WINDOW_MAXIMIZE_P).ToImageSkia()); in Init()
83 rb.GetNativeImageNamed(IDR_APP_WINDOW_MAXIMIZE_D).ToImageSkia()); in Init()
89 rb.GetNativeImageNamed(IDR_APP_WINDOW_RESTORE).ToImageSkia()); in Init()
91 rb.GetNativeImageNamed(IDR_APP_WINDOW_RESTORE_H).ToImageSkia()); in Init()
93 rb.GetNativeImageNamed(IDR_APP_WINDOW_RESTORE_P).ToImageSkia()); in Init()
[all …]
/external/chromium_org/chrome/browser/extensions/api/extension_action/
Dbrowser_action_apitest.cc175 EXPECT_FALSE(action_icon.ToImageSkia()->HasRepresentation(2.0f)); in IN_PROC_BROWSER_TEST_F()
178 AddBackgroundForViews(*action_icon.ToImageSkia()), in IN_PROC_BROWSER_TEST_F()
179 *GetBrowserActionsBar().GetIcon(0).ToImageSkia(), in IN_PROC_BROWSER_TEST_F()
193 action_icon.ToImageSkia()->HasRepresentation(2.0f)); in IN_PROC_BROWSER_TEST_F()
196 AddBackgroundForViews(*action_icon.ToImageSkia()), in IN_PROC_BROWSER_TEST_F()
197 *GetBrowserActionsBar().GetIcon(0).ToImageSkia(), in IN_PROC_BROWSER_TEST_F()
211 EXPECT_TRUE(action_icon.ToImageSkia()->HasRepresentation(2.0f)); in IN_PROC_BROWSER_TEST_F()
214 AddBackgroundForViews(*action_icon.ToImageSkia()), in IN_PROC_BROWSER_TEST_F()
215 *GetBrowserActionsBar().GetIcon(0).ToImageSkia(), in IN_PROC_BROWSER_TEST_F()
228 EXPECT_TRUE(action_icon.ToImageSkia()->HasRepresentation(2.0f)); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/ash/system/tray/
Dtray_background_view.cc98 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_LEFT).ToImageSkia(); in TrayBackground()
100 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_CENTER).ToImageSkia(); in TrayBackground()
102 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_RIGHT).ToImageSkia(); in TrayBackground()
105 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_LEFT_ONBLACK).ToImageSkia(); in TrayBackground()
107 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_CENTER_ONBLACK).ToImageSkia(); in TrayBackground()
109 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_RIGHT_ONBLACK).ToImageSkia(); in TrayBackground()
112 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_LEFT_PRESSED).ToImageSkia(); in TrayBackground()
114 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_CENTER_PRESSED).ToImageSkia(); in TrayBackground()
116 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_RIGHT_PRESSED).ToImageSkia(); in TrayBackground()
119 rb.GetImageNamed(IDR_AURA_TRAY_BG_VERTICAL_TOP).ToImageSkia(); in TrayBackground()
[all …]
Dtray_popup_header_button.cc29 bundle.GetImageNamed(enabled_resource_id).ToImageSkia()); in TrayPopupHeaderButton()
31 bundle.GetImageNamed(disabled_resource_id).ToImageSkia()); in TrayPopupHeaderButton()
33 bundle.GetImageNamed(enabled_resource_id_hover).ToImageSkia()); in TrayPopupHeaderButton()
35 bundle.GetImageNamed(disabled_resource_id_hover).ToImageSkia()); in TrayPopupHeaderButton()
Dtray_image_item.cc35 GetImageNamed(resource_id_).ToImageSkia()); in SetImageFromResourceId()
43 GetImageNamed(resource_id_).ToImageSkia()); in CreateTrayView()
/external/chromium_org/ui/views/window/
Dcustom_frame_view.cc339 rb.GetImageNamed(IDR_WINDOW_TOP_LEFT_CORNER).ToImageSkia(), in PaintRestoredFrameBorder()
340 rb.GetImageNamed(IDR_WINDOW_TOP_RIGHT_CORNER).ToImageSkia(), in PaintRestoredFrameBorder()
341 rb.GetImageNamed(IDR_WINDOW_BOTTOM_LEFT_CORNER).ToImageSkia(), in PaintRestoredFrameBorder()
342 rb.GetImageNamed(IDR_WINDOW_BOTTOM_RIGHT_CORNER).ToImageSkia()); in PaintRestoredFrameBorder()
344 rb.GetImageNamed(IDR_WINDOW_LEFT_SIDE).ToImageSkia(), in PaintRestoredFrameBorder()
345 rb.GetImageNamed(IDR_WINDOW_TOP_CENTER).ToImageSkia(), in PaintRestoredFrameBorder()
346 rb.GetImageNamed(IDR_WINDOW_RIGHT_SIDE).ToImageSkia(), in PaintRestoredFrameBorder()
347 rb.GetImageNamed(IDR_WINDOW_BOTTOM_CENTER).ToImageSkia()); in PaintRestoredFrameBorder()
364 IDR_APP_TOP_CENTER).ToImageSkia(); in PaintMaximizedFrameBorder()
461 frame_->IsActive() ? IDR_FRAME : IDR_FRAME_INACTIVE).ToImageSkia(); in GetFrameImage()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dextension_action_icon_factory_unittest.cc206 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
236 set_icon.ToImageSkia()->GetRepresentation(1.0f), in TEST_F()
237 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
244 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
280 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
288 default_icon.ToImageSkia()->GetRepresentation(1.0f), in TEST_F()
289 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
295 default_icon.ToImageSkia()->GetRepresentation(1.0f), in TEST_F()
296 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
/external/chromium_org/chrome/browser/status_icons/
Dstatus_icon_menu_model_unittest.cc105 EXPECT_EQ(image_arg.ToImageSkia(), test_image1.ToImageSkia()); in TEST_F()
108 EXPECT_EQ(image_arg.ToImageSkia(), test_image2.ToImageSkia()); in TEST_F()
/external/chromium_org/ui/views/examples/
Dbutton_example.cc41 icon_ = rb.GetImageNamed(IDR_CLOSE_H).ToImageSkia(); in ButtonExample()
71 rb.GetImageNamed(IDR_CLOSE).ToImageSkia()); in CreateExampleView()
73 rb.GetImageNamed(IDR_CLOSE_H).ToImageSkia()); in CreateExampleView()
75 rb.GetImageNamed(IDR_CLOSE_P).ToImageSkia()); in CreateExampleView()
77 IDR_MENU_CHECK).ToImageSkia()); in CreateExampleView()
/external/chromium_org/chrome/browser/ui/views/
Dnew_avatar_button.cc81 rb->GetImageNamed(IDR_AVATAR_THEMED_BUTTON_DROPARROW).ToImageSkia()); in NewAvatarButton()
89 rb->GetImageNamed(IDR_AVATAR_METRO_BUTTON_DROPARROW).ToImageSkia()); in NewAvatarButton()
97 rb->GetImageNamed(IDR_AVATAR_GLASS_BUTTON_DROPARROW).ToImageSkia()); in NewAvatarButton()
/external/chromium_org/chrome/browser/profiles/
Dprofile_info_util_unittest.cc28 gfx::ImageSkia image_skia = *image.ToImageSkia(); in VerifyScaling()
30 EXPECT_TRUE(image.ToImageSkia()->HasRepresentation(1.0f)); in VerifyScaling()
33 EXPECT_TRUE(image.ToImageSkia()->HasRepresentation(2.0f)); in VerifyScaling()
Dprofile_info_util.cc167 *image.ToImageSkia(), in GetSizedAvatarIconWithBorder()
192 *image.ToImageSkia(), in GetAvatarIconForWebUI()
216 *image.ToImageSkia(), in GetAvatarIconForTitleBar()
/external/chromium_org/ash/shelf/
Dapp_list_button.cc36 rb.GetImageNamed(IDR_AURA_LAUNCHER_ICON_APPLIST).ToImageSkia()); in AppListButton()
40 ToImageSkia()); in AppListButton()
44 ToImageSkia()); in AppListButton()
Dalternate_app_list_button.cc125 rb.GetImageNamed(background_image_id).ToImageSkia(); in OnPaint()
127 rb.GetImageNamed(IDR_AURA_LAUNCHER_ICON_APPLIST_ALTERNATE).ToImageSkia(); in OnPaint()
/external/chromium_org/ui/gfx/image/
Dimage_mac_unittest.mm109 const gfx::ImageSkia* image_skia = image.ToImageSkia();
117 // ToImageSkia should create a second representation.
140 const gfx::ImageSkia* image_skia = image.ToImageSkia();
148 // ToImageSkia should create a second representation.
167 EXPECT_EQ(2u, image.ToImageSkia()->image_reps().size());
Dimage_unittest.cc139 const gfx::ImageSkia* image_skia1 = image.ToImageSkia(); in TEST_F()
145 const gfx::ImageSkia* image_skia2 = image.ToImageSkia(); in TEST_F()
584 const gfx::ImageSkia* image_skia1 = image1.ToImageSkia(); in TEST_F()
588 const gfx::ImageSkia* image_skia2 = image2.ToImageSkia(); in TEST_F()
594 EXPECT_EQ(image_skia2, image1.ToImageSkia()); in TEST_F()
597 EXPECT_EQ(image_skia1, image2.ToImageSkia()); in TEST_F()
614 EXPECT_EQ(image1.ToImageSkia(), image2.ToImageSkia()); in TEST_F()
/external/chromium_org/chrome/browser/ui/views/infobars/
Dextension_infobar.cc191 icon = rb.GetImageNamed(IDR_EXTENSIONS_SECTION).ToImageSkia(); in OnImageLoaded()
193 icon = image.ToImageSkia(); in OnImageLoaded()
197 rb.GetImageNamed(IDR_APP_DROPARROW).ToImageSkia(); in OnImageLoaded()
Dinfobar_view.cc126 rb.GetImageNamed(IDR_INFOBARBUTTON_MENU_DROPARROW).ToImageSkia()); in CreateMenuButton()
260 icon_->SetImage(image.ToImageSkia()); in ViewHierarchyChanged()
267 rb.GetImageNamed(IDR_CLOSE_1).ToImageSkia()); in ViewHierarchyChanged()
269 rb.GetImageNamed(IDR_CLOSE_1_H).ToImageSkia()); in ViewHierarchyChanged()
271 rb.GetImageNamed(IDR_CLOSE_1_P).ToImageSkia()); in ViewHierarchyChanged()
/external/chromium_org/ui/views/controls/menu/
Dmenu_image_util.cc105 GetImageNamed(image_id).ToImageSkia()->size(), false), in SubmenuArrowImageSource()
111 const gfx::ImageSkia* r = rb.GetImageNamed(image_id_).ToImageSkia(); in Draw()
119 .GetImageNamed(IDR_MENU_HIERARCHY_ARROW).ToImageSkia()->size(); in GetSubmenuArrowSize()
/external/chromium_org/ui/views/controls/
Dslider.cc158 thumb_ = rb.GetImageNamed(IDR_SLIDER_ACTIVE_THUMB).ToImageSkia(); in UpdateState()
160 images_[i] = rb.GetImageNamed(bar_active_images_[i]).ToImageSkia(); in UpdateState()
162 thumb_ = rb.GetImageNamed(IDR_SLIDER_DISABLED_THUMB).ToImageSkia(); in UpdateState()
164 images_[i] = rb.GetImageNamed(bar_disabled_images_[i]).ToImageSkia(); in UpdateState()
Dthrobber.cc26 IDR_THROBBER).ToImageSkia()); in Throbber()
143 IDR_CHECKMARK).ToImageSkia()) { in CheckmarkThrobber()
/external/chromium_org/ash/wm/
Dheader_painter.cc188 rb.GetImageNamed(IDR_AURA_WINDOW_HEADER_SHADE_TOP_LEFT).ToImageSkia(); in Init()
190 rb.GetImageNamed(IDR_AURA_WINDOW_HEADER_SHADE_TOP).ToImageSkia(); in Init()
192 rb.GetImageNamed(IDR_AURA_WINDOW_HEADER_SHADE_TOP_RIGHT).ToImageSkia(); in Init()
194 rb.GetImageNamed(IDR_AURA_WINDOW_HEADER_SHADE_LEFT).ToImageSkia(); in Init()
196 rb.GetImageNamed(IDR_AURA_WINDOW_HEADER_SHADE_RIGHT).ToImageSkia(); in Init()
/external/chromium_org/chrome/browser/first_run/
Dtry_chrome_dialog_view.cc87 icon->SetImage(rb.GetNativeImageNamed(IDR_PRODUCT_LOGO_32).ToImageSkia()); in ShowModal()
188 rb.GetNativeImageNamed(IDR_CLOSE_2).ToImageSkia()); in ShowModal()
190 rb.GetNativeImageNamed(IDR_CLOSE_2_H).ToImageSkia()); in ShowModal()
192 rb.GetNativeImageNamed(IDR_CLOSE_2_P).ToImageSkia()); in ShowModal()
/external/chromium_org/chrome/browser/ui/webui/
Dfileicon_source.cc106 icon->ToImageSkia()->GetRepresentation( in FetchFileIcon()
154 icon->ToImageSkia()->GetRepresentation( in OnFileIconDataAvailable()
/external/chromium_org/ash/system/chromeos/screen_security/
Dscreen_tray_item.cc29 .GetImageNamed(icon_id).ToImageSkia()); in ScreenTrayView()
95 icon_->SetImage(bundle.GetImageNamed(icon_id_).ToImageSkia()); in CreateItems()

12345