/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...] |
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...] |
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...] |
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...] |
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...] |
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...] |
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...] |
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...] |
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...] |
/ndk/tests/build/graphite-loop/jni/ |
Android.mk | 4 LOCAL_MODULE := graphite-loop-transformation 5 LOCAL_SRC_FILES := graphite-loop-transformation.c
|
/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);
|
/frameworks/base/services/java/com/android/server/wm/ |
AppWindowAnimator.java | 12 import android.view.animation.Transformation; 27 final Transformation transformation = new Transformation(); field in class:AppWindowAnimator 53 final Transformation thumbnailTransformation = new Transformation(); 90 transformation.clear(); 91 transformation.setAlpha(mAppToken.isVisible() ? 1 : 0); 100 transformation.clear(); 101 transformation.setAlpha(mAppToken.isVisible() ? 1 : 0) [all...] |
/external/chromium_org/chrome/renderer/pepper/ |
pepper_flash_renderer_host.cc | 249 matrix.set(SkMatrix::kMScaleX, SkFloatToScalar(params.transformation[0][0])); 250 matrix.set(SkMatrix::kMSkewX, SkFloatToScalar(params.transformation[0][1])); 251 matrix.set(SkMatrix::kMTransX, SkFloatToScalar(params.transformation[0][2])); 252 matrix.set(SkMatrix::kMSkewY, SkFloatToScalar(params.transformation[1][0])); 253 matrix.set(SkMatrix::kMScaleY, SkFloatToScalar(params.transformation[1][1])); 254 matrix.set(SkMatrix::kMTransY, SkFloatToScalar(params.transformation[1][2])); 255 matrix.set(SkMatrix::kMPersp0, SkFloatToScalar(params.transformation[2][0])); 256 matrix.set(SkMatrix::kMPersp1, SkFloatToScalar(params.transformation[2][1])); 257 matrix.set(SkMatrix::kMPersp2, SkFloatToScalar(params.transformation[2][2]));
|
/external/chromium/third_party/libjingle/source/talk/base/ |
stringutils.cc | 71 CharacterTransformation transformation) { 75 c1 = transformation(*s1); 79 c2 = transformation(*s2);
|
/external/chromium_org/skia/ext/ |
platform_device_mac.cc | 87 // the current transformation matrix identity and only then load the new one. 119 const SkMatrix& transformation) { 131 bool did_invert = transformation.invert(&t); 134 // Do the transformation. 147 path.transform(transformation);
|
platform_device.h | 134 const SkMatrix& transformation); 146 const SkMatrix& transformation);
|
/external/chromium_org/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/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGResourceMarker.cpp | 159 AffineTransform transformation = contentTransformation; local 161 transformation.scaleNonUniform(strokeWidth, strokeWidth); 163 transformation.translate(-mappedOrigin.x(), -mappedOrigin.y()); 164 return transformation;
|
/external/chromium_org/ppapi/proxy/ |
ppapi_param_traits.cc | 346 ParamTraits<float>::Write(m, p.transformation[0][0]); 347 ParamTraits<float>::Write(m, p.transformation[0][1]); 348 ParamTraits<float>::Write(m, p.transformation[0][2]); 349 ParamTraits<float>::Write(m, p.transformation[1][0]); 350 ParamTraits<float>::Write(m, p.transformation[1][1]); 351 ParamTraits<float>::Write(m, p.transformation[1][2]); 352 ParamTraits<float>::Write(m, p.transformation[2][0]); 353 ParamTraits<float>::Write(m, p.transformation[2][1]); 354 ParamTraits<float>::Write(m, p.transformation[2][2]); 373 ParamTraits<float>::Read(m, iter, &r->transformation[0][0]) & [all...] |