Home
last modified time | relevance | path

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

12345

/third_party/skia/gm/
Dpictureshader.cpp82 ctm.setTranslate(fSceneSize * 2.1f, fSceneSize * 13.8f); in onDraw()
87 ctm.setTranslate(fSceneSize * 2.4f, fSceneSize * 12.8f); in onDraw()
91 ctm.setTranslate(fSceneSize * 4.8f, fSceneSize * 12.3f); in onDraw()
95 ctm.setTranslate(fSceneSize * 13.8f, fSceneSize * 14.3f); in onDraw()
97 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw()
108 ctm.setTranslate(pos.x(), pos.y()); in drawSceneColumn()
113 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale); in drawSceneColumn()
115 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn()
119 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale); in drawSceneColumn()
125 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 3.6f * scale); in drawSceneColumn()
[all …]
Dxform.cpp34 fA->setTranslate(100, 0); in XformGM()
36 fRB->setTranslate(100, 0); in XformGM()
85 x2->setTranslate(10, 10); in onDraw()
Dimagealphathreshold.cpp82 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f); in onDraw()
141 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f); in onDraw()
/third_party/flutter/skia/gm/
Dpictureshader.cpp77 ctm.setTranslate(fSceneSize * 2.1f, fSceneSize * 13.8f); in onDraw()
82 ctm.setTranslate(fSceneSize * 2.4f, fSceneSize * 12.8f); in onDraw()
86 ctm.setTranslate(fSceneSize * 4.8f, fSceneSize * 12.3f); in onDraw()
90 ctm.setTranslate(fSceneSize * 13.8f, fSceneSize * 14.3f); in onDraw()
92 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw()
103 ctm.setTranslate(pos.x(), pos.y()); in drawSceneColumn()
108 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale); in drawSceneColumn()
110 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn()
114 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale); in drawSceneColumn()
120 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 3.6f * scale); in drawSceneColumn()
[all …]
Dxform.cpp34 fA->setTranslate(100, 0); in XformGM()
36 fRB->setTranslate(100, 0); in XformGM()
85 x2->setTranslate(10, 10); in onDraw()
Dimagealphathreshold.cpp82 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f); in onDraw()
141 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f); in onDraw()
/third_party/flutter/skia/tests/
DDrawBitmapRectTest.cpp79 mat.setTranslate(tooMuchSubpixel, 0); in test_treatAsSprite()
81 mat.setTranslate(0, tooMuchSubpixel); in test_treatAsSprite()
85 mat.setTranslate(tinySubPixel, 0); in test_treatAsSprite()
87 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()
/third_party/skia/tests/
DDrawBitmapRectTest.cpp82 mat.setTranslate(tooMuchSubpixel, 0); in test_treatAsSprite()
84 mat.setTranslate(0, tooMuchSubpixel); in test_treatAsSprite()
88 mat.setTranslate(tinySubPixel, 0); in test_treatAsSprite()
90 mat.setTranslate(0, tinySubPixel); in test_treatAsSprite()
/third_party/skia/experimental/xform/
DSkXform.h103 void setTranslate(SkScalar sx, SkScalar sy) { in setTranslate() function
104 fLocalMatrix.setTranslate(sx, sy); in setTranslate()
/third_party/flutter/skia/experimental/xform/
DSkXform.h103 void setTranslate(SkScalar sx, SkScalar sy) { in setTranslate() function
104 fLocalMatrix.setTranslate(sx, sy); in setTranslate()
/third_party/flutter/skia/docs/examples/
DMatrix_getTranslateX.cpp8 matrix.setTranslate(42, 24); in draw()
DMatrix_getTranslateY.cpp8 matrix.setTranslate(42, 24); in draw()
DMatrix_setTranslate_2.cpp13 matrix.setTranslate({96, 24});
DMatrix_setTranslate.cpp13 matrix.setTranslate(96, 24);
DCanvas_drawDrawable.cpp23 matrix.setTranslate(10, 10); in draw()
/third_party/skia/docs/examples/
DMatrix_getTranslateX.cpp8 matrix.setTranslate(42, 24); in draw()
DMatrix_getTranslateY.cpp8 matrix.setTranslate(42, 24); in draw()
DMatrix_setTranslate.cpp13 matrix.setTranslate(96, 24);
DMatrix_setTranslate_2.cpp13 matrix.setTranslate({96, 24});
DCanvas_drawDrawable.cpp23 matrix.setTranslate(10, 10); in draw()
/third_party/skia/tools/viewer/
DTouchGesture.cpp84 matrix->setTranslate(tx, ty); in evaluateMatrix()
197 fLocalM.setTranslate(-startX, -startY); in updateZoom()
242 fLocalM.setTranslate(dx, dy); in touchMoved()
/third_party/flutter/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()
/third_party/flutter/skia/modules/skottie/gm/
D3dgm.cpp105 tmp.setTranslate(0, 0, 1); in draw_skia()
131 viewport.setTranslate(1, -1); in onDraw()
/third_party/flutter/engine/flutter/flow/
Dmatrix_decomposition_unittests.cc50 matrix.setTranslate(translate + 0, translate + 1, translate + 2); in TEST()
72 m3.setTranslate(translate, translate, translate); in TEST()

12345