[Samsung Galaxy W I8150] Adi Aisiteru Reborn:
STEP -6

Add the blue code

and pay attention to the red v1 iget v1, p0,..... you must write same like what move-result v1

[B].method doAnimation()V[/B]
.locals 4

.prologue
const/4 v2, 0x0

.line 1382
iget-boolean v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAnimating:Z

if-eqz v0, :cond_0

.line 1385
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->incrementAnim()V

.line 1387
iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAnimY:F

iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplayMetrics:Landroid/util/DisplayMetrics;

iget v1, v1, Landroid/util/DisplayMetrics;->heightPixels:I

add-int/lit8 v1, v1, -0x1

int-to-float v1, v1

cmpl-float v0, v0, v1

if-ltz v0, :cond_1

.line 1389
iput-boolean v2, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAnimating:Z

.line 1390
const/16 v0, -0x2711

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

.line 1391
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->performExpand()V

.line 1405
:cond_0
:goto_0
return-void

.line 1393
:cond_1
iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAnimY:F

iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

invoke-virtual {v1}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->getHeight()I

move-result [COLOR="Red"]v1[/COLOR]

[COLOR="Blue"]iget [COLOR="Red"]v1[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mGetStatusBarHeight:I[/COLOR]

int-to-float v1, v1

cmpg-float v0, v0, v1

if-gez v0, :cond_2

.line 1395
iput-boolean v2, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAnimating:Z

[B].method doRevealAnimation()V[/B]
.locals 5

.prologue
.line 1427
iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mCloseView:Lcom/android/systemui/statusbar/phone/CloseDragHandle;

invoke-virtual {v1}, Lcom/android/systemui/statusbar/phone/CloseDragHandle;->getHeight()I

move-result v1

iget-object v2, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

invoke-virtual {v2}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->getHeight()I

move-result [COLOR="Red"]v2[/COLOR]

[COLOR="Blue"]iget [COLOR="Red"]v2[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mGetStatusBarHeight:I[/COLOR]

add-int v0, v1, v2

.line 1428
.local v0, h:I
iget-boolean v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAnimatingReveal:Z

[B].method getExpandedHeight(I)I[/B]
.locals 2
.parameter "disph"

.prologue
.line 2166
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->getHeight()I

move-result [COLOR="Red"]v0[/COLOR]

[COLOR="Blue"]iget [COLOR="Red"]v0[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mGetStatusBarHeight:I[/COLOR]

sub-int v0, p1, v0

iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mCloseView:Lcom/android/systemui/statusbar/phone/CloseDragHandle;

invoke-virtual {v1}, Lcom/android/systemui/statusbar/phone/CloseDragHandle;->getHeight()I