Searched refs:TransformOperation (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimationTranslationUtil.cpp47 // We need to do a deep copy the transformOperations may contain ref pointers to TransformOperation objects.
50 case TransformOperation::ScaleX:
51 case TransformOperation::ScaleY:
52 case TransformOperation::ScaleZ:
53 case TransformOperation::Scale3D:
54 case TransformOperation::Scale: {
59 case TransformOperation::TranslateX:
60 case TransformOperation::TranslateY:
61 case TransformOperation::TranslateZ:
62 case TransformOperation
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DIdentityTransformOperation.h28 #include "platform/transforms/TransformOperation.h"
32 class PLATFORM_EXPORT IdentityTransformOperation : public TransformOperation {
39 virtual bool canBlendWith(const TransformOperation& other) const
47 virtual bool operator==(const TransformOperation& o) const OVERRIDE
54 virtual PassRefPtr<TransformOperation> blend(const TransformOperation*, double, bool = false) OVERRIDE
H A DTransformOperation.h37 class PLATFORM_EXPORT TransformOperation : public RefCounted<TransformOperation> { class in namespace:blink
55 virtual ~TransformOperation() { }
57 virtual bool operator==(const TransformOperation&) const = 0;
58 bool operator!=(const TransformOperation& o) const { return !(*this == o); }
62 virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) = 0;
65 bool isSameType(const TransformOperation& other) const { return other.type() == type(); }
66 virtual bool canBlendWith(const TransformOperation& other) const = 0;
H A DInterpolatedTransformOperation.h34 #include "platform/transforms/TransformOperation.h"
40 class PLATFORM_EXPORT InterpolatedTransformOperation : public TransformOperation {
47 virtual bool canBlendWith(const TransformOperation& other) const
55 virtual bool operator==(const TransformOperation&) const OVERRIDE;
58 virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) OVERRIDE;
H A DMatrix3DTransformOperation.h29 #include "platform/transforms/TransformOperation.h"
33 class PLATFORM_EXPORT Matrix3DTransformOperation : public TransformOperation {
42 virtual bool canBlendWith(const TransformOperation& other) const
50 virtual bool operator==(const TransformOperation& o) const OVERRIDE
63 virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) OVERRIDE;
H A DPerspectiveTransformOperation.h29 #include "platform/transforms/TransformOperation.h"
33 class PLATFORM_EXPORT PerspectiveTransformOperation : public TransformOperation {
42 virtual bool canBlendWith(const TransformOperation& other) const
50 virtual bool operator==(const TransformOperation& o) const OVERRIDE
63 virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) OVERRIDE;
H A DInterpolatedTransformOperation.cpp38 bool InterpolatedTransformOperation::operator==(const TransformOperation& o) const
57 PassRefPtr<TransformOperation> InterpolatedTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity)
68 fromOperations.operations().append(const_cast<TransformOperation*>(from));
H A DMatrix3DTransformOperation.cpp33 PassRefPtr<TransformOperation> Matrix3DTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity)
H A DTransformOperations.cpp77 RefPtr<TransformOperation> fromOperation = (i < fromSize) ? from.operations()[i].get() : 0;
78 RefPtr<TransformOperation> toOperation = (i < toSize) ? operations()[i].get() : 0;
79 RefPtr<TransformOperation> blendedOperation = toOperation ? toOperation->blend(fromOperation.get(), progress) : (fromOperation ? fromOperation->blend(0, progress, true) : nullptr);
83 RefPtr<TransformOperation> identityOperation = IdentityTransformOperation::create();
166 case TransformOperation::RotateX:
169 case TransformOperation::RotateY:
172 case TransformOperation::RotateZ:
248 RefPtr<TransformOperation> fromOperation = (i < fromSize) ? from.operations()[i] : nullptr;
249 RefPtr<TransformOperation> toOperation = (i < toSize) ? operations()[i] : nullptr;
250 if (fromOperation && fromOperation->type() == TransformOperation
[all...]
H A DScaleTransformOperation.h28 #include "platform/transforms/TransformOperation.h"
32 class PLATFORM_EXPORT ScaleTransformOperation : public TransformOperation {
48 virtual bool canBlendWith(const TransformOperation& other) const;
53 virtual bool operator==(const TransformOperation& o) const OVERRIDE
66 virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) OVERRIDE;
H A DSkewTransformOperation.h28 #include "platform/transforms/TransformOperation.h"
32 class PLATFORM_EXPORT SkewTransformOperation : public TransformOperation {
42 virtual bool canBlendWith(const TransformOperation& other) const;
46 virtual bool operator==(const TransformOperation& o) const OVERRIDE
59 virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) OVERRIDE;
H A DScaleTransformOperation.cpp29 PassRefPtr<TransformOperation> ScaleTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity)
49 bool ScaleTransformOperation::canBlendWith(const TransformOperation& other) const
H A DSkewTransformOperation.cpp29 PassRefPtr<TransformOperation> SkewTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity)
43 bool SkewTransformOperation::canBlendWith(const TransformOperation& other) const
H A DTransformOperations.h29 #include "platform/transforms/TransformOperation.h"
78 Vector<RefPtr<TransformOperation> >& operations() { return m_operations; }
79 const Vector<RefPtr<TransformOperation> >& operations() const { return m_operations; }
82 const TransformOperation* at(size_t index) const { return index < m_operations.size() ? m_operations.at(index).get() : 0; }
91 Vector<RefPtr<TransformOperation> > m_operations;
H A DMatrixTransformOperation.h28 #include "platform/transforms/TransformOperation.h"
33 class PLATFORM_EXPORT MatrixTransformOperation : public TransformOperation {
47 virtual bool canBlendWith(const TransformOperation& other) const
55 virtual bool operator==(const TransformOperation& o) const OVERRIDE
70 virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) OVERRIDE;
H A DRotateTransformOperation.h28 #include "platform/transforms/TransformOperation.h"
32 class PLATFORM_EXPORT RotateTransformOperation : public TransformOperation {
52 virtual bool canBlendWith(const TransformOperation& other) const;
56 virtual bool operator==(const TransformOperation& o) const OVERRIDE
69 virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) OVERRIDE;
H A DTranslateTransformOperation.h30 #include "platform/transforms/TransformOperation.h"
34 class PLATFORM_EXPORT TranslateTransformOperation : public TransformOperation {
46 virtual bool canBlendWith(const TransformOperation& other) const;
58 virtual bool operator==(const TransformOperation& o) const OVERRIDE
71 virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) OVERRIDE;
H A DTransformOperationsTest.cpp82 fromOps.operations().append(TranslateTransformOperation::create(Length(-30, blink::Fixed), Length(20, blink::Fixed), 15, TransformOperation::Translate3D));
83 toOps.operations().append(TranslateTransformOperation::create(Length(10, blink::Fixed), Length(10, blink::Fixed), 200, TransformOperation::Translate3D));
123 fromOps.operations().append(TranslateTransformOperation::create(Length(testTransforms[i][0][0], blink::Fixed), Length(testTransforms[i][0][1], blink::Fixed), testTransforms[i][0][2], TransformOperation::Translate3D));
124 toOps.operations().append(TranslateTransformOperation::create(Length(testTransforms[i][1][0], blink::Fixed), Length(testTransforms[i][1][1], blink::Fixed), testTransforms[i][1][2], TransformOperation::Translate3D));
134 fromOps.operations().append(ScaleTransformOperation::create(4, -3, TransformOperation::Scale));
135 toOps.operations().append(ScaleTransformOperation::create(5, 2, TransformOperation::Scale));
178 fromOps.operations().append(TranslateTransformOperation::create(Length(testTransforms[i][0][0], blink::Fixed), Length(testTransforms[i][0][1], blink::Fixed), testTransforms[i][0][2], TransformOperation::Translate3D));
179 toOps.operations().append(TranslateTransformOperation::create(Length(testTransforms[i][1][0], blink::Fixed), Length(testTransforms[i][1][1], blink::Fixed), testTransforms[i][1][2], TransformOperation::Translate3D));
189 fromOps.operations().append(RotateTransformOperation::create(0, TransformOperation::Rotate));
190 toOps.operations().append(RotateTransformOperation::create(360, TransformOperation
[all...]
H A DMatrixTransformOperation.cpp29 PassRefPtr<TransformOperation> MatrixTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity)
H A DPerspectiveTransformOperation.cpp34 PassRefPtr<TransformOperation> PerspectiveTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity)
/external/chromium_org/cc/animation/
H A Dtransform_operation.h16 struct TransformOperation { struct in namespace:cc
27 TransformOperation() function in struct:cc::TransformOperation
59 static bool BlendTransformOperations(const TransformOperation* from,
60 const TransformOperation* to,
65 const TransformOperation* from,
66 const TransformOperation* to,
H A Dtransform_operations.cc70 const TransformOperation* from_op =
72 const TransformOperation* to_op = to_identity ? NULL : &operations_[i];
73 if (!TransformOperation::BlendedBoundsForBox(*bounds,
88 if (operations_[i].type == TransformOperation::TransformOperationScale)
90 if (operations_[i].type == TransformOperation::TransformOperationMatrix &&
100 case TransformOperation::TransformOperationIdentity:
101 case TransformOperation::TransformOperationTranslate:
103 case TransformOperation::TransformOperationMatrix:
107 case TransformOperation::TransformOperationRotate:
108 case TransformOperation
[all...]
H A Dtransform_operation.cc27 bool TransformOperation::IsIdentity() const {
31 static bool IsOperationIdentity(const TransformOperation* operation) {
35 static bool ShareSameAxis(const TransformOperation* from,
36 const TransformOperation* to,
93 bool TransformOperation::BlendTransformOperations(
94 const TransformOperation* from,
95 const TransformOperation* to,
101 TransformOperation::Type interpolation_type =
102 TransformOperation::TransformOperationIdentity;
109 case TransformOperation
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DTransformBuilder.cpp53 static TransformOperation::OperationType getTransformOperationType(CSSTransformValue::TransformOperationType type)
56 case CSSTransformValue::ScaleTransformOperation: return TransformOperation::Scale;
57 case CSSTransformValue::ScaleXTransformOperation: return TransformOperation::ScaleX;
58 case CSSTransformValue::ScaleYTransformOperation: return TransformOperation::ScaleY;
59 case CSSTransformValue::ScaleZTransformOperation: return TransformOperation::ScaleZ;
60 case CSSTransformValue::Scale3DTransformOperation: return TransformOperation::Scale3D;
61 case CSSTransformValue::TranslateTransformOperation: return TransformOperation::Translate;
62 case CSSTransformValue::TranslateXTransformOperation: return TransformOperation::TranslateX;
63 case CSSTransformValue::TranslateYTransformOperation: return TransformOperation::TranslateY;
64 case CSSTransformValue::TranslateZTransformOperation: return TransformOperation
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderLayerReflectionInfo.cpp99 Length(100., Percent), TransformOperation::Translate));
101 box().style()->boxReflect()->offset(), TransformOperation::Translate));
108 Length(100., Percent), TransformOperation::Translate));
110 box().style()->boxReflect()->offset(), TransformOperation::Translate));
115 Length(0, Fixed), TransformOperation::Translate));
117 box().style()->boxReflect()->offset(), Length(0, Fixed), TransformOperation::Translate));
124 Length(0, Fixed), TransformOperation::Translate));
126 box().style()->boxReflect()->offset(), Length(0, Fixed), TransformOperation::Translate));

Completed in 575 milliseconds

12