Home
last modified time | relevance | path

Searched refs:setTranslate (Results 1 – 25 of 125) sorted by relevance

12345

/external/skia/gm/
Dpictureshader.cpp67 ctm.setTranslate(fSceneSize * 2.1f, fSceneSize * 13.8f); in onDraw()
72 ctm.setTranslate(fSceneSize * 2.4f, fSceneSize * 12.8f); in onDraw()
76 ctm.setTranslate(fSceneSize * 4.8f, fSceneSize * 12.3f); in onDraw()
80 ctm.setTranslate(fSceneSize * 13.8f, fSceneSize * 14.3f); in onDraw()
82 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw()
93 ctm.setTranslate(pos.x(), pos.y()); in drawSceneColumn()
98 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale); in drawSceneColumn()
100 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn()
104 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale); in drawSceneColumn()
110 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 3.6f * scale); in drawSceneColumn()
[all …]
Dimagealphathreshold.cpp68 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f); in onDraw()
128 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f); in onDraw()
D3dgm.cpp92 tmp.setTranslate(0, 0, 1); in draw_skia()
118 viewport.setTranslate(1, -1); in onDraw()
Dyuvtorgbeffect.cpp118 viewMatrix.setTranslate(x, y); in onDraw()
231 viewMatrix.setTranslate(x, y); in onDraw()
Dpicture.cpp68 matrix.setTranslate(110, 0); in onDraw()
/external/skqp/gm/
Dpictureshader.cpp67 ctm.setTranslate(fSceneSize * 2.1f, fSceneSize * 13.8f); in onDraw()
72 ctm.setTranslate(fSceneSize * 2.4f, fSceneSize * 12.8f); in onDraw()
76 ctm.setTranslate(fSceneSize * 4.8f, fSceneSize * 12.3f); in onDraw()
80 ctm.setTranslate(fSceneSize * 13.8f, fSceneSize * 14.3f); in onDraw()
82 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw()
93 ctm.setTranslate(pos.x(), pos.y()); in drawSceneColumn()
98 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale); in drawSceneColumn()
100 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn()
104 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale); in drawSceneColumn()
110 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 3.6f * scale); in drawSceneColumn()
[all …]
Dimagealphathreshold.cpp68 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f); in onDraw()
128 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f); in onDraw()
D3dgm.cpp92 tmp.setTranslate(0, 0, 1); in draw_skia()
117 viewport.setTranslate(1, -1); in onDraw()
Dyuvtorgbeffect.cpp131 viewMatrix.setTranslate(x, y); in onDraw()
252 viewMatrix.setTranslate(x, y); in onDraw()
Dpicture.cpp68 matrix.setTranslate(110, 0); in onDraw()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMatrixTest.java208 matrix.setTranslate(2.0f, 2.0f); in testSetTranslate()
210 matrix.setTranslate(-2.0f, -2.0f); in testSetTranslate()
268 matrix2.setTranslate(1.0f, 2.0f); in testPostScale()
286 matrix2.setTranslate(1.0f, 2.0f); in testPreScale()
319 matrix.setTranslate(1.0f, 2.0f); in testPostRotate()
336 matrix.setTranslate(1.0f, 2.0f); in testPreRotate()
382 matrix2.setTranslate(1.0f, 2.0f); in testPostSkew()
400 matrix2.setTranslate(1.0f, 2.0f); in testPreSkew()
441 translateMatrix.setTranslate(5.0f, 7.0f); in testPreConcat()
466 matrix.setTranslate(5.0f, 2.0f); in testInvert()
/external/skia/tests/
DDrawBitmapRectTest.cpp78 mat.setTranslate(tooMuchSubpixel, 0); in test_treatAsSprite()
80 mat.setTranslate(0, tooMuchSubpixel); in test_treatAsSprite()
84 mat.setTranslate(tinySubPixel, 0); in test_treatAsSprite()
86 mat.setTranslate(0, tinySubPixel); in test_treatAsSprite()
DMatrix44Test.cpp122 mat.setTranslate(0, 0, 0); in test_translate()
124 mat.setTranslate(1, 2, 3); in test_translate()
131 b.setTranslate(10, 11, 12); in test_translate()
171 static void make_t(SkMatrix44* mat) { mat->setTranslate(1, 2, 3); } in make_t()
248 matrix.setTranslate(-dx, -dy, -dz); in test_gettype()
272 a.setTranslate(10, 10, 10); in test_concat()
345 translation.setTranslate(2, 3, 4); in test_invert()
829 mat.setTranslate(1, 1, 1); in DEF_TEST()
888 mat.setTranslate(2, 3, 4); in DEF_TEST()
/external/skqp/tests/
DDrawBitmapRectTest.cpp78 mat.setTranslate(tooMuchSubpixel, 0); in test_treatAsSprite()
80 mat.setTranslate(0, tooMuchSubpixel); in test_treatAsSprite()
84 mat.setTranslate(tinySubPixel, 0); in test_treatAsSprite()
86 mat.setTranslate(0, tinySubPixel); in test_treatAsSprite()
DMatrix44Test.cpp122 mat.setTranslate(0, 0, 0); in test_translate()
124 mat.setTranslate(1, 2, 3); in test_translate()
131 b.setTranslate(10, 11, 12); in test_translate()
171 static void make_t(SkMatrix44* mat) { mat->setTranslate(1, 2, 3); } in make_t()
248 matrix.setTranslate(-dx, -dy, -dz); in test_gettype()
272 a.setTranslate(10, 10, 10); in test_concat()
345 translation.setTranslate(2, 3, 4); in test_invert()
829 mat.setTranslate(1, 1, 1); in DEF_TEST()
888 mat.setTranslate(2, 3, 4); in DEF_TEST()
/external/skqp/tools/viewer/
DTouchGesture.cpp84 matrix->setTranslate(tx, ty); in evaluateMatrix()
241 fLocalM.setTranslate(dx, dy); in touchMoved()
251 fLocalM.setTranslate(-center(rec0.fStartX, rec1.fStartX), in touchMoved()
/external/skia/tools/viewer/
DTouchGesture.cpp84 matrix->setTranslate(tx, ty); in evaluateMatrix()
241 fLocalM.setTranslate(dx, dy); in touchMoved()
251 fLocalM.setTranslate(-center(rec0.fStartX, rec1.fStartX), in touchMoved()
/external/skqp/include/core/
DSkMatrix.h89 m.setTranslate(dx, dy); in MakeTrans()
545 void setTranslate(SkScalar dx, SkScalar dy);
551 void setTranslate(const SkVector& v) { this->setTranslate(v.fX, v.fY); } in setTranslate() function
/external/skia/include/core/
DSkMatrix.h89 m.setTranslate(dx, dy); in MakeTrans()
545 void setTranslate(SkScalar dx, SkScalar dy);
551 void setTranslate(const SkVector& v) { this->setTranslate(v.fX, v.fY); } in setTranslate() function
/external/skqp/src/gpu/
DGrTestUtils.cpp30 gMatrices[1].setTranslate(SkIntToScalar(-100), SkIntToScalar(100)); in test_matrix()
64 gMatrices[1].setTranslate(SkIntToScalar(-100), SkIntToScalar(100)); in TestMatrixPreservesRightAngles()
90 gMatrices[1].setTranslate(SkIntToScalar(-100), SkIntToScalar(100)); in TestMatrixRectStaysRect()
/external/skia/src/gpu/
DGrTestUtils.cpp32 gMatrices[1].setTranslate(SkIntToScalar(-100), SkIntToScalar(100)); in test_matrix()
66 gMatrices[1].setTranslate(SkIntToScalar(-100), SkIntToScalar(100)); in TestMatrixPreservesRightAngles()
92 gMatrices[1].setTranslate(SkIntToScalar(-100), SkIntToScalar(100)); in TestMatrixRectStaysRect()
/external/skia/bench/
DGameBench.cpp153 mat.setTranslate(fSaved[j][0], fSaved[j][1]); in onDraw()
183 mat.setTranslate(fSaved[fNumSaved][0], fSaved[fNumSaved][1]); in onDraw()
/external/skqp/bench/
DGameBench.cpp153 mat.setTranslate(fSaved[j][0], fSaved[j][1]); in onDraw()
183 mat.setTranslate(fSaved[fNumSaved][0], fSaved[fNumSaved][1]); in onDraw()
/external/skia/src/shaders/gradients/
DSkRadialGradient.cpp20 matrix.setTranslate(-center.fX, -center.fY); in rad_to_unit_matrix()
/external/skqp/src/shaders/gradients/
DSkRadialGradient.cpp20 matrix.setTranslate(-center.fX, -center.fY); in rad_to_unit_matrix()

12345