HomeSort by relevance Sort by last modified time
    Searched refs:Transformation (Results 1 - 25 of 122) sorted by null

1 2 3 4 5

  /frameworks/base/core/java/android/service/autofill/
Transformation.java 24 public interface Transformation {
  /cts/tests/tests/view/src/android/view/animation/cts/
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...]
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...]
GridLayoutAnimationControllerTest.java 35 import android.view.animation.Transformation;
139 Transformation transformation1 = new Transformation();
140 Transformation transformation2 = new Transformation();
141 Transformation transformation3 = new Transformation();
205 Transformation transformation1 = new Transformation();
206 Transformation transformation2 = new Transformation()
    [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...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/
UnitTransformation.java 3 import com.bumptech.glide.load.Transformation;
7 * A noop Transformation that simply returns the given resource.
11 public class UnitTransformation<T> implements Transformation<T> {
12 private static final Transformation<?> TRANSFORMATION = new UnitTransformation<Object>();
21 return (UnitTransformation<T>) TRANSFORMATION;
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowAnimationBridge.java 4 import android.view.animation.Transformation;
20 public void applyTransformation(float interpolatedTime, Transformation transformation) {
23 ClassParameter.from(Transformation.class, transformation));
  /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...]
Transformation.java 6 * A class for performing an arbitrary transformation on a resource.
10 public interface Transformation<T> {
31 * A method to get a unique identifier for this particular transformation that can be used as part of a cache key.
36 * If this transformation does not affect the data that will be stored in cache, returning an empty string here
40 * @return A string that uniquely identifies this transformation.
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
GifBitmapWrapperTransformation.java 5 import com.bumptech.glide.load.Transformation;
12 * A {@link com.bumptech.glide.load.Transformation} that can apply a wrapped {@link android.graphics.Bitmap}
13 * transformation to both {@link android.graphics.Bitmap}s and {@link com.bumptech.glide.load.resource.gif.GifDrawable}.
15 public class GifBitmapWrapperTransformation implements Transformation<GifBitmapWrapper> {
16 private final Transformation<Bitmap> bitmapTransformation;
17 private final Transformation<GifDrawable> gifDataTransformation;
19 public GifBitmapWrapperTransformation(BitmapPool bitmapPool, Transformation<Bitmap> bitmapTransformation) {
23 GifBitmapWrapperTransformation(Transformation<Bitmap> bitmapTransformation,
24 Transformation<GifDrawable> gifDataTransformation) {
  /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...]
  /frameworks/base/services/core/java/com/android/server/wm/animation/
ClipRectLRAnimation.java 21 import android.view.animation.Transformation;
40 * Calculates and sets clip rect on given transformation. It uses existing values
41 * on the Transformation for Top/Bottom clip parameters.
44 protected void applyTransformation(float it, Transformation tr) {
CurvedTranslateAnimation.java 24 import android.view.animation.Transformation;
38 protected void applyTransformation(float interpolatedTime, Transformation t) {
ClipRectTBAnimation.java 22 import android.view.animation.Transformation;
51 public boolean getTransformation(long currentTime, Transformation outTransformation) {
71 * Calculates and sets clip rect on given transformation. It uses existing values
72 * on the Transformation for Left/Right clip parameters.
75 protected void applyTransformation(float it, Transformation tr) {
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
GifDrawableTransformation.java 5 import com.bumptech.glide.load.Transformation;
11 * An {@link com.bumptech.glide.load.Transformation} that wraps a transformation for a {@link Bitmap}
14 public class GifDrawableTransformation implements Transformation<GifDrawable> {
15 private final Transformation<Bitmap> wrapped;
18 public GifDrawableTransformation(Transformation<Bitmap> wrapped, BitmapPool bitmapPool) {
29 // our gif, here we create a stand in for a frame and pass it to the transformation to see what the final
  /external/robolectric/v1/src/main/java/android/view/animation/
ShadowAnimationBridge.java 17 public void applyTransformation(float interpolatedTime, Transformation t) {
  /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/glide/library/src/main/java/com/bumptech/glide/load/engine/
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,
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
AnimateDrawable.java 23 import android.view.animation.Transformation;
28 private Transformation mTransformation = new Transformation();
  /frameworks/base/core/java/android/view/animation/
TranslateXAnimation.java 23 * vertical values from whatever is set on the Transformation already. When used in
46 * Calculates and sets x translation values on given transformation.
49 protected void applyTransformation(float interpolatedTime, Transformation t) {
TranslateYAnimation.java 23 * horizontal values from whatever is set on the Transformation already. When used in
46 * Calculates and sets y translation values on given transformation.
49 protected void applyTransformation(float interpolatedTime, Transformation t) {
  /cts/tests/autofillservice/src/android/autofillservice/cts/
BatchUpdatesTest.java 27 import android.service.autofill.Transformation;
48 () -> mBuilder.transformChild(42, mock(Transformation.class)));
CustomDescriptionUnitTest.java 26 import android.service.autofill.Transformation;
57 () -> mBuilder.addChild(42, mock(Transformation.class)));
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
Rotate3dAnimation.java 20 import android.view.animation.Transformation;
69 protected void applyTransformation(float interpolatedTime, Transformation t) {
  /external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
Transformation.java 30 public enum Transformation {
36 Transformation(String algorithm, String mode, String padding, KeyGen keyGen) {

Completed in 384 milliseconds

1 2 3 4 5