HomeSort by relevance Sort by last modified time
    Searched refs:transformation (Results 1 - 25 of 32) sorted by null

1 2

  /cts/tests/tests/view/src/android/view/animation/cts/
AlphaAnimationTest.java 24 import android.view.animation.Transformation;
87 notes = "Test {@link AlphaAnimation#applyTransformation(float, Transformation)}",
89 args = {float.class, android.view.animation.Transformation.class}
93 Transformation transformation = new Transformation(); local
94 assertEquals(1.0f, transformation.getAlpha(), 0.0001f);
96 animation.applyTransformation(0.0f, transformation);
97 assertEquals(0.0f, transformation.getAlpha(), 0.0001f);
99 animation.applyTransformation(0.5f, transformation);
    [all...]
RotateAnimationTest.java 29 import android.view.animation.Transformation;
118 args = {float.class, android.view.animation.Transformation.class}
129 Transformation transformation = new Transformation(); local
145 rotateAnimation.getTransformation(startTime, transformation);
146 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
147 transformation.clear();
148 rotateAnimation.applyTransformation(0.0f, transformation);
149 assertMatrixEquals(expectedMatrix, transformation.getMatrix())
192 Transformation transformation = new Transformation(); local
    [all...]
CycleInterpolatorTest.java 30 import android.view.animation.Transformation;
95 Transformation transformation = new Transformation(); local
97 anim.getTransformation(startTime, transformation);
98 final float alpha1 = transformation.getAlpha();
101 anim.getTransformation(startTime + 500, transformation);
102 final float alpha2 = transformation.getAlpha();
105 anim.getTransformation(startTime + 1000, transformation);
106 final float alpha3 = transformation.getAlpha()
    [all...]
AccelerateInterpolatorTest.java 37 import android.view.animation.Transformation;
114 Transformation transformation = new Transformation(); local
116 anim.getTransformation(startTime, transformation);
117 float alpha1 = transformation.getAlpha();
120 anim.getTransformation(startTime + 250, transformation);
121 float alpha2 = transformation.getAlpha();
123 anim.getTransformation(startTime + 500, transformation);
124 float alpha3 = transformation.getAlpha()
    [all...]
DecelerateInterpolatorTest.java 37 import android.view.animation.Transformation;
120 Transformation transformation = new Transformation(); local
122 anim.getTransformation(startTime, transformation);
123 float alpha1 = transformation.getAlpha();
126 anim.getTransformation(startTime + 500, transformation);
127 float alpha2 = transformation.getAlpha();
129 anim.getTransformation(startTime + 1000, transformation);
130 float alpha3 = transformation.getAlpha()
    [all...]
TranslateAnimationTest.java 28 import android.view.animation.Transformation;
118 args = {float.class, android.view.animation.Transformation.class}
129 final Transformation transformation = new Transformation(); local
143 translateAnimation.getTransformation(startTime, transformation);
144 transformation.getMatrix().getValues(values);
148 transformation.clear();
149 translateAnimation.getTransformation(startTime + DURATION / 2, transformation);
150 transformation.getMatrix().getValues(values)
193 final Transformation transformation = new Transformation(); local
    [all...]
LinearInterpolatorTest.java 27 import android.view.animation.Transformation;
105 Transformation transformation = new Transformation(); local
107 anim.getTransformation(startTime, transformation);
108 final float alpha1 = transformation.getAlpha();
111 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP, transformation);
112 final float alpha2 = transformation.getAlpha();
114 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP * 2, transformation);
115 final float alpha3 = transformation.getAlpha()
    [all...]
TransformationTest.java 21 import android.view.animation.Transformation;
28 @TestTargetClass(Transformation.class)
33 method = "Transformation",
37 new Transformation();
43 args = {Transformation.class}
45 @ToBeFixed(bug = "1695243", explanation = "{@link Transformation#compose(Transformation t)}"
48 final Transformation t1 = new Transformation();
49 final Transformation t2 = new Transformation()
120 final Transformation transformation = new Transformation(); local
164 final Transformation transformation = new Transformation(); local
200 final Transformation transformation = new Transformation(); local
    [all...]
AccelerateDecelerateInterpolatorTest.java 37 import android.view.animation.Transformation;
104 Transformation transformation = new Transformation(); local
106 anim.getTransformation(startTime, transformation);
107 float alpha1 = transformation.getAlpha();
110 anim.getTransformation(startTime + 500, transformation);
111 float alpha2 = transformation.getAlpha();
113 anim.getTransformation(startTime + 1000, transformation);
114 float alpha3 = transformation.getAlpha()
    [all...]
ScaleAnimationTest.java 34 import android.view.animation.Transformation;
104 args = {float.class, android.view.animation.Transformation.class}
113 final Transformation transformation = new Transformation(); local
114 transformation.setTransformationType(Transformation.TYPE_MATRIX);
122 scaleAnimation.applyTransformation(0.0f, transformation);
123 transformation.getMatrix().getValues(values);
128 scaleAnimation.applyTransformation(0.5f, transformation);
    [all...]
AnimationTest.java 39 import android.view.animation.Transformation;
226 Transformation transformation = new Transformation(); local
228 animation.getTransformation(animation.getStartTime() - 1, transformation); local
229 float alpha = transformation.getAlpha();
232 transformation = new Transformation();
235 transformation); local
236 alpha = transformation.getAlpha()
247 animation.getTransformation(animation.getStartTime() - 1, transformation); local
253 transformation); local
265 animation.getTransformation(animation.getStartTime() - 1, transformation); local
271 transformation); local
374 Transformation transformation = new Transformation(); local
510 Transformation transformation = new Transformation(); local
648 Transformation transformation = new Transformation(); local
    [all...]
