/external/skia/tests/ |
D | LayerDrawLooperTest.cpp | 70 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/ |
D | SkMatrix_opts.h | 19 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/ |
D | SkDrawMatrix.cpp | 116 result = fMatrix.getTranslateX(); in dump() 167 result = fMatrix.getTranslateX(); in getProperty()
|
/external/skia/src/core/ |
D | SkTextMapStateProc.h | 29 fOffset.set(SkScalarMul(offset.x(), fMatrix.getScaleX()) + fMatrix.getTranslateX(), in SkTextMapStateProc()
|
D | SkLinearBitmapPipeline.cpp | 291 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()
|
D | SkBitmapProcState.cpp | 184 fInvMatrix.setTranslate(-forward.getTranslateX(), -forward.getTranslateY()); in chooseProcs()
|
D | SkDraw.cpp | 1174 int ix = SkScalarRoundToInt(fMatrix->getTranslateX()); in drawBitmapAsMask() 1299 int ix = SkScalarRoundToInt(matrix.getTranslateX()); in drawBitmap()
|
D | SkPictureRecord.cpp | 171 this->addScalar(m.getTranslateX()); in recordTranslate()
|
D | SkMatrix.cpp | 1644 isrc.offset(SkScalarRoundToInt(mat.getTranslateX()), in SkTreatAsSprite()
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextBlob.cpp | 225 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/ |
D | SkCanvasWidget.cpp | 109 modf(fUserMatrix.getTranslateX(), &x); in snapWidgetTransform()
|
/external/skia/gm/ |
D | path_stroke_with_zero_length.cpp | 154 if (!canvas->readPixels(&offscreen, SkScalarRoundToInt(pathX + cMatrix.getTranslateX()), in drawFat()
|
/external/skia/src/gpu/effects/ |
D | GrBicubicEffect.cpp | 210 if (matrix.rectStaysRect() && SkScalarIsInt(matrix.getTranslateX()) && in ShouldUseBicubic()
|
/external/skia/src/utils/ |
D | SkLuaCanvas.cpp | 112 lua.pushScalar(matrix.getTranslateX(), "dx"); in didConcat()
|
D | SkDumpCanvas.cpp | 233 SkScalarToFloat(matrix.getTranslateX()), in didConcat()
|
D | SkLua.cpp | 1398 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateX()); in lmatrix_getTranslateX()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 87 tstr.printf("translate(%g %g)", t.getTranslateX(), t.getTranslateY()); in svg_transform() 100 t.getTranslateX(), t.getTranslateY()); in svg_transform()
|
/external/skia/src/effects/ |
D | SkPerlinNoiseShader.cpp | 452 …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/ |
D | SkSVGPaintState.cpp | 242 outputStr.appendScalar(output.getTranslateX()); in setSave()
|
/external/skia/include/core/ |
D | SkMatrix.h | 151 SkScalar getTranslateX() const { return fMat[kMTransX]; } in getTranslateX() function
|
/external/skia/experimental/SkPerlinNoiseShader2/ |
D | SkPerlinNoiseShader2.cpp | 589 …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/ |
D | SkXPSDevice.cpp | 1964 origin->x += SkScalarToFLOAT(transform.getTranslateX()); in AddGlyphs()
|