/frameworks/base/core/java/android/service/autofill/ |
Transformation.java | 24 public interface Transformation {
|
InternalTransformation.java | 23 * Superclass of all transformation the system understands. As this is not public all 24 * subclasses have to implement {@link Transformation} again. 28 abstract class InternalTransformation implements Transformation, Parcelable { 31 * Applies this transformation to a child view of a {@link android.widget.RemoteViews
|
/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/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) {
|
/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) {
|
Transformation.java | 26 * Defines the transformation to be applied at 30 public class Transformation { 32 * Indicates a transformation that has no effect (alpha = 1 and identity matrix.) 36 * Indicates a transformation that applies an alpha only (uses an identity matrix.) 40 * Indicates a transformation that applies a matrix only (alpha = 1.) 44 * Indicates a transformation that applies an alpha and a matrix. 56 * Creates a new transformation with alpha = 1 and the identity matrix. 58 public Transformation() { 63 * Reset the transformation to a state that leaves the object 64 * being animated in an unmodified state. The transformation type i [all...] |
Animation.java | 57 * time when {@link #getTransformation(long, Transformation)} is invoked for the 105 * Set by {@link #getTransformation(long, Transformation)} when the animation ends. 110 * Set by {@link #getTransformation(long, Transformation)} when the animation starts. 115 * Set by {@link #getTransformation(long, Transformation)} when the animation repeats 127 * Indicates whether the animation transformation should be applied before the 134 * Indicates whether the animation transformation should be applied after the 214 Transformation mTransformation = new Transformation(); 215 Transformation mPreviousTransformation = new Transformation(); [all...] |
/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/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
BitmapTransformation.java | 7 import com.bumptech.glide.load.Transformation; 12 * A simple {@link com.bumptech.glide.load.Transformation} for transforming {@link android.graphics.Bitmap}s that 31 public abstract class BitmapTransformation implements Transformation<Bitmap> { 46 throw new IllegalArgumentException("Cannot apply transformation on width: " + outWidth + " or height: " 67 * return intermediate {@link Bitmap}s used in this transformation. For every 68 * {@link android.graphics.Bitmap} obtained from the pool during this transformation, a
|
/frameworks/base/services/core/java/com/android/server/wm/ |
ScreenRotationAnimation.java | 42 import android.view.animation.Transformation; 83 // animation applies a transformation while the rotation is in progress. 86 final Transformation mStartExitTransformation = new Transformation(); 88 final Transformation mStartEnterTransformation = new Transformation(); 90 final Transformation mStartFrameTransformation = new Transformation(); 93 // animation needs to undo the transformation of the starting animation. 97 final Transformation mFinishExitTransformation = new Transformation() [all...] |