package s1;

import com.google.android.gms.maps.model.BitmapDescriptorFactory;

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

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

    public /* synthetic */ s1(long j10, kotlin.jvm.internal.k kVar) {
        this(j10);
    }

    @Override // s1.y
    public void a(long j10, d1 d1Var, float f10) {
        long j11;
        d1Var.a(1.0f);
        if (f10 == 1.0f) {
            j11 = this.f35327c;
        } else {
            long j12 = this.f35327c;
            j11 = g0.l(j12, g0.o(j12) * f10, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 14, null);
        }
        d1Var.G(j11);
        if (d1Var.x() != null) {
            d1Var.w(null);
        }
    }

    public final long b() {
        return this.f35327c;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof s1) && g0.n(this.f35327c, ((s1) obj).f35327c);
    }

    public int hashCode() {
        return g0.t(this.f35327c);
    }

    public String toString() {
        return "SolidColor(value=" + ((Object) g0.u(this.f35327c)) + ')';
    }

    private s1(long j10) {
        super(null);
        this.f35327c = j10;
    }
}
