Searched refs:setTranslate (Results 1 - 25 of 79) sorted by relevance

1234

/external/skia/gm/
H A Dpictureshader.cpp66 ctm.setTranslate(fSceneSize * 2.1f, fSceneSize * 13.8f);
71 ctm.setTranslate(fSceneSize * 2.4f, fSceneSize * 12.8f);
75 ctm.setTranslate(fSceneSize * 4.8f, fSceneSize * 12.3f);
79 ctm.setTranslate(fSceneSize * 13.8f, fSceneSize * 14.3f);
81 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4);
92 ctm.setTranslate(pos.x(), pos.y());
97 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale);
99 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4);
103 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale);
109 ctm.setTranslate(po
[all...]
H A Dpicture.cpp67 matrix.setTranslate(110, 0);
H A Dimagealphathreshold.cpp65 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f);
H A Dshadertext3.cpp99 localM.setTranslate(5.f, 5.f);
H A Dyuvtorgbeffect.cpp129 viewMatrix.setTranslate(x, y);
H A Dimage_pict.cpp63 matrix.setTranslate(-100, -100);
105 matrix.setTranslate(-100, -100);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DImageViewTest.java47 matrix.setTranslate(15, 20);
56 matrix.setTranslate(15, 20);
61 matrix.setTranslate(30, 40);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowMatrix.java41 public void setTranslate(float dx, float dy) { method in class:ShadowMatrix
/external/skia/samplecode/
H A DSampleSkLayer.cpp69 m0.setTranslate(2,3,4);
76 m1.setTranslate(5, 6, 7);
95 m0.setTranslate(2, 3, 4);
108 m0.setTranslate(3, 4, 5);
/external/skia/tests/
H A DDrawBitmapRectTest.cpp117 mat.setTranslate(tooMuchSubpixel, 0);
119 mat.setTranslate(0, tooMuchSubpixel);
123 mat.setTranslate(tinySubPixel, 0);
125 mat.setTranslate(0, tinySubPixel);
H A DDashPathEffectTest.cpp68 mats[2].setTranslate(10.0f, 10.0f);
H A DMatrix44Test.cpp121 mat.setTranslate(0, 0, 0);
123 mat.setTranslate(1, 2, 3);
132 b.setTranslate(10, 11, 12);
174 static void make_t(SkMatrix44* mat) { mat->setTranslate(1, 2, 3); }
251 matrix.setTranslate(-dx, -dy, -dz);
278 a.setTranslate(10, 10, 10);
351 translation.setTranslate(2, 3, 4);
820 mat.setTranslate(1, 1, 1);
879 mat.setTranslate(2, 3, 4);
H A DImageNewShaderTest.cpp74 matrix.setTranslate(SkIntToScalar(-1), SkIntToScalar(0));
/external/skia/src/gpu/
H A DGrTestUtils.cpp24 gMatrices[1].setTranslate(SkIntToScalar(-100), SkIntToScalar(100));
55 gMatrices[1].setTranslate(SkIntToScalar(-100), SkIntToScalar(100));
81 gMatrices[1].setTranslate(SkIntToScalar(-100), SkIntToScalar(100));
H A DGrBlurUtils.cpp35 matrix.setTranslate(-maskRect.fLeft, -maskRect.fTop);
144 translate.setTranslate(-maskRect->fLeft, -maskRect->fTop);
H A DGrLayerHoister.cpp264 initialCTM.setTranslate(SkIntToScalar(-offset.fX), SkIntToScalar(-offset.fY));
348 initialCTM.setTranslate(SkIntToScalar(-offset.fX), SkIntToScalar(-offset.fY));
/external/skia/src/views/
H A DSkTouchGesture.cpp85 matrix->setTranslate(tx, ty);
238 fLocalM.setTranslate(dx, dy);
248 fLocalM.setTranslate(-center(rec0.fStartX, rec1.fStartX),
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
H A DXYPlotWithBgImgActivity.java120 m.setTranslate(rect.left, rect.top);
/external/skia/include/core/
H A DSkMatrix.h23 functions (e.g. setTranslate, setRotate, etc.).
42 m.setTranslate(dx, dy);
217 void setTranslate(SkScalar dx, SkScalar dy);
218 void setTranslate(const SkVector& v) { this->setTranslate(v.fX, v.fY); } function in class:SkMatrix
/external/skia/include/utils/
H A DSkCamera.h53 void setTranslate(SkScalar x, SkScalar y, SkScalar z);
/external/skia/bench/
H A DGameBench.cpp151 mat.setTranslate(fSaved[j][0], fSaved[j][1]);
181 mat.setTranslate(fSaved[fNumSaved][0], fSaved[fNumSaved][1]);
H A DMatrix44Bench.cpp261 fM2.setTranslate(v,v,v);
H A DMatrixBench.cpp72 fM2.setTranslate(fSX, fSY);
H A DSKPBench.cpp136 trans.setTranslate(-fTileRects[j].fLeft/fScale,
/external/skia/experimental/nanomsg/
H A Dpicture_demo.cpp91 header.matrix.setTranslate(-l, -t);

Completed in 261 milliseconds

1234