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

1 2 3 4 5

  /frameworks/base/core/java/android/service/autofill/
InternalTransformation.java 30 * Superclass of all transformation the system understands. As this is not public all
31 * subclasses have to implement {@link Transformation} again.
36 public abstract class InternalTransformation implements Transformation, Parcelable {
41 * Applies this transformation to a child view of a {@link android.widget.RemoteViews
60 * transformation.
71 final InternalTransformation transformation = pair.second; local
72 if (sDebug) Log.d(TAG, "#" + i + ": " + transformation);
75 transformation.apply(finder, template, id);
78 Log.e(TAG, "Could not apply transformation " + transformation + ":
    [all...]
  /cts/tests/pdf/src/android/graphics/pdf/cts/
PdfRendererTransformTest.java 56 @Nullable Rect clipping, @Nullable Matrix transformation, int renderMode) {
61 mTransformation = transformation;
82 Matrix transformation = new Matrix(); local
86 transformation.postRotate(rotation);
90 transformation.postScale(scaleX, scaleY);
94 transformation.postTranslate(translateX,
103 transformation, Page.RENDER_MODE_FOR_DISPLAY
Utils.java 104 * Render a pdf onto a bitmap <u>while</u> applying the transformation <u>in the</u>
111 * @param transformation The transformation of the PDF
118 @Nullable Rect clipping, @Nullable Matrix transformation, int renderMode,
125 page.render(bm, clipping, transformation, renderMode);
134 * another bitmap while applying the transformation. Hence use canvas' translation and clipping
141 * @param transformation The transformation of the PDF
148 @RawRes int docRes, @Nullable Rect clipping, @Nullable Matrix transformation,
165 if (transformation == null)
    [all...]
  /external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/
JmhCipherEncryptBenchmark.java 40 public Transformation a_tx;
72 public Transformation transformation() { method in class:JmhCipherEncryptBenchmark.JmhConfig
  /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...]
  /libcore/support/src/test/java/tests/security/
AlgorithmParameterSymmetricHelper.java 55 String transformation = algorithmName; local
58 transformation += "/" + blockmode;
61 Cipher cipher = Cipher.getInstance(transformation);
  /frameworks/base/services/core/java/com/android/server/wm/
WindowAnimationSpec.java 34 import android.view.animation.Transformation;
97 tmp.transformation.clear();
98 mAnimation.getTransformation(currentPlayTime, tmp.transformation);
99 tmp.transformation.getMatrix().postTranslate(mPosition.x, mPosition.y);
100 t.setMatrix(leash, tmp.transformation.getMatrix(), tmp.floats);
101 t.setAlpha(leash, tmp.transformation.getAlpha());
103 t.setWindowCrop(leash, tmp.transformation.getClipRect());
109 t.setWindowCrop(leash, tmp.transformation.getClipRect());
112 mTmpRect.intersect(tmp.transformation.getClipRect());
196 final Transformation transformation = new Transformation() field in class:WindowAnimationSpec.TmpValues
    [all...]
  /cts/tests/tests/view/src/android/view/animation/cts/
AlphaAnimationTest.java 30 import android.view.animation.Transformation;
74 Transformation transformation = new Transformation(); local
75 assertEquals(1.0f, transformation.getAlpha(), 0.0001f);
77 animation.applyTransformation(0.0f, transformation);
78 assertEquals(0.0f, transformation.getAlpha(), 0.0001f);
80 animation.applyTransformation(0.5f, transformation);
81 assertEquals(0.5f, transformation.getAlpha(), 0.0001f);
83 animation.applyTransformation(1.0f, transformation);
    [all...]
RotateAnimationTest.java 38 import android.view.animation.Transformation;
99 Transformation transformation = new Transformation(); local
116 rotateAnimation.getTransformation(startTime, transformation);
117 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
118 transformation.clear();
119 rotateAnimation.applyTransformation(0.0f, transformation);
120 assertMatrixEquals(expectedMatrix, transformation.getMatrix());
124 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation);
152 Transformation transformation = new Transformation(); local
    [all...]
TranslateAnimationTest.java 37 import android.view.animation.Transformation;
103 final Transformation transformation = new Transformation(); local
118 translateAnimation.getTransformation(startTime, transformation);
119 transformation.getMatrix().getValues(values);
123 transformation.clear();
124 translateAnimation.getTransformation(startTime + DURATION / 2, transformation);
125 transformation.getMatrix().getValues(values);
129 transformation.clear()
164 final Transformation transformation = new Transformation(); local
    [all...]
AccelerateDecelerateInterpolatorTest.java 38 import android.view.animation.Transformation;
94 Transformation transformation = new Transformation(); local
96 anim.getTransformation(startTime, transformation);
97 float alpha1 = transformation.getAlpha();
100 anim.getTransformation(startTime + 500, transformation);
101 float alpha2 = transformation.getAlpha();
103 anim.getTransformation(startTime + 1000, transformation);
104 float alpha3 = transformation.getAlpha()
    [all...]
AccelerateInterpolatorTest.java 38 import android.view.animation.Transformation;
100 Transformation transformation = new Transformation(); local
102 anim.getTransformation(startTime, transformation);
103 float alpha1 = transformation.getAlpha();
106 anim.getTransformation(startTime + 250, transformation);
107 float alpha2 = transformation.getAlpha();
109 anim.getTransformation(startTime + 500, transformation);
110 float alpha3 = transformation.getAlpha()
    [all...]
LinearInterpolatorTest.java 35 import android.view.animation.Transformation;
100 Transformation transformation = new Transformation(); local
102 anim.getTransformation(startTime, transformation);
103 final float alpha1 = transformation.getAlpha();
106 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP, transformation);
107 final float alpha2 = transformation.getAlpha();
109 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP * 2, transformation);
110 final float alpha3 = transformation.getAlpha()
    [all...]
ScaleAnimationTest.java 36 import android.view.animation.Transformation;
89 final Transformation transformation = new Transformation(); local
90 transformation.setTransformationType(Transformation.TYPE_MATRIX);
98 scaleAnimation.applyTransformation(0.0f, transformation);
99 transformation.getMatrix().getValues(values);
104 scaleAnimation.applyTransformation(0.5f, transformation);
105 transformation.getMatrix().getValues(values)
    [all...]
TransformationTest.java 27 import android.view.animation.Transformation;
39 new Transformation();
44 final Transformation t1 = new Transformation();
45 final Transformation t2 = new Transformation();
50 t1.setTransformationType(Transformation.TYPE_MATRIX);
51 t2.setTransformationType(Transformation.TYPE_ALPHA);
58 assertEquals(Transformation.TYPE_ALPHA, t2.getTransformationType());
60 t1.setTransformationType(Transformation.TYPE_IDENTITY)
101 final Transformation transformation = new Transformation(); local
130 final Transformation transformation = new Transformation(); local
151 final Transformation transformation = new Transformation(); local
    [all...]
DecelerateInterpolatorTest.java 38 import android.view.animation.Transformation;
103 Transformation transformation = new Transformation(); local
105 anim.getTransformation(startTime, transformation);
106 float alpha1 = transformation.getAlpha();
109 anim.getTransformation(startTime + 500, transformation);
110 float alpha2 = transformation.getAlpha();
112 anim.getTransformation(startTime + 1000, transformation);
113 float alpha3 = transformation.getAlpha()
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
CryptoUpcalls.java 160 String transformation = "RSA/ECB/" + jcaPadding; local
167 c = Cipher.getInstance(transformation);
175 logger.warning("Unsupported cipher algorithm: " + transformation);
178 logger.warning("Unsupported cipher algorithm: " + transformation);
188 ArrayList<Provider> providers = getExternalProviders("Cipher." + transformation);
191 c = Cipher.getInstance(transformation, p);
203 logger.warning("Could not find provider for algorithm: " + transformation);
213 + " private key using " + transformation + ":",
  /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...]
