Searched refs:image_skia (Results 1 - 25 of 53) sorted by relevance

123

/external/chromium_org/ui/gfx/image/
H A Dimage_skia_util_mac.h39 GFX_EXPORT NSImage* NSImageFromImageSkia(const gfx::ImageSkia& image_skia);
43 const gfx::ImageSkia& image_skia,
H A Dimage_skia_unittest.cc5 #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 Dimage_skia_util_ios.h31 // 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 Dimage_unittest.cc10 #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 Dimage_unittest_util.cc16 #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 Dimage_unittest_util.h56 // 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 Dicon_loader_linux.cc16 #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 Dicon_loader_win.cc15 #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 Dicon_loader_chromeos.cc25 #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 Dextension_icon_image_unittest.cc242 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 Dapp_icon_loader_impl.cc71 image->image_skia().EnsureRepsForSupportedScales();
89 BuildImage(i->second, i->first->image_skia());
101 BuildImage(i->second, i->first->image_skia());
H A Dextension_action_icon_factory.cc13 #include "ui/gfx/image/image_skia.h"
65 return default_icon_->image_skia();
H A Dextension_icon_image.h17 #include "ui/gfx/image/image_skia.h"
74 const gfx::ImageSkia& image_skia() const { return image_skia_; } function in class:extensions::IconImage
H A Dimage_loader.cc27 #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 Ddrag_utils_win.cc18 #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 Ddrag_utils.h48 UI_EXPORT void SetDragImageOnDataObject(const gfx::ImageSkia& image_skia,
/external/chromium_org/ash/system/tray/
H A Dtray_item_more.h33 void SetImage(const gfx::ImageSkia* image_skia);
H A Dtray_item_more.cc55 void TrayItemMore::SetImage(const gfx::ImageSkia* image_skia) { argument
56 icon_->SetImage(image_skia);
/external/chromium_org/ui/base/resource/
H A Dresource_bundle_unittest.cc22 #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 Dprofile_info_util_unittest.cc12 #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 Dicon_label_bubble_view.cc79 void IconLabelBubbleView::SetImage(const gfx::ImageSkia& image_skia) { argument
80 image_->SetImage(image_skia);
/external/chromium_org/ui/views/controls/scrollbar/
H A Dbitmap_scroll_bar.cc19 #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 Dbitmap_scroll_bar.h56 gfx::ImageSkia* image_skia);
/external/chromium_org/chrome/browser/ui/web_applications/
H A Dweb_app_ui.cc36 #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 Ddrag_image_view.cc130 gfx::ImageSkia image_skia(gfx::ImageSkiaRep(scaled, device_scale));
131 canvas->DrawImageInt(image_skia, 0, 0);

Completed in 463 milliseconds

123