Home
last modified time | relevance | path

Searched refs:painter (Results 1 – 25 of 67) sorted by relevance

123

/external/chromium_org/third_party/skia/debugger/QT/
DSkListWidget.cpp12 void SkListWidget::paint (QPainter *painter, in paint() argument
31 painter->setBrush(gradientSelected); in paint()
32 painter->drawRect(r); in paint()
34 painter->setPen(linePen); in paint()
35 painter->drawLine(r.topLeft(),r.topRight()); in paint()
36 painter->drawLine(r.topRight(),r.bottomRight()); in paint()
37 painter->drawLine(r.bottomLeft(),r.bottomRight()); in paint()
38 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint()
40 painter->setPen(fontMarkedPen); in paint()
44 painter->setBrush((index.row() % 2) ? Qt::white : QColor(252,252,252)); in paint()
[all …]
DSkImageWidget.cpp33 QPainter painter(this); in paintEvent() local
37 style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this); in paintEvent()
50 painter.drawImage(origin, image); in paintEvent()
52 painter.drawRect(0, 0, kImageWidgetWidth, kImageWidgetHeight); in paintEvent()
56 painter.end(); in paintEvent()
DSkRasterWidget.cpp39 QPainter painter(this); in paintEvent() local
43 style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this); in paintEvent()
50 painter.drawImage(origin, image.rgbSwapped()); in paintEvent()
52 painter.drawImage(origin, image); in paintEvent()
54 painter.end(); in paintEvent()
/external/skia/debugger/QT/
DSkListWidget.cpp12 void SkListWidget::paint (QPainter *painter, in paint() argument
31 painter->setBrush(gradientSelected); in paint()
32 painter->drawRect(r); in paint()
34 painter->setPen(linePen); in paint()
35 painter->drawLine(r.topLeft(),r.topRight()); in paint()
36 painter->drawLine(r.topRight(),r.bottomRight()); in paint()
37 painter->drawLine(r.bottomLeft(),r.bottomRight()); in paint()
38 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint()
40 painter->setPen(fontMarkedPen); in paint()
44 painter->setBrush((index.row() % 2) ? Qt::white : QColor(252,252,252)); in paint()
[all …]
DSkImageWidget.cpp33 QPainter painter(this); in paintEvent() local
37 style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this); in paintEvent()
50 painter.drawImage(origin, image); in paintEvent()
52 painter.drawRect(0, 0, kImageWidgetWidth, kImageWidgetHeight); in paintEvent()
56 painter.end(); in paintEvent()
DSkRasterWidget.cpp39 QPainter painter(this); in paintEvent() local
43 style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this); in paintEvent()
50 painter.drawImage(origin, image.rgbSwapped()); in paintEvent()
52 painter.drawImage(origin, image); in paintEvent()
54 painter.end(); in paintEvent()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DOpaqueRectTrackingContentLayerDelegateTest.cpp126 TestLayerPainterChromium painter(fillOpaque); in TEST_F() local
128 OpaqueRectTrackingContentLayerDelegate delegate(&painter); in TEST_F()
138 TestLayerPainterChromium painter(fillAlpha); in TEST_F() local
139 OpaqueRectTrackingContentLayerDelegate delegate(&painter); in TEST_F()
149 TestLayerPainterChromium painter(fillOpaque); in TEST_F() local
150 OpaqueRectTrackingContentLayerDelegate delegate(&painter); in TEST_F()
162 TestLayerPainterChromium painter(fillAlpha); in TEST_F() local
163 OpaqueRectTrackingContentLayerDelegate delegate(&painter); in TEST_F()
176 TestLayerPainterChromium painter(fillPartial); in TEST_F() local
177 OpaqueRectTrackingContentLayerDelegate delegate(&painter); in TEST_F()
[all …]
DOpaqueRectTrackingContentLayerDelegate.cpp41 …ackingContentLayerDelegate::OpaqueRectTrackingContentLayerDelegate(GraphicsContextPainter* painter) in OpaqueRectTrackingContentLayerDelegate() argument
42 : m_painter(painter) in OpaqueRectTrackingContentLayerDelegate()
/external/chromium_org/ash/frame/
Ddefault_header_painter_unittest.cc46 DefaultHeaderPainter painter; in TEST_F() local
47 painter.Init(w.get(), in TEST_F()
51 painter.LayoutHeader(); in TEST_F()
52 gfx::Rect title_bounds = painter.GetTitleBounds(); in TEST_F()
/external/chromium_org/ui/views/
Dbackground.cc37 BackgroundPainter(bool owns_painter, Painter* painter) in BackgroundPainter() argument
38 : owns_painter_(owns_painter), painter_(painter) { in BackgroundPainter()
39 DCHECK(painter); in BackgroundPainter()
126 Painter* painter) { in CreateBackgroundPainter() argument
127 return new BackgroundPainter(owns_painter, painter); in CreateBackgroundPainter()
Dborder.cc99 explicit BorderPainter(Painter* painter, const gfx::Insets& insets) in BorderPainter() argument
100 : painter_(painter), in BorderPainter()
102 DCHECK(painter); in BorderPainter()
164 scoped_ptr<Border> Border::CreateBorderPainter(Painter* painter, in CreateBorderPainter() argument
166 return scoped_ptr<Border>(new BorderPainter(painter, insets)); in CreateBorderPainter()
/external/chromium_org/third_party/WebKit/public/platform/
DWebScrollbarThemePainter.h44 WebScrollbarThemePainter(const WebScrollbarThemePainter& painter) { assign(painter); } in WebScrollbarThemePainter() argument
46 WebScrollbarThemePainter& operator=(const WebScrollbarThemePainter& painter)
48 assign(painter);
/external/chromium_org/ui/views/controls/button/
Dlabel_button_border.cc40 Painter* painter = in PaintHelper() local
44 if (!painter && extra.button.is_focused) in PaintHelper()
45 painter = border->GetPainter(false, Button::GetButtonStateFrom(state)); in PaintHelper()
46 if (painter) in PaintHelper()
47 Painter::PaintPainterAt(canvas, painter, rect); in PaintHelper()
149 Painter* painter) { in SetPainter() argument
150 painters_[focused ? 1 : 0][state].reset(painter); in SetPainter()
Dtext_button.h56 void set_normal_painter(Painter* painter) { normal_painter_.reset(painter); } in set_normal_painter() argument
57 void set_hot_painter(Painter* painter) { hot_painter_.reset(painter); } in set_hot_painter() argument
58 void set_pushed_painter(Painter* painter) { pushed_painter_.reset(painter); } in set_pushed_painter() argument
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbarThemeMacOverlayAPI.mm138 ScrollbarPainter painter = painterForScrollbar(scrollbar);
141 [painter setKnobStyle:NSScrollerKnobStyleDefault];
144 [painter setKnobStyle:NSScrollerKnobStyleDark];
147 [painter setKnobStyle:NSScrollerKnobStyleLight];
159 ScrollbarPainter painter = painterForScrollbar(scrollbar);
160 …int minLengthForThumb = [painter knobMinLength] + [painter trackOverlapEndInset] + [painter knobOv…
161 + 2 * ([painter trackEndInset] + [painter knobEndInset]);
/external/chromium_org/cc/resources/
Dbitmap_skpicture_content_layer_updater.cc43 scoped_ptr<LayerPainter> painter, in Create() argument
47 new BitmapSkPictureContentLayerUpdater(painter.Pass(), in Create()
53 scoped_ptr<LayerPainter> painter, in BitmapSkPictureContentLayerUpdater() argument
56 : SkPictureContentLayerUpdater(painter.Pass(), in BitmapSkPictureContentLayerUpdater()
Dbitmap_content_layer_updater.cc34 scoped_ptr<LayerPainter> painter, in Create() argument
38 new BitmapContentLayerUpdater(painter.Pass(), in Create()
44 scoped_ptr<LayerPainter> painter, in BitmapContentLayerUpdater() argument
47 : ContentLayerUpdater(painter.Pass(), stats_instrumentation, layer_id) {} in BitmapContentLayerUpdater()
Dbitmap_skpicture_content_layer_updater.h36 scoped_ptr<LayerPainter> painter,
47 scoped_ptr<LayerPainter> painter,
Dskpicture_content_layer_updater.cc18 scoped_ptr<LayerPainter> painter, in SkPictureContentLayerUpdater() argument
21 : ContentLayerUpdater(painter.Pass(), stats_instrumentation, layer_id) {} in SkPictureContentLayerUpdater()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dsignalbar.cpp26 void SignalBar::paint(QPainter *painter, in paint() argument
34 QStyledItemDelegate::paint(painter, option, index); in paint()
57 &opts, painter); in paint()
/external/chromium_org/athena/main/
Dplaceholder.cc31 scoped_ptr<views::Painter> painter( in SetupBackgroundImage() local
33 painter->Paint(&canvas, size); in SetupBackgroundImage()
/external/chromium_org/cc/layers/
Dcontent_layer.cc99 scoped_ptr<LayerPainter> painter = in CreateUpdaterIfNeeded() local
103 painter.Pass(), in CreateUpdaterIfNeeded()
108 painter.Pass(), in CreateUpdaterIfNeeded()
/external/chromium_org/third_party/WebKit/Source/web/
DWebScrollbarThemePainter.cpp39 void WebScrollbarThemePainter::assign(const WebScrollbarThemePainter& painter) in assign() argument
42 m_theme = painter.m_theme; in assign()
43 m_scrollbar = painter.m_scrollbar; in assign()
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DScrollAnimatorMac.mm783 if (ScrollbarPainter painter = scrollbarPainterForScrollbar(scrollbar))
784 [painter mouseEnteredScroller];
800 if (ScrollbarPainter painter = scrollbarPainterForScrollbar(scrollbar))
801 [painter mouseExitedScroller];
884 ScrollbarPainter painter = scrollbarPainterForScrollbar(scrollbar);
885 if (!painter)
891 [painter setDelegate:m_verticalScrollbarPainterDelegate.get()];
892 [m_scrollbarPainterController.get() setVerticalScrollerImp:painter];
894 [painter setKnobAlpha:1];
902 ScrollbarPainter painter = scrollbarPainterForScrollbar(scrollbar);
[all …]
/external/chromium_org/content/renderer/compositor_bindings/
Dweb_scrollbar_layer_impl.cc31 blink::WebScrollbarThemePainter painter, in WebScrollbarLayerImpl() argument
36 painter, in WebScrollbarLayerImpl()

123