Rabbit-R1/switch port/smali/smali_classes3/io/flutter/view/AccessibilityViewEmbedder$ViewAndId.smali
2024-05-21 17:08:36 -04:00

118 lines
2.5 KiB
Smali

.class Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;
.super Ljava/lang/Object;
.source "AccessibilityViewEmbedder.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/flutter/view/AccessibilityViewEmbedder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "ViewAndId"
.end annotation
# instance fields
.field final id:I
.field final view:Landroid/view/View;
# direct methods
.method private constructor <init>(Landroid/view/View;I)V
.locals 0
.line 406
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;->view:Landroid/view/View;
iput p2, p0, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;->id:I
return-void
.end method
.method synthetic constructor <init>(Landroid/view/View;ILio/flutter/view/AccessibilityViewEmbedder$1;)V
.locals 0
.line 402
invoke-direct {p0, p1, p2}, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;-><init>(Landroid/view/View;I)V
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
.line 414
:cond_0
instance-of v1, p1, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
.line 415
:cond_1
check-cast p1, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;
iget v1, p0, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;->id:I
.line 416
iget v3, p1, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;->id:I
if-ne v1, v3, :cond_2
iget-object p0, p0, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;->view:Landroid/view/View;
iget-object p1, p1, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;->view:Landroid/view/View;
invoke-virtual {p0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_2
goto :goto_0
:cond_2
move v0, v2
:goto_0
return v0
.end method
.method public hashCode()I
.locals 2
iget-object v0, p0, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;->view:Landroid/view/View;
.line 423
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
const/16 v1, 0x1f
add-int/2addr v0, v1
mul-int/2addr v0, v1
iget p0, p0, Lio/flutter/view/AccessibilityViewEmbedder$ViewAndId;->id:I
add-int/2addr v0, p0
return v0
.end method