[Android Themes] remuntada78:
i've a problem with .method public onTouchEvent(Landroid/view/MotionEvent;)Z

my code is

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.registers 31
.parameter "ev"

.prologue
.line 3782
move-object/from16 v0, p0

iget-boolean v0, v0, Landroid/widget/AbsListView;->mMotionEnable:Z

move/from16 v26, v0

if-eqz v26, :cond_21

.line 3783
move-object/from16 v0, p0

iget-object v0, v0, Landroid/widget/AbsListView;->mMotionListener:Landroid/hardware/motion/MRListener;

move-object/from16 v26, v0

if-eqz v26, :cond_21

.line 3784
move-object/from16 v0, p0

iget-object v0, v0, Landroid/widget/AbsListView;->mMotionRecognitionManager:Landroid/hardware/motion/MotionRecognitionManager;

move-object/from16 v26, v0

move-object/from16 v0, p0

iget-object v0, v0, Landroid/widget/AbsListView;->mMotionListener:Landroid/hardware/motion/MRListener;

move-object/from16 v27, v0

const/16 v28, 0x1

invoke-virtual/range {v26 .. v28}, Landroid/hardware/motion/MotionRecognitionManager;->setMotionAngle(Landroid/hardware/motion/MRListener;I)V

.line 3788
:cond_21
invoke-virtual/range {p0 .. p0}, Landroid/view/View;->isEnabled()Z

move-result v26

if-nez v26, :cond_39

.line 3791
invoke-virtual/range {p0 .. p0}, Landroid/view/View;->isClickable()Z

move-result v26

if-nez v26, :cond_33

invoke-virtual/range {p0 .. p0}, Landroid/view/View;->isLongClickable()Z

move-result v26

if-eqz v26, :cond_36

:cond_33
const/16 v26, 0x1

.line 4185
:goto_35
return v26

.line 3791
:cond_36
const/16 v26, 0x0

goto :goto_35

.line 3794
:cond_39
move-object/from16 v0, p0

iget-object v0, v0, Landroid/widget/AbsListView;->mPositionScroller:Landroid/widget/AbsListView$PositionScroller;

move-object/from16 v26, v0

if-eqz v26, :cond_4a

.line 3795
move-object/from16 v0, p0

iget-object v0, v0, Landroid/widget/AbsListView;->mPositionScroller:Landroid/widget/AbsListView$PositionScroller;

move-object/from16 v26, v0

invoke-virtual/range {v26 .. v26}, Landroid/widget/AbsListView$PositionScroller;->stop()V

.line 3798
:cond_4a
move-object/from16 v0, p0

iget-boolean v0, v0, Landroid/widget/AbsListView;->mIsAttached:Z

move/from16 v26, v0

if-nez v26, :cond_55

.line 3803
const/16 v26, 0x0

goto :goto_35

.line 3806
:cond_55
move-object/from16 v0, p0

iget-object v0, v0, Landroid/widget/AbsListView;->mFastScroller:Landroid/widget/FastScroller;

move-object/from16 v26, v0

if-eqz v26, :cond_70

.line 3807
move-object/from16 v0, p0

iget-object v0, v0, Landroid/widget/AbsListView;->mFastScroller:Landroid/widget/FastScroller;

move-object/from16 v26, v0

move-object/from16 v0, v26

move-object/from16 v1, p1

invoke-virtual {v0, v1}, Landroid/widget/FastScroller;->onTouchEvent(Landroid/view/MotionEvent;)Z

move-result v16

.line 3808
.local v16, intercepted:Z
if-eqz v16, :cond_70

.line 3809
const/16 v26, 0x1

goto :goto_35

.line 3813
.end local v16 #intercepted:Z
:cond_70
invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getAction()I

move-result v4

.line 3817
.local v4, action:I
invoke-direct/range {p0 .. p0}, Landroid/widget/AbsListView;->initVelocityTrackerIfNotExists()V

.line 3818
move-object/from16 v0, p0

iget-object v0, v0, Landroid/widget/AbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

move-object/from16 v26, v0

move-object/from16 v0, v26

move-object/from16 v1, p1

invoke-virtual {v0, v1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

.line 3820
and-int/lit16 v0, v4, 0xff

move/from16 v26, v0

packed-switch v26, :pswitch_data_808

.line 4185
:cond_8b
:goto_8b
:pswitch_8b
const/16 v26, 0x1

goto :goto_35

.line 3822
:pswitch_8e
move-object/from16 v0, p0

iget v0, v0, Landroid/widget/AbsListView;->mTouchMode:I

move/from16 v26, v0

packed-switch v26, :pswitch_data_81a

.line 3838
const/16 v26, 0x0

move-object/from16 v0, p1

move/from16 v1, v26

invoke-virtual {v0, v1}, Landroid/view/MotionEvent;->getPointerId(I)I

move-result v26

move/from16 v0, v26

move-object/from16 v1, p0

iput v0, v1, Landroid/widget/AbsListView;->mActivePointerId:I

.line 3839
invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getX()F

move-result v26

move/from16 v0, v26

float-to-int v0, v0

move/from16 v24, v0

.line 3840
.local v24, x:I
invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getY()F

move-result v26

move/from16 v0, v26

float-to-int v0, v0

move/from16 v25, v0

.line 3841
.local v25, y:I

it's different from your, i'm not sure where add the blue code, have you a suggestion?

edit:i fiound a way to implement the code in .method public onTouchEvent(Landroid/view/MotionEvent;)Z

but when i tried to compile the file i got this error about .method setAnimation(Landroid/view/View;)Landroid/view/View;

the code is

.method setAnimation(Landroid/view/View;)Landroid/view/View;
.locals 14
[COLOR="Red"].param p1, "view" [/COLOR] # Landroid/view/View;