package androidx.activity; import android.os.Build; import android.window.BackEvent; import androidx.core.app.NotificationCompat; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import kotlin.Metadata; import kotlin.annotation.AnnotationRetention; import kotlin.annotation.AnnotationTarget; import kotlin.jvm.internal.Intrinsics; /* compiled from: BackEventCompat.kt */ @Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0007\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\t\n\u0002\u0010\u000e\n\u0002\b\u0003\u0018\u0000 \u00152\u00020\u0001:\u0002\u0015\u0016B\u000f\b\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004B)\b\u0007\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\b\b\u0001\u0010\b\u001a\u00020\u0006\u0012\u0006\u0010\t\u001a\u00020\n¢\u0006\u0002\u0010\u000bJ\b\u0010\u0012\u001a\u00020\u0003H\u0007J\b\u0010\u0013\u001a\u00020\u0014H\u0016R\u0011\u0010\b\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\t\u001a\u00020\n¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\rR\u0011\u0010\u0007\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\r¨\u0006\u0017"}, d2 = {"Landroidx/activity/BackEventCompat;", "", "backEvent", "Landroid/window/BackEvent;", "(Landroid/window/BackEvent;)V", "touchX", "", "touchY", NotificationCompat.CATEGORY_PROGRESS, "swipeEdge", "", "(FFFI)V", "getProgress", "()F", "getSwipeEdge", "()I", "getTouchX", "getTouchY", "toBackEvent", "toString", "", "Companion", "SwipeEdge", "activity_release"}, k = 1, mv = {1, 8, 0}, xi = 48) /* loaded from: classes.dex */ public final class BackEventCompat { public static final int EDGE_LEFT = 0; public static final int EDGE_RIGHT = 1; private final float progress; private final int swipeEdge; private final float touchX; private final float touchY; /* compiled from: BackEventCompat.kt */ @Target({ElementType.TYPE_USE}) @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0087\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Landroidx/activity/BackEventCompat$SwipeEdge;", "", "activity_release"}, k = 1, mv = {1, 8, 0}, xi = 48) @kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) @Retention(RetentionPolicy.SOURCE) @kotlin.annotation.Retention(AnnotationRetention.SOURCE) /* loaded from: classes.dex */ public @interface SwipeEdge { } public final float getProgress() { return this.progress; } public final int getSwipeEdge() { return this.swipeEdge; } public final float getTouchX() { return this.touchX; } public final float getTouchY() { return this.touchY; } public BackEventCompat(float f, float f2, float f3, int i) { this.touchX = f; this.touchY = f2; this.progress = f3; this.swipeEdge = i; } /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */ public BackEventCompat(BackEvent backEvent) { this(Api34Impl.INSTANCE.touchX(backEvent), Api34Impl.INSTANCE.touchY(backEvent), Api34Impl.INSTANCE.progress(backEvent), Api34Impl.INSTANCE.swipeEdge(backEvent)); Intrinsics.checkNotNullParameter(backEvent, "backEvent"); } public final BackEvent toBackEvent() { if (Build.VERSION.SDK_INT >= 34) { return Api34Impl.INSTANCE.createOnBackEvent(this.touchX, this.touchY, this.progress, this.swipeEdge); } throw new UnsupportedOperationException("This method is only supported on API level 34+"); } public String toString() { return "BackEventCompat{touchX=" + this.touchX + ", touchY=" + this.touchY + ", progress=" + this.progress + ", swipeEdge=" + this.swipeEdge + '}'; } }