Home
last modified time | relevance | path

Searched refs:getTranslateX (Results 1 – 25 of 69) sorted by relevance

123

/external/skia/tests/
DLayerDrawLooperTest.cpp69 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); in test_frontToBack()
77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); in test_frontToBack()
108 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); in test_backToFront()
116 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); in test_backToFront()
147 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); in test_mixed()
155 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); in test_mixed()
/external/skqp/tests/
DLayerDrawLooperTest.cpp69 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); in test_frontToBack()
77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); in test_frontToBack()
108 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); in test_backToFront()
116 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); in test_backToFront()
147 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); in test_mixed()
155 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); in test_mixed()
/external/skqp/src/gpu/
DGrQuad.cpp153 const Sk4f t(m.getTranslateX(), m.getTranslateY(), m.getTranslateX(), m.getTranslateY()); in GrQuad()
167 Sk4f tx(m.getTranslateX()); in GrQuad()
195 const Sk4f t(m.getTranslateX(), m.getTranslateY(), m.getTranslateX(), m.getTranslateY()); in GrPerspQuad()
210 Sk4f tx(m.getTranslateX()); in GrPerspQuad()
/external/skia/src/core/
DSkMatrixPriv.h49 SkScalar tx = mx.getTranslateX(); in InverseMapRect()
94 const SkScalar tx = mx.getTranslateX(); in MapPointsWithStride()
DSkDraw_vertices.cpp41 fMat[ 8] = a.dot(0, b.getTranslateX(), b.getTranslateY()) + a.fMat[ 8]; in setConcat()
42 fMat[ 9] = a.dot(1, b.getTranslateX(), b.getTranslateY()) + a.fMat[ 9]; in setConcat()
43 fMat[10] = a.dot(2, b.getTranslateX(), b.getTranslateY()) + a.fMat[10]; in setConcat()
44 fMat[11] = a.dot(3, b.getTranslateX(), b.getTranslateY()) + a.fMat[11]; in setConcat()
DSkRasterPipeline.cpp136 trans[0] = matrix.getTranslateX(); in append_matrix()
144 scaleTrans[2] = matrix.getTranslateX(); in append_matrix()
DSkBitmapProcState.cpp159 && SkScalarNearlyEqual(m.getTranslateX(), SkScalarRoundToScalar(m.getTranslateX()), tol) in just_trans_integral()
215 fInvMatrix.setTranslate(-forward.getTranslateX(), -forward.getTranslateY()); in init()
/external/skqp/src/core/
DSkMatrixPriv.h49 SkScalar tx = mx.getTranslateX(); in InverseMapRect()
94 const SkScalar tx = mx.getTranslateX(); in MapPointsWithStride()
DSkDraw_vertices.cpp41 fMat[ 8] = a.dot(0, b.getTranslateX(), b.getTranslateY()) + a.fMat[ 8]; in setConcat()
42 fMat[ 9] = a.dot(1, b.getTranslateX(), b.getTranslateY()) + a.fMat[ 9]; in setConcat()
43 fMat[10] = a.dot(2, b.getTranslateX(), b.getTranslateY()) + a.fMat[10]; in setConcat()
44 fMat[11] = a.dot(3, b.getTranslateX(), b.getTranslateY()) + a.fMat[11]; in setConcat()
DSkRasterPipeline.cpp136 trans[0] = matrix.getTranslateX(); in append_matrix()
144 scaleTrans[2] = matrix.getTranslateX(); in append_matrix()
DSkBitmapProcState.cpp159 && SkScalarNearlyEqual(m.getTranslateX(), SkScalarRoundToScalar(m.getTranslateX()), tol) in just_trans_integral()
215 fInvMatrix.setTranslate(-forward.getTranslateX(), -forward.getTranslateY()); in init()
/external/skia/src/gpu/
DGrQuad.cpp101 const Sk4f t(m.getTranslateX(), m.getTranslateY(), m.getTranslateX(), m.getTranslateY()); in map_rect_translate_scale()
116 *xs = fma(m.getScaleX(), qx, fma(m.getSkewX(), qy, m.getTranslateX())); in map_quad_general()
/external/skqp/src/shaders/
DSkImageShader.cpp294 matrix.getTranslateX() == (int)matrix.getTranslateX() && in onAppendStages()
302 matrix.setTranslateX(nextafterf(matrix.getTranslateX(), in onAppendStages()
303 floorf(matrix.getTranslateX()))); in onAppendStages()
/external/skia/src/shaders/
DSkImageShader.cpp301 matrix.getTranslateX() == (int)matrix.getTranslateX() && in onAppendStages()
309 matrix.setTranslateX(nextafterf(matrix.getTranslateX(), in onAppendStages()
310 floorf(matrix.getTranslateX()))); in onAppendStages()
/external/skqp/src/gpu/text/
DGrTextBlob.cpp137 SkScalar transX = viewMatrix.getTranslateX() + in mustRegenerate()
140 fInitialViewMatrix.getTranslateX(); in mustRegenerate()
205 *transX = newViewMatrix.getTranslateX() + in calculate_translation()
208 currentViewMatrix.getTranslateX(); in calculate_translation()
/external/skia/src/gpu/text/
DGrTextBlob.cpp137 SkScalar transX = viewMatrix.getTranslateX() + in mustRegenerate()
140 fInitialViewMatrix.getTranslateX(); in mustRegenerate()
205 *transX = newViewMatrix.getTranslateX() + in calculate_translation()
208 currentViewMatrix.getTranslateX(); in calculate_translation()
/external/skqp/src/gpu/ops/
DGrAAFillRRectOp.cpp64 SkRect bounds = SkRect::MakeXYWH(m.getTranslateX(), m.getTranslateY(), 0, 0); in GrAAFillRRectOp()
71 this->writeInstanceData(m.getTranslateX(), m.getTranslateY()); in GrAAFillRRectOp()
/external/skia/src/gpu/ops/
DGrAAFillRRectOp.cpp66 SkRect bounds = SkRect::MakeXYWH(m.getTranslateX(), m.getTranslateY(), 0, 0); in GrAAFillRRectOp()
73 this->writeInstanceData(m.getTranslateX(), m.getTranslateY()); in GrAAFillRRectOp()
/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp187 if (matrix.rectStaysRect() && SkScalarIsInt(matrix.getTranslateX()) && in ShouldUseBicubic()
/external/skqp/src/gpu/effects/
DGrBicubicEffect.cpp204 if (matrix.rectStaysRect() && SkScalarIsInt(matrix.getTranslateX()) && in ShouldUseBicubic()
/external/skia/src/gpu/ccpr/
DGrCCPerFlushResources.cpp299 Sk4f T = Sk4f(m.getTranslateX(), m.getTranslateY(), m45.getTranslateX(), m45.getTranslateY()); in transform_path_pts()
/external/skqp/src/gpu/ccpr/
DGrCCPerFlushResources.cpp296 Sk4f T = Sk4f(m.getTranslateX(), m.getTranslateY(), m45.getTranslateX(), m45.getTranslateY()); in transform_path_pts()
/external/skia/src/utils/
DSkLuaCanvas.cpp117 lua.pushScalar(matrix.getTranslateX(), "dx"); in didConcat()
DSkShadowUtils.cpp625 factory.fOffset.fX = viewMatrix.getTranslateX(); in drawShadow()
728 factory.fOffset.fX += viewMatrix.getTranslateX(); in drawShadow()
/external/skqp/src/utils/
DSkLuaCanvas.cpp117 lua.pushScalar(matrix.getTranslateX(), "dx"); in didConcat()

123