Home
last modified time | relevance | path

Searched refs:Translate (Results 1 – 25 of 171) sorted by relevance

1234567

/third_party/skia/modules/skottie/tests/
DImage.cpp52 { 1, SkMatrix::Translate(50,25) * SkMatrix::Scale(.5f,.5f) * SkMatrix::Translate(-50,-25), in DEF_TEST()
54 { 2, SkMatrix::Translate(-50, 0), in DEF_TEST()
56 { 3, SkMatrix::Translate(0, -25), in DEF_TEST()
58 { 4, SkMatrix::Translate(50, 0), in DEF_TEST()
60 { 5, SkMatrix::Translate(0, 25), in DEF_TEST()
/third_party/skia/gm/
Dcrbug_224618.cpp61 SkM44 zoom = SkM44::Translate(0.f, 0.f, radius); in onDraw()
62 SkM44 postZoom = SkM44::Translate(0.f, 0.f, -radius - 1.f); in onDraw()
86 model = SkM44::Translate(radius, radius) * proj * // project and place content in onDraw()
88 SkM44::Translate(-radius, -radius); // center content in onDraw()
Dpreservefillrule.cpp65 star7_evenOdd.transform(SkMatrix::Translate(0, fStarSize)); in onDraw()
69 star5_winding.transform(SkMatrix::Translate(fStarSize, 0)); in onDraw()
73 star5_evenOdd.transform(SkMatrix::Translate(0, fStarSize)); in onDraw()
Dpostercircle.cpp121 SkM44 model = SkM44::Translate(kStageWidth/2, kStageHeight/2 + 25, 0) in onDraw()
123 * SkM44::Translate(0, ringY, 0) in onDraw()
125 * SkM44::Translate(0, 0, kRingRadius); in onDraw()
Ddftext_blob_persp.cpp134 persp = SkMatrix::Concat(persp, SkMatrix::Translate(-x, -y)); in drawBlob()
135 persp = SkMatrix::Concat(SkMatrix::Translate(x, y), persp); in drawBlob()
/third_party/skia/modules/skottie/src/
DTransform.cpp59 return SkMatrix::Translate(fPosition.x, fPosition.y) in totalMatrix()
63 * SkMatrix::Translate(-fAnchorPoint.x, -fAnchorPoint.y); in totalMatrix()
183 return SkM44::Translate(position.x, position.y, position.z) in totalMatrix()
188 * SkM44::Translate(-anchor_point.x, -anchor_point.y, -anchor_point.z); in totalMatrix()
/third_party/zlib/contrib/ada/
Dzlib.adb253 Translate (Filter, No_Data, Last, Out_Data, Out_Last, Flush);
280 Translate
423 Translate
477 procedure Translate subprogram
502 end Translate;
683 Translate
Dbuffer_demo.adb53 Translate (Compressor, Source, I, Compressed_Data, L, Finish);
83 Translate
Dmtest.adb104 procedure Translate is new Generic_Translate subprogram
123 Translate (Deflate);
Dtest.adb103 procedure Translate is new ZLib.Generic_Translate subprogram
315 Translate (Filter);
331 Translate (Filter);
/third_party/rust/crates/regex/regex-syntax/src/
Derror.rs20 Translate(hir::Error), enumerator
38 Error::Translate(err) in from()
48 Error::Translate(ref x) => x.description(), in description()
58 Error::Translate(ref x) => x.fmt(f), in fmt()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DMatrixMultTest.cpp54 angle::Mat4 testMatrix = angle::Mat4::Translate(angle::Vector3(1.0f, 0.0f, 0.0f)); in TEST_P()
67 EXPECT_EQ(angle::Mat4::Translate(angle::Vector3(2.0f, 0.0f, 0.0f)), outputMatrix); in TEST_P()
DMatrixBuiltinsTest.cpp55 TEST_P(MatrixBuiltinsTest, Translate) in TEST_P() argument
61 angle::Mat4 testMatrix = angle::Mat4::Translate(angle::Vector3(x, y, z)); in TEST_P()
/third_party/skia/bench/
DDrawBitmapAABench.cpp62 DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::Translate(17.5f, 17.5f), "translate"); )
75 DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::Translate(17.5f, 17.5f), "translate"); )
/third_party/skia/modules/skottie/src/text/
DTextAdapter.cpp141 auto m = SkM44::Translate(pos.x(), pos.y()); in getMatrix()
317 rec.fMatrixNode = sksg::Matrix<SkM44>::Make(SkM44::Translate(frag.fPos.x(), frag.fPos.y())); in addFragment()
684 return SkM44::Translate(pos.x, pos.y, pos.z); in fragmentMatrix()
704 * SkM44::Translate(0, rel_pos.y, pos.z); in fragmentMatrix()
719 * SkM44::Translate(-anchor_point.x, -anchor_point.y, 0)); in pushPropsToFragment()
768 const auto m = SkM44::Translate(line_offset.x + fragment_offset, in adjustLineProps()
/third_party/skia/docs/examples/
DChromeMDRefreshTab.cpp146 path.transform(SkMatrix::Translate(0, 30)); in draw()
151 border_path.transform(SkMatrix::Translate(0, 30)); in draw()
DMatrix_isFinite.cpp7 SkMatrix matrix = SkMatrix::Translate(SK_ScalarNaN, 0); in draw()
DMatrix_MakeTrans.cpp7 SkMatrix matrix = SkMatrix::Translate(64, 48); in draw()
/third_party/skia/src/shaders/gradients/
DSkSweepGradient.cpp16 : SkGradientShaderBase(desc, SkMatrix::Translate(-center.x(), -center.y())) in SkSweepGradient()
63 p->append_matrix(alloc, SkMatrix::Scale(fTScale, 1) * SkMatrix::Translate(fTBias, 0)); in appendGradientStages()
/third_party/skia/src/effects/imagefilters/
DSkRuntimeImageFilter.cpp116 SkMatrix::Translate(inputOffset) * in onFilterImage()
117 SkMatrix::Translate(-input->subset().topLeft()); in onFilterImage()
/third_party/skia/third_party/externals/angle2/src/common/
Dmatrix_utils_unittest.cpp729 Mat4 r = Mat4::Translate(Vector3(0.f, 0.f, 0.f)); in TEST()
748 Mat4 t1 = Mat4::Translate(Vector3(1.f, 1.f, 1.f)); in TEST()
749 Mat4 t2 = Mat4::Translate(Vector3(2.f, 2.f, 2.f)); in TEST()
2402 Mat4 r = Mat4::Translate(Vector3(1.f, 1.f, 1.f)); in TEST()
2405 Mat4 s = Mat4::Translate(Vector3(2.f, 2.f, 2.f)); in TEST()
/third_party/skia/include/core/
DSkMatrix.h83 static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkScalar dx, SkScalar dy) { in Translate() function
88 static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkVector t) { return Translate(t.x(), t.y()); } in Translate() function
89 static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkIVector t) { return Translate(t.x(), t.y()); } in Translate() function
/third_party/rust/crates/syn/benches/
Drust.rs57 use rustc_errors::{emitter::Emitter, translation::Translate, DiagCtxt, Diagnostic};
72 impl Translate for SilentEmitter { in bench()
/third_party/skia/modules/skottie/src/layers/shapelayer/
DRepeater.cpp47 return SkMatrix::Translate(t * fPosition.x + fAnchorPoint.x, in instanceTransform()
52 * SkMatrix::Translate(-fAnchorPoint.x, in instanceTransform()
/third_party/mbedtls/scripts/data_files/
Derror.fmt101 // Translate high level error code.
141 // Translate low level error code.

1234567