[Samsung Galaxy W I8150] Adi Aisiteru Reborn:
Next find this method

.method public static viewInfo(Landroid/view/View;)Ljava/lang/String;

add the blue code above it

[COLOR="Blue"].method private updateUserButtonImage(Landroid/widget/ImageView;)V
.locals 11
.parameter "userButtonImage"

.prologue
const/4 v3, 0x0

.line 208
const/4 v10, 0x0

.line 210
.local v10, userImage:Landroid/graphics/Bitmap;
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

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

move-result-object v0

sget-object v1, Landroid/provider/ContactsContract$Profile;->CONTENT_URI:Landroid/net/Uri;

const/4 v2, 0x1

new-array v2, v2, [Ljava/lang/String;

const/4 v4, 0x0

const-string v5, "_id"

aput-object v5, v2, v4

move-object v4, v3

move-object v5, v3

invoke-virtual/range {v0 .. v5}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

move-result-object v7

.line 211
.local v7, cursor:Landroid/database/Cursor;
if-eqz v7, :cond_1

.line 215
:try_start_0
invoke-interface {v7}, Landroid/database/Cursor;->moveToFirst()Z

move-result v0

if-eqz v0, :cond_0

.line 217
sget-object v0, Landroid/provider/ContactsContract$Contacts;->CONTENT_URI:Landroid/net/Uri;

const-string v1, "_id"

invoke-interface {v7, v1}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

move-result v1

invoke-interface {v7, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

move-result-object v1

invoke-static {v0, v1}, Landroid/net/Uri;->withAppendedPath(Landroid/net/Uri;Ljava/lang/String;)Landroid/net/Uri;

move-result-object v9

.line 218
.local v9, uriMe:Landroid/net/Uri;
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

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

move-result-object v0

invoke-static {v0, v9}, Landroid/provider/ContactsContract$Contacts;->openContactPhotoInputStream(Landroid/content/ContentResolver;Landroid/net/Uri;)Ljava/io/InputStream;

move-result-object v8

.line 219
.local v8, stream:Ljava/io/InputStream;
new-instance v6, Ljava/io/BufferedInputStream;

invoke-direct {v6, v8}, Ljava/io/BufferedInputStream;-><init>(Ljava/io/InputStream;)V

.line 220
.local v6, buffer:Ljava/io/BufferedInputStream;
invoke-static {v6}, Landroid/graphics/BitmapFactory;->decodeStream(Ljava/io/InputStream;)Landroid/graphics/Bitmap;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0

move-result-object v10

.line 226
.end local v6 #buffer:Ljava/io/BufferedInputStream;
.end local v8 #stream:Ljava/io/InputStream;
.end local v9 #uriMe:Landroid/net/Uri;
:cond_0
invoke-interface {v7}, Landroid/database/Cursor;->close()V

.line 231
:cond_1
if-eqz v10, :cond_2

.line 233
invoke-virtual {p1, v10}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

.line 240
:goto_0
return-void

.line 224
:catchall_0
move-exception v0

.line 226
invoke-interface {v7}, Landroid/database/Cursor;->close()V

.line 228
throw v0

.line 237
:cond_2
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v0

const v1, 0x7f02013a

invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v0

invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

goto :goto_0
.end method

.method private updateUserButtonText(Landroid/widget/TextView;)V
.locals 8
.parameter "userButtonText"

.prologue
const/4 v3, 0x0

.line 176
const/4 v7, 0x0

.line 178
.local v7, userName:Ljava/lang/String;
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

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

move-result-object v0

sget-object v1, Landroid/provider/ContactsContract$Profile;->CONTENT_URI:Landroid/net/Uri;

const/4 v2, 0x2

new-array v2, v2, [Ljava/lang/String;

const/4 v4, 0x0

const-string v5, "_id"

aput-object v5, v2, v4

const/4 v4, 0x1

const-string v5, "display_name"

aput-object v5, v2, v4

move-object v4, v3

move-object v5, v3

invoke-virtual/range {v0 .. v5}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

move-result-object v6

.line 179
.local v6, cursor:Landroid/database/Cursor;
if-eqz v6, :cond_1

.line 183
:try_start_0
invoke-interface {v6}, Landroid/database/Cursor;->moveToFirst()Z

move-result v0

if-eqz v0, :cond_0

.line 185
const-string v0, "display_name"

invoke-interface {v6, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

move-result v0

invoke-interface {v6, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0

move-result-object v7

.line 191
:cond_0
invoke-interface {v6}, Landroid/database/Cursor;->close()V

.line 196
:cond_1
if-nez v7, :cond_2

.line 198
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v0

const v1, 0x7f08008e

invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

move-result-object v7

.line 202
:cond_2
invoke-virtual {p1, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

.line 204
return-void

.line 189
:catchall_0
move-exception v0

.line 191
invoke-interface {v6}, Landroid/database/Cursor;->close()V

.line 193
throw v0
.end method[/COLOR]

.method public static viewInfo(Landroid/view/View;)Ljava/lang/String;
.locals 2
.parameter

.prologue
.line 1871

Next find this method

# virtual methods
.method public addIcon(Ljava/lang/String;IILcom/android/internal/statusbar/StatusBarIcon;)V

scroll down and add the blue code above return-void

[COLOR="Blue"]
iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/lidroid/systemui/quickpanel/PowerWidget;

invoke-virtual {v1}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->updateWidget()V[/COLOR]

.line 615
return-void
.end method

Next find this method

.method public disable(I)V

add the code above it

[COLOR="Blue"].method public deselectAllQuickPanelTabs()V
.locals 2

.prologue
const/4 v1, 0x0

.line 55
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelTopTabsToggles:Landroid/view/View;

invoke-virtual {v0, v1}, Landroid/view/View;->setSelected(Z)V

.line 58
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelTopTabsSliders:Landroid/view/View;

invoke-virtual {v0, v1}, Landroid/view/View;->setSelected(Z)V

.line 61
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelBottomTabsToggles:Landroid/view/View;

invoke-virtual {v0, v1}, Landroid/view/View;->setSelected(Z)V

.line 65
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelBottomTabsSliders:Landroid/view/View;

invoke-virtual {v0, v1}, Landroid/view/View;->setSelected(Z)V

.line 68
return-void
.end method[/COLOR]

.method public disable(I)V
.locals 8
.parameter

.prologue
const/high16 v7, 0x100

Nex find this method

.method getExpandedHeight(I)I

add the blue code above it

[COLOR="Blue"].method flipToNotifications()V
.locals 3

.prologue
.line 2257
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPile:Lcom/android/systemui/statusbar/policy/NotificationRowLayout;

iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedContents:Landroid/view/View;

.line 2259
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContentsFlipper:Landroid/widget/ViewFlipper;

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

const v2, 0x7f040014

invoke-virtual {v0, v1, v2}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/content/Context;I)V

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

const v2, 0x7f040015

invoke-virtual {v0, v1, v2}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/content/Context;I)V

invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showPrevious()V

.line 2261
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mHeaderFlipper:Landroid/widget/ViewFlipper;

invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showPrevious()V

.line 2263
invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->showCarrierLabel()V

.line 2269
return-void
.end method

.method flipToQuickPanel()V
.locals 3

.prologue
.line 2255
invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->hideCarrierLabel()V

.line 2257
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelContents:Landroid/view/View;

iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedContents:Landroid/view/View;

.line 2259
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedView:Lcom/android/systemui/statusbar/phone/ExpandedView;

const v1, 0x7f0e00b4

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

move-result-object v0

check-cast v0, Landroid/widget/ScrollView;

.line 2261
.local v0, svToggles:Landroid/widget/ScrollView;
const/16 v1, 0x21

invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->fullScroll(I)Z

.line 2263
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedView:Lcom/android/systemui/statusbar/phone/ExpandedView;

const v1, 0x7f0e00b5

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

move-result-object v0

check-cast v0, Landroid/widget/ScrollView;

.line 2265
.local v0, svSliders:Landroid/widget/ScrollView;
const/16 v1, 0x21

invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->fullScroll(I)Z

.line 2267
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContentsFlipper:Landroid/widget/ViewFlipper;

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

const v2, 0x7f040014

invoke-virtual {v0, v1, v2}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/content/Context;I)V

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

const v2, 0x7f040015

invoke-virtual {v0, v1, v2}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/content/Context;I)V

invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showNext()V

.line 2269
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mHeaderFlipper:Landroid/widget/ViewFlipper;

invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showNext()V

.line 2271
return-void
.end method

.method flipToQuickPanelSliders()V
.locals 2

.prologue
.line 2255
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedView:Lcom/android/systemui/statusbar/phone/ExpandedView;

const v1, 0x7f0e00b5

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

move-result-object v0

check-cast v0, Landroid/widget/ScrollView;

.line 2257
.local v0, svSliders:Landroid/widget/ScrollView;
const/16 v1, 0x21

invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->fullScroll(I)Z

.line 2259
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelFlipper:Landroid/widget/ViewFlipper;

invoke-static {}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->inFromRightAnimation()Landroid/view/animation/Animation;

move-result-object v1

invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/view/animation/Animation;)V

invoke-static {}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->outToLeftAnimation()Landroid/view/animation/Animation;

move-result-object v1

invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/view/animation/Animation;)V

invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showNext()V

.line 2269
return-void
.end method

.method flipToQuickPanelToggles()V
.locals 2

.prologue
.line 2255
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedView:Lcom/android/systemui/statusbar/phone/ExpandedView;

const v1, 0x7f0e00b4

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

move-result-object v0

check-cast v0, Landroid/widget/ScrollView;

.line 2257
.local v0, svToggles:Landroid/widget/ScrollView;
const/16 v1, 0x21

invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->fullScroll(I)Z

.line 2259
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelFlipper:Landroid/widget/ViewFlipper;

invoke-static {}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->inFromLeftAnimation()Landroid/view/animation/Animation;

move-result-object v1

invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/view/animation/Animation;)V

invoke-static {}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->outToRightAnimation()Landroid/view/animation/Animation;

move-result-object v1

invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/view/animation/Animation;)V

invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showPrevious()V

.line 2269
return-void
.end method[/COLOR]

.method getExpandedHeight(I)I
.locals 2
.parameter "disph"

.prologue
.line 2166

NEXT CONTINUE IN POST #7