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

1 2

  /libcore/support/src/test/java/tests/security/
AlgorithmParameterSymmetricHelper.java 66 String transformation = algorithmName; local
69 transformation += "/" + blockmode;
71 cipher = Cipher.getInstance(transformation);
  /cts/tests/tests/view/src/android/view/animation/cts/
AlphaAnimationTest.java 24 import android.view.animation.Transformation;
52 Transformation transformation = new Transformation(); local
53 assertEquals(1.0f, transformation.getAlpha(), 0.0001f);
55 animation.applyTransformation(0.0f, transformation);
56 assertEquals(0.0f, transformation.getAlpha(), 0.0001f);
58 animation.applyTransformation(0.5f, transformation);
59 assertEquals(0.5f, transformation.getAlpha(), 0.0001f);
61 animation.applyTransformation(1.0f, transformation);
    [all...]
RotateAnimationTest.java 29 import android.view.animation.Transformation;
85 Transformation transformation = new Transformation(); local
101 rotateAnimation.getTransformation(startTime, transformation);
102 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
103 transformation.clear();
104 rotateAnimation.applyTransformation(0.0f, transformation);
105 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
109 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation);
136 Transformation transformation = new Transformation(); local
    [all...]
TranslateAnimationTest.java 28 import android.view.animation.Transformation;
88 final Transformation transformation = new Transformation(); local
102 translateAnimation.getTransformation(startTime, transformation);
103 transformation.getMatrix().getValues(values);
107 transformation.clear();
108 translateAnimation.getTransformation(startTime + DURATION / 2, transformation);
109 transformation.getMatrix().getValues(values);
113 transformation.clear()
147 final Transformation transformation = new Transformation(); local
    [all...]
AccelerateDecelerateInterpolatorTest.java 33 import android.view.animation.Transformation;
79 Transformation transformation = new Transformation(); local
81 anim.getTransformation(startTime, transformation);
82 float alpha1 = transformation.getAlpha();
85 anim.getTransformation(startTime + 500, transformation);
86 float alpha2 = transformation.getAlpha();
88 anim.getTransformation(startTime + 1000, transformation);
89 float alpha3 = transformation.getAlpha()
    [all...]
AccelerateInterpolatorTest.java 33 import android.view.animation.Transformation;
85 Transformation transformation = new Transformation(); local
87 anim.getTransformation(startTime, transformation);
88 float alpha1 = transformation.getAlpha();
91 anim.getTransformation(startTime + 250, transformation);
92 float alpha2 = transformation.getAlpha();
94 anim.getTransformation(startTime + 500, transformation);
95 float alpha3 = transformation.getAlpha()
    [all...]
LinearInterpolatorTest.java 27 import android.view.animation.Transformation;
83 Transformation transformation = new Transformation(); local
85 anim.getTransformation(startTime, transformation);
86 final float alpha1 = transformation.getAlpha();
89 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP, transformation);
90 final float alpha2 = transformation.getAlpha();
92 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP * 2, transformation);
93 final float alpha3 = transformation.getAlpha()
    [all...]
ScaleAnimationTest.java 30 import android.view.animation.Transformation;
72 final Transformation transformation = new Transformation(); local
73 transformation.setTransformationType(Transformation.TYPE_MATRIX);
81 scaleAnimation.applyTransformation(0.0f, transformation);
82 transformation.getMatrix().getValues(values);
87 scaleAnimation.applyTransformation(0.5f, transformation);
88 transformation.getMatrix().getValues(values)
    [all...]
TransformationTest.java 21 import android.view.animation.Transformation;
26 new Transformation();
30 final Transformation t1 = new Transformation();
31 final Transformation t2 = new Transformation();
36 t1.setTransformationType(Transformation.TYPE_MATRIX);
37 t2.setTransformationType(Transformation.TYPE_ALPHA);
44 assertEquals(Transformation.TYPE_ALPHA, t2.getTransformationType());
46 t1.setTransformationType(Transformation.TYPE_IDENTITY)
85 final Transformation transformation = new Transformation(); local
112 final Transformation transformation = new Transformation(); local
131 final Transformation transformation = new Transformation(); local
    [all...]
DecelerateInterpolatorTest.java 33 import android.view.animation.Transformation;
88 Transformation transformation = new Transformation(); local
90 anim.getTransformation(startTime, transformation);
91 float alpha1 = transformation.getAlpha();
94 anim.getTransformation(startTime + 500, transformation);
95 float alpha2 = transformation.getAlpha();
97 anim.getTransformation(startTime + 1000, transformation);
98 float alpha3 = transformation.getAlpha()
    [all...]
AnimationTest.java 35 import android.view.animation.Transformation;
122 Transformation transformation = new Transformation(); local
124 animation.getTransformation(animation.getStartTime() - 1, transformation); local
125 float alpha = transformation.getAlpha();
128 transformation = new Transformation();
131 transformation); local
132 alpha = transformation.getAlpha()
143 animation.getTransformation(animation.getStartTime() - 1, transformation); local
149 transformation); local
161 animation.getTransformation(animation.getStartTime() - 1, transformation); local
167 transformation); local
226 Transformation transformation = new Transformation(); local
348 Transformation transformation = new Transformation(); local
424 Transformation transformation = new Transformation(); local
    [all...]
CycleInterpolatorTest.java 30 import android.view.animation.Transformation;
78 Transformation transformation = new Transformation(); local
80 anim.getTransformation(startTime, transformation);
81 final float alpha1 = transformation.getAlpha();
84 anim.getTransformation(startTime + 500, transformation);
85 final float alpha2 = transformation.getAlpha();
88 anim.getTransformation(startTime + 1000, transformation);
89 final float alpha3 = transformation.getAlpha()
    [all...]
AnimationSetTest.java 33 import android.view.animation.Transformation;
302 final Transformation transformation = new Transformation(); local
303 final Transformation expectedTransformation = new Transformation();
304 final Transformation tempTransformation = new Transformation();
306 assertEquals(result, animationSet.getTransformation(currentTime, transformation));
313 assertTransformationEquals(expectedTransformation, transformation);
381 final Transformation transformation = new Transformation(); local
    [all...]
  /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;
  /external/webkit/Source/WebCore/platform/graphics/android/rendering/
ImageTexture.cpp 282 const TransformationMatrix* transformation = transform(); local
285 m_tileGrid->drawGL(visibleContentArea, opacity, transformation);
  /frameworks/base/services/java/com/android/server/wm/
AppWindowAnimator.java 10 import android.view.animation.Transformation;
28 final Transformation transformation = new Transformation(); field in class:AppWindowAnimator
49 final Transformation thumbnailTransformation = new Transformation();
80 transformation.clear();
81 transformation.setAlpha(mAppToken.reportedVisible ? 1 : 0);
90 transformation.clear();
91 transformation.setAlpha(mAppToken.reportedVisible ? 1 : 0)
    [all...]
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
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...]
  /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...]
  /external/bouncycastle/src/main/java/org/bouncycastle/openssl/
PEMUtilities.java 227 String transformation = alg + "/" + blockMode + "/" + padding; local
231 Cipher c = Cipher.getInstance(transformation, provider);
  /external/webkit/Source/WebCore/platform/graphics/openvg/
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);
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...]
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 

Completed in 690 milliseconds

1 2