ProfileBackgroundComponent$5.smali
.class final Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/view/View$OnLayoutChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field a:Landroid/view/View;
.field final synthetic b:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)V
.registers 3
.line 307
iput-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;->b:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 308
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;->b:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
iget-object p1, p1, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
const v0, 0x7f090042
invoke-virtual {p1, v0}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->findViewById(I)Landroid/view/View;
move-result-object p1
iput-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;->a:Landroid/view/View;
return-void
.end method
# virtual methods
.method public final onLayoutChange(Landroid/view/View;IIIIIIII)V
.registers 10
.line 312
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;->b:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
invoke-static {p1}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->f(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Z
move-result p1
if-eqz p1, :cond_9
return-void
:cond_9
const/4 p1, 0x0
.line 318
iget-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;->b:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
iget-object p2, p2, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
iget-object p3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;->a:Landroid/view/View;
invoke-virtual {p2, p3}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->indexOfChild(Landroid/view/View;)I
move-result p2
:goto_14
iget-object p3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;->b:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
iget-object p3, p3, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
invoke-virtual {p3}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->getChildCount()I
move-result p3
const/4 p4, 0x1
sub-int/2addr p3, p4
if-ge p2, p3, :cond_33
.line 319
iget-object p3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;->b:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
iget-object p3, p3, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
invoke-virtual {p3, p2}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->getChildAt(I)Landroid/view/View;
move-result-object p3
.line 320
invoke-virtual {p3}, Landroid/view/View;->getVisibility()I
move-result p3
if-nez p3, :cond_30
const/4 p1, 0x1
goto :goto_33
:cond_30
add-int/lit8 p2, p2, 0x1
goto :goto_14
:cond_33
:goto_33
if-eqz p1, :cond_40
.line 327
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;->b:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
iget-object p1, p1, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
const p2, -0xa0a0b
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setBackgroundColor(I)V
return-void
.line 329
:cond_40
iget-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$5;->b:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
iget-object p1, p1, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->m:Lcom/imo/android/imoim/views/OverbearingLinearLayout;
const/4 p2, -0x1
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/views/OverbearingLinearLayout;->setBackgroundColor(I)V
return-void
.end method