/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
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
CipherTest.java | 227 // long as canonical names of transformation are accepted. 325 // Key is too short to encrypt anything using this transformation 370 // Key is too short to encrypt anything using this transformation 416 // Key is too short to encrypt anything using this transformation 437 // digest specified in the transformation. RI and Android Keystore keep the MGF1 516 // Key is too short to encrypt anything using this transformation 583 // Key too short to encrypt anything using this transformation. [all...] |
TestUtils.java | 621 static String getCipherKeyAlgorithm(String transformation) { 622 String transformationUpperCase = transformation.toUpperCase(Locale.US); 628 throw new IllegalArgumentException("Unsupported transformation: " + transformation); 632 static boolean isCipherSymmetric(String transformation) { 633 String transformationUpperCase = transformation.toUpperCase(Locale.US); 639 throw new IllegalArgumentException("Unsupported transformation: " + transformation); 643 static String getCipherDigest(String transformation) { 644 String transformationUpperCase = transformation.toUpperCase(Locale.US) [all...] |
/external/fonttools/Lib/fontTools/pens/ |
transformPen.py | 11 """Pen that transforms all coordinates using a Affine transformation, 15 def __init__(self, outPen, transformation): 17 transformed coordinates. The 'transformation' argument can either 20 if not hasattr(transformation, "transformPoint"): 22 transformation = Transform(*transformation) 23 self._transformation = transformation 24 self._transformPoint = transformation.transformPoint 54 def addComponent(self, glyphName, transformation): 55 transformation = self._transformation.transform(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...] |
/libcore/luni/src/main/java/javax/crypto/ |
Cipher.java | 46 * requested transformation, optionally with a provider. A transformation 57 * A valid transformation would be: 191 * The transformation. 193 private final String transformation; field in class:Cipher 196 * The transformation split into parts. 214 * @param transformation 215 * the name of the transformation that this cipher performs. 220 protected Cipher(CipherSpi cipherSpi, Provider provider, String transformation) { 229 this.transformation = transformation [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/ |
MultiTransformation.java | 9 * A transformation that applies one or more transformations in iteration order to a resource. 13 public class MultiTransformation<T> implements Transformation<T> { 14 private final Collection<? extends Transformation<T>> transformations; 18 public MultiTransformation(Transformation<T>... transformations) { 20 throw new IllegalArgumentException("MultiTransformation must contain at least one Transformation"); 25 public MultiTransformation(Collection<? extends Transformation<T>> transformationList) { 27 throw new IllegalArgumentException("MultiTransformation must contain at least one Transformation"); 36 for (Transformation<T> transformation : transformations) { 37 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight) [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
EngineKey.java | 7 import com.bumptech.glide.load.Transformation; 21 private final Transformation transformation; field in class:EngineKey 31 ResourceDecoder decoder, Transformation transformation, ResourceEncoder encoder, 39 this.transformation = transformation; 71 } else if (transformation == null ^ engineKey.transformation == null) { 73 } else if (transformation != null && !transformation.getId().equals(engineKey.transformation.getId())) [all...] |
EngineKeyFactory.java | 7 import com.bumptech.glide.load.Transformation; 14 ResourceDecoder sourceDecoder, Transformation transformation, ResourceEncoder encoder, 16 return new EngineKey(id, signature, width, height, cacheDecoder, sourceDecoder, transformation, encoder,
|
/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStoreBCWorkaroundProvider.java | 235 private void putSymmetricCipherImpl(String transformation, String implClass) { 236 put("Cipher." + transformation, implClass); 237 put("Cipher." + transformation + " SupportedKeyClasses", KEYSTORE_SECRET_KEY_CLASS_NAME); 240 private void putAsymmetricCipherImpl(String transformation, String implClass) { 241 put("Cipher." + transformation, implClass); 242 put("Cipher." + transformation + " SupportedKeyClasses",
|
/external/conscrypt/src/main/java/org/conscrypt/ |
CryptoUpcalls.java | 151 String transformation = "RSA/ECB/" + jcaPadding; local 156 c = Cipher.getInstance(transformation); 164 System.err.println("Unsupported cipher algorithm: " + transformation); 175 ArrayList<Provider> providers = getExternalProviders("Cipher." + transformation); 178 c = Cipher.getInstance(transformation, p); 187 System.err.println("Could not find provider for algorithm: " + transformation); 196 + " private key using " + transformation + ":");
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
GifResourceEncoder.java | 11 import com.bumptech.glide.load.Transformation; 48 Transformation<Bitmap> transformation = drawable.getFrameTransformation(); local 49 if (transformation instanceof UnitTransformation) { 62 Resource<Bitmap> transformedResource = getTransformedFrame(currentFrame, transformation, drawable); 112 private Resource<Bitmap> getTransformedFrame(Bitmap currentFrame, Transformation<Bitmap> transformation, 116 Resource<Bitmap> transformedResource = transformation.transform(bitmapResource,
|
/libcore/support/src/test/java/tests/security/ |
AlgorithmParameterSymmetricHelper.java | 66 String transformation = algorithmName; local 69 transformation += "/" + blockmode; 71 cipher = Cipher.getInstance(transformation);
|