ProfileBackgroundComponent.smali
.class public Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
.super Lcom/imo/android/imoim/profile/component/BaseProfileComponent;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$b;,
Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/imo/android/imoim/profile/component/BaseProfileComponent<",
"Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;",
">;"
}
.end annotation
# instance fields
.field A:Landroid/view/View;
.field B:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
.field public C:Landroid/view/View;
.field D:Lcom/google/android/material/appbar/AppBarLayout;
.field E:Landroid/view/View;
.field F:Landroidx/viewpager/widget/ViewPager;
.field G:Landroid/view/View;
.field public H:Z
.field public I:Z
.field public J:Z
.field private M:Landroidx/lifecycle/LiveData;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/lifecycle/LiveData<",
"Lcom/imo/android/imoim/profile/viewmodel/user/a/c;",
">;"
}
.end annotation
.end field
.field private N:Landroidx/lifecycle/LiveData;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/lifecycle/LiveData<",
"Lcom/imo/android/imoim/profile/viewmodel/b;",
">;"
}
.end annotation
.end field
.field private O:Landroidx/lifecycle/LiveData;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/lifecycle/LiveData<",
"Lcom/imo/android/imoim/biggroup/data/h;",
">;"
}
.end annotation
.end field
.field private P:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;
.field private Q:Z
.field private R:Z
.field private S:I
.field private T:Ljava/lang/String;
.field private U:I
.field private final V:I
.field private W:Lcom/airbnb/lottie/k;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/airbnb/lottie/k<",
"Lcom/airbnb/lottie/d;",
">;"
}
.end annotation
.end field
.field private X:Lcom/airbnb/lottie/h;
.field private Y:Lcom/airbnb/lottie/h;
.field private Z:Ljava/lang/String;
.field private final aa:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$b;",
">;"
}
.end annotation
.end field
.field private ab:I
.field b:Landroid/view/View;
.field c:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
.field d:Lcom/imo/android/imoim/profile/musicpendant/MusicPendantView;
.field e:Landroid/view/View;
.field f:Lcom/imo/android/imoim/fresco/ImoImageView;
.field g:Lcom/imo/android/imoim/fresco/ImoImageView;
.field h:Landroid/view/View;
.field i:Landroid/view/View;
.field j:Landroid/widget/TextView;
.field public k:Landroid/view/View;
.field l:Lcom/airbnb/lottie/LottieAnimationView;
.field m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
.field n:Landroid/view/View;
.field o:Landroidx/constraintlayout/widget/Guideline;
.field p:Landroid/view/View;
.field q:Lcom/imo/android/imoim/fresco/XCircleImageView;
.field r:Landroid/view/View;
.field s:Landroid/view/View;
.field t:Lcom/imo/xui/widget/item/XItemView;
.field u:Lcom/imo/xui/widget/item/XItemView;
.field v:Lcom/imo/xui/widget/item/XItemView;
.field w:Lcom/imo/xui/widget/item/XItemView;
.field x:Lcom/imo/xui/widget/item/XItemView;
.field y:Lcom/imo/xui/widget/item/XItemView;
.field z:Landroid/widget/ImageView;
# direct methods
.method public constructor <init>(Lcom/imo/android/core/component/c;Landroid/view/View;ZLandroidx/lifecycle/LiveData;Landroidx/lifecycle/LiveData;Landroidx/lifecycle/LiveData;Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;)V
.registers 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/imo/android/core/component/c;",
"Landroid/view/View;",
"Z",
"Landroidx/lifecycle/LiveData<",
"Lcom/imo/android/imoim/profile/viewmodel/user/a/c;",
">;",
"Landroidx/lifecycle/LiveData<",
"Lcom/imo/android/imoim/profile/viewmodel/b;",
">;",
"Landroidx/lifecycle/LiveData<",
"Lcom/imo/android/imoim/biggroup/data/h;",
">;",
"Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;",
")V"
}
.end annotation
.line 159
invoke-direct {p0, p1, p2, p3}, Lcom/imo/android/imoim/profile/component/BaseProfileComponent;-><init>(Lcom/imo/android/core/component/c;Landroid/view/View;Z)V
const/16 p1, 0x41
.line 141
invoke-static {p1}, Lcom/imo/android/imoim/util/ei;->a(I)I
move-result p1
iput p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->U:I
const/16 p1, 0x25
.line 142
invoke-static {p1}, Lcom/imo/android/imoim/util/ei;->a(I)I
move-result p1
iput p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->V:I
const/4 p1, 0x0
.line 149
iput-boolean p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->I:Z
.line 150
iput-boolean p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->J:Z
.line 152
new-instance p2, Ljava/util/ArrayList;
invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V
iput-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->aa:Ljava/util/List;
.line 555
iput p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->ab:I
.line 160
iput-object p4, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->M:Landroidx/lifecycle/LiveData;
.line 161
iput-object p5, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->N:Landroidx/lifecycle/LiveData;
.line 162
iput-object p6, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->O:Landroidx/lifecycle/LiveData;
.line 163
iput-object p7, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->P:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;
return-void
.end method
.method static synthetic a(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;
.registers 1
.line 82
iget-object p0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->P:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;
return-object p0
.end method
.method private synthetic a(Lcom/google/android/material/appbar/AppBarLayout;I)V
.registers 3
.line 255
invoke-static {p2}, Ljava/lang/Math;->abs(I)I
move-result p1
invoke-direct {p0, p1}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b(I)V
return-void
.end method
.method static synthetic a(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;Landroid/graphics/drawable/Drawable;ZLjava/lang/String;)V
.registers 4
.line 82
invoke-direct {p0, p1, p2, p3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b(Landroid/graphics/drawable/Drawable;ZLjava/lang/String;)V
return-void
.end method
.method static synthetic a(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;Ljava/lang/String;ZLjava/lang/String;)V
.registers 7
.line 10595
iget-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->R:Z
if-eqz v0, :cond_c
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->T:Ljava/lang/String;
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_30
:cond_c
const/4 v0, 0x1
.line 10599
iput-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->R:Z
.line 10600
iput-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->T:Ljava/lang/String;
.line 10601
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->x()Landroidx/fragment/app/FragmentActivity;
invoke-static {}, Lcom/imo/android/imoim/util/ei;->p()Landroid/util/Pair;
move-result-object v0
iget-object v0, v0, Landroid/util/Pair;->first:Ljava/lang/Object;
check-cast v0, Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
sget-object v1, Lcom/imo/android/imoim/util/ca$b;->WEBP:Lcom/imo/android/imoim/util/ca$b;
sget-object v2, Lcom/imo/android/imoim/managers/i$e;->THUMB:Lcom/imo/android/imoim/managers/i$e;
invoke-static {v0, p1, v1, v2}, Lcom/imo/android/imoim/util/ca;->a(ILjava/lang/String;Lcom/imo/android/imoim/util/ca$b;Lcom/imo/android/imoim/managers/i$e;)Landroidx/lifecycle/LiveData;
move-result-object p1
.line 10602
new-instance v0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;
invoke-direct {v0, p0, p1, p2, p3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;Landroidx/lifecycle/LiveData;ZLjava/lang/String;)V
invoke-virtual {p1, p0, v0}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
:cond_30
return-void
.end method
.method private static a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.registers 5
.line 731
new-instance v0, Lcom/imo/android/imoim/skin/a;
invoke-direct {v0, p2, p3}, Lcom/imo/android/imoim/skin/a;-><init>(Ljava/lang/String;I)V
invoke-static {v0}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
move-result-object p2
.line 9052
invoke-static {p0, p1, p2}, Lcom/imo/android/imoim/skin/d;->a(Landroid/app/Activity;Landroid/view/View;Ljava/util/List;)V
return-void
.end method
.method private static a(Lcom/imo/android/imoim/skin/SkinActivity;Lcom/imo/xui/widget/item/XItemView;I)V
.registers 6
if-nez p1, :cond_3
return-void
.line 396
:cond_3
invoke-virtual {p1}, Lcom/imo/xui/widget/item/XItemView;->getTitleTv()Landroid/widget/TextView;
move-result-object v0
const v1, 0x7f04034b
const-string v2, "textColor"
invoke-static {p0, v0, v2, v1}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 397
invoke-virtual {p1}, Lcom/imo/xui/widget/item/XItemView;->getDrawableView()Lcom/imo/xui/widget/image/XCircleImageView;
move-result-object v0
const-string v1, "src"
invoke-static {p0, v0, v1, p2}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 398
invoke-virtual {p1}, Lcom/imo/xui/widget/item/XItemView;->getDivider()Landroid/view/View;
move-result-object p2
const v0, 0x7f04033e
const-string v2, "background"
invoke-static {p0, p2, v2, v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 399
invoke-virtual {p1}, Lcom/imo/xui/widget/item/XItemView;->getAccessoryType()I
move-result p2
if-nez p2, :cond_38
.line 400
invoke-virtual {p1}, Lcom/imo/xui/widget/item/XItemView;->getAccessoryView()Landroid/view/View;
move-result-object p1
.line 401
instance-of p2, p1, Landroid/widget/ImageView;
if-eqz p2, :cond_38
const p2, 0x7f040354
.line 402
invoke-static {p0, p1, v1, p2}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
:cond_38
return-void
.end method
.method private a(Ljava/lang/String;)V
.registers 4
.line 462
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->Z:Ljava/lang/String;
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_9
return-void
.line 466
:cond_9
iput-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->Z:Ljava/lang/String;
.line 467
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->l:Lcom/airbnb/lottie/LottieAnimationView;
const/4 v1, -0x1
invoke-virtual {v0, v1}, Lcom/airbnb/lottie/LottieAnimationView;->setRepeatCount(I)V
.line 469
:try_start_11
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->Y:Lcom/airbnb/lottie/h;
if-nez v0, :cond_23
.line 470
new-instance v0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$6;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$6;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)V
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->Y:Lcom/airbnb/lottie/h;
.line 482
new-instance v0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$7;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$7;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)V
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->X:Lcom/airbnb/lottie/h;
.line 493
:cond_23
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->W:Lcom/airbnb/lottie/k;
if-eqz v0, :cond_35
.line 494
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->W:Lcom/airbnb/lottie/k;
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->Y:Lcom/airbnb/lottie/h;
invoke-virtual {v0, v1}, Lcom/airbnb/lottie/k;->d(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/k;
.line 495
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->W:Lcom/airbnb/lottie/k;
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->X:Lcom/airbnb/lottie/h;
invoke-virtual {v0, v1}, Lcom/airbnb/lottie/k;->b(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/k;
.line 498
:cond_35
new-instance v0, Ljava/util/zip/ZipInputStream;
.line 5034
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/component/BaseProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object v1
.line 499
invoke-virtual {v1}, Landroidx/fragment/app/FragmentActivity;->getAssets()Landroid/content/res/AssetManager;
move-result-object v1
invoke-virtual {v1, p1}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;
move-result-object v1
invoke-direct {v0, v1}, Ljava/util/zip/ZipInputStream;-><init>(Ljava/io/InputStream;)V
invoke-static {v0, p1}, Lcom/airbnb/lottie/e;->a(Ljava/util/zip/ZipInputStream;Ljava/lang/String;)Lcom/airbnb/lottie/k;
move-result-object p1
iput-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->W:Lcom/airbnb/lottie/k;
.line 500
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->X:Lcom/airbnb/lottie/h;
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/k;->a(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/k;
.line 501
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->W:Lcom/airbnb/lottie/k;
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->Y:Lcom/airbnb/lottie/h;
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/k;->c(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/k;
:try_end_58
.catch Ljava/lang/Exception; {:try_start_11 .. :try_end_58} :catch_59
return-void
:catch_59
move-exception p1
.line 6021
invoke-static {}, Lcom/imo/android/imoim/profile/a/c$a;->a()Lcom/imo/android/imoim/profile/a/c;
const/4 v0, 0x0
.line 504
invoke-static {v0}, Lcom/imo/android/imoim/profile/a/c;->a(Z)V
.line 505
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "load lottie anim zip file failed: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const/4 v0, 0x1
const-string v1, "ProfileBackgroundComponent"
.line 6079
invoke-static {v1, p1, v0}, Lcom/imo/android/imoim/util/bt;->a(Ljava/lang/String;Ljava/lang/String;Z)V
.line 506
iget-boolean p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz p1, :cond_86
.line 507
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->l:Lcom/airbnb/lottie/LottieAnimationView;
const v0, 0x7f0805f8
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setImageResource(I)V
return-void
.line 509
:cond_86
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->l:Lcom/airbnb/lottie/LottieAnimationView;
const v0, 0x7f0805f7
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setImageResource(I)V
return-void
.end method
.method private a(Z)V
.registers 9
const/4 v0, 0x2
if-nez p1, :cond_1c
.line 519
invoke-static {}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->n()Landroid/graphics/drawable/Drawable;
move-result-object p1
.line 520
iget-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v1, :cond_19
.line 521
new-instance v1, Landroid/graphics/drawable/GradientDrawable;
sget-object v2, Landroid/graphics/drawable/GradientDrawable$Orientation;->TOP_BOTTOM:Landroid/graphics/drawable/GradientDrawable$Orientation;
new-array v0, v0, [I
fill-array-data v0, :array_dc
invoke-direct {v1, v2, v0}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V
goto/16 :goto_b2
:cond_19
const/4 v1, 0x0
goto/16 :goto_b2
:cond_1c
const/4 p1, 0x1
.line 525
:try_start_1d
iget v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v1}, Landroid/graphics/Color;->alpha(I)I
move-result v1
int-to-float v1, v1
const v2, 0x3f666666 # 0.9f
mul-float v1, v1, v2
float-to-int v1, v1
.line 526
iget v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v2}, Landroid/graphics/Color;->red(I)I
move-result v2
iget v3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v3}, Landroid/graphics/Color;->green(I)I
move-result v3
iget v4, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v4}, Landroid/graphics/Color;->blue(I)I
move-result v4
invoke-static {v1, v2, v3, v4}, Landroid/graphics/Color;->argb(IIII)I
move-result v2
.line 527
div-int/2addr v1, v0
iget v3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v3}, Landroid/graphics/Color;->red(I)I
move-result v3
iget v4, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v4}, Landroid/graphics/Color;->green(I)I
move-result v4
iget v5, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v5}, Landroid/graphics/Color;->blue(I)I
move-result v5
invoke-static {v1, v3, v4, v5}, Landroid/graphics/Color;->argb(IIII)I
move-result v1
const/4 v3, 0x5
.line 528
invoke-static {v3}, Lcom/imo/android/imoim/util/ei;->a(I)I
move-result v3
int-to-float v3, v3
invoke-static {v2, v1, v3}, Lcom/imo/android/imoim/util/en;->a(IIF)Landroid/graphics/drawable/Drawable;
move-result-object v1
.line 530
iget v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v2}, Landroid/graphics/Color;->alpha(I)I
move-result v2
mul-int/lit8 v2, v2, 0x28
div-int/lit8 v2, v2, 0x64
iget v3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v3}, Landroid/graphics/Color;->red(I)I
move-result v3
iget v4, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v4}, Landroid/graphics/Color;->green(I)I
move-result v4
iget v5, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v5}, Landroid/graphics/Color;->blue(I)I
move-result v5
invoke-static {v2, v3, v4, v5}, Landroid/graphics/Color;->argb(IIII)I
move-result v2
.line 531
new-instance v3, Landroid/graphics/drawable/GradientDrawable;
sget-object v4, Landroid/graphics/drawable/GradientDrawable$Orientation;->TOP_BOTTOM:Landroid/graphics/drawable/GradientDrawable$Orientation;
new-array v5, v0, [I
const/4 v6, 0x0
aput v6, v5, v6
aput v2, v5, p1
invoke-direct {v3, v4, v5}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V
:try_end_8f
.catch Ljava/lang/Exception; {:try_start_1d .. :try_end_8f} :catch_92
move-object p1, v1
move-object v1, v3
goto :goto_b2
:catch_92
move-exception v1
.line 533
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
const-string v2, "setBackground parseColor error:"
invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
const-string v2, "ProfileBackgroundComponent"
.line 7079
invoke-static {v2, v1, p1}, Lcom/imo/android/imoim/util/bt;->a(Ljava/lang/String;Ljava/lang/String;Z)V
.line 534
invoke-static {}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->n()Landroid/graphics/drawable/Drawable;
move-result-object p1
.line 535
new-instance v1, Landroid/graphics/drawable/GradientDrawable;
sget-object v2, Landroid/graphics/drawable/GradientDrawable$Orientation;->TOP_BOTTOM:Landroid/graphics/drawable/GradientDrawable$Orientation;
new-array v0, v0, [I
fill-array-data v0, :array_e4
invoke-direct {v1, v2, v0}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V
:goto_b2
if-eqz p1, :cond_d5
.line 540
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->A:Landroid/view/View;
if-eqz v0, :cond_bb
.line 541
invoke-virtual {v0, p1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
.line 544
:cond_bb
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a_:Lcom/imo/android/core/component/c/a;
check-cast v0, Lcom/imo/android/core/a/b;
invoke-interface {v0}, Lcom/imo/android/core/a/b;->g()Lcom/imo/android/core/component/b/d;
move-result-object v0
const-class v2, Lcom/imo/android/imoim/profile/component/a;
invoke-interface {v0, v2}, Lcom/imo/android/core/component/b/d;->b(Ljava/lang/Class;)Lcom/imo/android/core/component/b/b;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/profile/component/a;
if-eqz v0, :cond_d0
.line 546
invoke-interface {v0, p1}, Lcom/imo/android/imoim/profile/component/a;->a(Landroid/graphics/drawable/Drawable;)V
.line 549
:cond_d0
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->r:Landroid/view/View;
invoke-virtual {v0, p1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
.line 552
:cond_d5
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->s:Landroid/view/View;
invoke-virtual {p1, v1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
return-void
nop
:array_dc
.array-data 4
0x0
-0x67000000
.end array-data
:array_e4
.array-data 4
0x0
-0x67000000
.end array-data
.end method
.method static synthetic b(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Landroidx/fragment/app/FragmentActivity;
.registers 1
.line 10034
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/component/BaseProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object p0
return-object p0
.end method
.method private b(I)V
.registers 9
.line 562
iput p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->ab:I
.line 564
iget v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->V:I
const/high16 v1, 0x3f800000 # 1.0f
if-le p1, v0, :cond_17
.line 565
iget v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->U:I
if-ge p1, v2, :cond_14
sub-int/2addr p1, v0
int-to-float p1, p1
mul-float p1, p1, v1
sub-int/2addr v2, v0
int-to-float v0, v2
div-float/2addr p1, v0
goto :goto_18
:cond_14
const/high16 p1, 0x3f800000 # 1.0f
goto :goto_18
:cond_17
const/4 p1, 0x0
.line 572
:goto_18
iget-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
const/high16 v2, 0x437f0000 # 255.0f
if-eqz v0, :cond_5e
.line 573
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->c:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
mul-float v3, p1, v2
float-to-double v3, v3
const-wide/high16 v5, 0x3fe0000000000000L # 0.5
invoke-static {v3, v4}, Ljava/lang/Double;->isNaN(D)Z
mul-double v3, v3, v5
double-to-int v3, v3
const/4 v4, 0x0
invoke-static {v3, v4, v4, v4}, Landroid/graphics/Color;->argb(IIII)I
move-result v3
invoke-virtual {v0, v3}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setBackgroundColor(I)V
.line 574
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->g:Lcom/imo/android/imoim/fresco/ImoImageView;
sub-float/2addr v1, p1
mul-float v1, v1, v2
float-to-double v1, v1
const-wide v3, 0x3fd3333333333333L # 0.3
invoke-static {v1, v2}, Ljava/lang/Double;->isNaN(D)Z
mul-double v1, v1, v3
double-to-int p1, v1
iget v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
.line 575
invoke-static {v1}, Landroid/graphics/Color;->red(I)I
move-result v1
iget v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v2}, Landroid/graphics/Color;->green(I)I
move-result v2
iget v3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
invoke-static {v3}, Landroid/graphics/Color;->blue(I)I
move-result v3
.line 574
invoke-static {p1, v1, v2, v3}, Landroid/graphics/Color;->argb(IIII)I
move-result p1
invoke-virtual {v0, p1}, Lcom/imo/android/imoim/fresco/ImoImageView;->setBackgroundColor(I)V
return-void
:cond_5e
mul-float v2, v2, p1
float-to-int v0, v2
const/16 v2, 0xff
.line 577
invoke-static {v0, v2, v2, v2}, Landroid/graphics/Color;->argb(IIII)I
move-result v0
.line 578
iget-object v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->c:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
sub-float/2addr v1, p1
invoke-virtual {v2, v1}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setAlpha(F)V
.line 579
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b:Landroid/view/View;
invoke-virtual {v1, p1}, Landroid/view/View;->setAlpha(F)V
.line 580
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b:Landroid/view/View;
invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundColor(I)V
return-void
.end method
.method private b(Landroid/graphics/drawable/Drawable;ZLjava/lang/String;)V
.registers 7
const/4 v0, 0x0
.line 633
iput-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->R:Z
const/4 v1, 0x1
.line 634
iput-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
const/high16 v2, -0x1000000
.line 635
iput v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
.line 636
iget-object v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->P:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;
invoke-interface {v2, v1}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;->a(Z)V
.line 639
:try_start_f
invoke-static {p3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result p3
.line 640
iput p3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
:try_end_15
.catch Ljava/lang/Exception; {:try_start_f .. :try_end_15} :catch_16
goto :goto_17
:catch_16
const/4 v1, 0x0
.line 645
:goto_17
invoke-direct {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->o()V
const/16 p3, 0x8
if-eqz p2, :cond_35
.line 647
iget-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->g:Lcom/imo/android/imoim/fresco/ImoImageView;
invoke-virtual {p2, p3}, Lcom/imo/android/imoim/fresco/ImoImageView;->setVisibility(I)V
.line 648
iget-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
const/high16 v2, -0x67000000
invoke-virtual {p2, v2}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setBackgroundColor(I)V
.line 649
iget-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->E:Landroid/view/View;
invoke-virtual {p2, v2}, Landroid/view/View;->setBackgroundColor(I)V
.line 650
iget-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->F:Landroidx/viewpager/widget/ViewPager;
invoke-virtual {p2, v2}, Landroidx/viewpager/widget/ViewPager;->setBackgroundColor(I)V
goto :goto_49
.line 652
:cond_35
iget-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->g:Lcom/imo/android/imoim/fresco/ImoImageView;
invoke-virtual {p2, v0}, Lcom/imo/android/imoim/fresco/ImoImageView;->setVisibility(I)V
.line 653
iget-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
invoke-virtual {p2, v0}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setBackgroundColor(I)V
.line 654
iget-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->E:Landroid/view/View;
invoke-virtual {p2, v0}, Landroid/view/View;->setBackgroundColor(I)V
.line 655
iget-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->F:Landroidx/viewpager/widget/ViewPager;
invoke-virtual {p2, v0}, Landroidx/viewpager/widget/ViewPager;->setBackgroundColor(I)V
.line 657
:goto_49
iget-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->n:Landroid/view/View;
invoke-virtual {p2, p1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
.line 658
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->f:Lcom/imo/android/imoim/fresco/ImoImageView;
const/4 p2, 0x0
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/fresco/ImoImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
.line 659
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->f:Lcom/imo/android/imoim/fresco/ImoImageView;
invoke-static {p1, p3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Landroid/view/View;I)V
.line 660
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->e:Landroid/view/View;
invoke-static {p1, p3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Landroid/view/View;I)V
.line 661
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b:Landroid/view/View;
invoke-static {p1, p3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Landroid/view/View;I)V
.line 662
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->c:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
const/high16 p2, 0x3f800000 # 1.0f
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setAlpha(F)V
.line 663
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->c:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
const/high16 p2, -0x78000000
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setBackgroundColor(I)V
.line 664
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->g:Lcom/imo/android/imoim/fresco/ImoImageView;
const/high16 p2, 0x4d000000 # 1.34217728E8f
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/fresco/ImoImageView;->setBackgroundColor(I)V
.line 665
invoke-direct {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->l()V
.line 666
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->g()V
.line 667
invoke-direct {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m()V
.line 668
invoke-direct {p0, v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b(Z)V
.line 669
invoke-direct {p0, v1}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Z)V
.line 670
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->B:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
if-eqz p1, :cond_91
const p2, 0x3f666666 # 0.9f
.line 671
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setAlpha(F)V
.line 674
:cond_91
invoke-direct {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->k()V
return-void
.end method
.method private b(Z)V
.registers 4
.line 834
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->O:Landroidx/lifecycle/LiveData;
if-eqz v0, :cond_c
.line 835
new-instance v1, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$10;
invoke-direct {v1, p0, p1}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$10;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;Z)V
invoke-virtual {v0, p0, v1}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
:cond_c
return-void
.end method
.method static synthetic c(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Z
.registers 2
const/4 v0, 0x1
.line 82
iput-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->Q:Z
return v0
.end method
.method static synthetic d(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Z
.registers 1
.line 82
iget-boolean p0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->R:Z
return p0
.end method
.method static synthetic e(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Z
.registers 1
.line 82
iget-boolean p0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->Q:Z
return p0
.end method
.method static synthetic f(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Z
.registers 1
.line 82
iget-boolean p0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
return p0
.end method
.method static synthetic g(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Landroidx/lifecycle/LiveData;
.registers 1
.line 82
iget-object p0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->M:Landroidx/lifecycle/LiveData;
return-object p0
.end method
.method static synthetic h(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Z
.registers 2
const/4 v0, 0x0
.line 82
iput-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->R:Z
return v0
.end method
.method static synthetic i(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Landroidx/fragment/app/FragmentActivity;
.registers 1
.line 11034
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/component/BaseProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object p0
return-object p0
.end method
.method static synthetic j(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Landroidx/fragment/app/FragmentActivity;
.registers 1
.line 12034
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/component/BaseProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object p0
return-object p0
.end method
.method private k()V
.registers 4
const/4 v0, 0x0
.line 246
:goto_1
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->aa:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
if-ge v0, v1, :cond_19
.line 247
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->aa:Ljava/util/List;
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$b;
iget-boolean v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
invoke-interface {v1, v2}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$b;->a(Z)V
add-int/lit8 v0, v0, 0x1
goto :goto_1
:cond_19
return-void
.end method
.method private l()V
.registers 2
.line 558
iget v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->ab:I
invoke-direct {p0, v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b(I)V
return-void
.end method
.method public static synthetic lambda$V7llTPvrsIwkhNakP67Y4s9MYyU(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;Lcom/google/android/material/appbar/AppBarLayout;I)V
.registers 3
invoke-direct {p0, p1, p2}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/google/android/material/appbar/AppBarLayout;I)V
return-void
.end method
.method private m()V
.registers 4
.line 585
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->o:Landroidx/constraintlayout/widget/Guideline;
invoke-virtual {v0}, Landroidx/constraintlayout/widget/Guideline;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
.line 586
iget-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v1, :cond_1e
.line 587
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object v1
invoke-virtual {v1}, Landroidx/fragment/app/FragmentActivity;->getResources()Landroid/content/res/Resources;
move-result-object v1
const v2, 0x7f070148
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
move-result v1
iput v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->guideBegin:I
goto :goto_2f
.line 589
:cond_1e
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object v1
invoke-virtual {v1}, Landroidx/fragment/app/FragmentActivity;->getResources()Landroid/content/res/Resources;
move-result-object v1
const v2, 0x7f070149
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I
move-result v1
iput v1, v0, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->guideBegin:I
.line 591
:goto_2f
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->o:Landroidx/constraintlayout/widget/Guideline;
invoke-virtual {v1, v0}, Landroidx/constraintlayout/widget/Guideline;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
return-void
.end method
.method private static n()Landroid/graphics/drawable/Drawable;
.registers 3
const/4 v0, 0x5
.line 708
invoke-static {v0}, Lcom/imo/android/imoim/util/ei;->a(I)I
move-result v0
int-to-float v0, v0
const v1, -0x26ff6201
const v2, -0x4cff6201
invoke-static {v1, v2, v0}, Lcom/imo/android/imoim/util/en;->a(IIF)Landroid/graphics/drawable/Drawable;
move-result-object v0
return-object v0
.end method
.method private o()V
.registers 3
.line 9034
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/component/BaseProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
if-eqz v0, :cond_c
const v1, 0x7f100195
.line 721
invoke-virtual {v0, v1}, Landroid/app/Activity;->setTheme(I)V
:cond_c
return-void
.end method
# virtual methods
.method public final a(Landroid/graphics/drawable/Drawable;ZLjava/lang/String;)V
.registers 6
.line 618
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v0
invoke-virtual {v0}, Landroid/os/Looper;->getThread()Ljava/lang/Thread;
move-result-object v0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v1
if-ne v0, v1, :cond_12
.line 619
invoke-direct {p0, p1, p2, p3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b(Landroid/graphics/drawable/Drawable;ZLjava/lang/String;)V
return-void
.line 621
:cond_12
new-instance v0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$9;
invoke-direct {v0, p0, p1, p2, p3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$9;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;Landroid/graphics/drawable/Drawable;ZLjava/lang/String;)V
invoke-static {v0}, Lcom/imo/android/imoim/util/ec;->a(Ljava/lang/Runnable;)V
return-void
.end method
.method public final a(Landroid/view/View$OnClickListener;)V
.registers 4
.line 857
invoke-static {}, Lcom/imo/android/imoim/util/ei;->by()Z
move-result v0
if-eqz v0, :cond_14
sget-object v0, Lcom/imo/android/imoim/util/df$aq;->PROFILE_MUSICPENDANT_ADD_SINGBOXMUSIC_GUIDE:Lcom/imo/android/imoim/util/df$aq;
const/4 v1, 0x1
.line 858
invoke-static {v0, v1}, Lcom/imo/android/imoim/util/v;->a(Ljava/lang/Enum;Z)Z
move-result v0
if-eqz v0, :cond_14
.line 859
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->G:Landroid/view/View;
invoke-virtual {v0, p1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
:cond_14
return-void
.end method
.method public final a(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$b;)V
.registers 3
.line 233
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->aa:Ljava/util/List;
invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_13
.line 237
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->aa:Ljava/util/List;
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
.line 238
iget-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
invoke-interface {p1, v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$b;->a(Z)V
return-void
.line 234
:cond_13
new-instance p1, Ljava/lang/RuntimeException;
const-string v0, "the listener has been added!"
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public final b()V
.registers 1
return-void
.end method
.method public final b(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$b;)V
.registers 3
.line 242
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->aa:Ljava/util/List;
invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
return-void
.end method
.method public final c()V
.registers 12
.line 173
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f09113a
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b:Landroid/view/View;
.line 174
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f091137 # 1.8219362E38f
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/views/OverbearingLinearLayout;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->c:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
.line 175
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090c6a
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/profile/musicpendant/MusicPendantView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->d:Lcom/imo/android/imoim/profile/musicpendant/MusicPendantView;
.line 176
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090dcc
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->e:Landroid/view/View;
.line 177
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090dce
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/fresco/ImoImageView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->f:Lcom/imo/android/imoim/fresco/ImoImageView;
.line 178
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090dcf
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/fresco/ImoImageView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->g:Lcom/imo/android/imoim/fresco/ImoImageView;
.line 179
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f091573
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->h:Landroid/view/View;
.line 180
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f091575
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->i:Landroid/view/View;
.line 181
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f09148a
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->j:Landroid/widget/TextView;
.line 182
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f091574
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->k:Landroid/view/View;
.line 183
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f091572
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/airbnb/lottie/LottieAnimationView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->l:Lcom/airbnb/lottie/LottieAnimationView;
.line 184
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090dc6
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/views/OverbearingLinearLayout;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
.line 185
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090110
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->n:Landroid/view/View;
.line 186
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f0906af
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroidx/constraintlayout/widget/Guideline;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->o:Landroidx/constraintlayout/widget/Guideline;
.line 187
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f0900f5
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->p:Landroid/view/View;
.line 188
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f0900ee
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/fresco/XCircleImageView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->q:Lcom/imo/android/imoim/fresco/XCircleImageView;
.line 189
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090076
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->r:Landroid/view/View;
.line 190
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f0901ae
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->s:Landroid/view/View;
.line 191
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090674
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/xui/widget/item/XItemView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->t:Lcom/imo/xui/widget/item/XItemView;
.line 192
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f09039d
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/xui/widget/item/XItemView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->u:Lcom/imo/xui/widget/item/XItemView;
.line 193
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f091585
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/xui/widget/item/XItemView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->v:Lcom/imo/xui/widget/item/XItemView;
.line 194
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f09107a
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/xui/widget/item/XItemView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->w:Lcom/imo/xui/widget/item/XItemView;
.line 195
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090414
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/xui/widget/item/XItemView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->x:Lcom/imo/xui/widget/item/XItemView;
.line 196
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090182
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/xui/widget/item/XItemView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->y:Lcom/imo/xui/widget/item/XItemView;
.line 197
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f0909d1
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->z:Landroid/widget/ImageView;
.line 198
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f0902b9
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->A:Landroid/view/View;
.line 199
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f090652
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/views/OverbearingLinearLayout;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->B:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
.line 200
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f09024f
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->C:Landroid/view/View;
.line 201
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f0906a8
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/google/android/material/appbar/AppBarLayout;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->D:Lcom/google/android/material/appbar/AppBarLayout;
.line 202
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f091073
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->E:Landroid/view/View;
.line 203
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f091525
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroidx/viewpager/widget/ViewPager;
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->F:Landroidx/viewpager/widget/ViewPager;
.line 204
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->K:Landroid/view/View;
const v1, 0x7f09024d
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->G:Landroid/view/View;
.line 205
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->E:Landroid/view/View;
invoke-static {}, Lcom/imo/android/imoim/world/util/ad;->c()Z
move-result v1
if-eqz v1, :cond_190
const/4 v1, 0x0
goto :goto_191
:cond_190
const/4 v1, 0x4
:goto_191
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 1034
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/component/BaseProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
.line 208
instance-of v1, v0, Lcom/imo/android/imoim/skin/SkinActivity;
const/4 v2, 0x1
if-eqz v1, :cond_2e5
.line 209
check-cast v0, Lcom/imo/android/imoim/skin/SkinActivity;
.line 1255
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->D:Lcom/google/android/material/appbar/AppBarLayout;
new-instance v3, Lcom/imo/android/imoim/profile/background/-$$Lambda$ProfileBackgroundComponent$V7llTPvrsIwkhNakP67Y4s9MYyU;
invoke-direct {v3, p0}, Lcom/imo/android/imoim/profile/background/-$$Lambda$ProfileBackgroundComponent$V7llTPvrsIwkhNakP67Y4s9MYyU;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)V
invoke-virtual {v1, v3}, Lcom/google/android/material/appbar/AppBarLayout;->addOnOffsetChangedListener(Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;)V
.line 1256
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->O:Landroidx/lifecycle/LiveData;
if-eqz v1, :cond_1b5
.line 1257
new-instance v3, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$1;
invoke-direct {v3, p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$1;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)V
invoke-virtual {v1, p0, v3}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
.line 1281
:cond_1b5
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->N:Landroidx/lifecycle/LiveData;
new-instance v3, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$3;
invoke-direct {v3, p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$3;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)V
invoke-virtual {v1, p0, v3}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
.line 1294
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->M:Landroidx/lifecycle/LiveData;
new-instance v3, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$4;
invoke-direct {v3, p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$4;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)V
invoke-virtual {v1, p0, v3}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
.line 1307
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
new-instance v3, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;
invoke-direct {v3, p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)V
invoke-virtual {v1, v3}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
.line 1334
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->p:Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v1
check-cast v1, Landroid/view/ViewGroup$MarginLayoutParams;
const/16 v3, 0x50
.line 1335
invoke-static {v3}, Lcom/imo/android/imoim/util/ei;->a(I)I
move-result v3
iput v3, v1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
.line 1336
iget-object v3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->p:Landroid/view/View;
invoke-virtual {v3, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
.line 1338
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->h:Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v1
check-cast v1, Landroid/view/ViewGroup$MarginLayoutParams;
const/16 v3, 0xa
.line 1339
invoke-static {v3}, Lcom/imo/android/imoim/util/ei;->a(I)I
move-result v3
iput v3, v1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
.line 1340
iget-object v3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->h:Landroid/view/View;
invoke-virtual {v3, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
.line 213
iget-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->L:Z
if-nez v1, :cond_2e5
.line 1355
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->w:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getTitleTv()Landroid/widget/TextView;
move-result-object v1
const v3, 0x7f04034b
const-string v4, "textColor"
invoke-static {v0, v1, v4, v3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1356
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->w:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getDrawableView()Lcom/imo/xui/widget/image/XCircleImageView;
move-result-object v1
const v5, 0x7f04034a
const-string v6, "src"
invoke-static {v0, v1, v6, v5}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1357
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->w:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getDescriptionTv()Landroid/widget/TextView;
move-result-object v1
const v5, 0x7f04034c
invoke-static {v0, v1, v4, v5}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1358
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->w:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getDivider()Landroid/view/View;
move-result-object v1
const v7, 0x7f04033e
const-string v8, "background"
invoke-static {v0, v1, v8, v7}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1359
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->w:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getAccessoryType()I
move-result v1
const v9, 0x7f040354
if-nez v1, :cond_24f
.line 1360
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->w:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getAccessoryView()Landroid/view/View;
move-result-object v1
.line 1361
instance-of v10, v1, Landroid/widget/ImageView;
if-eqz v10, :cond_24f
.line 1362
invoke-static {v0, v1, v6, v9}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1366
:cond_24f
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->x:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getTitleTv()Landroid/widget/TextView;
move-result-object v1
invoke-static {v0, v1, v4, v3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1367
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->x:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getDrawableView()Lcom/imo/xui/widget/image/XCircleImageView;
move-result-object v1
const v10, 0x7f04033d
invoke-static {v0, v1, v6, v10}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1368
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->x:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getDivider()Landroid/view/View;
move-result-object v1
invoke-static {v0, v1, v8, v7}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1369
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->x:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getDivider()Landroid/view/View;
move-result-object v1
invoke-static {v0, v1, v8, v7}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1370
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->x:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getAccessoryType()I
move-result v1
if-nez v1, :cond_28b
.line 1371
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->x:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getAccessoryView()Landroid/view/View;
move-result-object v1
.line 1372
instance-of v10, v1, Landroid/widget/ImageView;
if-eqz v10, :cond_28b
.line 1373
invoke-static {v0, v1, v6, v9}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1376
:cond_28b
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->y:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getTitleTv()Landroid/widget/TextView;
move-result-object v1
invoke-static {v0, v1, v4, v3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1377
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->y:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getDrawableView()Lcom/imo/xui/widget/image/XCircleImageView;
move-result-object v1
const v3, 0x7f040333
invoke-static {v0, v1, v6, v3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1378
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->y:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getDivider()Landroid/view/View;
move-result-object v1
invoke-static {v0, v1, v8, v7}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1379
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->y:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getAccessoryType()I
move-result v1
if-ne v1, v2, :cond_2bd
.line 1380
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->y:Lcom/imo/xui/widget/item/XItemView;
invoke-virtual {v1}, Lcom/imo/xui/widget/item/XItemView;->getCheckBox()Landroid/widget/CheckBox;
move-result-object v1
const v3, 0x7f040356
invoke-static {v0, v1, v8, v3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Landroid/view/View;Ljava/lang/String;I)V
.line 1383
:cond_2bd
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->t:Lcom/imo/xui/widget/item/XItemView;
const v3, 0x7f040344
invoke-static {v0, v1, v3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Lcom/imo/xui/widget/item/XItemView;I)V
.line 1384
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->v:Lcom/imo/xui/widget/item/XItemView;
const v3, 0x7f04034e
invoke-static {v0, v1, v3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Lcom/imo/xui/widget/item/XItemView;I)V
.line 1385
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->u:Lcom/imo/xui/widget/item/XItemView;
const v3, 0x7f04033c
invoke-static {v0, v1, v3}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Lcom/imo/android/imoim/skin/SkinActivity;Lcom/imo/xui/widget/item/XItemView;I)V
.line 1387
new-instance v1, Lcom/imo/android/imoim/skin/a;
const-string v3, "tint"
invoke-direct {v1, v3, v5}, Lcom/imo/android/imoim/skin/a;-><init>(Ljava/lang/String;I)V
.line 1388
iget-object v3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->z:Landroid/widget/ImageView;
invoke-static {v1}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
move-result-object v1
.line 2052
invoke-static {v0, v3, v1}, Lcom/imo/android/imoim/skin/d;->a(Landroid/app/Activity;Landroid/view/View;Ljava/util/List;)V
.line 221
:cond_2e5
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->D:Lcom/google/android/material/appbar/AppBarLayout;
invoke-virtual {v0}, Lcom/google/android/material/appbar/AppBarLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroidx/coordinatorlayout/widget/CoordinatorLayout$LayoutParams;
.line 222
invoke-virtual {v0}, Landroidx/coordinatorlayout/widget/CoordinatorLayout$LayoutParams;->getBehavior()Landroidx/coordinatorlayout/widget/CoordinatorLayout$Behavior;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/world/worldnews/coordinator/SpecificAppBarLayoutBehaviorForProfile;
if-eqz v0, :cond_2fc
.line 224
invoke-static {}, Lcom/imo/android/imoim/world/util/ad;->c()Z
move-result v1
xor-int/2addr v1, v2
.line 3011
iput-boolean v1, v0, Lcom/imo/android/imoim/world/worldnews/coordinator/SpecificAppBarLayoutBehaviorForProfile;->a:Z
:cond_2fc
return-void
.end method
.method public final d()Ljava/lang/Class;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;",
">;"
}
.end annotation
.line 749
const-class v0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
return-object v0
.end method
.method public final f(Landroidx/lifecycle/LifecycleOwner;)V
.registers 3
.line 736
invoke-super {p0, p1}, Lcom/imo/android/imoim/profile/component/BaseProfileComponent;->f(Landroidx/lifecycle/LifecycleOwner;)V
.line 738
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->W:Lcom/airbnb/lottie/k;
if-eqz p1, :cond_13
.line 739
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->Y:Lcom/airbnb/lottie/h;
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/k;->d(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/k;
.line 740
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->W:Lcom/airbnb/lottie/k;
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->X:Lcom/airbnb/lottie/h;
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/k;->b(Lcom/airbnb/lottie/h;)Lcom/airbnb/lottie/k;
.line 742
:cond_13
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->l:Lcom/airbnb/lottie/LottieAnimationView;
if-eqz p1, :cond_1b
const/4 v0, 0x0
.line 743
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/LottieAnimationView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
:cond_1b
return-void
.end method
.method public final g()V
.registers 10
.line 409
invoke-static {}, Lcom/imo/android/imoim/util/ei;->bO()Z
move-result v0
.line 410
iget-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->L:Z
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz v1, :cond_2c
.line 3452
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->N:Landroidx/lifecycle/LiveData;
invoke-virtual {v1}, Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/imo/android/imoim/profile/viewmodel/b;
if-eqz v1, :cond_28
.line 4113
iget-object v1, v1, Lcom/imo/android/imoim/profile/viewmodel/b;->e:Lcom/imo/android/imoim/profile/visitor/c;
.line 3455
sget-object v4, Lcom/imo/android/imoim/util/df$ad;->LAST_UPDATE_VISITOR_NUM_TS:Lcom/imo/android/imoim/util/df$ad;
const-wide/16 v5, 0x0
invoke-static {v4, v5, v6}, Lcom/imo/android/imoim/util/df;->a(Ljava/lang/Enum;J)J
move-result-wide v4
if-eqz v1, :cond_28
.line 3456
iget-wide v6, v1, Lcom/imo/android/imoim/profile/visitor/c;->b:J
cmp-long v1, v6, v4
if-lez v1, :cond_28
const/4 v1, 0x1
goto :goto_29
:cond_28
const/4 v1, 0x0
:goto_29
if-eqz v1, :cond_2c
goto :goto_2d
:cond_2c
const/4 v2, 0x0
:goto_2d
const-string v1, "lottie/has_visitor_trans_abnew.zip"
const v4, -0x777778
const v5, 0x7f080841
const v6, 0x7f080840
const/16 v7, 0x8
const/4 v8, -0x1
if-eqz v0, :cond_be
if-nez v2, :cond_71
.line 413
iget-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->J:Z
if-nez v0, :cond_71
iget-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->I:Z
if-eqz v0, :cond_48
goto :goto_71
.line 426
:cond_48
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->k:Landroid/view/View;
invoke-virtual {v0, v7}, Landroid/view/View;->setVisibility(I)V
.line 427
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->i:Landroid/view/View;
iget-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v1, :cond_54
goto :goto_57
:cond_54
const v5, 0x7f080840
:goto_57
invoke-virtual {v0, v5}, Landroid/view/View;->setBackgroundResource(I)V
.line 428
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->j:Landroid/widget/TextView;
iget-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v1, :cond_61
const/4 v4, -0x1
:cond_61
invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(I)V
.line 429
iget-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v0, :cond_6b
const-string v0, "lottie/no_visitor_trans_abnew.zip"
goto :goto_6d
:cond_6b
const-string v0, "lottie/no_visitor_abnew.zip"
:goto_6d
invoke-direct {p0, v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Ljava/lang/String;)V
return-void
.line 414
:cond_71
:goto_71
iget-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->J:Z
if-eqz v0, :cond_91
.line 415
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->k:Landroid/view/View;
invoke-virtual {v0, v7}, Landroid/view/View;->setVisibility(I)V
.line 416
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->i:Landroid/view/View;
iget-boolean v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v2, :cond_84
const v2, 0x7f08083b
goto :goto_87
:cond_84
const v2, 0x7f08083a
:goto_87
invoke-virtual {v0, v2}, Landroid/view/View;->setBackgroundResource(I)V
.line 417
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->j:Landroid/widget/TextView;
invoke-virtual {v0, v8}, Landroid/widget/TextView;->setTextColor(I)V
goto/16 :goto_100
.line 420
:cond_91
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->k:Landroid/view/View;
invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V
.line 421
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->i:Landroid/view/View;
iget-boolean v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v2, :cond_a0
const v2, 0x7f08083f
goto :goto_a3
:cond_a0
const v2, 0x7f08083e
:goto_a3
invoke-virtual {v0, v2}, Landroid/view/View;->setBackgroundResource(I)V
.line 422
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->j:Landroid/widget/TextView;
iget-boolean v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v2, :cond_ad
goto :goto_b0
:cond_ad
const v8, -0x8145c2
:goto_b0
invoke-virtual {v0, v8}, Landroid/widget/TextView;->setTextColor(I)V
.line 423
iget-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v0, :cond_b8
goto :goto_ba
:cond_b8
const-string v1, "lottie/has_visitor_abnew.zip"
:goto_ba
invoke-direct {p0, v1}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Ljava/lang/String;)V
return-void
.line 432
:cond_be
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->k:Landroid/view/View;
invoke-virtual {v0, v7}, Landroid/view/View;->setVisibility(I)V
if-eqz v2, :cond_e0
.line 434
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->i:Landroid/view/View;
iget-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v1, :cond_cf
const v1, 0x7f08083d
goto :goto_d2
:cond_cf
const v1, 0x7f08083c
:goto_d2
invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundResource(I)V
.line 435
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->j:Landroid/widget/TextView;
const v1, -0x8cdf
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
const-string v1, "lottie/has_visitor.zip"
goto :goto_100
.line 438
:cond_e0
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->i:Landroid/view/View;
iget-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v1, :cond_e7
goto :goto_ea
:cond_e7
const v5, 0x7f080840
:goto_ea
invoke-virtual {v0, v5}, Landroid/view/View;->setBackgroundResource(I)V
.line 439
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->j:Landroid/widget/TextView;
iget-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v1, :cond_f4
const/4 v4, -0x1
:cond_f4
invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(I)V
.line 440
iget-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
if-eqz v0, :cond_fe
const-string v1, "lottie/no_visitor_trans.zip"
goto :goto_100
:cond_fe
const-string v1, "lottie/no_visitor.zip"
:goto_100
invoke-direct {p0, v1}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Ljava/lang/String;)V
return-void
.end method
.method public final h()V
.registers 4
const/4 v0, 0x0
.line 678
iput-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->R:Z
.line 679
iput-boolean v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->H:Z
const/high16 v1, -0x1000000
.line 680
iput v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->S:I
.line 681
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->P:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;
invoke-interface {v1, v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$a;->a(Z)V
.line 8034
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/component/BaseProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object v1
if-eqz v1, :cond_1a
const v2, 0x7f1000d1
.line 7714
invoke-virtual {v1, v2}, Landroid/app/Activity;->setTheme(I)V
.line 683
:cond_1a
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->g:Lcom/imo/android/imoim/fresco/ImoImageView;
invoke-virtual {v1, v0}, Lcom/imo/android/imoim/fresco/ImoImageView;->setVisibility(I)V
.line 684
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
const v2, -0xa0a0b
invoke-virtual {v1, v2}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setBackgroundColor(I)V
.line 685
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->n:Landroid/view/View;
const v2, 0x7f060410
invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundResource(I)V
.line 686
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b:Landroid/view/View;
invoke-static {v1, v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Landroid/view/View;I)V
.line 687
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->f:Lcom/imo/android/imoim/fresco/ImoImageView;
invoke-static {v1, v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Landroid/view/View;I)V
.line 688
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->e:Landroid/view/View;
invoke-static {v1, v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Landroid/view/View;I)V
.line 689
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->c:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
invoke-virtual {v1, v0}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setBackgroundColor(I)V
.line 690
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->g:Lcom/imo/android/imoim/fresco/ImoImageView;
const/high16 v2, -0x67000000
invoke-virtual {v1, v2}, Lcom/imo/android/imoim/fresco/ImoImageView;->setBackgroundColor(I)V
.line 691
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->F:Landroidx/viewpager/widget/ViewPager;
const/4 v2, -0x1
invoke-virtual {v1, v2}, Landroidx/viewpager/widget/ViewPager;->setBackgroundColor(I)V
.line 692
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->M:Landroidx/lifecycle/LiveData;
invoke-static {v1}, Lcom/imo/android/common/mvvm/BaseViewModel;->a(Landroidx/lifecycle/LiveData;)Ljava/lang/Object;
move-result-object v1
if-eqz v1, :cond_67
.line 693
iget-object v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->f:Lcom/imo/android/imoim/fresco/ImoImageView;
iget-object v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->M:Landroidx/lifecycle/LiveData;
invoke-virtual {v2}, Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/imo/android/imoim/profile/viewmodel/user/a/c;
.line 8041
iget-object v2, v2, Lcom/imo/android/imoim/profile/viewmodel/user/a/c;->a:Ljava/lang/String;
.line 693
invoke-static {v1, v2}, Lcom/imo/android/imoim/util/ca;->a(Lcom/imo/android/imoim/fresco/ImoImageView;Ljava/lang/String;)V
.line 695
:cond_67
invoke-direct {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->l()V
.line 696
invoke-virtual {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->g()V
.line 697
invoke-direct {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m()V
const/4 v1, 0x1
.line 698
invoke-direct {p0, v1}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->b(Z)V
.line 699
invoke-direct {p0, v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Z)V
.line 700
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->B:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
if-eqz v0, :cond_80
const/high16 v1, 0x3f800000 # 1.0f
.line 701
invoke-virtual {v0, v1}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setAlpha(F)V
.line 704
:cond_80
invoke-direct {p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->k()V
return-void
.end method
.method public final i()V
.registers 3
.line 864
invoke-static {}, Lcom/imo/android/imoim/util/ei;->by()Z
move-result v0
if-eqz v0, :cond_34
sget-object v0, Lcom/imo/android/imoim/util/df$aq;->PROFILE_MUSICPENDANT_ADD_SINGBOXMUSIC_GUIDE:Lcom/imo/android/imoim/util/df$aq;
const/4 v1, 0x1
.line 865
invoke-static {v0, v1}, Lcom/imo/android/imoim/util/v;->a(Ljava/lang/Enum;Z)Z
move-result v0
if-eqz v0, :cond_34
.line 866
invoke-static {}, Lcom/imo/android/imoim/world/certification/a;->a()Z
move-result v0
if-eqz v0, :cond_34
.line 867
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->G:Landroid/view/View;
new-instance v1, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$2;
invoke-direct {v1, p0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$2;-><init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)V
invoke-virtual {v0, v1}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z
.line 891
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->G:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
move-result v0
if-eqz v0, :cond_34
.line 892
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->G:Landroid/view/View;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 893
sget-object v0, Lcom/imo/android/imoim/ringback/b;->a:Lcom/imo/android/imoim/ringback/b;
const/16 v1, 0x6a
.line 10000
invoke-static {v0, v1}, Lcom/imo/android/imoim/ringback/b;->a(Lcom/imo/android/imoim/ringback/b;I)V
:cond_34
return-void
.end method
.method public final j()V
.registers 3
.line 899
iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->G:Landroid/view/View;
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 900
sget-object v0, Lcom/imo/android/imoim/util/df$aq;->PROFILE_MUSICPENDANT_ADD_SINGBOXMUSIC_GUIDE:Lcom/imo/android/imoim/util/df$aq;
sget-object v1, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
invoke-static {v0, v1}, Lcom/imo/android/imoim/util/v;->a(Ljava/lang/Enum;Ljava/lang/Object;)V
return-void
.end method