/cts/tests/tests/view/src/android/view/animation/cts/ |
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...] |
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...] |
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...] |
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...] |
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...] |
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...] |
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...] |
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...] |
LayoutAnimationControllerTest.java | 37 import android.view.animation.Transformation; 92 Transformation transformation1 = new Transformation(); 93 Transformation transformation2 = new Transformation(); 94 Transformation transformation3 = new Transformation(); 126 transformation1 = new Transformation(); 127 transformation2 = new Transformation(); 128 transformation3 = new Transformation(); [all...] |
/ndk/tests/build/graphite-loop/jni/ |
Android.mk | 4 LOCAL_MODULE := graphite-loop-transformation 5 LOCAL_SRC_FILES := graphite-loop-transformation.c
|
/frameworks/base/core/java/android/view/animation/ |
Transformation.java | 24 * Defines the transformation to be applied at 28 public class Transformation { 30 * Indicates a transformation that has no effect (alpha = 1 and identity matrix.) 34 * Indicates a transformation that applies an alpha only (uses an identity matrix.) 38 * Indicates a transformation that applies a matrix only (alpha = 1.) 42 * Indicates a transformation that applies an alpha and a matrix. 51 * Creates a new transformation with alpha = 1 and the identity matrix. 53 public Transformation() { 58 * Reset the transformation to a state that leaves the object 59 * being animated in an unmodified state. The transformation type i [all...] |
/external/llvm/test/Transforms/InstCombine/ |
README.txt | 1 This directory contains test cases for the instcombine transformation. The
|
/external/eigen/bench/ |
geometry.cpp | 24 template<typename Transformation, typename Data> 25 EIGEN_DONT_INLINE void transform(const Transformation& t, Data& data) 67 template<typename Transformation, int N> 70 static EIGEN_DONT_INLINE void run(const Transformation& t) 72 Matrix<typename Transformation::Scalar,get_dim<Transformation>::Dim,N> data; 74 bench_impl<Transformation,N-1>::run(t); 83 template<typename Transformation> 84 struct bench_impl<Transformation,0> 86 static EIGEN_DONT_INLINE void run(const Transformation&) { [all...] |
/dalvik/dx/tests/100-local-mismatch/ |
expected.txt | 2 local variable type mismatch: attempt to set or access a value of type int using a local variable of type java.lang.Object. This is symptomatic of .class transformation tools that ignore local variable information. 4 local variable type mismatch: attempt to set or access a value of type java.lang.Object using a local variable of type int. This is symptomatic of .class transformation tools that ignore local variable information. 6 local variable type mismatch: attempt to set or access a value of type int using a local variable of type byte[]. This is symptomatic of .class transformation tools that ignore local variable information. 8 local variable type mismatch: attempt to set or access a value of type java.lang.String using a local variable of type java.lang.Object[]. This is symptomatic of .class transformation tools that ignore local variable information.
|
/external/libpng/ |
TODO | 8 cHRM transformation. 10 Add "grayscale->palette" transformation and "palette->grayscale" detection. 13 Complete sRGB transformation (presently it simply uses gamma=0.45455). 23 background and doing rgb-to-gray transformation.
|
/external/llvm/runtime/ |
README.txt | 2 the LLVM compiler. For example, the automatic pool allocation transformation
|
/external/robolectric/src/main/java/android/view/animation/ |
ShadowAnimationBridge.java | 17 public void applyTransformation(float interpolatedTime, Transformation t) {
|
/libcore/luni/src/main/java/javax/xml/transform/ |
overview.html | 9 <h2>Transformation API For XML </h2> 20 useful to an application without going through some sort of transformation, 25 or multiple, to a transformation, may be a URL, XML stream, a DOM tree, SAX 30 <p>The great challenge of a transformation API is how to deal with all the 62 transformation.</p> 68 transformation.</p> 72 <b>Transformation</b> 78 <b>Identity (or Copy) Transformation</b> 79 <br>The process of transformation from a source to a result, 89 some sense, a serialization is a specialized transformation.</p [all...] |
/external/chromium_org/ui/gfx/ |
transform.h | 21 // 4x4 transformation matrix. Transform is cheap and explicitly allows 60 // Applies the current transformation on a 2d rotation and assigns the result 64 // Applies the current transformation on an axis-angle rotation and assigns 71 // Applies the current transformation on a scaling and assigns the result 76 // Applies the current transformation on a translation and assigns the result 81 // Applies the current transformation on a skew and assigns the result 86 // Applies the current transformation on a perspective transform and assigns 90 // Applies a transformation on the current transformation 94 // Applies a transformation on the current transformatio [all...] |
/frameworks/base/docs/html/training/graphics/opengl/ |
projection.jd | 42 <li><em>Projection</em> - This transformation adjusts the coordinates of drawn objects based on 45 window. A projection transformation typically only has to be calculated when the proportions of the 52 <li><em>Camera View</em> - This transformation adjusts the coordinates of drawn objects based on a 55 drawn objects. A camera view transformation might be calculated only once when you establish your 66 <p>The data for a projection transformation is calculated in the {@link 70 projection transformation {@link android.opengl.Matrix} using the {@link 87 camera view transformation in the {@link android.opengl.GLSurfaceView.Renderer#onDrawFrame 90 <p class="note"><strong>Note:</strong> Just applying a projection transformation to your 92 view transformation in order for anything to show up on screen.</p> 97 <p>Complete the process of transforming your drawn objects by adding a camera view transformation a [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
IStateTransform.java | 26 /** Apply this transformation on the given state. */ 29 /** Revert this transformation from the given state. */ 32 /** Obtain the property that will be affected by this transformation. */
|
/frameworks/base/services/java/com/android/server/accessibility/ |
EventStreamTransformation.java | 26 * ordered in a sequence to implement a transformation chain. An instance may 28 * output events to the next transformation in the sequence set via 52 * It is a responsibility for each transformation to start handling events only 78 * Sets the next transformation. 80 * @param next The next transformation. 85 * Clears the internal state of this transformation. 90 * Destroys this transformation.
|