Home
last modified time | relevance | path

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

12345

/external/chromium_org/apps/ui/views/
Dapp_window_frame_view.cc67 rb.GetNativeImageNamed(IDR_APP_WINDOW_CLOSE).ToImageSkia()); in Init()
70 rb.GetNativeImageNamed(IDR_APP_WINDOW_CLOSE_H).ToImageSkia()); in Init()
73 rb.GetNativeImageNamed(IDR_APP_WINDOW_CLOSE_P).ToImageSkia()); in Init()
81 rb.GetNativeImageNamed(IDR_APP_WINDOW_MAXIMIZE_H).ToImageSkia()); in Init()
84 rb.GetNativeImageNamed(IDR_APP_WINDOW_MAXIMIZE_P).ToImageSkia()); in Init()
87 rb.GetNativeImageNamed(IDR_APP_WINDOW_MAXIMIZE_D).ToImageSkia()); in Init()
94 rb.GetNativeImageNamed(IDR_APP_WINDOW_RESTORE_H).ToImageSkia()); in Init()
97 rb.GetNativeImageNamed(IDR_APP_WINDOW_RESTORE_P).ToImageSkia()); in Init()
104 rb.GetNativeImageNamed(IDR_APP_WINDOW_MINIMIZE_H).ToImageSkia()); in Init()
107 rb.GetNativeImageNamed(IDR_APP_WINDOW_MINIMIZE_P).ToImageSkia()); in Init()
[all …]
/external/chromium_org/chrome/browser/extensions/api/extension_action/
Dbrowser_action_apitest.cc172 EXPECT_FALSE(action_icon.ToImageSkia()->HasRepresentation(2.0f)); in IN_PROC_BROWSER_TEST_F()
175 ImagesAreEqualAtScale(AddBackgroundForViews(*action_icon.ToImageSkia()), in IN_PROC_BROWSER_TEST_F()
176 *GetBrowserActionsBar().GetIcon(0).ToImageSkia(), in IN_PROC_BROWSER_TEST_F()
190 action_icon.ToImageSkia()->HasRepresentation(2.0f)); in IN_PROC_BROWSER_TEST_F()
193 ImagesAreEqualAtScale(AddBackgroundForViews(*action_icon.ToImageSkia()), in IN_PROC_BROWSER_TEST_F()
194 *GetBrowserActionsBar().GetIcon(0).ToImageSkia(), in IN_PROC_BROWSER_TEST_F()
208 EXPECT_TRUE(action_icon.ToImageSkia()->HasRepresentation(2.0f)); in IN_PROC_BROWSER_TEST_F()
211 ImagesAreEqualAtScale(AddBackgroundForViews(*action_icon.ToImageSkia()), in IN_PROC_BROWSER_TEST_F()
212 *GetBrowserActionsBar().GetIcon(0).ToImageSkia(), in IN_PROC_BROWSER_TEST_F()
225 EXPECT_TRUE(action_icon.ToImageSkia()->HasRepresentation(2.0f)); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/ash/system/tray/
Dtray_background_view.cc106 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_LEFT).ToImageSkia(); in TrayBackground()
108 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_CENTER).ToImageSkia(); in TrayBackground()
110 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_RIGHT).ToImageSkia(); in TrayBackground()
113 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_LEFT_ONBLACK).ToImageSkia(); in TrayBackground()
115 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_CENTER_ONBLACK).ToImageSkia(); in TrayBackground()
117 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_RIGHT_ONBLACK).ToImageSkia(); in TrayBackground()
120 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_LEFT_PRESSED).ToImageSkia(); in TrayBackground()
122 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_CENTER_PRESSED).ToImageSkia(); in TrayBackground()
124 rb.GetImageNamed(IDR_AURA_TRAY_BG_HORIZ_RIGHT_PRESSED).ToImageSkia(); in TrayBackground()
127 rb.GetImageNamed(IDR_AURA_TRAY_BG_VERTICAL_TOP).ToImageSkia(); in TrayBackground()
[all …]
Dtray_popup_header_button.cc28 bundle.GetImageNamed(enabled_resource_id).ToImageSkia()); in TrayPopupHeaderButton()
30 bundle.GetImageNamed(disabled_resource_id).ToImageSkia()); in TrayPopupHeaderButton()
32 bundle.GetImageNamed(enabled_resource_id_hover).ToImageSkia()); in TrayPopupHeaderButton()
34 bundle.GetImageNamed(disabled_resource_id_hover).ToImageSkia()); in TrayPopupHeaderButton()
Dtray_image_item.cc34 GetImageNamed(resource_id_).ToImageSkia()); in SetImageFromResourceId()
42 GetImageNamed(resource_id_).ToImageSkia()); in CreateTrayView()
/external/chromium_org/chrome/browser/extensions/
Dextension_action_icon_factory_unittest.cc204 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
234 set_icon.ToImageSkia()->GetRepresentation(1.0f), in TEST_F()
235 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
242 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
278 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
286 default_icon.ToImageSkia()->GetRepresentation(1.0f), in TEST_F()
287 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
293 default_icon.ToImageSkia()->GetRepresentation(1.0f), in TEST_F()
294 icon.ToImageSkia()->GetRepresentation(1.0f))); in TEST_F()
/external/chromium_org/ui/views/window/
Dcustom_frame_view.cc357 rb.GetImageNamed(IDR_WINDOW_TOP_LEFT_CORNER).ToImageSkia(), in PaintRestoredFrameBorder()
358 rb.GetImageNamed(IDR_WINDOW_TOP_RIGHT_CORNER).ToImageSkia(), in PaintRestoredFrameBorder()
359 rb.GetImageNamed(IDR_WINDOW_BOTTOM_LEFT_CORNER).ToImageSkia(), in PaintRestoredFrameBorder()
360 rb.GetImageNamed(IDR_WINDOW_BOTTOM_RIGHT_CORNER).ToImageSkia()); in PaintRestoredFrameBorder()
362 rb.GetImageNamed(IDR_WINDOW_LEFT_SIDE).ToImageSkia(), in PaintRestoredFrameBorder()
363 rb.GetImageNamed(IDR_WINDOW_TOP_CENTER).ToImageSkia(), in PaintRestoredFrameBorder()
364 rb.GetImageNamed(IDR_WINDOW_RIGHT_SIDE).ToImageSkia(), in PaintRestoredFrameBorder()
365 rb.GetImageNamed(IDR_WINDOW_BOTTOM_CENTER).ToImageSkia()); in PaintRestoredFrameBorder()
382 IDR_APP_TOP_CENTER).ToImageSkia(); in PaintMaximizedFrameBorder()
475 frame_->IsActive() ? IDR_FRAME : IDR_FRAME_INACTIVE).ToImageSkia(); in GetFrameImage()
[all …]
/external/chromium_org/ui/views/examples/
Dbutton_example.cc38 icon_ = rb.GetImageNamed(IDR_CLOSE_H).ToImageSkia(); in ButtonExample()
64 rb.GetImageNamed(IDR_CLOSE).ToImageSkia()); in CreateExampleView()
66 rb.GetImageNamed(IDR_CLOSE_H).ToImageSkia()); in CreateExampleView()
68 rb.GetImageNamed(IDR_CLOSE_P).ToImageSkia()); in CreateExampleView()
/external/chromium_org/chrome/browser/ui/views/profiles/
Dnew_avatar_button.cc75 *rb->GetImageNamed(IDR_AVATAR_THEMED_BUTTON_AVATAR).ToImageSkia(); in NewAvatarButton()
84 *rb->GetImageNamed(IDR_AVATAR_METRO_BUTTON_AVATAR).ToImageSkia(); in NewAvatarButton()
93 *rb->GetImageNamed(IDR_AVATAR_GLASS_BUTTON_AVATAR).ToImageSkia(); in NewAvatarButton()
190 IDR_ICON_PROFILES_AVATAR_BUTTON_ERROR).ToImageSkia()); in UpdateAvatarButtonAndRelayoutParent()
/external/chromium_org/chrome/browser/ui/views/app_list/
Dapp_list_dialog_container.cc70 *rb.GetImageNamed(IDR_CLOSE_DIALOG).ToImageSkia()); in AppListDialogContainer()
72 *rb.GetImageNamed(IDR_CLOSE_DIALOG_H).ToImageSkia()); in AppListDialogContainer()
74 *rb.GetImageNamed(IDR_CLOSE_DIALOG_P).ToImageSkia()); in AppListDialogContainer()
/external/chromium_org/chrome/browser/profiles/
Dprofile_avatar_icon_util_unittest.cc27 gfx::ImageSkia image_skia = *image.ToImageSkia(); in VerifyScaling()
29 EXPECT_TRUE(image.ToImageSkia()->HasRepresentation(1.0f)); in VerifyScaling()
32 EXPECT_TRUE(image.ToImageSkia()->HasRepresentation(2.0f)); in VerifyScaling()
/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.cc135 const gfx::ImageSkia* image_skia1 = image.ToImageSkia(); in TEST_F()
141 const gfx::ImageSkia* image_skia2 = image.ToImageSkia(); in TEST_F()
568 const gfx::ImageSkia* image_skia1 = image1.ToImageSkia(); in TEST_F()
572 const gfx::ImageSkia* image_skia2 = image2.ToImageSkia(); in TEST_F()
578 EXPECT_EQ(image_skia2, image1.ToImageSkia()); in TEST_F()
581 EXPECT_EQ(image_skia1, image2.ToImageSkia()); in TEST_F()
598 EXPECT_EQ(image1.ToImageSkia(), image2.ToImageSkia()); in TEST_F()
/external/chromium_org/ui/views/controls/menu/
Dmenu_image_util.cc104 GetImageNamed(image_id).ToImageSkia()->size(), false), in SubmenuArrowImageSource()
110 const gfx::ImageSkia* r = rb.GetImageNamed(image_id_).ToImageSkia(); in Draw()
118 .GetImageNamed(IDR_MENU_HIERARCHY_ARROW).ToImageSkia()->size(); in GetSubmenuArrowSize()
/external/chromium_org/chrome/browser/ui/views/infobars/
Dextension_infobar.cc200 icon = rb.GetImageNamed(IDR_EXTENSIONS_SECTION).ToImageSkia(); in OnImageLoaded()
202 icon = image.ToImageSkia(); in OnImageLoaded()
206 rb.GetImageNamed(IDR_APP_DROPARROW).ToImageSkia(); in OnImageLoaded()
Dinfobar_view.cc214 icon_->SetImage(image.ToImageSkia()); in ViewHierarchyChanged()
222 rb.GetImageNamed(IDR_CLOSE_1).ToImageSkia()); in ViewHierarchyChanged()
224 rb.GetImageNamed(IDR_CLOSE_1_H).ToImageSkia()); in ViewHierarchyChanged()
226 rb.GetImageNamed(IDR_CLOSE_1_P).ToImageSkia()); in ViewHierarchyChanged()
/external/chromium_org/chrome/browser/status_icons/
Dstatus_icon_menu_model_unittest.cc106 EXPECT_EQ(image_arg.ToImageSkia(), test_image1.ToImageSkia()); in TEST_F()
/external/chromium_org/ash/system/chromeos/rotation/
Dtray_rotation_lock.cc79 IDR_AURA_UBER_TRAY_AUTO_ROTATION_LOCKED_DARK).ToImageSkia()); in UpdateImage()
85 ToImageSkia()); in UpdateImage()
/external/chromium_org/ui/views/controls/
Dslider.cc160 thumb_ = rb.GetImageNamed(IDR_SLIDER_ACTIVE_THUMB).ToImageSkia(); in UpdateState()
162 images_[i] = rb.GetImageNamed(bar_active_images_[i]).ToImageSkia(); in UpdateState()
164 thumb_ = rb.GetImageNamed(IDR_SLIDER_DISABLED_THUMB).ToImageSkia(); in UpdateState()
166 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/system/user/
Daccounts_detailed_view.cc225 rb.GetImageNamed(IDR_AURA_UBER_TRAY_REMOVE_ACCOUNT).ToImageSkia()); in CreateDeleteButton()
228 rb.GetImageNamed(IDR_AURA_UBER_TRAY_REMOVE_ACCOUNT_HOVER).ToImageSkia()); in CreateDeleteButton()
231 rb.GetImageNamed(IDR_AURA_UBER_TRAY_REMOVE_ACCOUNT_HOVER).ToImageSkia()); in CreateDeleteButton()
/external/chromium_org/chrome/browser/ui/views/passwords/
Dmanage_password_item_view.cc132 rb->GetImageNamed(IDR_CLOSE_2).ToImageSkia()); in ManageView()
134 rb->GetImageNamed(IDR_CLOSE_2_H).ToImageSkia()); in ManageView()
136 rb->GetImageNamed(IDR_CLOSE_2_P).ToImageSkia()); in ManageView()
/external/chromium_org/chrome/browser/first_run/
Dtry_chrome_dialog_view.cc84 icon->SetImage(rb.GetNativeImageNamed(IDR_PRODUCT_LOGO_32).ToImageSkia()); in ShowModal()
185 rb.GetNativeImageNamed(IDR_CLOSE_2).ToImageSkia()); in ShowModal()
187 rb.GetNativeImageNamed(IDR_CLOSE_2_H).ToImageSkia()); in ShowModal()
189 rb.GetNativeImageNamed(IDR_CLOSE_2_P).ToImageSkia()); in ShowModal()
/external/chromium_org/ash/shelf/
Doverflow_button.cc41 bottom_image_ = rb.GetImageNamed(IDR_ASH_SHELF_OVERFLOW).ToImageSkia(); in OverflowButton()
101 rb.GetImageNamed(background_image_id).ToImageSkia(); in OnPaint()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dmedia_indicator_button.cc63 chrome::GetTabMediaIndicatorImage(next_state).ToImageSkia(); in TransitionToMediaState()
67 chrome::GetTabMediaIndicatorAffordanceImage(next_state).ToImageSkia(); in TransitionToMediaState()

12345