Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/graphics/skia/
DImageBufferSkia.cpp193 int originX = rect.x(); in getImageData() local
195 if (originX < 0) { in getImageData()
196 destX = -originX; in getImageData()
197 originX = 0; in getImageData()
202 int numColumns = endX - originX; in getImageData()
226 srcDevice.readPixels(SkIRect::MakeXYWH(originX, originY, numColumns, numRows), &srcBitmap); in getImageData()
276 int originX = sourceRect.x(); in putImageData() local
280 ASSERT(originX >= 0); in putImageData()
281 ASSERT(originX < sourceRect.maxX()); in putImageData()
317 const unsigned char* srcRow = source->data() + originY * srcBytesPerRow + originX * 4; in putImageData()
DGraphicsContextSkia.cpp660 SkScalar originX = WebCoreFloatToSkScalar(pt.x()); in drawLineForTextChecking() local
670 matrix.postTranslate(originX, originY); in drawLineForTextChecking()
681 rect.set(originX, in drawLineForTextChecking()
683 originX + WebCoreFloatToSkScalar(width), in drawLineForTextChecking()
/external/replicaisland/src/com/replica/replicaisland/
DScrollerComponent.java107 float originX = camera.getFocusPositionX() - mHalfWidth; in update() local
110 originX *= mSpeedX; in update()
113 background.setScrollOrigin(originX, originY); in update()
DTiledVertexGrid.java162 int originX = (int) (x - scrollOriginX); in draw() local
200 originX, in draw()
/external/webkit/Source/WebCore/platform/graphics/texmap/
DTextureMapperNode.cpp316 const float originX = m_state.anchorPoint.x() * m_size.width(); in computeLocalTransform() local
320 .translate3d(originX + m_state.pos.x(), originY + m_state.pos.y(), m_state.anchorPoint.z()) in computeLocalTransform()
322 .translate3d(-originX, -originY, -m_state.anchorPoint.z()); in computeLocalTransform()
359 const float originX = m_transforms.target.m41(); in computeReplicaTransform() local
363 .translate(originX, originY) in computeReplicaTransform()
365 .translate(-originX, -originY); in computeReplicaTransform()
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DChromeClientGtk.cpp462 int originX, originY; in widgetScreenPosition() local
463 gdk_window_get_origin(gtk_widget_get_window(window), &originX, &originY); in widgetScreenPosition()
464 result.move(originX, originY); in widgetScreenPosition()
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DLayerAndroid.cpp415 float originX = getAnchorPoint().x() * getWidth(); in updateLocalTransformAndClip() local
417 m_drawTransform.translate3d(originX + position.x(), in updateLocalTransformAndClip()
421 m_drawTransform.translate3d(-originX, in updateLocalTransformAndClip()
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsLayerQt.cpp532 const qreal originX = m_state.anchorPoint.x() * m_size.width(); in updateTransform() local
538 … .translate3d(originX + m_state.pos.x(), originY + m_state.pos.y(), m_state.anchorPoint.z()) in updateTransform()
540 .translate3d(-originX, -originY, -m_state.anchorPoint.z()); in updateTransform()