/external/chromium_org/ui/gfx/image/ |
H A D | image_skia_util_mac.h | 39 GFX_EXPORT NSImage* NSImageFromImageSkia(const gfx::ImageSkia& image_skia); 43 const gfx::ImageSkia& image_skia,
|
H A D | image_skia_unittest.cc | 5 #include "ui/gfx/image/image_skia.h" 82 explicit TestOnThread(ImageSkia* image_skia) argument 84 image_skia_(image_skia), 118 ImageSkia image_skia(new FixedSource(image), Size(100, 200)); 119 EXPECT_EQ(0U, image_skia.image_reps().size()); 121 const ImageSkiaRep& result_100p = image_skia.GetRepresentation(1.0f); 125 EXPECT_EQ(1U, image_skia.image_reps().size()); 127 const ImageSkiaRep& result_200p = image_skia.GetRepresentation(2.0f); 134 EXPECT_EQ(1U, image_skia.image_reps().size()); 138 image_skia [all...] |
H A D | image_skia_util_ios.h | 31 // of the ImageSkiaRep in |image_skia| which most closely matches the device's 33 GFX_EXPORT UIImage* UIImageFromImageSkia(const gfx::ImageSkia& image_skia);
|
H A D | image_unittest.cc | 10 #include "ui/gfx/image/image_skia.h" 87 gfx::ImageSkia image_skia; local 88 EXPECT_TRUE(image_skia.isNull()); 89 gfx::Image image2(image_skia); 176 gfx::ImageSkia image_skia; local 177 image_skia.AddRepresentation(gfx::ImageSkiaRep(gt::CreateBitmap( 179 gfx::Image image1(image_skia); 222 gfx::ImageSkia image_skia; local 223 image_skia.AddRepresentation(gfx::ImageSkiaRep(bitmap_1x, 225 image_skia 248 gfx::ImageSkia image_skia = image.AsImageSkia(); local 419 const gfx::ImageSkia* image_skia = NULL; local 643 gfx::ImageSkia image_skia; local 668 gfx::ImageSkia image_skia; local [all...] |
H A D | image_unittest_util.cc | 16 #include "ui/gfx/image/image_skia.h" 149 const gfx::ImageSkia& image_skia, 153 if (image_skia.isNull() || 154 image_skia.width() != width || 155 image_skia.height() != height || 156 image_skia.image_reps().size() != scales.size()) { 162 image_skia.GetRepresentation(scales[i]); 148 ImageSkiaStructureMatches( const gfx::ImageSkia& image_skia, int width, int height, const std::vector<float>& scales) argument
|
H A D | image_unittest_util.h | 56 // Returns true if the structure of |image_skia| matches the structure 59 // - |image_skia| is non null. 60 // - |image_skia| has ImageSkiaReps of |scale_factors|. 61 // - Each of the ImageSkiaReps has a pixel size of |image_skia|.size() * 64 const gfx::ImageSkia& image_skia,
|
/external/chromium_org/chrome/browser/ |
H A D | icon_loader_linux.cc | 16 #include "ui/gfx/image/image_skia.h" 63 gfx::ImageSkia image_skia = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); local 64 image_skia.MakeThreadSafe(); 65 image_.reset(new gfx::Image(image_skia));
|
H A D | icon_loader_win.cc | 15 #include "ui/gfx/image/image_skia.h" 57 gfx::ImageSkia image_skia = gfx::ImageSkia::CreateFrom1xBitmap(*bitmap); local 58 image_skia.MakeThreadSafe(); 59 image_.reset(new gfx::Image(image_skia));
|
H A D | icon_loader_chromeos.cc | 25 #include "ui/gfx/image/image_skia.h" 198 gfx::ImageSkia image_skia(ResizeImage(*(rb.GetImageNamed(idr)).ToImageSkia(), 200 image_skia.MakeThreadSafe(); 201 image_.reset(new gfx::Image(image_skia));
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_icon_image_unittest.cc | 242 gfx::ImageSkia::ImageSkiaReps image_reps = image.image_skia().image_reps(); 246 gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); 256 ASSERT_EQ(1u, image.image_skia().image_reps().size()); 258 representation = image.image_skia().GetRepresentation(1.0f); 265 representation = image.image_skia().GetRepresentation(2.0f); 273 ASSERT_EQ(2u, image.image_skia().image_reps().size()); 275 representation = image.image_skia().GetRepresentation(2.0f); 309 gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(2.0f); 313 ASSERT_EQ(1u, image.image_skia().image_reps().size()); 315 representation = image.image_skia() 555 gfx::ImageSkia image_skia = image->image_skia(); local [all...] |
H A D | app_icon_loader_impl.cc | 71 image->image_skia().EnsureRepsForSupportedScales(); 89 BuildImage(i->second, i->first->image_skia()); 101 BuildImage(i->second, i->first->image_skia());
|
H A D | extension_action_icon_factory.cc | 13 #include "ui/gfx/image/image_skia.h" 65 return default_icon_->image_skia();
|
H A D | extension_icon_image.h | 17 #include "ui/gfx/image/image_skia.h" 74 const gfx::ImageSkia& image_skia() const { return image_skia_; } function in class:extensions::IconImage
|
H A D | image_loader.cc | 27 #include "ui/gfx/image/image_skia.h" 341 gfx::ImageSkia image_skia; local 348 image_skia.AddRepresentation(gfx::ImageSkiaRep( 354 if (!image_skia.isNull()) { 355 image_skia.MakeThreadSafe(); 356 image = gfx::Image(image_skia);
|
/external/chromium_org/ui/base/dragdrop/ |
H A D | drag_utils_win.cc | 18 #include "ui/gfx/image/image_skia.h" 59 void SetDragImageOnDataObject(const gfx::ImageSkia& image_skia, argument 68 SkBitmapOperations::UnPreMultiply(*image_skia.bitmap())); 80 data_object->provider().SetDragImage(image_skia, cursor_offset);
|
H A D | drag_utils.h | 48 UI_EXPORT void SetDragImageOnDataObject(const gfx::ImageSkia& image_skia,
|
/external/chromium_org/ash/system/tray/ |
H A D | tray_item_more.h | 33 void SetImage(const gfx::ImageSkia* image_skia);
|
H A D | tray_item_more.cc | 55 void TrayItemMore::SetImage(const gfx::ImageSkia* image_skia) { argument 56 icon_->SetImage(image_skia);
|
/external/chromium_org/ui/base/resource/ |
H A D | resource_bundle_unittest.cc | 22 #include "ui/gfx/image/image_skia.h" 460 gfx::ImageSkia* image_skia = resource_bundle->GetImageSkiaNamed(3); local 465 GetSupportedScaleFactor(image_skia->image_reps()[0].scale())); 468 GetSupportedScaleFactor(image_skia->image_reps()[0].scale())); 472 // available for both scale factors in |image_skia|. 474 image_skia->GetRepresentation(GetImageScale(ui::SCALE_FACTOR_100P)); 477 image_skia->GetRepresentation(GetImageScale(ui::SCALE_FACTOR_200P)); 482 image_rep = image_skia->GetRepresentation( 512 gfx::ImageSkia* image_skia = resource_bundle->GetImageSkiaNamed(3); local 517 image_skia 553 gfx::ImageSkia* image_skia = resource_bundle->GetImageSkiaNamed(3); local 574 gfx::ImageSkia* image_skia = resource_bundle->GetImageSkiaNamed(3); local [all...] |
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_info_util_unittest.cc | 12 #include "ui/gfx/image/image_skia.h" 28 gfx::ImageSkia image_skia = *image.ToImageSkia(); local 29 canvas.DrawImageInt(image_skia, 15, 10); 32 canvas2.DrawImageInt(image_skia, 15, 10);
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
H A D | icon_label_bubble_view.cc | 79 void IconLabelBubbleView::SetImage(const gfx::ImageSkia& image_skia) { argument 80 image_->SetImage(image_skia);
|
/external/chromium_org/ui/views/controls/scrollbar/ |
H A D | bitmap_scroll_bar.cc | 19 #include "ui/gfx/image/image_skia.h" 190 gfx::ImageSkia* image_skia) { 195 prev_button_->SetImage(state, image_skia); 198 next_button_->SetImage(state, image_skia); 205 images_[part][state] = image_skia; 188 SetImage(ScrollBarPart part, CustomButton::ButtonState state, gfx::ImageSkia* image_skia) argument
|
H A D | bitmap_scroll_bar.h | 56 gfx::ImageSkia* image_skia);
|
/external/chromium_org/chrome/browser/ui/web_applications/ |
H A D | web_app_ui.cc | 36 #include "ui/gfx/image/image_skia.h" 357 gfx::ImageSkia image_skia = gfx::ImageSkia::CreateFrom1xBitmap(bmp); local 360 image_skia.MakeThreadSafe(); 361 shortcut_info.favicon.Add(gfx::Image(image_skia)); 374 gfx::ImageSkia image_skia(*it); 375 image_skia.MakeThreadSafe(); 376 shortcut_info.favicon.Add(image_skia);
|
/external/chromium_org/ash/drag_drop/ |
H A D | drag_image_view.cc | 130 gfx::ImageSkia image_skia(gfx::ImageSkiaRep(scaled, device_scale)); 131 canvas->DrawImageInt(image_skia, 0, 0);
|