mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 10:02:28 -06:00
44 lines
1.4 KiB
Java
44 lines
1.4 KiB
Java
package androidx.transition;
|
|
|
|
import android.graphics.Matrix;
|
|
import android.view.View;
|
|
|
|
/* loaded from: classes2.dex */
|
|
class ViewUtilsApi21 extends ViewUtilsApi19 {
|
|
private static boolean sTryHiddenSetAnimationMatrix = true;
|
|
private static boolean sTryHiddenTransformMatrixToGlobal = true;
|
|
private static boolean sTryHiddenTransformMatrixToLocal = true;
|
|
|
|
@Override // androidx.transition.ViewUtilsBase
|
|
public void transformMatrixToGlobal(View view, Matrix matrix) {
|
|
if (sTryHiddenTransformMatrixToGlobal) {
|
|
try {
|
|
view.transformMatrixToGlobal(matrix);
|
|
} catch (NoSuchMethodError unused) {
|
|
sTryHiddenTransformMatrixToGlobal = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // androidx.transition.ViewUtilsBase
|
|
public void transformMatrixToLocal(View view, Matrix matrix) {
|
|
if (sTryHiddenTransformMatrixToLocal) {
|
|
try {
|
|
view.transformMatrixToLocal(matrix);
|
|
} catch (NoSuchMethodError unused) {
|
|
sTryHiddenTransformMatrixToLocal = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // androidx.transition.ViewUtilsBase
|
|
public void setAnimationMatrix(View view, Matrix matrix) {
|
|
if (sTryHiddenSetAnimationMatrix) {
|
|
try {
|
|
view.setAnimationMatrix(matrix);
|
|
} catch (NoSuchMethodError unused) {
|
|
sTryHiddenSetAnimationMatrix = false;
|
|
}
|
|
}
|
|
}
|
|
}
|