HomeSort by relevance Sort by last modified time
    Searched refs:Painter (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/chromium_org/media/tools/shader_bench/
painter.cc 5 #include "media/tools/shader_bench/painter.h"
7 Painter::Painter()
11 Painter::~Painter() {
14 void Painter::OnPaint() {
23 void Painter::LoadFrames(
painter.h 14 class Painter {
16 Painter();
17 virtual ~Painter();
19 // Loads frames into Painter. Painter does not take ownership of frames.
26 // Initialize a Painter class with a width and a height
33 // Frames that the Painter will paint.
36 DISALLOW_COPY_AND_ASSIGN(Painter);
window.h 11 class Painter;
26 // Kicks off frame painting with the given limit, painter, and
28 void Start(int limit, const base::Closure& callback, Painter* painter);
41 // Reference to painter Window uses to paint frames.
42 Painter* painter_;
gpu_painter.h 8 #include "media/tools/shader_bench/painter.h"
15 class GPUPainter : public Painter {
23 // Sets context for subsequent gl calls in this painter.
  /external/chromium_org/ui/app_list/views/
progress_bar_view.h 13 class Painter;
29 scoped_ptr<views::Painter> background_painter_;
30 scoped_ptr<views::Painter> bar_painter_;
progress_bar_view.cc 13 #include "ui/views/painter.h"
29 : background_painter_(views::Painter::CreateImagePainter(
  /external/chromium_org/ui/views/
painter.h 28 // Painter, as the name implies, is responsible for painting in a particular
29 // region. Think of Painter as a Border or Background that can be painted
31 class VIEWS_EXPORT Painter {
33 Painter();
34 virtual ~Painter();
36 // A convenience method for painting a Painter in a particular region.
37 // This translates the canvas to x/y and paints the painter.
39 Painter* painter,
42 // Creates a painter that draws a gradient between the two colors
    [all...]
background.cc 12 #include "ui/views/painter.h"
37 BackgroundPainter(bool owns_painter, Painter* painter)
38 : owns_painter_(owns_painter), painter_(painter) {
39 DCHECK(painter);
49 Painter::PaintPainterAt(canvas, painter_, view->GetLocalBounds());
54 Painter* painter_;
109 true, Painter::CreateVerticalGradient(color1, color2));
122 true, Painter::CreateVerticalMultiColorGradient(colors, pos, count));
131 Painter* painter)
    [all...]
border.h 20 class Painter;
62 // Creates a Border from the specified Painter. The border owns the painter,
63 // thus the painter is deleted when the Border is deleted.
65 static Border* CreateBorderPainter(Painter* painter,
round_rect_painter.h 9 #include "ui/views/painter.h"
20 // Painter to draw a border with rounded corners.
21 class VIEWS_EXPORT RoundRectPainter : public Painter {
26 // Painter:
painter.cc 5 #include "ui/views/painter.h"
26 class GradientPainter : public Painter {
34 // Painter:
95 class VIEWS_EXPORT ImagePainter : public Painter {
109 // Painter:
222 // Painter --------------------------------------------------------------------
224 Painter::Painter() {
227 Painter::~Painter() {
    [all...]
background.h 24 class Painter;
74 // Creates a Background from the specified Painter. If owns_painter is
75 // true, the Painter is deleted when the Border is deleted.
77 Painter* painter);
88 // gradient backgrounds, it's the midpoint of the gradient; for painter
border.cc 10 #include "ui/views/painter.h"
89 explicit BorderPainter(Painter* painter, const gfx::Insets& insets)
90 : painter_(painter),
92 DCHECK(painter);
99 Painter::PaintPainterAt(canvas, painter_.get(), view.GetLocalBounds());
107 scoped_ptr<Painter> painter_;
141 Border* Border::CreateBorderPainter(Painter* painter,
143 return new BorderPainter(painter, insets)
    [all...]
  /external/chromium_org/chrome/browser/ui/views/infobars/
infobar_button_border.cc 9 #include "ui/views/painter.h"
26 set_normal_painter(views::Painter::CreateImageGridPainter(kNormalImageSet));
27 set_hot_painter(views::Painter::CreateImageGridPainter(kHotImageSet));
28 set_pushed_painter(views::Painter::CreateImageGridPainter(kPushedImageSet));
infobar_label_button_border.cc 9 #include "ui/views/painter.h"
22 views::Painter::CreateImageGridPainter(kNormalImageSet));
24 views::Painter::CreateImageGridPainter(kHoveredImageSet));
26 views::Painter::CreateImageGridPainter(kPressedImageSet));
  /external/chromium_org/chrome/browser/chromeos/ui/
focus_ring_layer.h 17 class Painter;
39 scoped_ptr<views::Painter> ring_painter_;
  /external/chromium_org/ui/views/controls/button/
blue_button.cc 43 Painter::CreateImagePainter(
46 Painter::CreateImagePainter(
49 Painter::CreateImagePainter(
52 Painter::CreateImagePainter(
55 Painter::CreateImagePainter(
58 Painter::CreateImagePainter(
61 Painter::CreateImagePainter(
64 Painter::CreateImagePainter(
label_button_border.h 14 #include "ui/views/painter.h"
32 // Get or set the painter used for the specified |focused| button |state|.
33 // LabelButtonBorder takes and retains ownership of |painter|.
34 Painter* GetPainter(bool focused, Button::ButtonState state);
35 void SetPainter(bool focused, Button::ButtonState state, Painter* painter);
39 scoped_ptr<Painter> painters_[2][Button::STATE_COUNT];
label_button_border.cc 52 Painter* painter = local
54 // Paint any corresponding unfocused painter if there is no focused painter.
55 if (!painter && extra.button.is_focused)
56 painter = border->GetPainter(false, GetButtonState(state));
57 if (painter)
58 painter->Paint(canvas, rect.size());
75 Painter::CreateImagePainter(
78 Painter::CreateImagePainter
    [all...]
text_button.h 19 #include "ui/views/painter.h"
69 // TextButtonDefaultBorder takes and retains ownership of these |painter|s.
70 void set_normal_painter(Painter* painter) { normal_painter_.reset(painter); }
71 void set_hot_painter(Painter* painter) { hot_painter_.reset(painter); }
72 void set_pushed_painter(Painter* painter) { pushed_painter_.reset(painter);
    [all...]
  /external/chromium/chrome/browser/chromeos/login/
rounded_rect_painter.h 14 class Painter;
32 // Creates painter to paint view background with parameters specified.
33 views::Painter* CreateWizardPainter(const BorderDefinition* const border);
helper.h 27 class Painter;
77 // Creates painter for login background.
78 views::Painter* CreateBackgroundPainter();
  /external/chromium_org/ash/system/tray/
tray_popup_label_button_border.cc 52 views::Painter::CreateImageGridPainter(
55 views::Painter::CreateImageGridPainter(
58 views::Painter::CreateImageGridPainter(
61 views::Painter::CreateImageGridPainter(
  /external/chromium_org/chrome/browser/ui/views/location_bar/
icon_label_bubble_view.h 23 class Painter;
73 scoped_ptr<views::Painter> background_painter_;
74 scoped_ptr<views::Painter> hover_background_painter_;
icon_label_bubble_view.cc 15 #include "ui/views/painter.h"
27 views::Painter::CreateImageGridPainter(background_images)),
43 views::Painter::CreateImageGridPainter(hover_background_images));
126 views::Painter* painter = (in_hover_ && hover_background_painter_) ? local
128 painter->Paint(canvas, size());

Completed in 289 milliseconds

1 2 3