Home
last modified time | relevance | path

Searched refs:Transform (Results 1 – 25 of 445) sorted by relevance

12345678910>>...18

/external/eigen/Eigen/src/Eigen2Support/Geometry/
DTransform.h43 class Transform
79 inline Transform() { } in Transform() function
81 inline Transform(const Transform& other) in Transform() function
86 inline explicit Transform(const TranslationType& t) { *this = t; } in Transform() function
87 inline explicit Transform(const ScalingType& s) { *this = s; } in Transform() function
89 inline explicit Transform(const RotationBase<Derived, Dim>& r) { *this = r; } in Transform() function
91 inline Transform& operator=(const Transform& other)
97 static inline void run(Transform *transform, const MatrixBase<OtherDerived>& other) in run()
105 static inline void run(Transform *transform, const MatrixBase<OtherDerived>& other)
116 inline explicit Transform(const MatrixBase<OtherDerived>& other)
[all …]
/external/eigen/Eigen/src/Geometry/
DTransform.h19 template<typename Transform>
24 Dim = Transform::Dim,
25 HDim = Transform::HDim,
26 Mode = Transform::Mode,
176 class Transform
220 typedef Transform<Scalar,Dim,TransformTimeDiagonalMode> TransformTimeDiagonalReturnType;
230 inline Transform() in Transform() function
237 inline Transform(const Transform& other) in Transform() function
243 inline explicit Transform(const TranslationType& t) in Transform() function
248 inline explicit Transform(const UniformScaling<Scalar>& s) in Transform() function
[all …]
/external/chromium_org/ui/gfx/
Dtransform_util_unittest.cc19 Transform scale = GetScaleTransform(kAnchor, kScale); in TEST()
36 Transform result(Transform::kSkipInitialization); in TEST()
37 Transform transform; in TEST()
48 Transform result(Transform::kSkipInitialization); in TEST()
49 Transform transform; in TEST()
60 Transform result(Transform::kSkipInitialization); in TEST()
61 Transform transform; in TEST()
75 Transform result(Transform::kSkipInitialization); in TEST()
76 Transform transform; in TEST()
88 Transform result(Transform::kSkipInitialization); in TEST()
[all …]
Dtransform.h25 class GFX_EXPORT Transform {
32 Transform() : matrix_(SkMatrix44::kIdentity_Constructor) {} in Transform() function
36 Transform(SkipInitialization) in Transform() function
38 Transform(const Transform& rhs) : matrix_(rhs.matrix_) {} in Transform() function
40 Transform(const Transform& lhs, const Transform& rhs) in Transform() function
44 Transform(SkMScalar col1row1,
63 Transform(SkMScalar col1row1,
69 ~Transform() {} in ~Transform()
71 bool operator==(const Transform& rhs) const { return matrix_ == rhs.matrix_; }
72 bool operator!=(const Transform& rhs) const { return matrix_ != rhs.matrix_; }
[all …]
Dtransform.cc45 Transform::Transform(SkMScalar col1row1, in Transform() function in gfx::Transform
83 Transform::Transform(SkMScalar col1row1, in Transform() function in gfx::Transform
98 void Transform::RotateAboutXAxis(double degrees) { in RotateAboutXAxis()
115 void Transform::RotateAboutYAxis(double degrees) { in RotateAboutYAxis()
134 void Transform::RotateAboutZAxis(double degrees) { in RotateAboutZAxis()
151 void Transform::RotateAbout(const Vector3dF& axis, double degrees) { in RotateAbout()
167 void Transform::Scale(SkMScalar x, SkMScalar y) { matrix_.preScale(x, y, 1); } in Scale()
169 void Transform::Scale3d(SkMScalar x, SkMScalar y, SkMScalar z) { in Scale3d()
173 void Transform::Translate(SkMScalar x, SkMScalar y) { in Translate()
177 void Transform::Translate3d(SkMScalar x, SkMScalar y, SkMScalar z) { in Translate3d()
[all …]
Dinterpolated_transform.cc30 bool MassageRotationIfMultipleOfNinetyDegrees(gfx::Transform* rotation, in MassageRotationIfMultipleOfNinetyDegrees()
35 gfx::Transform transform; in MassageRotationIfMultipleOfNinetyDegrees()
89 gfx::Transform InterpolatedTransform::Interpolate(float t) const { in Interpolate()
92 gfx::Transform result = InterpolateButDoNotCompose(t); in Interpolate()
150 gfx::Transform InterpolatedRotation::InterpolateButDoNotCompose(float t) const { in InterpolateButDoNotCompose()
151 gfx::Transform result; in InterpolateButDoNotCompose()
187 gfx::Transform
189 gfx::Transform result; in InterpolateButDoNotCompose()
229 gfx::Transform InterpolatedScale::InterpolateButDoNotCompose(float t) const { in InterpolateButDoNotCompose()
230 gfx::Transform result; in InterpolateButDoNotCompose()
[all …]
Dtransform_unittest.cc79 bool MatricesAreNearlyEqual(const Transform& lhs, in MatricesAreNearlyEqual()
80 const Transform& rhs) { in MatricesAreNearlyEqual()
92 void InitializeTestMatrix(Transform* transform) { in InitializeTestMatrix()
118 void InitializeTestMatrix2(Transform* transform) { in InitializeTestMatrix2()
148 void InitializeApproxIdentityMatrix(Transform* transform) { in InitializeApproxIdentityMatrix()
179 Transform lhs, rhs, interpolated; in TEST()
199 lhs = Transform(); in TEST()
200 rhs = Transform(); in TEST()
230 Transform xform; in TEST()
233 Transform translation; in TEST()
[all …]
Dinterpolated_transform.h38 gfx::Transform Interpolate(float t) const;
53 virtual gfx::Transform InterpolateButDoNotCompose(float t) const = 0;
97 virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE;
125 virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE;
155 virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE;
175 virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE;
195 explicit InterpolatedConstantTransform(const gfx::Transform& transform);
199 virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE;
202 const gfx::Transform transform_;
230 virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE;
[all …]
Dinterpolated_transform_unittest.cc13 void CheckApproximatelyEqual(const gfx::Transform& lhs, in CheckApproximatelyEqual()
14 const gfx::Transform& rhs) { in CheckApproximatelyEqual()
30 gfx::Transform rotation; in TEST()
32 gfx::Transform interpolated = interpolated_rotation.Interpolate(i / 100.0f); in TEST()
46 gfx::Transform scale; in TEST()
48 gfx::Transform interpolated = interpolated_scale.Interpolate(i / 100.0f); in TEST()
63 gfx::Transform xform; in TEST()
65 gfx::Transform interpolated = interpolated_xform.Interpolate(i / 100.0f); in TEST()
79 gfx::Transform result = interpolated_xform.Interpolate(0.0f); in TEST()
80 CheckApproximatelyEqual(gfx::Transform(), result); in TEST()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DTransform.java45 public final class Transform implements Savable, Cloneable, java.io.Serializable { class
49 public static final Transform IDENTITY = new Transform();
55 public Transform(Vector3f translation, Quaternion rot){ in Transform() method in Transform
60 public Transform(Vector3f translation, Quaternion rot, Vector3f scale){ in Transform() method in Transform
65 public Transform(Vector3f translation){ in Transform() method in Transform
69 public Transform(Quaternion rot){ in Transform() method in Transform
73 public Transform(){ in Transform() method in Transform
82 public Transform setRotation(Quaternion rot) { in setRotation()
92 public Transform setTranslation(Vector3f trans) { in setTranslation()
110 public Transform setScale(Vector3f scale) { in setScale()
[all …]
/external/chromium_org/cc/layers/
Drender_surface.h43 void SetDrawTransform(const gfx::Transform& draw_transform) { in SetDrawTransform()
46 const gfx::Transform& draw_transform() const { return draw_transform_; } in draw_transform()
48 void SetScreenSpaceTransform(const gfx::Transform& screen_space_transform) { in SetScreenSpaceTransform()
51 const gfx::Transform& screen_space_transform() const { in screen_space_transform()
55 void SetReplicaDrawTransform(const gfx::Transform& replica_draw_transform) { in SetReplicaDrawTransform()
58 const gfx::Transform& replica_draw_transform() const { in replica_draw_transform()
63 const gfx::Transform& replica_screen_space_transform) { in SetReplicaScreenSpaceTransform()
66 const gfx::Transform& replica_screen_space_transform() const { in replica_screen_space_transform()
122 gfx::Transform draw_transform_;
123 gfx::Transform screen_space_transform_;
[all …]
Drender_surface_impl.h61 void SetDrawTransform(const gfx::Transform& draw_transform) { in SetDrawTransform()
64 const gfx::Transform& draw_transform() const { return draw_transform_; } in draw_transform()
66 void SetScreenSpaceTransform(const gfx::Transform& screen_space_transform) { in SetScreenSpaceTransform()
69 const gfx::Transform& screen_space_transform() const { in screen_space_transform()
73 void SetReplicaDrawTransform(const gfx::Transform& replica_draw_transform) { in SetReplicaDrawTransform()
76 const gfx::Transform& replica_draw_transform() const { in replica_draw_transform()
81 const gfx::Transform& replica_screen_space_transform) { in SetReplicaScreenSpaceTransform()
84 const gfx::Transform& replica_screen_space_transform() const { in replica_screen_space_transform()
157 gfx::Transform draw_transform_;
158 gfx::Transform screen_space_transform_;
[all …]
Dlayer_position_constraint_unittest.cc20 const gfx::Transform& transform, in SetLayerPropertiesForTesting()
21 const gfx::Transform& sublayer_transform, in SetLayerPropertiesForTesting()
40 gfx::Transform identity_matrix; in ExecuteCalculateDrawProperties()
85 gfx::Transform IdentityMatrix; in CreateTreeForTest()
155 gfx::Transform expected_child_transform; in TEST_F()
156 gfx::Transform expected_grand_child_transform = expected_child_transform; in TEST_F()
218 gfx::Transform non_uniform_scale; in TEST_F()
229 gfx::Transform expected_child_transform; in TEST_F()
232 gfx::Transform expected_grand_child_transform = expected_child_transform; in TEST_F()
297 gfx::Transform expected_child_transform; in TEST_F()
[all …]
/external/chromium_org/ui/compositor/
Dtransform_animation_curve_adapter.h21 gfx::Transform intial_value,
22 gfx::Transform target_value,
30 virtual gfx::Transform GetValue(double t) const OVERRIDE;
36 gfx::Transform initial_value_;
37 gfx::Transform target_value_;
49 gfx::Transform initial_value,
56 virtual gfx::Transform GetValue(double t) const OVERRIDE;
62 gfx::Transform initial_value_;
63 gfx::Transform effective_initial_value_;
Dtransform_animation_curve_adapter.cc11 gfx::Transform initial_value, in TransformAnimationCurveAdapter()
12 gfx::Transform target_value, in TransformAnimationCurveAdapter()
38 gfx::Transform TransformAnimationCurveAdapter::GetValue( in GetValue()
66 gfx::Transform initial_value, in InverseTransformCurveAdapter()
89 gfx::Transform InverseTransformCurveAdapter::GetValue( in GetValue()
94 gfx::Transform base_transform = base_curve_.GetValue(t); in GetValue()
96 gfx::Transform to_return(gfx::Transform::kSkipInitialization); in GetValue()
/external/chromium_org/ash/display/
Droot_window_transformers.cc38 void RoundNearZero(gfx::Transform* transform) { in RoundNearZero()
53 gfx::Transform CreateRotationTransform(aura::Window* root_window, in CreateRotationTransform()
65 return gfx::Transform(); in CreateRotationTransform()
69 gfx::Transform rotate; in CreateRotationTransform()
95 gfx::Transform CreateMagnifierTransform(aura::Window* root_window) { in CreateMagnifierTransform()
104 gfx::Transform transform; in CreateMagnifierTransform()
112 gfx::Transform CreateInsetsAndScaleTransform(const gfx::Insets& insets, in CreateInsetsAndScaleTransform()
115 gfx::Transform transform; in CreateInsetsAndScaleTransform()
147 virtual gfx::Transform GetTransform() const OVERRIDE { in GetTransform()
150 virtual gfx::Transform GetInverseTransform() const OVERRIDE { in GetInverseTransform()
[all …]
/external/mesa3d/src/mesa/main/
Dclip.c45 _mesa_transform_vector(ctx->Transform._ClipUserPlane[plane], in _mesa_update_clip_plane()
46 ctx->Transform.EyeUserPlane[plane], in _mesa_update_clip_plane()
84 if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation)) in _mesa_ClipPlane()
88 COPY_4FV(ctx->Transform.EyeUserPlane[p], equation); in _mesa_ClipPlane()
90 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in _mesa_ClipPlane()
112 equation[0] = (GLdouble) ctx->Transform.EyeUserPlane[p][0]; in _mesa_GetClipPlane()
113 equation[1] = (GLdouble) ctx->Transform.EyeUserPlane[p][1]; in _mesa_GetClipPlane()
114 equation[2] = (GLdouble) ctx->Transform.EyeUserPlane[p][2]; in _mesa_GetClipPlane()
115 equation[3] = (GLdouble) ctx->Transform.EyeUserPlane[p][3]; in _mesa_GetClipPlane()
Dmatrix.c152 if (ctx->Transform.MatrixMode == mode && mode != GL_TEXTURE) in _mesa_MatrixMode()
227 ctx->Transform.MatrixMode = mode; in _mesa_MatrixMode()
249 _mesa_lookup_enum_by_nr(ctx->Transform.MatrixMode)); in _mesa_PushMatrix()
252 if (ctx->Transform.MatrixMode == GL_TEXTURE) { in _mesa_PushMatrix()
259 _mesa_lookup_enum_by_nr(ctx->Transform.MatrixMode)); in _mesa_PushMatrix()
289 _mesa_lookup_enum_by_nr(ctx->Transform.MatrixMode)); in _mesa_PopMatrix()
292 if (ctx->Transform.MatrixMode == GL_TEXTURE) { in _mesa_PopMatrix()
299 _mesa_lookup_enum_by_nr(ctx->Transform.MatrixMode)); in _mesa_PopMatrix()
579 if (ctx->Transform.ClipPlanesEnabled) { in update_projection()
582 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in update_projection()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dclip.c45 _mesa_transform_vector(ctx->Transform._ClipUserPlane[plane], in _mesa_update_clip_plane()
46 ctx->Transform.EyeUserPlane[plane], in _mesa_update_clip_plane()
84 if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation)) in _mesa_ClipPlane()
88 COPY_4FV(ctx->Transform.EyeUserPlane[p], equation); in _mesa_ClipPlane()
90 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in _mesa_ClipPlane()
112 equation[0] = (GLdouble) ctx->Transform.EyeUserPlane[p][0]; in _mesa_GetClipPlane()
113 equation[1] = (GLdouble) ctx->Transform.EyeUserPlane[p][1]; in _mesa_GetClipPlane()
114 equation[2] = (GLdouble) ctx->Transform.EyeUserPlane[p][2]; in _mesa_GetClipPlane()
115 equation[3] = (GLdouble) ctx->Transform.EyeUserPlane[p][3]; in _mesa_GetClipPlane()
Dmatrix.c152 if (ctx->Transform.MatrixMode == mode && mode != GL_TEXTURE) in _mesa_MatrixMode()
227 ctx->Transform.MatrixMode = mode; in _mesa_MatrixMode()
249 _mesa_lookup_enum_by_nr(ctx->Transform.MatrixMode)); in _mesa_PushMatrix()
252 if (ctx->Transform.MatrixMode == GL_TEXTURE) { in _mesa_PushMatrix()
259 _mesa_lookup_enum_by_nr(ctx->Transform.MatrixMode)); in _mesa_PushMatrix()
289 _mesa_lookup_enum_by_nr(ctx->Transform.MatrixMode)); in _mesa_PopMatrix()
292 if (ctx->Transform.MatrixMode == GL_TEXTURE) { in _mesa_PopMatrix()
299 _mesa_lookup_enum_by_nr(ctx->Transform.MatrixMode)); in _mesa_PopMatrix()
579 if (ctx->Transform.ClipPlanesEnabled) { in update_projection()
582 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { in update_projection()
[all …]
/external/chromium_org/cc/trees/
Dlayer_sorter_unittest.cc29 gfx::Transform neg4_translate; in TEST()
33 gfx::Transform neg5_translate; in TEST()
48 gfx::Transform right_translate; in TEST()
66 gfx::Transform perspective_matrix; in TEST()
70 gfx::Transform left_face_matrix; in TEST()
75 gfx::Transform front_face_matrix; in TEST()
90 gfx::Transform perspective_matrix; in TEST()
95 gfx::Transform front_face_matrix; in TEST()
100 gfx::Transform through_matrix; in TEST()
130 gfx::Transform transform_a; in TEST()
[all …]
/external/chromium_org/cc/base/
Dmath_util.h26 class Transform; variable
102 static gfx::Rect MapClippedRect(const gfx::Transform& transform,
104 static gfx::RectF MapClippedRect(const gfx::Transform& transform,
106 static gfx::RectF ProjectClippedRect(const gfx::Transform& transform,
114 static void MapClippedQuad(const gfx::Transform& transform,
129 static gfx::QuadF MapQuad(const gfx::Transform& transform,
132 static gfx::PointF MapPoint(const gfx::Transform& transform,
135 static gfx::Point3F MapPoint(const gfx::Transform&,
138 static gfx::QuadF ProjectQuad(const gfx::Transform& transform,
141 static gfx::PointF ProjectPoint(const gfx::Transform& transform,
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DFeature.java6 import com.jme3.math.Transform;
122 public Transform getTransform() { in getTransform()
149 Transform result = new Transform(loc, rot); in getTransform()
161 Transform localTransform = new Transform(bone.getLocalPosition(), bone.getLocalRotation()); in getTransform()
165Transform worldTransform = new Transform(bone.getWorldBindPosition(), bone.getWorldBindRotation()); in getTransform()
169 Transform poseTransform = new Transform(bone.getLocalPosition(), bone.getLocalRotation()); in getTransform()
173Transform parentLocalTransform = new Transform(bone.getLocalPosition(), bone.getLocalRotation()); in getTransform()
188 public void applyTransform(Transform transform) { in applyTransform()
192 Transform ownerLocalTransform = spatial.getLocalTransform(); in applyTransform()
255 Transform t = spatial.getWorldTransform(); in getWorldTransformMatrix()
[all …]
/external/chromium_org/cc/animation/
Dtransform_operations_unittest.cc133 to_add->AppendMatrix(gfx::Transform()); in GetIdentityOperations()
137 to_add->AppendMatrix(gfx::Transform()); in GetIdentityOperations()
138 to_add->AppendMatrix(gfx::Transform()); in GetIdentityOperations()
158 gfx::Transform expected; in TEST()
170 gfx::Transform expected; in TEST()
181 gfx::Transform expected; in TEST()
191 gfx::Transform expected; in TEST()
201 gfx::Transform expected; in TEST()
210 gfx::Transform expected_matrix; in TEST()
230 gfx::Transform expected_scale_matrix; in TEST()
[all …]
/external/chromium_org/cc/quads/
Drender_pass_unittest.cc29 gfx::Transform transform_to_root_target;
68 gfx::Transform transform_to_root = in TEST()
69 gfx::Transform(1.0, 0.5, 0.5, -0.5, -1.0, 0.0); in TEST()
83 shared_state->SetAll(gfx::Transform(), in TEST()
120 gfx::Transform transform_to_root = in TEST()
121 gfx::Transform(1.0, 0.5, 0.5, -0.5, -1.0, 0.0); in TEST()
134 shared_state1->SetAll(gfx::Transform(), in TEST()
157 shared_state2->SetAll(gfx::Transform(), in TEST()
181 gfx::Transform contrib_transform_to_root = in TEST()
182 gfx::Transform(1.0, 0.5, 0.5, -0.5, -1.0, 0.0); in TEST()
[all …]

12345678910>>...18