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

1 2 3

  /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 42 * requested transformation, optionally with a provider. A transformation
53 * A valid transformation would be:
122 * The transformation.
124 private String transformation; field in class:Cipher
135 * @param transformation
136 * the name of the transformation that this cipher performs.
142 String transformation) {
150 this.transformation = transformation;
    [all...]
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
UrlImageBinder.java 32 public UrlImageBinder(Context context, Adapters.CursorTransformation transformation) {
33 super(context, transformation);
Adapters.java 103 * <a href="#xml-cursor-adapter-bind-data-types">transformation</a> classes.
123 * <a href="#xml-cursor-adapter-bind-data-transformation">data transformations</a> can
139 * <a href="#xml-cursor-adapter-bind-data-transformation">data transformations</a> children
165 * <a name="xml-cursor-adapter-bind-transformation"></a>
167 * <p>When defining a data binding you can specify an optional transformation by using one
179 * <a name="xml-cursor-adapter-bind-transformation-map" />
191 * <a name="xml-cursor-adapter-bind-transformation-transform"></a>
196 * <li><code>android:withExpression</code>: The transformation expression. The expression is
198 * transformation each column name is replaced by its value. All columns must have been
268 * <p>A binder is provided with a cursor transformation which may or may not be use
725 CursorTransformation transformation = mIdentity; local
835 CursorTransformation transformation = null; local
    [all...]
ContactPhotoBinder.java 50 public ContactPhotoBinder(Context context, Adapters.CursorTransformation transformation) {
51 super(context, transformation);
  /external/webkit/Source/WebCore/platform/graphics/openvg/
VGUtils.cpp 42 VGMatrix::VGMatrix(const AffineTransform& transformation)
44 m_data[0] = transformation.a();
45 m_data[1] = transformation.b();
47 m_data[3] = transformation.c();
48 m_data[4] = transformation.d();
50 m_data[6] = transformation.e();
51 m_data[7] = transformation.f();
70 AffineTransform transformation(
74 return transformation;
GraphicsContextOpenVG.cpp 75 return m_data->transformation();
265 return FloatRect(enclosingIntRect(m_data->transformation().mapRect(rect)));
453 void GraphicsContext::concatCTM(const AffineTransform& transformation)
458 m_data->concatTransformation(transformation);
461 void GraphicsContext::setCTM(const AffineTransform& transformation)
466 m_data->setTransformation(transformation);
PainterOpenVG.cpp 314 // all right here and let this be a call to essentially set the world transformation!
476 AffineTransform PainterOpenVG::transformation() const function in class:WebCore::PainterOpenVG
482 void PainterOpenVG::concatTransformation(const AffineTransform& transformation)
490 m_state->surfaceTransformation.multLeft(transformation);
494 void PainterOpenVG::setTransformation(const AffineTransform& transformation)
499 m_state->surfaceTransformation = transformation;
503 void PainterOpenVG::transformPath(VGPath dst, VGPath src, const AffineTransform& transformation)
513 vgLoadMatrix(VGMatrix(transformation).toVGfloat());
692 AffineTransform transformation = m_state->surfaceTransformation; local
693 transformation.scaleNonUniform(scaleFactors.width(), scaleFactors.height())
702 AffineTransform transformation = m_state->surfaceTransformation; local
712 AffineTransform transformation = m_state->surfaceTransformation; local
    [all...]
PathOpenVG.cpp 153 AffineTransform transformation; local
154 transformation.translate(size.width(), size.height());
155 transform(transformation);
448 void Path::transform(const AffineTransform& transformation)
453 PainterOpenVG::transformPath(dst->vgPath(), m_path->vgPath(), transformation);
457 m_path->m_currentPoint = transformation.mapPoint(m_path->m_currentPoint);
458 m_path->m_subpathStartPoint = transformation.mapPoint(m_path->m_subpathStartPoint);
  /external/chromium/third_party/libjingle/source/talk/base/
stringutils.cc 71 CharacterTransformation transformation) {
75 c1 = transformation(*s1);
79 c2 = transformation(*s2);
  /libcore/support/src/test/java/tests/security/
AlgorithmParameterSymmetricHelper.java 66 String transformation = algorithmName; local
69 transformation += "/" + blockmode;
71 cipher = Cipher.getInstance(transformation);
  /external/webkit/Source/WebCore/rendering/svg/
RenderSVGResourceMarker.cpp 144 AffineTransform transformation = contentTransformation; local
146 transformation.scaleNonUniform(strokeWidth, strokeWidth);
148 transformation.translate(-mappedOrigin.x(), -mappedOrigin.y());
149 return transformation;
  /frameworks/base/services/java/com/android/server/wm/
AppWindowToken.java 31 import android.view.animation.Transformation;
89 final Transformation transformation = new Transformation(); field in class:AppWindowToken
219 transformation.clear();
221 currentTime, transformation);
224 ": more=" + more + ", xform=" + transformation);
262 transformation.clear();
382 transformation.printShortString(pw);

Completed in 421 milliseconds

1 2 3