package o;

import android.graphics.Paint;
import android.graphics.Shader;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Q90 extends AbstractC0601Xe {
    public final long a;

    public Q90(long j) {
        this.a = j;
    }

    @Override // o.AbstractC0601Xe
    public final void a(float f, long j, Ew0 ew0) {
        ew0.d(1.0f);
        long jB = this.a;
        if (f != 1.0f) {
            jB = C0190Hi.b(C0190Hi.d(jB) * f, jB);
        }
        ew0.f(jB);
        if (((Shader) ew0.c) != null) {
            ew0.c = null;
            ((Paint) ew0.b).setShader(null);
        }
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof Q90) {
            return C0190Hi.c(this.a, ((Q90) obj).a);
        }
        return false;
    }

    public final int hashCode() {
        int i = C0190Hi.h;
        return Long.hashCode(this.a);
    }

    public final String toString() {
        return "SolidColor(value=" + ((Object) C0190Hi.i(this.a)) + ')';
    }
}
