[Galaxy S II Android Development] remuntada78:
if I wanted to implement the random notification panel background method, i thought to add it in PhoneStatusBar.smali this method

.method public randomimage()V;
.locals 6

.prologue
.line 20
new-instance v0, Ljava/util/Random;

invoke-direct {v0}, Ljava/util/Random;-><init>()V

.line 21
.local v0, rand:Ljava/util/Random;
const v1, 0x7f050001

invoke-virtual {p0, v1}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->findViewById(I)Landroid/view/View;

move-result-object v2

const/4 v3, 0x3

new-array v3, v3, [Ljava/lang/Integer;

const/4 v4, 0x0

.line 22
const v5, 0x7f020003

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

const/4 v4, 0x1

.line 23
const/high16 v5, 0x7f02

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

const/4 v4, 0x2

.line 24
const v5, 0x7f020001

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

iput-object v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mImageIds:[Ljava/lang/Integer;

iget-object v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mImageIds:[Ljava/lang/Integer;

move-result-object v3

array-length v3, v3

invoke-virtual {v0, v3}, Ljava/util/Random;->nextInt(I)I

move-result v0

aget-object v3, v3, v0

invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

move-result v3

invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundResource(I)V

return-void
.end method

then change the .method public notificationpanelbackground()V

from this

.method public notificationpanelbackground()V
.locals 4

iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string v2, "notification_panel_bg_chooser"

const v3, 0x0

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

const v2, 0x1

if-eq v1, v2, :cond_0

const v2, 0x2

if-eq v1, v2, :cond_1

const v2, 0x3

if-eq v1, v2, :cond_2

const v2, 0x4

if-eq v1, v2, :cond_3

const v2, 0x5

if-eq v1, v2, :cond_4

const v2, 0x7f020071

goto :goto_0

:cond_0
const v2, 0x7f021134

goto :goto_0

:cond_1
const v2, 0x7f021135

goto :goto_0

:cond_2
const v2, 0x7f021136

goto :goto_0

:cond_3
const v2, 0x7f021137

goto :goto_0

:cond_4
const v2, 0x7f021138

:goto_0
iget-object v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Landroid/view/View;

invoke-virtual {v3, v2}, Landroid/view/View;->setBackgroundResource(I)V

return-void
.end method

to this

.method public notificationpanelbackground()V
.locals 4

iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string v2, "notification_panel_bg_chooser"

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->notificationpanelbackground()V

return-void
.end method

it makes sense?