Advertisement
dunc001

checkQSswitch

Jul 3rd, 2012
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. .method public checkQSSwitch()V
  2. .locals 5
  3.  
  4. const v4, 0x7f020383
  5.  
  6. const v3, 0x7f020382
  7.  
  8. const/4 v2, -0x1
  9.  
  10. const v1, -0x666667
  11.  
  12. iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedPage:Landroid/widget/FrameLayout;
  13.  
  14. invoke-virtual {v0}, Landroid/widget/FrameLayout;->getVisibility()I
  15.  
  16. move-result v0
  17.  
  18. if-nez v0, :cond_0
  19.  
  20. iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQSSwitchN:Landroid/widget/TextView;
  21.  
  22. invoke-virtual {v0, v3}, Landroid/widget/TextView;->setBackgroundResource(I)V
  23.  
  24. iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQSSwitchN:Landroid/widget/TextView;
  25.  
  26. invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V
  27.  
  28. iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQSSwitchQS:Landroid/widget/TextView;
  29.  
  30. invoke-virtual {v0, v4}, Landroid/widget/TextView;->setBackgroundResource(I)V
  31.  
  32. iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQSSwitchQS:Landroid/widget/TextView;
  33.  
  34. invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
  35.  
  36. :goto_0
  37. return-void
  38.  
  39. :cond_0
  40. iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQSSwitchN:Landroid/widget/TextView;
  41.  
  42. invoke-virtual {v0, v4}, Landroid/widget/TextView;->setBackgroundResource(I)V
  43.  
  44. iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQSSwitchN:Landroid/widget/TextView;
  45.  
  46. invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
  47.  
  48. iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQSSwitchQS:Landroid/widget/TextView;
  49.  
  50. invoke-virtual {v0, v3}, Landroid/widget/TextView;->setBackgroundResource(I)V
  51.  
  52. iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQSSwitchQS:Landroid/widget/TextView;
  53.  
  54. invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V
  55.  
  56. goto :goto_0
  57. .end method
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement