Rabbit-R1/android (non root)/smali/smali_classes2/androidx/window/layout/WindowMetrics.smali
2024-05-21 17:08:36 -04:00

186 lines
5 KiB
Smali

.class public final Landroidx/window/layout/WindowMetrics;
.super Ljava/lang/Object;
.source "WindowMetrics.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u000e\n\u0000\u0018\u00002\u00020\u0001B\u000f\u0008\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004B\u000f\u0008\u0000\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0007J\u0013\u0010\n\u001a\u00020\u000b2\u0008\u0010\u000c\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\u0008\u0010\r\u001a\u00020\u000eH\u0016J\u0008\u0010\u000f\u001a\u00020\u0010H\u0016R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0011\u0010\u0002\u001a\u00020\u00038F\u00a2\u0006\u0006\u001a\u0004\u0008\u0008\u0010\t\u00a8\u0006\u0011"
}
d2 = {
"Landroidx/window/layout/WindowMetrics;",
"",
"bounds",
"Landroid/graphics/Rect;",
"(Landroid/graphics/Rect;)V",
"_bounds",
"Landroidx/window/core/Bounds;",
"(Landroidx/window/core/Bounds;)V",
"getBounds",
"()Landroid/graphics/Rect;",
"equals",
"",
"other",
"hashCode",
"",
"toString",
"",
"window_release"
}
k = 0x1
mv = {
0x1,
0x6,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final _bounds:Landroidx/window/core/Bounds;
# direct methods
.method public constructor <init>(Landroid/graphics/Rect;)V
.locals 1
const-string v0, "bounds"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 39
new-instance v0, Landroidx/window/core/Bounds;
invoke-direct {v0, p1}, Landroidx/window/core/Bounds;-><init>(Landroid/graphics/Rect;)V
invoke-direct {p0, v0}, Landroidx/window/layout/WindowMetrics;-><init>(Landroidx/window/core/Bounds;)V
return-void
.end method
.method public constructor <init>(Landroidx/window/core/Bounds;)V
.locals 1
const-string v0, "_bounds"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 32
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/window/layout/WindowMetrics;->_bounds:Landroidx/window/core/Bounds;
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 2
if-ne p0, p1, :cond_0
const/4 p0, 0x1
return p0
:cond_0
if-eqz p1, :cond_2
.line 61
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
goto :goto_0
.line 62
:cond_1
check-cast p1, Landroidx/window/layout/WindowMetrics;
iget-object p0, p0, Landroidx/window/layout/WindowMetrics;->_bounds:Landroidx/window/core/Bounds;
.line 63
iget-object p1, p1, Landroidx/window/layout/WindowMetrics;->_bounds:Landroidx/window/core/Bounds;
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
return p0
:cond_2
:goto_0
const/4 p0, 0x0
return p0
.end method
.method public final getBounds()Landroid/graphics/Rect;
.locals 0
iget-object p0, p0, Landroidx/window/layout/WindowMetrics;->_bounds:Landroidx/window/core/Bounds;
.line 53
invoke-virtual {p0}, Landroidx/window/core/Bounds;->toRect()Landroid/graphics/Rect;
move-result-object p0
return-object p0
.end method
.method public hashCode()I
.locals 0
iget-object p0, p0, Landroidx/window/layout/WindowMetrics;->_bounds:Landroidx/window/core/Bounds;
.line 67
invoke-virtual {p0}, Landroidx/window/core/Bounds;->hashCode()I
move-result p0
return p0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 56
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "WindowMetrics { bounds: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p0}, Landroidx/window/layout/WindowMetrics;->getBounds()Landroid/graphics/Rect;
move-result-object p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
const-string v0, " }"
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method