Home
last modified time | relevance | path

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

12345

/external/webkit/Source/WebCore/platform/qt/
DQtMobileWebStyle.cpp33 static inline void drawRectangularControlBackground(QPainter* painter, const QPen& pen, const QRect… in drawRectangularControlBackground() argument
35 QPen oldPen = painter->pen(); in drawRectangularControlBackground()
36 QBrush oldBrush = painter->brush(); in drawRectangularControlBackground()
37 painter->setRenderHint(QPainter::Antialiasing, true); in drawRectangularControlBackground()
38 painter->setPen(pen); in drawRectangularControlBackground()
39 painter->setBrush(brush); in drawRectangularControlBackground()
42 painter->drawRoundedRect(rect.adjusted(line, line, -line, -line), in drawRectangularControlBackground()
44 painter->setPen(oldPen); in drawRectangularControlBackground()
45 painter->setBrush(oldBrush); in drawRectangularControlBackground()
48 void QtMobileWebStyle::drawChecker(QPainter* painter, int size, QColor color) const in drawChecker() argument
[all …]
DRenderThemeQt.cpp133 painter = static_cast<QPainter*>(context->platformContext()); in init()
136 if (painter) in init()
137 dev = painter->device(); in init()
142 if (painter) { in init()
145 oldBrush = painter->brush(); in init()
146 painter->setBrush(Qt::NoBrush); in init()
150 oldAntialiasing = painter->testRenderHint(QPainter::Antialiasing); in init()
151 painter->setRenderHint(QPainter::Antialiasing, false); in init()
157 if (painter) { in ~StylePainter()
158 painter->setBrush(oldBrush); in ~StylePainter()
[all …]
DQtMobileWebStyle.h35 void drawChecker(QPainter* painter, int size, QColor color) const;
38 void drawRadio(QPainter* painter, const QSize& size, bool checked, QColor color) const;
42 void drawSimpleComboButton(QPainter* painter, const QSize& size, QColor color) const;
43 void drawMultipleComboButton(QPainter* painter, const QSize& size, QColor color) const;
DRenderThemeQt.h163 void paintMediaBackground(QPainter* painter, const IntRect& r) const;
202 bool isValid() const { return painter && style; } in isValid()
204 QPainter* painter; variable
209 { style->drawPrimitive(pe, &opt, painter, widget); } in drawPrimitive()
211 { style->drawControl(ce, &opt, painter, widget); } in drawControl()
213 { style->drawComplexControl(cc, &opt, painter, widget); } in drawComplexControl()
/external/webkit/Source/WebCore/platform/graphics/qt/
DTransparencyLayer.h56 painter.begin(&pixmap); in TransparencyLayer()
57 painter.setRenderHints(p->renderHints()); in TransparencyLayer()
58 painter.translate(-offset); in TransparencyLayer()
59 painter.setPen(p->pen()); in TransparencyLayer()
60 painter.setBrush(p->brush()); in TransparencyLayer()
61 painter.setTransform(p->transform(), true); in TransparencyLayer()
62 painter.setFont(p->font()); in TransparencyLayer()
63 painter.setOpacity(1); in TransparencyLayer()
72 QPainter painter; member
DTextureMapperQt.cpp103 QPainter* painter = m_currentSurface ? &m_currentSurface->m_painter : m_painter; in setClip() local
104 painter->setClipRect(rect); in setClip()
138 QPainter* painter = m_painter; in drawTexture() local
141 painter = &m_currentSurface->m_painter; in drawTexture()
156 const qreal prevOpacity = painter->opacity(); in drawTexture()
157 const QTransform prevTransform = painter->transform(); in drawTexture()
158 painter->setOpacity(opacity); in drawTexture()
159 painter->setTransform(matrix, true); in drawTexture()
160 painter->drawPixmap(targetRect, pixmap, textureQt.sourceRect()); in drawTexture()
161 painter->setTransform(prevTransform); in drawTexture()
[all …]
DTileQt.cpp44 QPainter painter(pixmap); in checkeredPixmap() local
50painter.fillRect(x, y, checkerSize / 2, checkerSize / 2, alternate ? color1 : color2); in checkeredPixmap()
114 QPainter painter(m_backBuffer); in updateBackBuffer() local
115 GraphicsContext context(&painter); in updateBackBuffer()
158 QPainter* painter = context->platformContext(); in paintCheckerPattern() local
159 QTransform worldTransform = painter->worldTransform(); in paintCheckerPattern()
171 painter->setWorldTransform(adjustedTransform); in paintCheckerPattern()
173 painter->drawTiledPixmap(targetViewRect, in paintCheckerPattern()
178 painter->setWorldTransform(worldTransform); in paintCheckerPattern()
DGraphicsContextQt.cpp184 return painter; in p()
185 return &layers.top()->painter; in p()
216 QPainter* painter; member in WebCore::GraphicsContextPlatformPrivate
226 , painter(p) in GraphicsContextPlatformPrivate()
229 if (!painter) in GraphicsContextPlatformPrivate()
233 if (painter->paintEngine()->type() == QPaintEngine::OpenVG) in GraphicsContextPlatformPrivate()
236 antiAliasingForRectsAndLines = painter->testRenderHint(QPainter::Antialiasing); in GraphicsContextPlatformPrivate()
239 antiAliasingForRectsAndLines = painter->testRenderHint(QPainter::Antialiasing); in GraphicsContextPlatformPrivate()
243 initialSmoothPixmapTransformHint = painter->testRenderHint(QPainter::SmoothPixmapTransform); in GraphicsContextPlatformPrivate()
245 painter->setRenderHint(QPainter::Antialiasing, true); in GraphicsContextPlatformPrivate()
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DPaintTileOperation.h41 PaintTileOperation(Tile* tile, TilePainter* painter,
50 TilePainter* painter() { return m_painter; } in painter() function
51 void updatePainter(TilePainter* painter);
63 ScaleFilter(const TilePainter* painter, float scale) in ScaleFilter() argument
64 : m_painter(painter) in ScaleFilter()
69 return ((op->painter() == m_painter) && (op->scale() != m_scale)); in check()
79 TilePainterFilter(TilePainter* painter) : m_painter(painter) {} in TilePainterFilter() argument
83 return op->painter() == m_painter; in check()
DPaintTileOperation.cpp43 PaintTileOperation::PaintTileOperation(Tile* tile, TilePainter* painter, in PaintTileOperation() argument
46 , m_painter(painter) in PaintTileOperation()
127 void PaintTileOperation::updatePainter(TilePainter* painter) in updatePainter() argument
129 if (m_painter == painter) in updatePainter()
132 SkSafeRef(painter); in updatePainter()
134 m_painter = painter; in updatePainter()
DTileGrid.cpp140 TilePainter* painter, int regionFlags, bool isLowResPrefetch, in prepareGL() argument
161 tilesManager->removeOperationsForFilter(new ScaleFilter(painter, m_scale)); in prepareGL()
187 painter, state, isLowResPrefetch, false, updateWithBlit); in prepareGL()
191 painter, state, isLowResPrefetch, false, updateWithBlit); in prepareGL()
213 prepareTile(i, j, painter, state, isLowResPrefetch, true, updateWithBlit); in prepareGL()
224 void TileGrid::prepareTile(int x, int y, TilePainter* painter, in prepareTile() argument
235 ALOGV("preparing tile %p at %d, %d, painter is %p", tile, x, y, painter); in prepareTile()
239 if (shouldTryUpdateWithBlit && tryBlitFromContents(tile, painter)) in prepareTile()
249 if (tile->isRepaintPending() && tilesManager->tryUpdateOperationWithPainter(tile, painter)) in prepareTile()
252 ALOGV("painting TG %p's tile %d %d for LG %p, scale %f", this, x, y, painter, m_scale); in prepareTile()
[all …]
DTileGrid.h53 TilePainter* painter, int regionFlags = StandardRegion,
74 void prepareTile(int x, int y, TilePainter* painter,
78 bool tryBlitFromContents(Tile* tile, TilePainter* painter);
DSurfaceBacking.cpp69 TilePainter* painter, bool aggressiveRendering, in prepareGL() argument
111 prepareArea, fullContentArea, painter, in prepareGL()
136 prepareArea, fullContentArea, painter, in prepareGL()
143 prepareArea, fullContentArea, painter, in prepareGL()
/external/webkit/Source/WebKit/qt/tests/benchmarks/painting/
Dtst_painting.cpp104 QPainter painter(&pixmap); in paint()
105 mainFrame->render(&painter, QRect(QPoint(0, 0), m_page->viewportSize())); in paint()
106 painter.end(); in paint()
129 QPainter painter(&pixmap); in textAreas()
130 mainFrame->render(&painter, QRect(QPoint(0, 0), mainFrame->contentsSize())); in textAreas()
131 painter.end(); in textAreas()
/external/webkit/Source/WebKit2/UIProcess/qt/
DChunkedUpdateDrawingAreaProxyQt.cpp60 bool ChunkedUpdateDrawingAreaProxy::platformPaint(const IntRect& rect, QPainter* painter) in platformPaint() argument
65 painter->drawImage(QPoint(0, 0), m_backingStoreImage); in platformPaint()
76 QPainter painter(&m_backingStoreImage); in drawUpdateChunkIntoBackingStore() local
77 painter.drawImage(updateChunkRect.location(), image); in drawUpdateChunkIntoBackingStore()
/external/webkit/Source/WebKit2/Shared/qt/
DShareableBitmapQt.cpp53 QPainter* painter = context.platformContext(); in paint() local
54 painter->translate(-srcRect.x(), -srcRect.y()); in paint()
55 painter->drawImage(dstPoint, image, QRect(srcRect)); in paint()
56 painter->translate(srcRect.x(), srcRect.y()); in paint()
/external/webkit/Source/WebKit/qt/tests/qgraphicswebview/
Dtst_qgraphicswebview.cpp215 QPainter painter(&img); in bug56929() local
217 webView->paint(&painter, &option); in bug56929()
219 webView->paint(&painter, &option); in bug56929()
221 painter.fillRect(option.exposedRect, Qt::black); in bug56929()
224 webView->paint(&painter, &option); in bug56929()
540 QPainter painter(&reference); in webglSoftwareFallbackVerticalOrientation() local
545 painter.setPen(Qt::NoPen); in webglSoftwareFallbackVerticalOrientation()
546 painter.setBrush(Qt::red); in webglSoftwareFallbackVerticalOrientation()
547 painter.drawPolygon(triangleUp); in webglSoftwareFallbackVerticalOrientation()
559 QPainter painter(&reference); in webglSoftwareFallbackHorizontalOrientation() local
[all …]
/external/webkit/Source/WebKit/qt/docs/webkitsnippets/webpage/
Dmain.cpp70 QPainter painter(&image); in render() local
72 page.mainFrame()->render(&painter); in render()
73 painter.end(); in render()
/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/webkit/Source/WebKit/android/jni/
DPicturePile.cpp170 void PicturePile::updatePicturesIfNeeded(PicturePainter* painter) in updatePicturesIfNeeded() argument
176 updatePicture(painter, pc); in updatePicturesIfNeeded()
180 void PicturePile::updatePicture(PicturePainter* painter, PictureContainer& pc) in updatePicture() argument
183 Picture* picture = recordPicture(painter, pc); in updatePicture()
307 Picture* PicturePile::recordPicture(PicturePainter* painter, PictureContainer& pc) in recordPicture() argument
314 painter->paintContents(&gc, pc.area); in recordPicture()
330 Picture* PicturePile::recordPicture(PicturePainter* painter, PictureContainer& pc) in recordPicture() argument
345 SkCanvas* prerender = painter->createPrerenderCanvas(pc.prerendered.get()); in recordPicture()
364 painter->paintContents(&gc, drawArea); in recordPicture()
DPicturePile.h102 void updatePicturesIfNeeded(PicturePainter* painter);
113 void updatePicture(PicturePainter* painter, PictureContainer& container);
114 Picture* recordPicture(PicturePainter* painter, PictureContainer& container);
/external/webkit/Source/WebKit/qt/Api/
Dqwebframe.cpp293 QPainter* painter = context->platformContext(); in renderFromTiledBackingStore() local
304 painter->save(); in renderFromTiledBackingStore()
307 painter->setClipRect(rect, Qt::IntersectClip); in renderFromTiledBackingStore()
311 painter->restore(); in renderFromTiledBackingStore()
330 QPainter* painter = context->platformContext(); in renderCompositedLayers() local
332 painter->save(); in renderCompositedLayers()
333 painter->beginNativePainting(); in renderCompositedLayers()
338 options.opacity = painter->opacity(); in renderCompositedLayers()
340 painter->endNativePainting(); in renderCompositedLayers()
341 painter->restore(); in renderCompositedLayers()
[all …]
/external/webkit/Source/WebCore/rendering/
DRenderThemeChromiumWin.cpp428 ThemePainter painter(i.context, r); in paintButton() local
429 PlatformBridge::paintButton(painter.context(), in paintButton()
433 painter.drawRect()); in paintButton()
446 ThemePainter painter(i.context, r); in paintSliderTrack() local
447 PlatformBridge::paintTrackbar(painter.context(), in paintSliderTrack()
451 painter.drawRect()); in paintSliderTrack()
509 ThemePainter painter(i.context, rect); in paintMenuList() local
510 PlatformBridge::paintMenuList(painter.context(), in paintMenuList()
514 painter.drawRect()); in paintMenuList()
698 ThemePainter painter(i.context, r); in paintTextFieldInternal() local
[all …]
/external/webkit/Source/WebKit/qt/tests/benchmarks/webgl/
Dtst_webgl.cpp122 QPainter painter(&target); in benchmarkFrameRenderingOnImage()
123 m_view->render(&painter); in benchmarkFrameRenderingOnImage()
124 painter.end(); in benchmarkFrameRenderingOnImage()
/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
DChunkedUpdateDrawingAreaQt.cpp43 QPainter painter(&image); in paintIntoUpdateChunk() local
45 GraphicsContext graphicsContext(&painter); in paintIntoUpdateChunk()

12345