package d2;

import com.google.firebase.crashlytics.internal.metadata.UserMetadata;
import java.util.List;

/* loaded from: classes.dex */
public final class y {

    /* renamed from: a, reason: collision with root package name */
    private final long f15884a;

    /* renamed from: b, reason: collision with root package name */
    private final long f15885b;

    /* renamed from: c, reason: collision with root package name */
    private final long f15886c;

    /* renamed from: d, reason: collision with root package name */
    private final boolean f15887d;

    /* renamed from: e, reason: collision with root package name */
    private final float f15888e;

    /* renamed from: f, reason: collision with root package name */
    private final long f15889f;

    /* renamed from: g, reason: collision with root package name */
    private final long f15890g;

    /* renamed from: h, reason: collision with root package name */
    private final boolean f15891h;

    /* renamed from: i, reason: collision with root package name */
    private final int f15892i;

    /* renamed from: j, reason: collision with root package name */
    private final long f15893j;

    /* renamed from: k, reason: collision with root package name */
    private List f15894k;

    /* renamed from: l, reason: collision with root package name */
    private long f15895l;

    /* renamed from: m, reason: collision with root package name */
    private d f15896m;

    public /* synthetic */ y(long j10, long j11, long j12, boolean z10, float f10, long j13, long j14, boolean z11, boolean z12, int i10, long j15, kotlin.jvm.internal.k kVar) {
        this(j10, j11, j12, z10, f10, j13, j14, z11, z12, i10, j15);
    }

    public final void a() {
        this.f15896m.c(true);
        this.f15896m.d(true);
    }

    public final y b(long j10, long j11, long j12, boolean z10, long j13, long j14, boolean z11, int i10, List list, long j15) {
        return d(j10, j11, j12, z10, this.f15888e, j13, j14, z11, i10, list, j15);
    }

    public final y d(long j10, long j11, long j12, boolean z10, float f10, long j13, long j14, boolean z11, int i10, List list, long j15) {
        y yVar = new y(j10, j11, j12, z10, f10, j13, j14, z11, false, i10, list, j15, this.f15895l, null);
        yVar.f15896m = this.f15896m;
        return yVar;
    }

    public final List e() {
        List k10;
        List list = this.f15894k;
        if (list != null) {
            return list;
        }
        k10 = sm.u.k();
        return k10;
    }

    public final long f() {
        return this.f15884a;
    }

    public final long g() {
        return this.f15895l;
    }

    public final long h() {
        return this.f15886c;
    }

    public final boolean i() {
        return this.f15887d;
    }

    public final float j() {
        return this.f15888e;
    }

    public final long k() {
        return this.f15890g;
    }

    public final boolean l() {
        return this.f15891h;
    }

    public final long m() {
        return this.f15893j;
    }

    public final int n() {
        return this.f15892i;
    }

    public final long o() {
        return this.f15885b;
    }

    public final boolean p() {
        return this.f15896m.a() || this.f15896m.b();
    }

    public String toString() {
        return "PointerInputChange(id=" + ((Object) x.f(this.f15884a)) + ", uptimeMillis=" + this.f15885b + ", position=" + ((Object) r1.g.t(this.f15886c)) + ", pressed=" + this.f15887d + ", pressure=" + this.f15888e + ", previousUptimeMillis=" + this.f15889f + ", previousPosition=" + ((Object) r1.g.t(this.f15890g)) + ", previousPressed=" + this.f15891h + ", isConsumed=" + p() + ", type=" + ((Object) m0.i(this.f15892i)) + ", historical=" + e() + ",scrollDelta=" + ((Object) r1.g.t(this.f15893j)) + ')';
    }

    public /* synthetic */ y(long j10, long j11, long j12, boolean z10, float f10, long j13, long j14, boolean z11, boolean z12, int i10, List list, long j15, long j16, kotlin.jvm.internal.k kVar) {
        this(j10, j11, j12, z10, f10, j13, j14, z11, z12, i10, list, j15, j16);
    }

    private y(long j10, long j11, long j12, boolean z10, float f10, long j13, long j14, boolean z11, boolean z12, int i10, long j15) {
        this.f15884a = j10;
        this.f15885b = j11;
        this.f15886c = j12;
        this.f15887d = z10;
        this.f15888e = f10;
        this.f15889f = j13;
        this.f15890g = j14;
        this.f15891h = z11;
        this.f15892i = i10;
        this.f15893j = j15;
        this.f15895l = r1.g.f34318b.c();
        this.f15896m = new d(z12, z12);
    }

    public /* synthetic */ y(long j10, long j11, long j12, boolean z10, float f10, long j13, long j14, boolean z11, boolean z12, int i10, long j15, int i11, kotlin.jvm.internal.k kVar) {
        this(j10, j11, j12, z10, f10, j13, j14, z11, z12, (i11 & 512) != 0 ? m0.f15832a.d() : i10, (i11 & UserMetadata.MAX_ATTRIBUTE_SIZE) != 0 ? r1.g.f34318b.c() : j15, null);
    }

    private y(long j10, long j11, long j12, boolean z10, float f10, long j13, long j14, boolean z11, boolean z12, int i10, List list, long j15, long j16) {
        this(j10, j11, j12, z10, f10, j13, j14, z11, z12, i10, j15, null);
        this.f15894k = list;
        this.f15895l = j16;
    }
}
