mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 01:22:33 -06:00
125 lines
8.3 KiB
Java
125 lines
8.3 KiB
Java
package androidx.compose.foundation;
|
|
|
|
import androidx.compose.ui.graphics.AndroidPath_androidKt;
|
|
import androidx.compose.ui.graphics.Canvas;
|
|
import androidx.compose.ui.graphics.ImageBitmap;
|
|
import androidx.compose.ui.graphics.Path;
|
|
import androidx.compose.ui.graphics.drawscope.CanvasDrawScope;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* compiled from: Border.kt */
|
|
@Metadata(d1 = {"\u0000`\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0082\b\u0018\u00002\u00020\u0001B5\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\t¢\u0006\u0002\u0010\nJ\u000b\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÂ\u0003J\u000b\u0010\f\u001a\u0004\u0018\u00010\u0005HÂ\u0003J\u000b\u0010\r\u001a\u0004\u0018\u00010\u0007HÂ\u0003J\u000b\u0010\u000e\u001a\u0004\u0018\u00010\tHÂ\u0003J9\u0010\u000f\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\tHÆ\u0001J\u0013\u0010\u0010\u001a\u00020\u00112\b\u0010\u0012\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001J\u0006\u0010\u0015\u001a\u00020\tJ\t\u0010\u0016\u001a\u00020\u0017HÖ\u0001JF\u0010\u0018\u001a\u00020\u0003*\u00020\u00192\u0006\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u001d2\u0017\u0010\u001e\u001a\u0013\u0012\u0004\u0012\u00020 \u0012\u0004\u0012\u00020!0\u001f¢\u0006\u0002\b\"H\u0086\bø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0004\b#\u0010$R\u0010\u0010\b\u001a\u0004\u0018\u00010\tX\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0004\u001a\u0004\u0018\u00010\u0005X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0006\u001a\u0004\u0018\u00010\u0007X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0002\u001a\u0004\u0018\u00010\u0003X\u0082\u000e¢\u0006\u0002\n\u0000\u0082\u0002\u0012\n\u0005\b\u009920\u0001\n\u0005\b¡\u001e0\u0001\n\u0002\b\u0019¨\u0006%"}, d2 = {"Landroidx/compose/foundation/BorderCache;", "", "imageBitmap", "Landroidx/compose/ui/graphics/ImageBitmap;", "canvas", "Landroidx/compose/ui/graphics/Canvas;", "canvasDrawScope", "Landroidx/compose/ui/graphics/drawscope/CanvasDrawScope;", "borderPath", "Landroidx/compose/ui/graphics/Path;", "(Landroidx/compose/ui/graphics/ImageBitmap;Landroidx/compose/ui/graphics/Canvas;Landroidx/compose/ui/graphics/drawscope/CanvasDrawScope;Landroidx/compose/ui/graphics/Path;)V", "component1", "component2", "component3", "component4", "copy", "equals", "", "other", "hashCode", "", "obtainPath", "toString", "", "drawBorderCache", "Landroidx/compose/ui/draw/CacheDrawScope;", "borderSize", "Landroidx/compose/ui/unit/IntSize;", "config", "Landroidx/compose/ui/graphics/ImageBitmapConfig;", "block", "Lkotlin/Function1;", "Landroidx/compose/ui/graphics/drawscope/DrawScope;", "", "Lkotlin/ExtensionFunctionType;", "drawBorderCache-EMwLDEs", "(Landroidx/compose/ui/draw/CacheDrawScope;JILkotlin/jvm/functions/Function1;)Landroidx/compose/ui/graphics/ImageBitmap;", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
final /* data */ class BorderCache {
|
|
private Path borderPath;
|
|
private Canvas canvas;
|
|
private CanvasDrawScope canvasDrawScope;
|
|
private ImageBitmap imageBitmap;
|
|
|
|
public BorderCache() {
|
|
this(null, null, null, null, 15, null);
|
|
}
|
|
|
|
/* renamed from: component1, reason: from getter */
|
|
private final ImageBitmap getImageBitmap() {
|
|
return this.imageBitmap;
|
|
}
|
|
|
|
/* renamed from: component2, reason: from getter */
|
|
private final Canvas getCanvas() {
|
|
return this.canvas;
|
|
}
|
|
|
|
/* renamed from: component3, reason: from getter */
|
|
private final CanvasDrawScope getCanvasDrawScope() {
|
|
return this.canvasDrawScope;
|
|
}
|
|
|
|
/* renamed from: component4, reason: from getter */
|
|
private final Path getBorderPath() {
|
|
return this.borderPath;
|
|
}
|
|
|
|
public static /* synthetic */ BorderCache copy$default(BorderCache borderCache, ImageBitmap imageBitmap, Canvas canvas, CanvasDrawScope canvasDrawScope, Path path, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
imageBitmap = borderCache.imageBitmap;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
canvas = borderCache.canvas;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
canvasDrawScope = borderCache.canvasDrawScope;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
path = borderCache.borderPath;
|
|
}
|
|
return borderCache.copy(imageBitmap, canvas, canvasDrawScope, path);
|
|
}
|
|
|
|
public final BorderCache copy(ImageBitmap imageBitmap, Canvas canvas, CanvasDrawScope canvasDrawScope, Path borderPath) {
|
|
return new BorderCache(imageBitmap, canvas, canvasDrawScope, borderPath);
|
|
}
|
|
|
|
public boolean equals(Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof BorderCache)) {
|
|
return false;
|
|
}
|
|
BorderCache borderCache = (BorderCache) other;
|
|
return Intrinsics.areEqual(this.imageBitmap, borderCache.imageBitmap) && Intrinsics.areEqual(this.canvas, borderCache.canvas) && Intrinsics.areEqual(this.canvasDrawScope, borderCache.canvasDrawScope) && Intrinsics.areEqual(this.borderPath, borderCache.borderPath);
|
|
}
|
|
|
|
public int hashCode() {
|
|
ImageBitmap imageBitmap = this.imageBitmap;
|
|
int hashCode = (imageBitmap == null ? 0 : imageBitmap.hashCode()) * 31;
|
|
Canvas canvas = this.canvas;
|
|
int hashCode2 = (hashCode + (canvas == null ? 0 : canvas.hashCode())) * 31;
|
|
CanvasDrawScope canvasDrawScope = this.canvasDrawScope;
|
|
int hashCode3 = (hashCode2 + (canvasDrawScope == null ? 0 : canvasDrawScope.hashCode())) * 31;
|
|
Path path = this.borderPath;
|
|
return hashCode3 + (path != null ? path.hashCode() : 0);
|
|
}
|
|
|
|
public String toString() {
|
|
return "BorderCache(imageBitmap=" + this.imageBitmap + ", canvas=" + this.canvas + ", canvasDrawScope=" + this.canvasDrawScope + ", borderPath=" + this.borderPath + ')';
|
|
}
|
|
|
|
public BorderCache(ImageBitmap imageBitmap, Canvas canvas, CanvasDrawScope canvasDrawScope, Path path) {
|
|
this.imageBitmap = imageBitmap;
|
|
this.canvas = canvas;
|
|
this.canvasDrawScope = canvasDrawScope;
|
|
this.borderPath = path;
|
|
}
|
|
|
|
public /* synthetic */ BorderCache(ImageBitmap imageBitmap, Canvas canvas, CanvasDrawScope canvasDrawScope, Path path, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i & 1) != 0 ? null : imageBitmap, (i & 2) != 0 ? null : canvas, (i & 4) != 0 ? null : canvasDrawScope, (i & 8) != 0 ? null : path);
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:19:0x009b */
|
|
/* renamed from: drawBorderCache-EMwLDEs, reason: not valid java name */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final androidx.compose.ui.graphics.ImageBitmap m177drawBorderCacheEMwLDEs(androidx.compose.ui.draw.CacheDrawScope r28, long r29, int r31, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope, kotlin.Unit> r32) {
|
|
/*
|
|
Method dump skipped, instructions count: 294
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.foundation.BorderCache.m177drawBorderCacheEMwLDEs(androidx.compose.ui.draw.CacheDrawScope, long, int, kotlin.jvm.functions.Function1):androidx.compose.ui.graphics.ImageBitmap");
|
|
}
|
|
|
|
public final Path obtainPath() {
|
|
Path path = this.borderPath;
|
|
if (path != null) {
|
|
return path;
|
|
}
|
|
Path Path = AndroidPath_androidKt.Path();
|
|
this.borderPath = Path;
|
|
return Path;
|
|
}
|
|
}
|