2019-12-06 03:29:40 +00:00
|
|
|
.class public Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;
|
2019-11-15 02:21:15 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "PreferenceGroupAdapter.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Landroidx/preference/PreferenceGroupAdapter;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x9
|
2019-11-15 02:21:15 +00:00
|
|
|
name = "PreferenceResourceDescriptor"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public mClassName:Ljava/lang/String;
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public mLayoutResId:I
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public mWidgetLayoutResId:I
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Landroidx/preference/Preference;)V
|
2019-11-15 02:21:15 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mClassName:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroidx/preference/Preference;->getLayoutResource()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput v0, p0, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mLayoutResId:I
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroidx/preference/Preference;->getWidgetLayoutResource()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
iput p1, p0, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mWidgetLayoutResId:I
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
instance-of v0, p1, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
check-cast p1, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;
|
|
|
|
|
|
|
|
iget v0, p0, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mLayoutResId:I
|
|
|
|
|
|
|
|
iget v2, p1, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mLayoutResId:I
|
|
|
|
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
|
|
|
|
iget v0, p0, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mWidgetLayoutResId:I
|
|
|
|
|
|
|
|
iget v2, p1, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mWidgetLayoutResId:I
|
|
|
|
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
|
|
|
|
iget-object v0, p0, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mClassName:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object p1, p1, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mClassName:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x1
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public hashCode()I
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget v0, p0, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mLayoutResId:I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/16 v1, 0x20f
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
add-int/2addr v1, v0
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget v0, p0, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mWidgetLayoutResId:I
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
add-int/2addr v1, v0
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v0, p0, Landroidx/preference/PreferenceGroupAdapter$PreferenceResourceDescriptor;->mClassName:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v0
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|