.class Lcom/moji/mjweather/weather/window/LabelWindow$ViewHandler; .super Landroid/os/Handler; .source "LabelWindow.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/moji/mjweather/weather/window/LabelWindow; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0xa name = "ViewHandler" .end annotation # instance fields .field private a:Ljava/lang/ref/SoftReference; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/ref/SoftReference<", "Lcom/moji/mjweather/weather/window/LabelWindow;", ">;" } .end annotation .end field # direct methods .method constructor (Lcom/moji/mjweather/weather/window/LabelWindow;)V .locals 1 .line 314 invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper; move-result-object v0 invoke-direct {p0, v0}, Landroid/os/Handler;->(Landroid/os/Looper;)V .line 315 new-instance v0, Ljava/lang/ref/SoftReference; invoke-direct {v0, p1}, Ljava/lang/ref/SoftReference;->(Ljava/lang/Object;)V iput-object v0, p0, Lcom/moji/mjweather/weather/window/LabelWindow$ViewHandler;->a:Ljava/lang/ref/SoftReference; return-void .end method # virtual methods .method public dispatchMessage(Landroid/os/Message;)V .locals 3 .line 320 invoke-super {p0, p1}, Landroid/os/Handler;->dispatchMessage(Landroid/os/Message;)V .line 321 iget-object v0, p0, Lcom/moji/mjweather/weather/window/LabelWindow$ViewHandler;->a:Ljava/lang/ref/SoftReference; invoke-virtual {v0}, Ljava/lang/ref/SoftReference;->get()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/moji/mjweather/weather/window/LabelWindow; if-eqz v0, :cond_6 .line 323 iget v1, p1, Landroid/os/Message;->what:I const/16 v2, 0xb if-eq v1, v2, :cond_5 const/16 v2, 0x16 if-eq v1, v2, :cond_4 const/16 p1, 0x21 if-eq v1, p1, :cond_3 const/16 p1, 0x2c const/16 v2, 0x8 if-eq v1, p1, :cond_2 const/16 p1, 0x37 if-eq v1, p1, :cond_1 const/16 p1, 0x42 if-eq v1, p1, :cond_0 goto :goto_0 .line 344 :cond_0 invoke-static {v0}, Lcom/moji/mjweather/weather/window/LabelWindow;->a(Lcom/moji/mjweather/weather/window/LabelWindow;)V goto :goto_0 .line 341 :cond_1 invoke-virtual {v0, v2}, Lcom/moji/mjweather/weather/window/LabelWindow;->setVisibility(I)V goto :goto_0 .line 338 :cond_2 invoke-virtual {v0, v2}, Lcom/moji/mjweather/weather/window/LabelWindow;->setVisibility(I)V goto :goto_0 :cond_3 const/4 p1, 0x0 .line 335 invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/window/LabelWindow;->setVisibility(I)V goto :goto_0 .line 330 :cond_4 iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object; if-eqz v1, :cond_6 iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object; instance-of v1, v1, Landroid/view/View; if-eqz v1, :cond_6 .line 331 iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object; check-cast p1, Landroid/view/View; invoke-virtual {v0, p1}, Lcom/moji/mjweather/weather/window/LabelWindow;->addView(Landroid/view/View;)V goto :goto_0 .line 325 :cond_5 iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object; if-eqz v1, :cond_6 iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object; instance-of v1, v1, Landroid/view/ViewGroup; if-eqz v1, :cond_6 .line 326 iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object; check-cast p1, Landroid/view/ViewGroup; invoke-static {v0, p1}, Lcom/moji/mjweather/weather/window/LabelWindow;->a(Lcom/moji/mjweather/weather/window/LabelWindow;Landroid/view/ViewGroup;)V :cond_6 :goto_0 return-void .end method