Home | History | Annotate | Download | only in cts

Lines Matching defs:transformation

38 import android.view.animation.Transformation;
99 Transformation transformation = new Transformation();
116 rotateAnimation.getTransformation(startTime, transformation);
117 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
118 transformation.clear();
119 rotateAnimation.applyTransformation(0.0f, transformation);
120 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
124 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation);
125 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
126 transformation.clear();
127 rotateAnimation.applyTransformation(0.5f, transformation);
128 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
132 rotateAnimation.getTransformation(startTime + DURATION, transformation);
133 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
134 rotateAnimation.applyTransformation(1.0f, transformation);
135 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
152 Transformation transformation = new Transformation();
174 rotateAnimation.getTransformation(startTime, transformation);
175 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
176 transformation.clear();
177 rotateAnimation.applyTransformation(0.0f, transformation);
178 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
182 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation);
183 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
184 transformation.clear();
185 rotateAnimation.applyTransformation(0.5f, transformation);
186 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
190 rotateAnimation.getTransformation(startTime + DURATION, transformation);
191 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
192 transformation.clear();
193 rotateAnimation.applyTransformation(1.0f, transformation);
194 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
213 protected void applyTransformation(float interpolatedTime, Transformation t) {