SRE/02-Easy5/E5/sources/androidx/transition/GhostViewUtils.java
2025-03-31 16:33:42 +02:00

28 lines
725 B
Java

package androidx.transition;
import android.graphics.Matrix;
import android.os.Build;
import android.view.View;
import android.view.ViewGroup;
/* loaded from: classes.dex */
class GhostViewUtils {
static GhostView addGhost(View view, ViewGroup viewGroup, Matrix matrix) {
if (Build.VERSION.SDK_INT == 28) {
return GhostViewPlatform.addGhost(view, viewGroup, matrix);
}
return GhostViewPort.addGhost(view, viewGroup, matrix);
}
static void removeGhost(View view) {
if (Build.VERSION.SDK_INT == 28) {
GhostViewPlatform.removeGhost(view);
} else {
GhostViewPort.removeGhost(view);
}
}
private GhostViewUtils() {
}
}