mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
26 lines
730 B
Java
26 lines
730 B
Java
package com.google.android.material.animation;
|
|
|
|
import android.graphics.Matrix;
|
|
import android.util.Property;
|
|
import android.widget.ImageView;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class ImageMatrixProperty extends Property<ImageView, Matrix> {
|
|
private final Matrix matrix;
|
|
|
|
public ImageMatrixProperty() {
|
|
super(Matrix.class, "imageMatrixProperty");
|
|
this.matrix = new Matrix();
|
|
}
|
|
|
|
@Override // android.util.Property
|
|
public void set(ImageView imageView, Matrix matrix) {
|
|
imageView.setImageMatrix(matrix);
|
|
}
|
|
|
|
@Override // android.util.Property
|
|
public Matrix get(ImageView imageView) {
|
|
this.matrix.set(imageView.getImageMatrix());
|
|
return this.matrix;
|
|
}
|
|
}
|