125 lines
2.6 KiB
Smali
125 lines
2.6 KiB
Smali
.class public Lcom/moji/mjweather/weather/view/AlphaViewFlipper;
|
|
.super Lcom/moji/mjweather/weather/ViewFlipper;
|
|
.source "AlphaViewFlipper.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 17
|
|
invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/ViewFlipper;-><init>(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
.line 21
|
|
invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/ViewFlipper;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public d()V
|
|
.locals 5
|
|
|
|
.line 25
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/AlphaViewFlipper;->c()V
|
|
|
|
.line 26
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/AlphaViewFlipper;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 29
|
|
invoke-virtual {p0, v2}, Lcom/moji/mjweather/weather/view/AlphaViewFlipper;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
.line 30
|
|
invoke-virtual {v3}, Landroid/view/View;->clearAnimation()V
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
.line 32
|
|
invoke-virtual {v3, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/16 v4, 0x8
|
|
|
|
.line 34
|
|
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public e()V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 40
|
|
invoke-virtual {p0, v0}, Lcom/moji/mjweather/weather/view/AlphaViewFlipper;->setDisplayedChild(I)V
|
|
|
|
.line 41
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/AlphaViewFlipper;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-le v0, v1, :cond_0
|
|
|
|
.line 42
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/AlphaViewFlipper;->b()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public hasOverlappingRendering()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method protected onDetachedFromWindow()V
|
|
.locals 0
|
|
|
|
.line 54
|
|
:try_start_0
|
|
invoke-super {p0}, Lcom/moji/mjweather/weather/ViewFlipper;->onDetachedFromWindow()V
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 56
|
|
:catch_0
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/AlphaViewFlipper;->c()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|