Rabbit-R1/android (non root)/java/sources/androidx/compose/ui/text/style/BrushStyle.java
2024-05-21 17:08:36 -04:00

87 lines
4.6 KiB
Java

package androidx.compose.ui.text.style;
import androidx.compose.ui.graphics.Brush;
import androidx.compose.ui.graphics.Color;
import androidx.compose.ui.graphics.ShaderBrush;
import io.sentry.protocol.ViewHierarchyNode;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* JADX INFO: Access modifiers changed from: package-private */
/* compiled from: TextForegroundStyle.kt */
@Metadata(d1 = {"\u0000@\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0007\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0082\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\u0015\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u0016\u001a\u00020\u00172\b\u0010\u0018\u001a\u0004\u0018\u00010\u0019HÖ\u0003J\t\u0010\u001a\u001a\u00020\u001bHÖ\u0001J\t\u0010\u001c\u001a\u00020\u001dHÖ\u0001R\u0014\u0010\u0004\u001a\u00020\u0005X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0014\u0010\t\u001a\u00020\n8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u000b\u0010\fR\u001d\u0010\r\u001a\u00020\u000e8VX\u0096\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0006\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\\u001e0\u0001\n\u0002\b!¨\u0006\u001e"}, d2 = {"Landroidx/compose/ui/text/style/BrushStyle;", "Landroidx/compose/ui/text/style/TextForegroundStyle;", "value", "Landroidx/compose/ui/graphics/ShaderBrush;", ViewHierarchyNode.JsonKeys.ALPHA, "", "(Landroidx/compose/ui/graphics/ShaderBrush;F)V", "getAlpha", "()F", "brush", "Landroidx/compose/ui/graphics/Brush;", "getBrush", "()Landroidx/compose/ui/graphics/Brush;", "color", "Landroidx/compose/ui/graphics/Color;", "getColor-0d7_KjU", "()J", "getValue", "()Landroidx/compose/ui/graphics/ShaderBrush;", "component1", "component2", "copy", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-text_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class BrushStyle implements TextForegroundStyle {
private final float alpha;
private final ShaderBrush value;
public static /* synthetic */ BrushStyle copy$default(BrushStyle brushStyle, ShaderBrush shaderBrush, float f, int i, Object obj) {
if ((i & 1) != 0) {
shaderBrush = brushStyle.value;
}
if ((i & 2) != 0) {
f = brushStyle.alpha;
}
return brushStyle.copy(shaderBrush, f);
}
/* renamed from: component1, reason: from getter */
public final ShaderBrush getValue() {
return this.value;
}
/* renamed from: component2, reason: from getter */
public final float getAlpha() {
return this.alpha;
}
public final BrushStyle copy(ShaderBrush value, float alpha) {
Intrinsics.checkNotNullParameter(value, "value");
return new BrushStyle(value, alpha);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof BrushStyle)) {
return false;
}
BrushStyle brushStyle = (BrushStyle) other;
return Intrinsics.areEqual(this.value, brushStyle.value) && Float.compare(this.alpha, brushStyle.alpha) == 0;
}
@Override // androidx.compose.ui.text.style.TextForegroundStyle
public float getAlpha() {
return this.alpha;
}
public final ShaderBrush getValue() {
return this.value;
}
public int hashCode() {
return (this.value.hashCode() * 31) + Float.hashCode(this.alpha);
}
public String toString() {
return "BrushStyle(value=" + this.value + ", alpha=" + this.alpha + ')';
}
public BrushStyle(ShaderBrush value, float f) {
Intrinsics.checkNotNullParameter(value, "value");
this.value = value;
this.alpha = f;
}
@Override // androidx.compose.ui.text.style.TextForegroundStyle
/* renamed from: getColor-0d7_KjU, reason: not valid java name */
public long mo4684getColor0d7_KjU() {
return Color.INSTANCE.m2675getUnspecified0d7_KjU();
}
@Override // androidx.compose.ui.text.style.TextForegroundStyle
public Brush getBrush() {
return this.value;
}
}