Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/third_party/flutter/engine/flutter/flow/
Dmatrix_decomposition_unittests.cc26 ASSERT_FLOAT_EQ(0, decomposition.rotation().fData[0]); in TEST()
27 ASSERT_FLOAT_EQ(0, decomposition.rotation().fData[1]); in TEST()
28 ASSERT_FLOAT_EQ(sine, decomposition.rotation().fData[2]); in TEST()
29 ASSERT_FLOAT_EQ(cos(angle * 0.5), decomposition.rotation().fData[3]); in TEST()
61 const auto rotation = M_PI_4; in TEST() local
66 m1.setRotateAbout(0, 0, 1, rotation); in TEST()
87 const auto sine = sin(rotation * 0.5); in TEST()
89 ASSERT_FLOAT_EQ(0, decomposition.rotation().fData[0]); in TEST()
90 ASSERT_FLOAT_EQ(0, decomposition.rotation().fData[1]); in TEST()
91 ASSERT_FLOAT_EQ(sine, decomposition.rotation().fData[2]); in TEST()
[all …]
/third_party/typescript/tests/baselines/reference/
DcontrolFlowCaching.js8 leftBottom = position !== "rightOrTop", rotation = o.rotation % 360,
23 cosr = Math.abs(Math.cos(rotation * Math.PI / 180)),
24 sinr = Math.abs(Math.sin(rotation * Math.PI / 180)),
26 if (rotation < 0) {
27 rotation += 360;
35 switch (rotation) {
37 if (rotation < (90 - centerAnchorLimit)) {
39 } else if (rotation < (90 + centerAnchorLimit)) {
41 } else if (rotation < 180) {
43 } else if (rotation < (270 - centerAnchorLimit)) {
[all …]
DcontrolFlowCaching.symbols25 leftBottom = position !== "rightOrTop", rotation = o.rotation % 360,
28 >rotation : Symbol(rotation, Decl(controlFlowCaching.ts, 6, 47))
112 cosr = Math.abs(Math.cos(rotation * Math.PI / 180)),
120 >rotation : Symbol(rotation, Decl(controlFlowCaching.ts, 6, 47))
125 sinr = Math.abs(Math.sin(rotation * Math.PI / 180)),
133 >rotation : Symbol(rotation, Decl(controlFlowCaching.ts, 6, 47))
145 if (rotation < 0) {
146 >rotation : Symbol(rotation, Decl(controlFlowCaching.ts, 6, 47))
148 rotation += 360;
149 >rotation : Symbol(rotation, Decl(controlFlowCaching.ts, 6, 47))
[all …]
DcontrolFlowCaching.types41 leftBottom = position !== "rightOrTop", rotation = o.rotation % 360,
46 >rotation : number
47 >o.rotation % 360 : number
48 >o.rotation : any
50 >rotation : any
289 cosr = Math.abs(Math.cos(rotation * Math.PI / 180)),
291 >Math.abs(Math.cos(rotation * Math.PI / 180)) : number
295 >Math.cos(rotation * Math.PI / 180) : number
299 >rotation * Math.PI / 180 : number
300 >rotation * Math.PI : number
[all …]
DmethodsReturningThis.types83 Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { retu…
84 …scaleX, scaleY, rotation, skewX, skewY) { return this; } : (x: any, y: any, pivotX: any, pivotY: a…
90 …scaleX, scaleY, rotation, skewX, skewY) { return this; } : (x: any, y: any, pivotX: any, pivotY: a…
97 >rotation : any
/third_party/vk-gl-cts/scripts/
Dbuild_android_mustpass.py67 rotation = "unspecified",
75 rotation = "unspecified",
92 rotation = "unspecified",
100 rotation = "unspecified",
107 rotation = "unspecified",
126 rotation = "unspecified",
134 rotation = "unspecified",
141 rotation = "unspecified",
149 rotation = "0",
155 rotation = "90",
[all …]
/third_party/typescript/tests/cases/compiler/
DcontrolFlowCaching.ts9 leftBottom = position !== "rightOrTop", rotation = o.rotation % 360,
24 cosr = Math.abs(Math.cos(rotation * Math.PI / 180)),
25 sinr = Math.abs(Math.sin(rotation * Math.PI / 180)),
27 if (rotation < 0) {
28 rotation += 360;
36 switch (rotation) {
38 if (rotation < (90 - centerAnchorLimit)) {
40 } else if (rotation < (90 + centerAnchorLimit)) {
42 } else if (rotation < 180) {
44 } else if (rotation < (270 - centerAnchorLimit)) {
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DSpecializationConstant.cpp59 TIntermAggregate *CreateMat2x2(const Mat2x2EnumMap &matrix, vk::SurfaceRotation rotation) in CreateMat2x2() argument
63 mat2Args.push_back(CreateFloatNode(matrix[rotation][0], EbpLow)); in CreateMat2x2()
64 mat2Args.push_back(CreateFloatNode(matrix[rotation][1], EbpLow)); in CreateMat2x2()
65 mat2Args.push_back(CreateFloatNode(matrix[rotation][2], EbpLow)); in CreateMat2x2()
66 mat2Args.push_back(CreateFloatNode(matrix[rotation][3], EbpLow)); in CreateMat2x2()
73 TIntermTyped *GenerateMat2x2ArrayWithIndex(const Mat2x2EnumMap &matrix, TIntermSymbol *rotation) in GenerateMat2x2ArrayWithIndex() argument
89 return new TIntermBinary(EOpIndexIndirect, array, rotation); in GenerateMat2x2ArrayWithIndex()
107 constexpr Mat2x2 CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation rotation) in CalcFragRotationMultiplyFlipXY() argument
109 return Mat2x2({kFlipXYValue[rotation][0] * kFragRotationMatrices[rotation][0], in CalcFragRotationMultiplyFlipXY()
110 kFlipXYValue[rotation][1] * kFragRotationMatrices[rotation][1], in CalcFragRotationMultiplyFlipXY()
[all …]
/third_party/vk-gl-cts/external/openglcts/scripts/
Dbuild_mustpass.py110 rotation = "unspecified",
119 rotation = "unspecified",
127 rotation = "0",
134 rotation = "90",
141 rotation = "180",
148 rotation = "270",
157 rotation = "unspecified",
167 rotation = "unspecified",
179 rotation = "unspecified",
186 rotation = "0",
[all …]
/third_party/boost/libs/geometry/test/robustness/overlay/areal_areal/
Dintersection_stars.cpp64 void test_star(int count, int min_points, int max_points, T rotation, p_q_settings const& settings) in test_star() argument
83 make_star(q, i * 2 + 1, 0.5, 1.0, rotation); in test_star()
103 void test_type(int count, int min_points, int max_points, T rotation, p_q_settings const& settings) in test_type() argument
105 test_star<T, CalculationType>(count, min_points, max_points, rotation, settings); in test_type()
109 void test_all(std::string const& type, int count, int min_points, int max_points, T rotation, p_q_s… in test_all() argument
114 test_type<float, float>(count, min_points, max_points, rotation, settings); in test_all()
118 test_type<double, double>(count, min_points, max_points, rotation, settings); in test_all()
123 test_type<ttmath_big, ttmath_big>(count, min_points, max_points, rotation, settings); in test_all()
143 double rotation = 1.0e-13; in main() local
153 ("rotation", po::value<double>(&rotation)->default_value(1.0e-13), "Rotation angle") in main()
[all …]
/third_party/weston/clients/
Dnested-client.c54 GLuint rotation; member
118 client->rotation = in create_program()
153 GLfloat rotation[4][4] = { in render_triangle() local
170 rotation[0][0] = cos(angle); in render_triangle()
171 rotation[0][2] = sin(angle); in render_triangle()
172 rotation[2][0] = -sin(angle); in render_triangle()
173 rotation[2][2] = cos(angle); in render_triangle()
182 glUniformMatrix4fv(client->rotation, 1, GL_FALSE, in render_triangle()
183 (GLfloat *) rotation); in render_triangle()
/third_party/flutter/flutter/dev/benchmarks/macrobenchmarks/lib/src/
Dcubic_bezier.dart51 translate: <double>[29.45, 151.0], rotation: -1.5708));
60 translate: <double>[53.0, 200.48], rotation: -3.14159));
69 translate: <double>[122.48, 77.0], rotation: -4.71239));
88 PathDetail(this.path, {this.translate, this.rotation});
92 double rotation;
175 translate: <double>[29.45, 151.0], rotation: -1.5708));
196 translate: <double>[53.0, 200.48], rotation: -3.14159));
218 translate: <double>[122.48, 77.0], rotation: -4.71239));
264 PathDetail(bezier2Path, translate: <double>[29.45, 151.0], rotation: -1.5708),
266 translate: <double>[53.0, 200.48], rotation: -3.14159),
[all …]
/third_party/flutter/skia/tests/
DGrQuadCropTest.cpp240 SkMatrix rotation; in TEST() local
241 rotation.setRotate(90.f); in TEST()
242 test_axis_aligned(r, rotation); in TEST()
243 rotation.setRotate(180.f); in TEST()
244 test_axis_aligned(r, rotation); in TEST()
245 rotation.setRotate(270.f); in TEST()
246 test_axis_aligned(r, rotation); in TEST()
250 SkMatrix rotation; in TEST() local
251 rotation.setRotate(34.f); in TEST()
252 test_crop_fully_covered(r, rotation); in TEST()
/third_party/skia/modules/skottie/src/
DCamera.cpp21 const SkV3& rotation, in ComputeCameraMatrix() argument
26 const auto cam_t = SkM44::Rotate({0, 0, 1}, SkDegreesToRadians(-rotation.z)) in ComputeCameraMatrix()
27 * SkM44::Rotate({0, 1, 0}, SkDegreesToRadians( rotation.y)) in ComputeCameraMatrix()
28 * SkM44::Rotate({1, 0, 0}, SkDegreesToRadians( rotation.x)) in ComputeCameraMatrix()
81 this->rotation(), in totalMatrix()
DTransform.cpp172 SkV3 TransformAdapter3D::rotation() const { in rotation() function in skottie::internal::TransformAdapter3D
181 rotation = this->rotation(); in totalMatrix()
184 * SkM44::Rotate({ 1, 0, 0 }, SkDegreesToRadians(rotation.x)) in totalMatrix()
185 * SkM44::Rotate({ 0, 1, 0 }, SkDegreesToRadians(rotation.y)) in totalMatrix()
186 * SkM44::Rotate({ 0, 0, 1 }, SkDegreesToRadians(rotation.z)) in totalMatrix()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglfilterglass.c81 gfloat start_alpha, gfloat stop_alpha, gboolean reversed, gfloat rotation);
311 gfloat start_alpha, gfloat stop_alpha, gboolean reversed, gfloat rotation) in gst_gl_filter_glass_draw_video_plane() argument
338 gst_gl_shader_set_uniform_1f (glass_filter->shader, "yrot", rotation); in gst_gl_filter_glass_draw_video_plane()
361 gfloat rotation; in gst_gl_filter_glass_callback() local
391 rotation = sin (time_passed / 1200000.0) * 45.0f; in gst_gl_filter_glass_callback()
393 rotation = 0.0f; in gst_gl_filter_glass_callback()
403 0.0f, 2.0f, 0.3f, 0.0f, TRUE, rotation); in gst_gl_filter_glass_callback()
407 0.0f, 0.0f, 1.0f, 1.0f, FALSE, rotation); in gst_gl_filter_glass_callback()
/third_party/openGLES/extensions/SGIX/
DSGIX_sprite.txt34 rotation which is computed based on the current model view matrix
39 Primitives are first transformed by a rotation, depending on the
62 The axis of rotation or alignment, SPRITE_AXIS_SGIX, can be
86 However, once the projection matrix assumes rotation things
136 into the plane perpendicular to the rotation axis. Then the
144 A - sprite axis rotation matrix
145 R - sprite up vector/axis alignment rotation matrix
154 matrix (T) is constructed. Both A and R are rotation matrices generated
155 by computing an angle of rotation and the sprite axis (computing sine and
156 cosine of the rotation angle suffices for computing a rotation matrix).
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DSGIX_sprite.txt34 rotation which is computed based on the current model view matrix
39 Primitives are first transformed by a rotation, depending on the
62 The axis of rotation or alignment, SPRITE_AXIS_SGIX, can be
86 However, once the projection matrix assumes rotation things
136 into the plane perpendicular to the rotation axis. Then the
144 A - sprite axis rotation matrix
145 R - sprite up vector/axis alignment rotation matrix
154 matrix (T) is constructed. Both A and R are rotation matrices generated
155 by computing an angle of rotation and the sprite axis (computing sine and
156 cosine of the rotation angle suffices for computing a rotation matrix).
[all …]
/third_party/skia/tests/
DGrQuadCropTest.cpp248 SkMatrix rotation; in TEST() local
249 rotation.setRotate(90.f); in TEST()
250 test_axis_aligned(r, rotation); in TEST()
251 rotation.setRotate(180.f); in TEST()
252 test_axis_aligned(r, rotation); in TEST()
253 rotation.setRotate(270.f); in TEST()
254 test_axis_aligned(r, rotation); in TEST()
258 SkMatrix rotation; in TEST() local
259 rotation.setRotate(34.f); in TEST()
260 test_crop_fully_covered(r, rotation); in TEST()
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dpath2d.js60 function ellipse(skpath, x, y, radiusX, radiusY, rotation, argument
62 if (!allAreFinite([x, y, radiusX, radiusY, rotation, startAngle, endAngle])) {
97 if (!rotation) {
101 var rotated = CanvasKit.SkMatrix.rotated(rotation, x, y);
102 var rotatedInvert = CanvasKit.SkMatrix.rotated(-rotation, x, y);
185 this.ellipse = function(x, y, radiusX, radiusY, rotation, argument
187 ellipse(this._path, x, y, radiusX, radiusY, rotation,
/third_party/skia/modules/canvaskit/htmlcanvas/
Dpath2d.js60 function ellipse(skpath, x, y, radiusX, radiusY, rotation, argument
62 if (!allAreFinite([x, y, radiusX, radiusY, rotation, startAngle, endAngle])) {
97 if (!rotation) {
101 var rotated = CanvasKit.Matrix.rotated(rotation, x, y);
102 var rotatedInvert = CanvasKit.Matrix.rotated(-rotation, x, y);
186 this.ellipse = function(x, y, radiusX, radiusY, rotation, argument
188 ellipse(this._path, x, y, radiusX, radiusY, rotation,
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/
DCanvasMatrixUtil.java79 float[] rotation = new float[16]; in createXYtoXZRotationMatrix() local
80 android.opengl.Matrix.setIdentityM(rotation, 0); in createXYtoXZRotationMatrix()
81 android.opengl.Matrix.rotateM(rotation, 0, 90, 1, 0, 0); in createXYtoXZRotationMatrix()
82 return rotation; in createXYtoXZRotationMatrix()
/third_party/ffmpeg/libavutil/
Ddisplay.c36 double rotation, scale[2]; in av_display_rotation_get() local
44 rotation = atan2(CONV_FP(matrix[1]) / scale[1], in av_display_rotation_get()
47 return -rotation; in av_display_rotation_get()
/third_party/skia/modules/skottie/src/text/
DTextAnimator.cpp121 modulated_props.rotation += fTextProps.rotation * amount; in modulateProps()
194 fRequiresAnchorPoint |= acontainer->bind(*abuilder, jprops["rx"], fTextProps.rotation.x); in TextAnimator()
195 fRequiresAnchorPoint |= acontainer->bind(*abuilder, jprops["ry"], fTextProps.rotation.y); in TextAnimator()
196 fRequiresAnchorPoint |= acontainer->bind(*abuilder, jprops["r" ], fTextProps.rotation.z); in TextAnimator()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dpath_to_svg.dart47 ellipse.rotation,
58 ellipse.rotation,
69 ellipse.rotation,
163 double rotation,
168 final double cosRotation = math.cos(rotation);
169 final double sinRotation = math.sin(rotation);
185 final double rotationDeg = rotation / math.pi * 180.0;

12345678910>>...15