Home
last modified time | relevance | path

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

12345678910>>...16

/third_party/vk-gl-cts/scripts/
Dbuild_android_mustpass.py68 rotation = "unspecified",
76 rotation = "unspecified",
83 rotation = "unspecified",
91 rotation = "unspecified",
108 rotation = "unspecified",
116 rotation = "unspecified",
123 rotation = "unspecified",
130 rotation = "unspecified",
150 rotation = "unspecified",
158 rotation = "unspecified",
[all …]
/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 …]
/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/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/vk-gl-cts/external/openglcts/scripts/
Dbuild_mustpass.py111 rotation = "unspecified",
120 rotation = "unspecified",
128 rotation = "0",
135 rotation = "90",
142 rotation = "180",
149 rotation = "270",
158 rotation = "unspecified",
168 rotation = "unspecified",
180 rotation = "unspecified",
187 rotation = "0",
[all …]
/third_party/rust/crates/tracing/tracing-appender/src/
Drolling.rs108 rotation: Rotation, field
142 rotation: Rotation, in new()
151 .rotation(rotation) in new()
189 ref rotation, in from_builder()
198 rotation.clone(), in from_builder()
523 rotation: Rotation, in new()
530 let date_format = rotation.date_format(); in new()
531 let next_date = rotation.next_date(&now); in new()
543 rotation, in new()
557 &self.rotation, in join_date()
[all …]
/third_party/rust/crates/tracing/tracing-appender/src/rolling/
Dbuilder.rs10 pub(super) rotation: Rotation, field
53 rotation: Rotation::NEVER, in new()
82 pub fn rotation(self, rotation: Rotation) -> Self { in rotation() method
83 Self { rotation, ..self } in rotation()
/third_party/cups-filters/cupsfilters/
Dimage-photocd.c47 int rotation; /* 0 for 768x512, 1 for 512x768 */ in _cupsImageReadPhotoCD() local
67 rotation = (getc(fp) & 63) != 8; in _cupsImageReadPhotoCD()
83 if (rotation) in _cupsImageReadPhotoCD()
127 if (rotation) in _cupsImageReadPhotoCD()
182 if (rotation) in _cupsImageReadPhotoCD()
203 else if (rotation) in _cupsImageReadPhotoCD()
305 if (rotation) in _cupsImageReadPhotoCD()
/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/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/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/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/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/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/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/vk-gl-cts/external/vulkan-docs/src/chapters/VK_QCOM_rotated_copies/
Drotated_addressing_copies.txt6 [[copies-buffers-images-rotation-addressing]]
12 flink:vkCmdCopyBufferToImage2KHR, a rotation is applied to the region used
23 The following code computes rotation of unnormalized coordinates.
26 // Forward rotation of unnormalized coordinates
53 Pseudocode for image/buffer addressing of uncompressed formats with rotation
68 // Buffer addressing is unaffected by rotation:
/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/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()

12345678910>>...16