AnimationSetTest.java 33 import android.view.animation.Transformation;
390 args = {long.class, Transformation.class}
410 final Transformation transformation = new Transformation(); local
411 final Transformation expectedTransformation = new Transformation();
412 final Transformation tempTransformation = new Transformation();
414 assertEquals(result, animationSet.getTransformation(currentTime, transformation));
518 final Transformation transformation = new Transformation(); local
    [all...]
LayoutAnimationControllerTest.java 42 import android.view.animation.Transformation;
110 Transformation transformation1 = new Transformation();
111 Transformation transformation2 = new Transformation();
112 Transformation transformation3 = new Transformation();
144 transformation1 = new Transformation();
145 transformation2 = new Transformation();
146 transformation3 = new Transformation();
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
Cipher.java 43 * requested transformation, optionally with a provider. A transformation
54 * A valid transformation would be:
123 * The transformation.
125 private String transformation; field in class:Cipher
136 * @param transformation
137 * the name of the transformation that this cipher performs.
143 String transformation) {
151 this.transformation = transformation;
    [all...]
  /external/webkit/WebCore/rendering/
RenderSVGViewportContainer.cpp 56 AffineTransform transformation = contentTransformation; local
58 transformation.scaleNonUniform(strokeWidth, strokeWidth);
60 transformation.translate(-mappedOrigin.x(), -mappedOrigin.y());
61 return transformation;
  /libcore/support/src/test/java/tests/security/
AlgorithmParameterSymmetricHelper.java 66 String transformation = algorithmName; local
69 transformation += "/" + blockmode;
71 cipher = Cipher.getInstance(transformation);
  /external/bouncycastle/src/main/java/org/bouncycastle/openssl/
PEMUtilities.java 130 String transformation = alg + "/" + blockMode + "/" + padding; local
134 Cipher c = Cipher.getInstance(transformation, provider);
  /frameworks/base/core/java/android/view/animation/
Animation.java 50 * time when {@link #getTransformation(long, Transformation)} is invoked for the
91 * Set by {@link #getTransformation(long, Transformation)} when the animation ends.
96 * Set by {@link #getTransformation(long, Transformation)} when the animation starts.
101 * Set by {@link #getTransformation(long, Transformation)} when the animation repeats
113 * Indicates whether the animation transformation should be applied before the
119 * Indicates whether the animation transformation should be applied after the
188 Transformation mTransformation = new Transformation();
189 Transformation mPreviousTransformation = new Transformation();
    [all...]
  /external/webkit/WebCore/platform/graphics/wince/
PlatformPathWince.cpp 235 static void drawPolygons(HDC dc, const Vector<PathPolygon>& polygons, bool fill, const AffineTransform* transformation)
251 if (transformation) {
253 FloatPoint trPoint = transformation->mapPoint(i->at(i2));
574 void PlatformPath::strokePath(HDC dc, const AffineTransform* transformation) const
576 drawPolygons(dc, m_subpaths, false, transformation);
579 void PlatformPath::fillPath(HDC dc, const AffineTransform* transformation) const
582 drawPolygons(dc, m_subpaths, true, transformation);
  /packages/apps/Camera/src/com/android/camera/ui/
GLListView.java 30 import android.view.animation.Transformation;
145 Transformation temp = root.obtainTransformation();
147 Transformation transformation = root.pushTransform(); local
148 transformation.compose(temp);
  /external/webkit/SunSpider/tests/sunspider-0.9/
3d-cube.js 6 var MTrans = new Array(); // transformation matrix
263 // transformation matrix
  /external/webkit/SunSpider/tests/sunspider-0.9.1/
3d-cube.js 6 var MTrans = new Array(); // transformation matrix
263 // transformation matrix
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
EncryptedPrivateKeyInfoTest.java     [all...]
  /external/libvpx/examples/includes/PHP-Markdown-Extra-1.2.3/
markdown.php 266 # Internal hashes used during transformation.
277 # Called before the transformation process starts to setup parser
290 # Called after the transformation process to clear any variable
    [all...]
  /frameworks/base/services/java/com/android/server/
WindowManagerService.java 120 import android.view.animation.Transformation;
    [all...]

Completed in 538 milliseconds

1 2