Home
last modified time | relevance | path

Searched refs:ImageSkia (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/external/chromium_org/ui/gfx/image/
Dimage_skia_operations.h16 class ImageSkia; variable
25 static ImageSkia CreateBlendedImage(const ImageSkia& first,
26 const ImageSkia& second,
30 static ImageSkia CreateTransparentImage(const ImageSkia& image, double alpha);
34 static ImageSkia CreateSuperimposedImage(const ImageSkia& first,
35 const ImageSkia& second);
40 static ImageSkia CreateMaskedImage(const ImageSkia& first,
41 const ImageSkia& alpha);
46 static ImageSkia CreateTiledImage(const ImageSkia& image,
65 static ImageSkia CreateHSLShiftedImage(const gfx::ImageSkia& image,
[all …]
Dimage_skia_operations.cc52 BinaryImageSource(const ImageSkia& first, in BinaryImageSource()
53 const ImageSkia& second, in BinaryImageSource()
93 const ImageSkia first_;
94 const ImageSkia second_;
104 BlendingImageSource(const ImageSkia& first, in BlendingImageSource()
105 const ImageSkia& second, in BlendingImageSource()
131 SuperimposedImageSource(const ImageSkia& first, in SuperimposedImageSource()
132 const ImageSkia& second) in SuperimposedImageSource()
149 const ImageSkia first_;
150 const ImageSkia second_;
[all …]
Dimage_skia.cc78 ImageSkia::ImageSkiaReps::iterator it = FindRepresentation(scale, true); in ImageSkiaStorage()
120 for (ImageSkia::ImageSkiaReps::iterator it = image_reps_.begin(); in AddRepresentation()
149 ImageSkia::ImageSkiaReps::iterator closest_iter = in FindRepresentation()
151 ImageSkia::ImageSkiaReps::iterator exact_iter = in FindRepresentation()
154 for (ImageSkia::ImageSkiaReps::iterator it = in FindRepresentation()
178 if (ImageSkia::IsDSFScalingInImageSkiaEnabled() && g_supported_scales) { in FindRepresentation()
191 if (ImageSkia::IsDSFScalingInImageSkiaEnabled() && in FindRepresentation()
260 ImageSkia::ImageSkia() : storage_(NULL) { in ImageSkia() function in gfx::ImageSkia
263 ImageSkia::ImageSkia(ImageSkiaSource* source, const gfx::Size& size) in ImageSkia() function in gfx::ImageSkia
270 ImageSkia::ImageSkia(ImageSkiaSource* source, float scale) in ImageSkia() function in gfx::ImageSkia
[all …]
Dimage_skia.h37 class GFX_EXPORT ImageSkia {
42 ImageSkia();
47 ImageSkia(ImageSkiaSource* source, const gfx::Size& size);
52 ImageSkia(ImageSkiaSource* source, float scale);
54 explicit ImageSkia(const gfx::ImageSkiaRep& image_rep);
57 ImageSkia(const ImageSkia& other);
60 ImageSkia& operator=(const ImageSkia& other);
62 ~ImageSkia();
79 static ImageSkia CreateFrom1xBitmap(const SkBitmap& bitmap);
92 scoped_ptr<ImageSkia> DeepCopy() const;
[all …]
Dimage_skia_unittest.cc94 explicit TestOnThread(ImageSkia* image_skia) in TestOnThread()
118 ImageSkia* image_skia_;
132 old_scales_ = ImageSkia::GetSupportedScales(); in ImageSkiaTest()
138 ImageSkia::SetSupportedScales(supported_scales); in ImageSkiaTest()
141 ImageSkia::SetSupportedScales(old_scales_); in ~ImageSkiaTest()
151 ImageSkia image_skia(new FixedSource(image), Size(100, 200)); in TEST_F()
177 ImageSkia image_skia(new DynamicSource(Size(100, 200)), Size(100, 200)); in TEST_F()
210 ImageSkia image(new NullSource(), gfx::Size(kSmallIcon1x, kSmallIcon1x)); in TEST_F()
241 ImageSkia image_skia(new DynamicSource(Size(100, 200)), Size(100, 200)); in TEST_F()
250 ImageSkia empty_image(ImageSkiaRep(Size(100, 200), 1.0f)); in TEST_F()
[all …]
Dimage_util_unittest.cc37 gfx::ImageSkia img = gfx::ImageSkia::CreateFrom1xBitmap(bitmap1); in TEST()
51 gfx::ImageSkia img_transparent = gfx::ImageSkia::CreateFrom1xBitmap(bitmap2); in TEST()
66 gfx::ImageSkia img3 = gfx::ImageSkia::CreateFrom1xBitmap(bitmap3); in TEST()
81 gfx::ImageSkia img4 = gfx::ImageSkia::CreateFrom1xBitmap(bitmap4); in TEST()
96 gfx::ImageSkia img5 = gfx::ImageSkia::CreateFrom1xBitmap(bitmap5); in TEST()
Dimage_skia_util_mac.h25 class ImageSkia; variable
28 GFX_EXPORT gfx::ImageSkia ImageSkiaFromNSImage(NSImage* image);
31 GFX_EXPORT gfx::ImageSkia ImageSkiaFromResizedNSImage(NSImage* image,
35 GFX_EXPORT NSImage* NSImageFromImageSkia(const gfx::ImageSkia& image_skia);
39 const gfx::ImageSkia& image_skia,
/external/chromium_org/ui/views/window/
Dframe_background.h14 class ImageSkia; variable
34 void set_theme_image(const gfx::ImageSkia* image) { theme_image_ = image; } in set_theme_image()
39 void set_theme_overlay_image(gfx::ImageSkia* image) { in set_theme_overlay_image()
52 void SetSideImages(const gfx::ImageSkia* left,
53 const gfx::ImageSkia* top,
54 const gfx::ImageSkia* right,
55 const gfx::ImageSkia* bottom);
59 void SetCornerImages(const gfx::ImageSkia* top_left,
60 const gfx::ImageSkia* top_right,
61 const gfx::ImageSkia* bottom_left,
[all …]
/external/chromium_org/ash/desktop_background/
Dwallpaper_resizer_unittest.cc26 gfx::ImageSkia CreateTestImage(const gfx::Size& size) { in CreateTestImage()
43 gfx::ImageSkia image = gfx::ImageSkia::CreateFrom1xBitmap(src); in CreateTestImage()
47 bool IsColor(const gfx::ImageSkia& image, const uint32_t expect) { in IsColor()
67 gfx::ImageSkia Resize(const gfx::ImageSkia& image, in Resize()
106 gfx::ImageSkia small_image(gfx::ImageSkiaRep(gfx::Size(10, 20), 1.0f)); in TEST_F()
108 gfx::ImageSkia resized_small = Resize(small_image, gfx::Size(800, 600), in TEST_F()
113 gfx::ImageSkia large_image(gfx::ImageSkiaRep(gfx::Size(1000, 1000), 1.0f)); in TEST_F()
114 gfx::ImageSkia resized_large = Resize(large_image, gfx::Size(800, 600), in TEST_F()
124 gfx::ImageSkia image = CreateTestImage( in TEST_F()
128 gfx::ImageSkia center = Resize(image, target_size, WALLPAPER_LAYOUT_CENTER); in TEST_F()
[all …]
/external/chromium_org/ash/system/chromeos/network/
Dnetwork_icon.cc49 const gfx::ImageSkia* top_left;
50 const gfx::ImageSkia* top_right;
51 const gfx::ImageSkia* bottom_left;
52 const gfx::ImageSkia* bottom_right;
68 const gfx::ImageSkia& image() const { return image_; } in image()
104 const gfx::ImageSkia* technology_badge_;
107 const gfx::ImageSkia* vpn_badge_;
116 gfx::ImageSkia image_;
233 NetworkIconImageSource(const gfx::ImageSkia& icon, const Badges& badges) in NetworkIconImageSource()
264 const gfx::ImageSkia icon_;
[all …]
/external/chromium_org/ui/views/controls/button/
Dimage_button.h44 virtual const gfx::ImageSkia& GetImage(ButtonState state) const;
47 virtual void SetImage(ButtonState state, const gfx::ImageSkia* image);
51 const gfx::ImageSkia* image,
52 const gfx::ImageSkia* mask);
83 virtual gfx::ImageSkia GetImageToPaint();
91 gfx::ImageSkia images_[STATE_COUNT];
93 gfx::ImageSkia background_image_;
102 gfx::Point ComputeImagePaintPosition(const gfx::ImageSkia& image);
138 void SetToggledImage(ButtonState state, const gfx::ImageSkia* image);
144 virtual const gfx::ImageSkia& GetImage(ButtonState state) const OVERRIDE;
[all …]
Dimage_button.cc42 const gfx::ImageSkia& ImageButton::GetImage(ButtonState state) const { in GetImage()
46 void ImageButton::SetImage(ButtonState state, const gfx::ImageSkia* image) { in SetImage()
47 images_[state] = image ? *image : gfx::ImageSkia(); in SetImage()
52 const gfx::ImageSkia* image, in SetBackground()
53 const gfx::ImageSkia* mask) { in SetBackground()
55 background_image_ = gfx::ImageSkia(); in SetBackground()
97 gfx::ImageSkia img = GetImageToPaint(); in OnPaint()
131 gfx::ImageSkia ImageButton::GetImageToPaint() { in GetImageToPaint()
132 gfx::ImageSkia img; in GetImageToPaint()
147 gfx::Point ImageButton::ComputeImagePaintPosition(const gfx::ImageSkia& image) { in ComputeImagePaintPosition()
[all …]
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_item_view.h43 class ImageSkia; variable
129 gfx::ImageSkia* top_left;
130 gfx::ImageSkia* left;
131 gfx::ImageSkia* bottom_left;
132 gfx::ImageSkia* top;
133 gfx::ImageSkia* center;
134 gfx::ImageSkia* bottom;
135 gfx::ImageSkia* top_right;
136 gfx::ImageSkia* right;
137 gfx::ImageSkia* bottom_right;
[all …]
/external/chromium_org/chrome/browser/ui/views/panels/
Dpanel_frame_view.cc60 gfx::ImageSkia* CreateImageForColor(SkColor color) { in CreateImageForColor()
63 return new gfx::ImageSkia(canvas.ExtractImageRep()); in CreateImageForColor()
67 const gfx::ImageSkia& GetTopLeftCornerImage(panel::CornerStyle corner_style) { in GetTopLeftCornerImage()
68 static gfx::ImageSkia* rounded_image = NULL; in GetTopLeftCornerImage()
69 static gfx::ImageSkia* non_rounded_image = NULL; in GetTopLeftCornerImage()
79 const gfx::ImageSkia& GetTopRightCornerImage(panel::CornerStyle corner_style) { in GetTopRightCornerImage()
80 static gfx::ImageSkia* rounded_image = NULL; in GetTopRightCornerImage()
81 static gfx::ImageSkia* non_rounded_image = NULL; in GetTopRightCornerImage()
91 const gfx::ImageSkia& GetBottomLeftCornerImage( in GetBottomLeftCornerImage()
93 static gfx::ImageSkia* rounded_image = NULL; in GetBottomLeftCornerImage()
[all …]
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
Dwallpaper_manager.h102 gfx::ImageSkia* image);
105 const gfx::ImageSkia& image);
150 void ResetSetWallpaperImage(const gfx::ImageSkia& image,
163 void SetMode(const gfx::ImageSkia& image,
176 gfx::ImageSkia user_wallpaper_;
205 static bool ResizeImage(const gfx::ImageSkia& image,
210 gfx::ImageSkia* output_skia);
216 static bool ResizeAndSaveWallpaper(const gfx::ImageSkia& image,
221 gfx::ImageSkia* output_skia);
269 const gfx::ImageSkia& image,
[all …]
/external/chromium_org/chrome/browser/ui/views/
Ddropdown_bar_view.cc33 const gfx::ImageSkia* left_alpha_mask,
34 const gfx::ImageSkia* right_alpha_mask);
42 const gfx::ImageSkia* left_alpha_mask_;
43 const gfx::ImageSkia* right_alpha_mask_;
49 const gfx::ImageSkia* left_alpha_mask, in DropdownBackground()
50 const gfx::ImageSkia* right_alpha_mask) in DropdownBackground()
66 gfx::ImageSkia background = *tp->GetImageSkiaNamed(IDR_THEME_TOOLBAR); in Paint()
120 canvas->DrawImageInt(gfx::ImageSkia(animating_edges.ExtractImageRep()), in OnPaint()
128 void DropdownBarView::SetBackground(const gfx::ImageSkia* left_alpha_mask, in SetBackground()
129 const gfx::ImageSkia* right_alpha_mask) { in SetBackground()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_header_painter_ash.cc40 const gfx::ImageSkia& image, in TileRoundRect()
62 const gfx::ImageSkia& frame_image, in PaintFrameImagesInRoundRect()
63 const gfx::ImageSkia& frame_overlay_image, in PaintFrameImagesInRoundRect()
101 TileRoundRect(canvas, gfx::ImageSkia(temporary_canvas.ExtractImageRep()), in PaintFrameImagesInRoundRect()
187 gfx::ImageSkia inactive_frame_image; in PaintHeader()
188 gfx::ImageSkia inactive_frame_overlay_image; in PaintHeader()
204 gfx::ImageSkia active_frame_image; in PaintHeader()
205 gfx::ImageSkia active_frame_overlay_image; in PaintHeader()
281 gfx::ImageSkia top_left_corner = *rb.GetImageSkiaNamed( in PaintHighlightForRestoredWindow()
283 gfx::ImageSkia top_right_corner = *rb.GetImageSkiaNamed( in PaintHighlightForRestoredWindow()
[all …]
/external/chromium_org/ui/app_list/
Dsearch_box_model.h28 SpeechButtonProperty(const gfx::ImageSkia& on_icon,
30 const gfx::ImageSkia& off_icon,
35 gfx::ImageSkia on_icon;
39 gfx::ImageSkia off_icon;
47 void SetIcon(const gfx::ImageSkia& icon);
48 const gfx::ImageSkia& icon() const { return icon_; } in icon()
75 gfx::ImageSkia icon_;
Dsearch_result.h56 Action(const gfx::ImageSkia& base_image,
57 const gfx::ImageSkia& hover_image,
58 const gfx::ImageSkia& pressed_image,
64 gfx::ImageSkia base_image;
65 gfx::ImageSkia hover_image;
66 gfx::ImageSkia pressed_image;
76 const gfx::ImageSkia& icon() const { return icon_; } in icon()
77 void SetIcon(const gfx::ImageSkia& icon);
127 gfx::ImageSkia icon_;
/external/chromium_org/ash/frame/caption_buttons/
Dframe_caption_button.h68 const gfx::ImageSkia& GetIconImageToPaint() const;
72 const gfx::ImageSkia& to_center,
86 gfx::ImageSkia icon_image_;
87 gfx::ImageSkia inactive_icon_image_;
88 gfx::ImageSkia hovered_background_image_;
89 gfx::ImageSkia pressed_background_image_;
92 gfx::ImageSkia crossfade_icon_image_;
/external/chromium_org/ash/frame/
Dframe_util.cc18 static const gfx::ImageSkia* holder = in GetAvatarImageForContext()
21 static const gfx::ImageSkia* holder_mask = in GetAvatarImageForContext()
24 gfx::ImageSkia user_image = Shell::GetInstance() in GetAvatarImageForContext()
28 gfx::ImageSkia resized = gfx::ImageSkiaOperations::CreateResizedImage( in GetAvatarImageForContext()
30 gfx::ImageSkia masked = in GetAvatarImageForContext()
32 gfx::ImageSkia result = in GetAvatarImageForContext()
/external/chromium_org/ui/base/dragdrop/
Ddrag_utils.cc33 const gfx::ImageSkia& icon) in FileDragImageSource()
69 gfx::Size CalculateSize(const gfx::ImageSkia& icon) const { in CalculateSize()
78 const gfx::ImageSkia icon_;
86 const gfx::ImageSkia& icon, in CreateDragImageForFile()
92 gfx::ImageSkia image = gfx::ImageSkia(source, size); in CreateDragImageForFile()
101 gfx::ImageSkia image = gfx::ImageSkia(canvas.ExtractImageRep()); in SetDragImageOnDataObject()
/external/chromium_org/ui/views/controls/menu/
Dmenu.cc28 const gfx::ImageSkia& Menu::Delegate::GetIcon(int id) const { in GetIcon()
60 const gfx::ImageSkia& Menu::Delegate::GetEmptyIcon() const { in GetEmptyIcon()
61 static const gfx::ImageSkia* empty_icon = new gfx::ImageSkia(); in GetEmptyIcon()
91 AddMenuItemInternal(index, item_id, label, gfx::ImageSkia(), type); in AddMenuItem()
99 return AddSubMenuWithIcon(index, item_id, label, gfx::ImageSkia()); in AddSubMenu()
104 const gfx::ImageSkia& icon) { in AppendSubMenuWithIcon()
132 const gfx::ImageSkia& icon) { in AppendMenuItemWithIcon()
139 const gfx::ImageSkia& icon) { in AddMenuItemWithIcon()
Dmenu.h16 class ImageSkia; variable
56 virtual const gfx::ImageSkia& GetIcon(int id) const;
103 const gfx::ImageSkia& GetEmptyIcon() const;
173 const gfx::ImageSkia& icon);
177 const gfx::ImageSkia& icon) = 0;
200 const gfx::ImageSkia& icon);
204 const gfx::ImageSkia& icon);
216 virtual bool SetIcon(const gfx::ImageSkia& icon, int item_id) = 0;
240 const gfx::ImageSkia& icon,
/external/chromium_org/chrome/browser/status_icons/
Dstatus_tray_unittest.cc16 virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE {} in SetImage()
17 virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE {} in SetPressedImage()
19 virtual void DisplayBalloon(const gfx::ImageSkia& icon, in DisplayBalloon()
30 const gfx::ImageSkia& image, in CreatePlatformStatusIcon()
42 gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); in TEST()
52 gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); in TEST()

12345678910>>...23