DecodeJob.java 8 import com.bumptech.glide.load.Transformation;
39 private final Transformation<T> transformation; field in class:DecodeJob
49 DataLoadProvider<A, T> loadProvider, Transformation<T> transformation, ResourceTranscoder<T, Z> transcoder,
51 this(resultKey, width, height, fetcher, loadProvider, transformation, transcoder, diskCache, diskCacheStrategy,
57 DataLoadProvider<A, T> loadProvider, Transformation<T> transformation, ResourceTranscoder<T, Z> transcoder,
64 this.transformation = transformation;
    [all...]
  /tools/dexter/slicer/export/slicer/
instrumentation.h 31 // Interface for a single transformation operation
32 class Transformation {
34 virtual ~Transformation() = default;
41 class EntryHook : public Transformation {
65 class ExitHook : public Transformation {
82 class DetourVirtualInvoke : public Transformation {
99 class AllocateScratchRegs : public Transformation {
128 // transformation are applied)
148 // Queue a transformation
149 // (T is a class derived from Transformation)
152 T* transformation = new T(std::forward<Args>(args)...); local
    [all...]
  /external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
CipherEncryptBenchmark.java 41 Transformation transformation(); method in interface:CipherEncryptBenchmark.Config
67 Transformation tx = config.transformation();
80 final int messageSize(String transformation) throws Exception {
81 Cipher conscryptCipher = Cipher.getInstance(transformation, TestUtils.getConscryptProvider());
  /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...]
  /cts/tests/tests/text/src/android/text/cts/
SpannableStringTest.java 234 final TransformationMethod transformation = SingleLineTransformationMethod.getInstance(); local
235 final CharSequence transformed = transformation.getTransformation(original, null);
  /external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
CipherBasicsTest.java 93 String transformation = entry.getKey(); local
100 && transformation.equals("AES/ECB/NoPadding")) {
106 cipher = Cipher.getInstance(transformation, p);
115 getBaseAlgorithm(transformation));
123 params = AlgorithmParameters.getInstance(getBaseAlgorithm(transformation));
132 + ", algorithm " + transformation
138 + ", algorithm " + transformation
154 String transformation = entry.getKey(); local
158 cipher = Cipher.getInstance(transformation, p);
167 getBaseAlgorithm(transformation));
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
GifFrameManager.java 15 import com.bumptech.glide.load.Transformation;
37 private Transformation<Bitmap> transformation = UnitTransformation.get(); field in class:GifFrameManager
72 public void setFrameTransformation(Transformation<Bitmap> transformation) {
73 if (transformation == null) {
74 throw new NullPointerException("Transformation must not be null");
76 this.transformation = transformation;
96 .transform(transformation)
    [all...]

Completed in 430 milliseconds

1 2 3 4 5