/frameworks/native/services/surfaceflinger/tests/transform/ |
TransformTest.cpp | 18 #include "../../Transform.h" 24 Transform tr90(Transform::ROT_90); 25 Transform trFH(Transform::FLIP_H); 26 Transform trFV(Transform::FLIP_V); 28 Transform tr90FH(Transform::ROT_90 | Transform::FLIP_H) [all...] |
/external/chromium_org/ui/compositor/test/ |
test_utils.h | 10 class Transform; 15 void CheckApproximatelyEqual(const gfx::Transform& lhs, 16 const gfx::Transform& rhs);
|
/external/chromium_org/ui/aura/ |
root_window_transformer.h | 14 class Transform; 25 // Returns the transform the root window in DIP. 26 virtual gfx::Transform GetTransform() const = 0; 28 // Returns the inverse of the transform above. This method is to 29 // provie an accurate inverse of the transform because the result of 30 // |gfx::Transform::GetInverse| may contains computational error. 31 virtual gfx::Transform GetInverseTransform() const = 0;
|
/external/chromium_org/ui/gfx/ |
transform_util.h | 9 #include "ui/gfx/transform.h" 16 // Returns a scale transform at |anchor| point. 17 GFX_EXPORT Transform GetScaleTransform(const Point& anchor, float scale); 19 // Contains the components of a factored transform. These components may be 23 // if used with Compose below, will produce the identity transform. 38 // routines described in http://www.w3.org/TR/css3-3d-transform/. 46 // Decomposes this transform into its translation, scale, skew, perspective, 50 const Transform& transform); 52 // Composes a transform from the given translation, scale, skew, prespective [all...] |
transform_util_unittest.cc | 19 Transform scale = GetScaleTransform(kAnchor, kScale); 36 Transform result(Transform::kSkipInitialization); 37 Transform transform; local 38 transform.RotateAboutZAxis(89.99); 41 bool snapped = SnapTransform(&result, transform, viewport); 48 Transform result(Transform::kSkipInitialization); 49 Transform transform local 61 Transform transform; local 76 Transform transform; local 89 Transform transform; local 104 Transform transform; local 117 Transform transform; local 129 Transform transform; local 164 Transform transform; local [all...] |
transform.h | 23 // 4x4 transformation matrix. Transform is cheap and explicitly allows 25 class GFX_EXPORT Transform { 32 Transform() : matrix_(SkMatrix44::kIdentity_Constructor) {} 36 Transform(SkipInitialization) 38 Transform(const Transform& rhs) : matrix_(rhs.matrix_) {} 40 Transform(const Transform& lhs, const Transform& rhs) 42 // Constructs a transform from explicit 16 matrix elements. Element [all...] |
interpolated_transform.h | 12 #include "ui/gfx/transform.h" 31 // The interpolated transform varies only when t in (start_time, end_time). 32 // If t <= start_time, Interpolate(t) will return the initial transform, and 33 // if t >= end_time, Interpolate(t) will return the final transform. 37 // Returns the interpolated transform at time t. Note: not virtual. 38 gfx::Transform Interpolate(float t) const; 40 // The Intepolate ultimately returns the product of our transform at time t 41 // and our child's transform at time t (if we have one). 46 // If the interpolated transform is reversed, Interpolate(t) will return 52 // Calculates the interpolated transform without considering our child [all...] |
interpolated_transform.cc | 30 bool MassageRotationIfMultipleOfNinetyDegrees(gfx::Transform* rotation, 35 gfx::Transform transform; 36 SkMatrix44& m = transform.matrix(); 62 *rotation = transform; 89 gfx::Transform InterpolatedTransform::Interpolate(float t) const { 92 gfx::Transform result = InterpolateButDoNotCompose(t); 150 gfx::Transform InterpolatedRotation::InterpolateButDoNotCompose(float t) const { 151 gfx::Transform result; 187 gfx::Transform [all...] |
/external/chromium_org/cc/layers/ |
render_surface.h | 17 #include "ui/gfx/transform.h" 43 void SetDrawTransform(const gfx::Transform& draw_transform) { 46 const gfx::Transform& draw_transform() const { return draw_transform_; } 48 void SetScreenSpaceTransform(const gfx::Transform& screen_space_transform) { 51 const gfx::Transform& screen_space_transform() const { 55 void SetReplicaDrawTransform(const gfx::Transform& replica_draw_transform) { 58 const gfx::Transform& replica_draw_transform() const { 63 const gfx::Transform& replica_screen_space_transform) { 66 const gfx::Transform& replica_screen_space_transform() const { 122 gfx::Transform draw_transform_ [all...] |
render_surface_impl.h | 19 #include "ui/gfx/transform.h" 61 void SetDrawTransform(const gfx::Transform& draw_transform) { 64 const gfx::Transform& draw_transform() const { return draw_transform_; } 66 void SetScreenSpaceTransform(const gfx::Transform& screen_space_transform) { 69 const gfx::Transform& screen_space_transform() const { 73 void SetReplicaDrawTransform(const gfx::Transform& replica_draw_transform) { 76 const gfx::Transform& replica_draw_transform() const { 81 const gfx::Transform& replica_screen_space_transform) { 84 const gfx::Transform& replica_screen_space_transform() const { 157 gfx::Transform draw_transform_ [all...] |
/external/chromium_org/ui/compositor/ |
transform_animation_curve_adapter.h | 12 #include "ui/gfx/transform.h" 21 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_ [all...] |
transform_animation_curve_adapter_unittest.cc | 17 // Check that the inverse transform curve gives the gives a transform that when 18 // applied on top of the parent transform gives the original transform 20 gfx::Transform parent_start, parent_target; 25 gfx::Transform child_transform; 30 const gfx::Transform effective_child_transform = 47 gfx::Transform progress_parent_transform = 49 gfx::Transform progress_child_transform =
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
Transform.h | 27 * \class Transform 43 class Transform 79 inline Transform() { } 81 inline Transform(const Transform& other) 86 inline explicit Transform(const TranslationType& t) { *this = t; } 87 inline explicit Transform(const ScalingType& s) { *this = s; } 89 inline explicit Transform(const RotationBase<Derived, Dim>& r) { *this = r; } 91 inline Transform& operator=(const Transform& other [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
Transform.java | 29 public abstract class Transform extends SceneGraphBase { 30 Transform mParent; 31 ArrayList<Transform> mChildren; 36 public Transform() { 37 mChildren = new ArrayList<Transform>(); 41 public void appendChild(Transform t) { 61 Transform child = mChildren.get(i);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
clip.c | 45 _mesa_transform_vector(ctx->Transform._ClipUserPlane[plane], 46 ctx->Transform.EyeUserPlane[plane], 84 if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation)) 88 COPY_4FV(ctx->Transform.EyeUserPlane[p], equation); 90 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { 112 equation[0] = (GLdouble) ctx->Transform.EyeUserPlane[p][0]; 113 equation[1] = (GLdouble) ctx->Transform.EyeUserPlane[p][1]; 114 equation[2] = (GLdouble) ctx->Transform.EyeUserPlane[p][2]; 115 equation[3] = (GLdouble) ctx->Transform.EyeUserPlane[p][3];
|
/external/mesa3d/src/mesa/main/ |
clip.c | 45 _mesa_transform_vector(ctx->Transform._ClipUserPlane[plane], 46 ctx->Transform.EyeUserPlane[plane], 84 if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation)) 88 COPY_4FV(ctx->Transform.EyeUserPlane[p], equation); 90 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { 112 equation[0] = (GLdouble) ctx->Transform.EyeUserPlane[p][0]; 113 equation[1] = (GLdouble) ctx->Transform.EyeUserPlane[p][1]; 114 equation[2] = (GLdouble) ctx->Transform.EyeUserPlane[p][2]; 115 equation[3] = (GLdouble) ctx->Transform.EyeUserPlane[p][3];
|
/frameworks/native/services/surfaceflinger/ |
Transform.h | 36 class Transform 39 Transform(); 40 Transform(const Transform& other); 41 explicit Transform(uint32_t orientation); 42 ~Transform(); 62 // query the transform 72 // modify the transform 78 // transform data 80 vec2 transform(int x, int y) const [all...] |
Transform.cpp | 24 #include "Transform.h" 32 Transform::Transform() { 36 Transform::Transform(const Transform& other) 40 Transform::Transform(uint32_t orientation) { 44 Transform::~Transform() { 176 vec2 Transform::transform(const vec2& v) const { function in class:android::Transform 184 vec3 Transform::transform(const vec3& v) const { function in class:android::Transform 193 vec2 Transform::transform(int x, int y) const function in class:android::Transform 203 Rect Transform::transform(const Rect& bounds) const function in class:android::Transform 224 Region Transform::transform(const Region& reg) const function in class:android::Transform [all...] |
/external/chromium_org/cc/quads/ |
stream_video_draw_quad.h | 11 #include "ui/gfx/transform.h" 23 const gfx::Transform& matrix); 31 const gfx::Transform& matrix); 34 gfx::Transform matrix;
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_clip.c | 50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane)); 60 use_eye ? ctx->Transform.EyeUserPlane 61 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_clip.c | 50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane)); 60 use_eye ? ctx->Transform.EyeUserPlane 61 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
|
/external/eigen/Eigen/src/Geometry/ |
Transform.h | 19 template<typename Transform> 24 Dim = Transform::Dim, 25 HDim = Transform::HDim, 26 Mode = Transform::Mode, 69 * \class Transform 86 * this class you have to think a Transform object as its internal 101 * However, unlike a plain matrix, the Transform class provides many features 103 * with any other transformations (Transform,Translation,RotationBase,Matrix) 104 * and can be directly used to transform implicit homogeneous vectors. All these 109 * according to the nature of each terms. Likewise, when applying the transform [all...] |
/external/chromium_org/cc/test/ |
render_pass_test_utils.h | 16 class Transform; 30 const gfx::Transform& root_transform); 42 // Adds a solid quad with a transform to a given render pass. 46 const gfx::Transform& transform); 52 // Adds a render pass quad with the given mask resource, filter, and transform. 57 gfx::Transform transform);
|
/external/chromium_org/webkit/renderer/compositor_bindings/ |
web_layer_impl_fixed_bounds.h | 9 #include "ui/gfx/transform.h" 31 virtual void setSublayerTransform(const SkMatrix44& transform); 33 virtual void setTransform(const SkMatrix44& transform); 34 virtual SkMatrix44 transform() const; 39 void SetTransformInternal(const gfx::Transform& transform); 40 void SetSublayerTransformInternal(const gfx::Transform& transform); 43 gfx::Transform original_sublayer_transform_; 44 gfx::Transform original_transform_ [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Transform.java | 45 public final class Transform implements Savable, Cloneable, java.io.Serializable { 49 public static final Transform IDENTITY = new Transform(); 55 public Transform(Vector3f translation, Quaternion rot){ 60 public Transform(Vector3f translation, Quaternion rot, Vector3f scale){ 65 public Transform(Vector3f translation){ 69 public Transform(Quaternion rot){ 73 public Transform(){ 82 public Transform setRotation(Quaternion rot) { 92 public Transform setTranslation(Vector3f trans) [all...] |