Searched refs:kMTransX (Results 1 – 13 of 13) sorted by relevance
/external/skia/src/core/ |
D | SkMatrix.cpp | 34 fMat[kMTransX] = fMat[kMTransY] = in reset() 81 if (SkScalarAs2sCompliment(fMat[kMTransX]) | in computeTypeMask() 94 if (fMat[kMTransX] != 0 || fMat[kMTransY] != 0) { in computeTypeMask() 153 fMat[kMTransX] = dx; in setTranslate() 175 fMat[kMTransX] += SkScalarMul(fMat[kMScaleX], dx) + in preTranslate() 193 fMat[kMTransX] += dx; in postTranslate() 208 fMat[kMTransX] = px - SkScalarMul(sx, px); in setScale() 227 fMat[kMTransX] = fMat[kMTransY] = in setScale() 318 fMat[kMTransX] = roundidiv(fMat[kMTransX], divx); in postIDiv() 329 fMat[kMTransX] *= invX; in postIDiv() [all …]
|
/external/skia/include/core/ |
D | SkMatrix.h | 90 kMTransX, enumerator 125 SkScalar getTranslateX() const { return fMat[kMTransX]; } in getTranslateX() 146 void setTranslateX(SkScalar v) { this->set(kMTransX, v); } in setTranslateX() 156 fMat[kMTransX] = transX; in setAll()
|
/external/skia/samplecode/ |
D | SampleOverflow.cpp | 34 matrix.set(SkMatrix::kMTransX, SkFloatToFixed(-1153.28)); in DrawRoundRect()
|
D | SamplePolyToPoly.cpp | 37 m2.set(SkMatrix::kMTransX, dst[0].fX); in PolyToPolyView()
|
D | SampleImageDir.cpp | 80 matrix.set(SkMatrix::kMTransX, SkFloatToScalar(-1153.28f)); in DrawRoundRect()
|
/external/skia/bench/ |
D | MatrixBench.cpp | 288 float tx = fMatrix[SkMatrix::kMTransX]; in performTest() 326 float tx = (float) fMatrix[SkMatrix::kMTransX]; in performTest()
|
/external/skia/src/utils/ |
D | SkCamera.cpp | 291 orien->set(SkMatrix::kMTransX, SkUnitScalarMul(x, axis.fZ) - SkUnitScalarMul(z, cross.fZ)); in doUpdate() 330 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
|
D | SkMatrix44.cpp | 364 dst[3][0] = SkScalarToMScalar(src[SkMatrix::kMTransX]); in initFromMatrix() 386 dst[SkMatrix::kMTransX] = SkMScalarToScalar(fMat[3][0]); in operator SkMatrix()
|
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 207 m33 * mat->get(SkMatrix::kMTransX), in fixup_matrix()
|
/external/skia/tests/ |
D | MatrixTest.cpp | 221 mat.set(SkMatrix::kMTransX, SkIntToScalar(3)); in TestMatrix()
|
/external/skia/src/gpu/gl/ |
D | GrGpuGLShaders.cpp | 424 GrScalarToFloat(m[GrMatrix::kMTransX]), in flushViewMatrix() 505 GrScalarToFloat(m[GrMatrix::kMTransX]), in flushTextureMatrix()
|
/external/skia/src/ports/ |
D | SkFontHost_mac_atsui.cpp | 133 SkScalarToFloat(m[SkMatrix::kMTransX]), in SkScalerContext_Mac()
|
D | SkFontHost_mac_coretext.cpp | 250 ScalarToCG(matrix[SkMatrix::kMTransX]) * sx, in MatrixToCGAffineTransform()
|