mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-18 11:57:18 +01:00
76 lines
4.4 KiB
Java
76 lines
4.4 KiB
Java
package androidx.compose.foundation.layout;
|
|
|
|
import androidx.biometric.ErrorUtils$$ExternalSyntheticOutline0;
|
|
import androidx.compose.runtime.Immutable;
|
|
import androidx.compose.ui.unit.Density;
|
|
import androidx.compose.ui.unit.LayoutDirection;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import com.facebook.react.uimanager.ViewProps;
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Immutable
|
|
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0000\b\u0003\u0018\u00002\u00020\u0001B%\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003¢\u0006\u0002\u0010\u0007J\u0013\u0010\b\u001a\u00020\t2\b\u0010\n\u001a\u0004\u0018\u00010\u000bH\u0096\u0002J\u0010\u0010\f\u001a\u00020\u00032\u0006\u0010\r\u001a\u00020\u000eH\u0016J\u0018\u0010\u000f\u001a\u00020\u00032\u0006\u0010\r\u001a\u00020\u000e2\u0006\u0010\u0010\u001a\u00020\u0011H\u0016J\u0018\u0010\u0012\u001a\u00020\u00032\u0006\u0010\r\u001a\u00020\u000e2\u0006\u0010\u0010\u001a\u00020\u0011H\u0016J\u0010\u0010\u0013\u001a\u00020\u00032\u0006\u0010\r\u001a\u00020\u000eH\u0016J\b\u0010\u0014\u001a\u00020\u0003H\u0016J\b\u0010\u0015\u001a\u00020\u0016H\u0016R\u000e\u0010\u0006\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0004\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0017"}, d2 = {"Landroidx/compose/foundation/layout/FixedIntInsets;", "Landroidx/compose/foundation/layout/WindowInsets;", "leftVal", "", "topVal", "rightVal", "bottomVal", "(IIII)V", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "", "getBottom", "density", "Landroidx/compose/ui/unit/Density;", "getLeft", ViewProps.LAYOUT_DIRECTION, "Landroidx/compose/ui/unit/LayoutDirection;", "getRight", "getTop", "hashCode", "toString", "", "foundation-layout_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
final class FixedIntInsets implements WindowInsets {
|
|
private final int bottomVal;
|
|
private final int leftVal;
|
|
private final int rightVal;
|
|
private final int topVal;
|
|
|
|
public FixedIntInsets(int i, int i2, int i3, int i4) {
|
|
this.leftVal = i;
|
|
this.topVal = i2;
|
|
this.rightVal = i3;
|
|
this.bottomVal = i4;
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof FixedIntInsets)) {
|
|
return false;
|
|
}
|
|
FixedIntInsets fixedIntInsets = (FixedIntInsets) other;
|
|
return this.leftVal == fixedIntInsets.leftVal && this.topVal == fixedIntInsets.topVal && this.rightVal == fixedIntInsets.rightVal && this.bottomVal == fixedIntInsets.bottomVal;
|
|
}
|
|
|
|
@Override // androidx.compose.foundation.layout.WindowInsets
|
|
public int getBottom(@NotNull Density density) {
|
|
return this.bottomVal;
|
|
}
|
|
|
|
@Override // androidx.compose.foundation.layout.WindowInsets
|
|
public int getLeft(@NotNull Density density, @NotNull LayoutDirection layoutDirection) {
|
|
return this.leftVal;
|
|
}
|
|
|
|
@Override // androidx.compose.foundation.layout.WindowInsets
|
|
public int getRight(@NotNull Density density, @NotNull LayoutDirection layoutDirection) {
|
|
return this.rightVal;
|
|
}
|
|
|
|
@Override // androidx.compose.foundation.layout.WindowInsets
|
|
public int getTop(@NotNull Density density) {
|
|
return this.topVal;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((((this.leftVal * 31) + this.topVal) * 31) + this.rightVal) * 31) + this.bottomVal;
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder("Insets(left=");
|
|
sb.append(this.leftVal);
|
|
sb.append(", top=");
|
|
sb.append(this.topVal);
|
|
sb.append(", right=");
|
|
sb.append(this.rightVal);
|
|
sb.append(", bottom=");
|
|
return ErrorUtils$$ExternalSyntheticOutline0.m(sb, this.bottomVal, ')');
|
|
}
|
|
}
|