Home
last modified time | relevance | path

Searched refs:QPixmap (Results 1 – 25 of 80) sorted by relevance

1234

/external/webkit/Source/WebCore/bridge/qt/
Dqt_pixmapruntime.cpp231 …|| (data.type() == static_cast<QVariant::Type>(qMetaTypeId<QPixmap>()) && !data.value<QPixmap>().i… in defaultValue()
254 if (data.type() == static_cast<QVariant::Type>(qMetaTypeId<QPixmap>())) in width()
255 return data.value<QPixmap>().width(); in width()
263 if (data.type() == static_cast<QVariant::Type>(qMetaTypeId<QPixmap>())) in height()
264 return data.value<QPixmap>().height(); in height()
270 QPixmap QtPixmapInstance::toPixmap() in toPixmap()
272 if (data.type() == static_cast<QVariant::Type>(qMetaTypeId<QPixmap>())) in toPixmap()
273 return data.value<QPixmap>(); in toPixmap()
276 const QPixmap pixmap = QPixmap::fromImage(data.value<QImage>()); in toPixmap()
277 data = QVariant::fromValue<QPixmap>(pixmap); in toPixmap()
[all …]
/external/webkit/Source/WebKit/qt/tests/hybridPixmap/
Dwidget.h38 Q_PROPERTY(QPixmap pixmap READ pixmap WRITE setPixmap)
44 void setPixmap(const QPixmap&);
45 QPixmap pixmap() const;
57 void pixmapSlot(const QPixmap&);
58 void randomSlot(const QPixmap&);
63 void pixmapSignal(const QPixmap&);
Dwidget.cpp55 void Widget::setPixmap(const QPixmap& p) in setPixmap()
59 QPixmap Widget::pixmap() const in pixmap()
61 QPixmap px(ui->lbl3->size()); in pixmap()
70 ui->lbl4->setPixmap(QPixmap::fromImage(img)); in setImage()
107 emit pixmapSignal(QPixmap::fromImage(img)); in imageSlot()
110 void Widget::pixmapSlot(const QPixmap& pxm) in pixmapSlot()
116 void Widget::randomSlot(const QPixmap& pxm) in randomSlot()
/external/webkit/Source/WebCore/platform/image-decoders/qt/
DImageFrameQt.cpp62 m_pixmap = QPixmap(); in clearPixelData()
74 m_pixmap = QPixmap(m_image.width(), m_image.height()); in zeroFillPixelData()
100 m_pixmap = QPixmap(newWidth, newHeight); in setSize()
109 QPixmap* ImageFrame::asNewNativeImage() const in asNewNativeImage()
112 m_pixmap = QPixmap::fromImage(m_image); in asNewNativeImage()
115 return new QPixmap(m_pixmap); in asNewNativeImage()
139 void ImageFrame::setPixmap(const QPixmap& pixmap) in setPixmap()
/external/webkit/Source/WebCore/platform/graphics/qt/
DStillImageQt.h37 static PassRefPtr<StillImage> create(const QPixmap& pixmap) in create()
42 static PassRefPtr<StillImage> createForRendering(const QPixmap* pixmap) in createForRendering()
57 StillImage(const QPixmap& pixmap);
58 StillImage(const QPixmap* pixmap);
61 const QPixmap* m_pixmap;
DImageQt.cpp56 static QPixmap loadResourcePixmap(const char *name) in loadResourcePixmap()
58 QPixmap pixmap; in loadResourcePixmap()
107 QPixmap* framePixmap = nativeImageForCurrentFrame(); in drawPattern()
117 QPixmap pixmap = *framePixmap; in drawPattern()
135 QPixmap scaledPixmap(scaledSize.toSize()); in drawPattern()
163 BitmapImage::BitmapImage(QPixmap* pixmap, ImageObserver* observer) in BitmapImage()
215 QPixmap* image = nativeImageForCurrentFrame(); in draw()
253 QPixmap* framePixmap = frameAtIndex(0); in checkForSolidColor()
264 return BitmapImage::create(new QPixmap(QPixmap::fromWinHBITMAP(hBitmap))); in create()
DTextureMapperQt.cpp37 m_pixmap = QPixmap(); in destroy()
45 m_pixmap = QPixmap(size.width(), size.height()); in reset()
74 const QPixmap* pixmap = image->nativeImageForCurrentFrame(); in setContentsToImage()
87 m_pixmap = QPixmap(); in pack()
97 m_pixmap = QPixmap::fromImage(m_image); in unpack()
139 QPixmap pixmap = textureQt.m_pixmap; in drawTexture()
145 QPixmap intermediatePixmap(pixmap.size()); in drawTexture()
DTransparencyLayer.h48 TransparencyLayer(const QPainter* p, const QRect &rect, qreal opacity, QPixmap& alphaMask) in TransparencyLayer()
70 QPixmap pixmap;
75 QPixmap alphaMask;
DStillImageQt.cpp39 StillImage::StillImage(const QPixmap& pixmap) in StillImage()
40 : m_pixmap(new QPixmap(pixmap)) in StillImage()
44 StillImage::StillImage(const QPixmap* pixmap) in StillImage()
DTileQt.cpp39 static QPixmap& checkeredPixmap() in checkeredPixmap()
41 static QPixmap* pixmap; in checkeredPixmap()
43 pixmap = new QPixmap(checkerSize, checkerSize); in checkeredPixmap()
101 …m_backBuffer = new QPixmap(m_backingStore->m_tileSize.width(), m_backingStore->m_tileSize.height()… in updateBackBuffer()
/external/webkit/Source/WebCore/platform/qt/
DCursorQt.cpp175 …m_platformCursor = new QCursor(QPixmap(QLatin1String(":/webkit/resources/verticalTextCursor.png"))… in ensurePlatformCursor()
178 … m_platformCursor = new QCursor(QPixmap(QLatin1String(":/webkit/resources/cellCursor.png")), 7, 7); in ensurePlatformCursor()
181 …m_platformCursor = new QCursor(QPixmap(QLatin1String(":/webkit/resources/contextMenuCursor.png")),… in ensurePlatformCursor()
184 …m_platformCursor = new QCursor(QPixmap(QLatin1String(":/webkit/resources/aliasCursor.png")), 11, 3… in ensurePlatformCursor()
187 …m_platformCursor = new QCursor(QPixmap(QLatin1String(":/webkit/resources/progressCursor.png")), 3,… in ensurePlatformCursor()
190 … m_platformCursor = new QCursor(QPixmap(QLatin1String(":/webkit/resources/copyCursor.png")), 3, 2); in ensurePlatformCursor()
193 …m_platformCursor = new QCursor(QPixmap(QLatin1String(":/webkit/resources/zoomInCursor.png")), 7, 7… in ensurePlatformCursor()
196 …m_platformCursor = new QCursor(QPixmap(QLatin1String(":/webkit/resources/zoomOutCursor.png")), 7, … in ensurePlatformCursor()
DQtMobileWebStyle.cpp71 QPixmap QtMobileWebStyle::findChecker(const QRect& rect, bool disabled) const in findChecker()
74 QPixmap result; in findChecker()
78 result = QPixmap(size, size); in findChecker()
118 QPixmap QtMobileWebStyle::findRadio(const QSize& size, bool checked, bool disabled) const in findRadio()
120 QPixmap result; in findRadio()
125 result = QPixmap(size); in findRadio()
158 QPixmap checker = findChecker(rect, disabled); in drawControl()
169 QPixmap radio = findRadio(option->rect.size(), option->state & State_On, disabled); in drawControl()
296 QPixmap QtMobileWebStyle::findComboButton(const QSize& size, bool multiple, bool disabled) const in findComboButton()
298 QPixmap result; in findComboButton()
[all …]
DQtMobileWebStyle.h36 QPixmap findChecker(const QRect& rect, bool disabled) const;
39 QPixmap findRadio(const QSize& size, bool checked, bool disabled) const;
44 QPixmap findComboButton(const QSize& size, bool multiple, bool disabled) const;
/external/webkit/Source/WebCore/platform/graphics/
DTile.h33 class QPixmap; variable
70 QPixmap* m_buffer;
71 QPixmap* m_backBuffer;
/external/webkit/Source/WebKit/qt/tests/qdeclarativewebview/
Dtst_qdeclarativewebview.cpp104 QTRY_COMPARE(qvariant_cast<QPixmap>(wv->property("icon")).width(), 48); in basicProperties()
106 QCOMPARE(qvariant_cast<QPixmap>(wv->property("icon")), QPixmap("qrc:///resources/basic.png")); in basicProperties()
180 QTRY_COMPARE(qvariant_cast<QPixmap>(wv->property("icon")).width(), 48); in historyNav()
182 QCOMPARE(qvariant_cast<QPixmap>(wv->property("icon")), QPixmap("qrc:///data/basic.png")); in historyNav()
199 QTRY_COMPARE(qvariant_cast<QPixmap>(wv->property("icon")).width(), 32); in historyNav()
201 QCOMPARE(qvariant_cast<QPixmap>(wv->property("icon")), QPixmap("qrc:///resources/forward.png")); in historyNav()
508 QPixmap result(view.width(), view.height()); in backgroundColor()
511 QPixmap reference(view.width(), view.height()); in backgroundColor()
/external/webkit/Source/WebKit/qt/Api/
Dqwebsettings.cpp85 typedef QHash<int, QPixmap> WebGraphicHash;
102 …hash->insert(QWebSettings::MissingImageGraphic, QPixmap(QLatin1String(":webkit/resources/missingIm… in graphics()
103 …hash->insert(QWebSettings::MissingPluginGraphic, QPixmap(QLatin1String(":webkit/resources/nullPlug… in graphics()
104 …hash->insert(QWebSettings::DefaultFrameIconGraphic, QPixmap(QLatin1String(":webkit/resources/urlIc… in graphics()
105 …hash->insert(QWebSettings::TextAreaSizeGripCornerGraphic, QPixmap(QLatin1String(":webkit/resources… in graphics()
106 …hash->insert(QWebSettings::DeleteButtonGraphic, QPixmap(QLatin1String(":webkit/resources/deleteBut… in graphics()
107 …hash->insert(QWebSettings::InputSpeechButtonGraphic, QPixmap(QLatin1String(":webkit/resources/inpu… in graphics()
698 return QPixmap(); in iconForUrl()
700 QPixmap* icon = image->nativeImageForCurrentFrame(); in iconForUrl()
702 return QPixmap(); in iconForUrl()
[all …]
/external/webkit/Source/WebKit2/UIProcess/qt/
DTiledDrawingAreaTileQt.cpp104 m_backBuffer = QPixmap(); in swapBackBufferToFront()
130 m_backBuffer = QPixmap::fromImage(image.copy()); in updateFromChunk()
133 m_backBuffer = m_buffer.isNull() ? QPixmap(m_proxy->tileSize()) : m_buffer; in updateFromChunk()
/external/webkit/Source/WebCore/platform/graphics/gstreamer/
DImageGStreamerQt.cpp53 QPixmap* surface = new QPixmap; in ImageGStreamer()
/external/webkit/Source/WebKit2/UIProcess/
DTiledDrawingAreaTile.h81 QPixmap m_buffer;
82 QPixmap m_backBuffer;
/external/webkit/Source/WebKit/qt/examples/platformplugin/
DWebNotificationPresenter.cpp34 QPixmap mask; in showNotification()
42 QPixmap pixmap; in showNotification()
/external/webkit/Source/WebKit2/Shared/qt/
DUpdateChunk.cpp107 if (QPixmap::defaultDepth() == 16) in size()
124 if (QPixmap::defaultDepth() == 16) { in createImage()
/external/webkit/Source/WebCore/platform/
DDragImage.h42 class QPixmap; variable
72 typedef QPixmap* DragImageRef;
/external/webkit/Tools/QtTestBrowser/
Dlocationedit.cpp35 static QPixmap defaultPageIcon() in defaultPageIcon()
37 static QPixmap icon; in defaultPageIcon()
/external/webkit/Source/WebKit/qt/tests/benchmarks/painting/
Dtst_painting.cpp102 QPixmap pixmap(m_page->viewportSize()); in paint()
127 QPixmap pixmap(mainFrame->contentsSize()); in textAreas()
/external/webkit/Source/WebKit/qt/tests/qwebview/
Dtst_qwebview.cpp473 QPixmap reference(view.page()->viewportSize()); in renderingAfterMaxAndBack()
476 QPixmap image(view.page()->viewportSize()); in renderingAfterMaxAndBack()
494 QPixmap reference2(view.page()->viewportSize()); in renderingAfterMaxAndBack()
497 QPixmap image2(view.page()->viewportSize()); in renderingAfterMaxAndBack()
505 QPixmap reference3(view.page()->viewportSize()); in renderingAfterMaxAndBack()
507 QPixmap image3(view.page()->viewportSize()); in renderingAfterMaxAndBack()

1234