Home
last modified time | relevance | path

Searched refs:m_contentsScale (Results 1 – 8 of 8) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
DTiledBackingStore.cpp41 , m_contentsScale(1.f) in TiledBackingStore()
131 context->scale(FloatSize(1.f / m_contentsScale, 1.f / m_contentsScale)); in paint()
168 if (m_pendingScale == m_contentsScale) { in setContentsScale()
180 m_contentsScale = m_pendingScale; in commitScaleChange()
321 return enclosingIntRect(FloatRect(rect.x() / m_contentsScale, in mapToContents()
322 rect.y() / m_contentsScale, in mapToContents()
323 rect.width() / m_contentsScale, in mapToContents()
324 rect.height() / m_contentsScale)); in mapToContents()
329 return enclosingIntRect(FloatRect(rect.x() * m_contentsScale, in mapFromContents()
330 rect.y() * m_contentsScale, in mapFromContents()
[all …]
DTiledBackingStore.h47 float contentsScale() { return m_contentsScale; } in contentsScale()
117 float m_contentsScale; variable
/external/webkit/Source/WebKit2/UIProcess/
DTiledDrawingAreaProxy.cpp61 , m_contentsScale(1) in TiledDrawingAreaProxy()
332 gc.scale(FloatSize(1 / m_contentsScale, 1 / m_contentsScale)); in paint()
364 if (m_contentsScale == scale) in setContentsScale()
366 m_contentsScale = scale; in setContentsScale()
547 return enclosingIntRect(FloatRect(rect.x() / m_contentsScale, in mapToContents()
548 rect.y() / m_contentsScale, in mapToContents()
549 rect.width() / m_contentsScale, in mapToContents()
550 rect.height() / m_contentsScale)); in mapToContents()
555 return enclosingIntRect(FloatRect(rect.x() * m_contentsScale, in mapFromContents()
556 rect.y() * m_contentsScale, in mapFromContents()
[all …]
DTiledDrawingAreaProxy.h72 float contentsScale() const { return m_contentsScale; } in contentsScale()
178 float m_contentsScale; variable
/external/webkit/Source/WebCore/platform/graphics/qt/
DTileQt.cpp125 context.scale(FloatSize(m_backingStore->m_contentsScale, m_backingStore->m_contentsScale)); in updateBackBuffer()
/external/webkit/Source/WebCore/platform/graphics/ca/
DGraphicsLayerCA.h59 virtual float contentsScale() const { return m_contentsScale; } in contentsScale()
404 float m_contentsScale; variable
DGraphicsLayerCA.cpp257 , m_contentsScale(1) in GraphicsLayerCA()
1941 if (newScale == m_contentsScale) in setContentsScale()
1944 m_contentsScale = newScale; in setContentsScale()
1962 …return ((fabs(result - m_contentsScale) / m_contentsScale) < maxAllowableDelta) ? m_contentsScale in clampedContentsScaleForScale()
1971 m_layer->setContentsScale(m_contentsScale); in updateContentsScale()
2033 m_layer->setContentsScale(m_contentsScale); in swapFromOrToTiledLayer()
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1625919 (WebCore::GraphicsLayerCA::GraphicsLayerCA): Initialize m_contentsScale to 1.