Home
last modified time | relevance | path

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

/external/skia/tests/
DLayerDrawLooperTest.cpp70 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); in test_frontToBack()
78 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); in test_frontToBack()
110 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); in test_backToFront()
118 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); in test_backToFront()
150 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); in test_mixed()
158 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); in test_mixed()
/external/skia/src/opts/
DSkMatrix_opts.h19 SkScalar tx = m.getTranslateX(); in matrix_translate()
47 SkScalar tx = m.getTranslateX(); in matrix_scale_translate()
78 SkScalar tx = m.getTranslateX(); in matrix_affine()
/external/skia/src/animator/
DSkDrawMatrix.cpp116 result = fMatrix.getTranslateX(); in dump()
167 result = fMatrix.getTranslateX(); in getProperty()
/external/skia/src/core/
DSkTextMapStateProc.h29 fOffset.set(SkScalarMul(offset.x(), fMatrix.getScaleX()) + fMatrix.getTranslateX(), in SkTextMapStateProc()
DSkLinearBitmapPipeline.cpp291 SkVector{inverse.getTranslateX(), inverse.getTranslateY()}, in choose_matrix()
297 SkVector{inverse.getTranslateX(), inverse.getTranslateY()}, in choose_matrix()
299 } else if (inverse.getTranslateX() != 0.0f || inverse.getTranslateY() != 0.0f) { in choose_matrix()
302 SkVector{inverse.getTranslateX(), inverse.getTranslateY()}); in choose_matrix()
DSkBitmapProcState.cpp184 fInvMatrix.setTranslate(-forward.getTranslateX(), -forward.getTranslateY()); in chooseProcs()
DSkDraw.cpp1174 int ix = SkScalarRoundToInt(fMatrix->getTranslateX()); in drawBitmapAsMask()
1299 int ix = SkScalarRoundToInt(matrix.getTranslateX()); in drawBitmap()
DSkPictureRecord.cpp171 this->addScalar(m.getTranslateX()); in recordTranslate()
DSkMatrix.cpp1644 isrc.offset(SkScalarRoundToInt(mat.getTranslateX()), in SkTreatAsSprite()
/external/skia/src/gpu/text/
DGrAtlasTextBlob.cpp225 SkScalar transX = viewMatrix.getTranslateX() + in mustRegenerate()
228 fInitialViewMatrix.getTranslateX(); in mustRegenerate()
326 *transX = newViewMatrix.getTranslateX() + in calculate_translation()
329 currentViewMatrix.getTranslateX(); in calculate_translation()
/external/skia/debugger/QT/
DSkCanvasWidget.cpp109 modf(fUserMatrix.getTranslateX(), &x); in snapWidgetTransform()
/external/skia/gm/
Dpath_stroke_with_zero_length.cpp154 if (!canvas->readPixels(&offscreen, SkScalarRoundToInt(pathX + cMatrix.getTranslateX()), in drawFat()
/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp210 if (matrix.rectStaysRect() && SkScalarIsInt(matrix.getTranslateX()) && in ShouldUseBicubic()
/external/skia/src/utils/
DSkLuaCanvas.cpp112 lua.pushScalar(matrix.getTranslateX(), "dx"); in didConcat()
DSkDumpCanvas.cpp233 SkScalarToFloat(matrix.getTranslateX()), in didConcat()
DSkLua.cpp1398 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateX()); in lmatrix_getTranslateX()
/external/skia/src/svg/
DSkSVGDevice.cpp87 tstr.printf("translate(%g %g)", t.getTranslateX(), t.getTranslateY()); in svg_transform()
100 t.getTranslateX(), t.getTranslateY()); in svg_transform()
/external/skia/src/effects/
DSkPerlinNoiseShader.cpp452 …fMatrix.setTranslate(-newMatrix.getTranslateX() + SK_Scalar1, -newMatrix.getTranslateY() + SK_Scal… in PerlinNoiseShaderContext()
930 m.setTranslateX(-localMatrix.getTranslateX() + SK_Scalar1); in asFragmentProcessor()
/external/skia/src/svg/parser/
DSkSVGPaintState.cpp242 outputStr.appendScalar(output.getTranslateX()); in setSave()
/external/skia/include/core/
DSkMatrix.h151 SkScalar getTranslateX() const { return fMat[kMTransX]; } in getTranslateX() function
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp589 …fMatrix.setTranslate(-newMatrix.getTranslateX() + SK_Scalar1, -newMatrix.getTranslateY() + SK_Scal… in PerlinNoiseShaderContext()
1320 m.setTranslateX(-localMatrix.getTranslateX() + SK_Scalar1); in asFragmentProcessor()
/external/skia/src/device/xps/
DSkXPSDevice.cpp1964 origin->x += SkScalarToFLOAT(transform.getTranslateX()); in AddGlyphs()