twistedumbrella
Recognized Developer
- Sep 3, 2007
- 10,994
- 10,398
I think you got me wrong. I don't know if you have access to device or not, neither your priorities. I didn't mean to offend you. But if this fix is obsolete, then a new solution is needed, and I didn't say it directly to you, but to anyone reading. I just said this because it doesn't need to be you or anyone in particular to look into this, not because you're not capable of, but because you already have your projects, I just didn't want to sound demanding.I gave up on trying to explain how to fix support. It's great you want to stay involved without access to the device, but replying to a post explaining how to update support from a dev who does have access by saying someone needs to find a new solution... ???
I think you got me wrong. I don't know if you have access to device or not, neither your priorities. I didn't mean to offend you. But if this fix is obsolete, then a new solution is needed, and I didn't say it directly to you, but to anyone reading. I just said this because it doesn't need to be you or anyone in particular to look into this, not because you're not capable of, but because you already have your projects, I just didn't want to sound demanding.
Edit: @julian280, did you test anything? I was assuming it was not working but maybe I just didn't get what you said before.
Yeah, actually you need to add it.I did the changes but not all lines that must be changed are present in CM11 build.prop, so I only changed the ones thar are present, plus adding the mod.touchpad.startfrom1=1
Must I add the ro.semc..... lines (which are not present)?
Didnt have time to add them when I tried this mod (I'm busy wirh college these days) but I will try that tonight if I got some spare time
Sent from my D5503 using XDA Free mobile app
mod.touchpad.startfrom1=1
# interfaces
.implements Landroid/view/ViewParent;
.implements Landroid/view/View$AttachInfo$Callbacks;
.implements Landroid/view/HardwareRenderer$HardwareDrawCallbacks;
[B][COLOR="Red"].implements Landroid/view/ViewRoot;[/COLOR][/B]
.method public setProcessPositionEvents(Z)V
.locals 1
iget-object v0, p0, Landroid/view/ViewRootImpl;->mView:Landroid/view/View;
if-eqz v0, :cond_9
iget-object v0, p0, Landroid/view/ViewRootImpl;->mView:Landroid/view/View;
invoke-virtual {v0, p1}, Landroid/view/View;->setProcessGenericMotionAsPointer(Z)V
:cond_9
return-void
.end method
.method public sendTreatAsTouchEvent(Landroid/view/MotionEvent;)I
.locals 6
.parameter "event"
.prologue
const/4 v3, 0x0
const/4 v2, 0x1
const/4 v1, 0x0
const/4 v0, 0x0
sget-object v4, Landroid/os/Build;->BRAND:Ljava/lang/String;
const-string v5, "SEMC"
invoke-virtual {v4, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v4
if-eqz v4, :cond_3b
sget-object v4, Landroid/os/Build;->MODEL:Ljava/lang/String;
const-string v5, "R800"
invoke-virtual {v4, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v4
if-eqz v4, :cond_3b
invoke-virtual {p1}, Landroid/view/MotionEvent;->getSource()I
move-result v4
const v5, 0x100008
if-ne v4, v5, :cond_3c
move v0, v2
:goto_22
if-eqz v0, :cond_3b
iget-boolean v0, p0, Landroid/view/View;->mProcessGenericMotionAsPointer:Z
if-nez v0, :cond_32
const-string/jumbo v4, "mod.touchpad.activated"
invoke-static {v4, v3}, Landroid/os/SystemProperties;->getInt(Ljava/lang/String;I)I
move-result v4
if-ne v4, v2, :cond_3e
move v0, v2
:cond_32
:goto_32
if-eqz v0, :cond_3b
invoke-virtual {p0, p1}, Landroid/view/View;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z
move-result v3
if-eqz v3, :cond_40
move v1, v2
:cond_3b
:goto_3b
return v1
:cond_3c
move v0, v3
.line 17967
goto :goto_22
:cond_3e
move v0, v3
goto :goto_32
:cond_40
const/4 v1, 0x2
goto :goto_3b
.end method
.method setProcessGenericMotionAsPointer(Z)V
.locals 0
iput-boolean p1, p0, Landroid/view/View;->mProcessGenericMotionAsPointer:Z
return-void
.end method
.field private mPerformClick:Landroid/view/View$PerformClick;
[B][COLOR="red"].field private mProcessGenericMotionAsPointer:Z[/COLOR][/B]
.field mPrivateFlags:I
.method public dispatchGenericMotionEvent(Landroid/view/MotionEvent;)Z
.locals 5
.parameter "event"
.prologue
const/4 v3, 0x0
const/4 v2, 0x1
[B][COLOR="red"] invoke-virtual {p0, p1}, Landroid/view/View;->sendTreatAsTouchEvent(Landroid/view/MotionEvent;)I
move-result v1
.line 7184
if-eqz v1, :cond_g
sub-int v2, v1, v2
goto :goto_3b
[COLOR="SeaGreen"]<<<<< ATTENTION, THIS goto MUST BE EXACTLY THE SAME COMMAND OF THE LAST LINE OF THE METHOD[/COLOR]
:cond_g[/COLOR][/B]
.line 5597
iget-object v4, p0, Landroid/view/View;->mInputEventConsistencyVerifier:Landroid/view/InputEventConsistencyVerifier;
... ... ... (THE CODE OF THE METHOD) ... ... ...
.end method
.method public addPointerId(I)I
.locals 2
.parameter "pointerId"
.prologue
move v0, p1
invoke-virtual {p0}, Landroid/view/MotionEvent;->pointerIdStartFrom1Plus()I
move-result v1
if-eqz v1, :cond_1
const/4 v1, 0x1
add-int/2addr v0, v1
:cond_1
return v0
.end method
.method public modPointerId(I)I
.locals 2
.parameter "pointerId"
.prologue
move v0, p1
invoke-virtual {p0}, Landroid/view/MotionEvent;->pointerIdStartFrom1Plus()I
move-result v1
if-eqz v1, :cond_1
const/4 v1, 0x1
invoke-virtual {p0}, Landroid/view/MotionEvent;->getPointerCount()I
move-result v1
if-lt v0, v1, :cond_1
const/4 v0, 0x0
:cond_1
return v0
.end method
.method public subPointerId(I)I
.locals 2
.parameter "pointerId"
.prologue
move v0, p1
if-eqz v0, :cond_1
invoke-virtual {p0}, Landroid/view/MotionEvent;->pointerIdStartFrom1Plus()I
move-result v1
if-eqz v1, :cond_1
const/4 v1, 0x1
sub-int/2addr v0, v1
:cond_1
return v0
.end method
.method public pointerIdStartFrom1Plus()I
.locals 3
.prologue
const/4 v2, 0x0
invoke-virtual {p0}, Landroid/view/MotionEvent;->pointerIdStartFrom1()I
move-result v0
if-eqz v0, :cond_1
sget v0, Landroid/view/InputDevice;->SOURCE_TOUCHPAD:I
invoke-virtual {p0}, Landroid/view/MotionEvent;->getSource()I
move-result v1
if-ne v0, v1, :cond_1
const/4 v2, 0x1
:cond_1
return v2
.end method
.method public pointerIdStartFrom1()I
.locals 2
.prologue
const/4 v0, 0x0
const-string/jumbo v1, "mod.touchpad.startfrom1"
invoke-static {v1, v0}, Landroid/os/SystemProperties;->getInt(Ljava/lang/String;I)I
move-result v0
return v0
.end method
.method public final getPointerId(I)I
.locals 2
.parameter "pointerIndex"
.prologue
.line 1927
iget v0, p0, Landroid/view/MotionEvent;->mNativePtr:I
invoke-static {v0, p1}, Landroid/view/MotionEvent;->nativeGetPointerId(II)I
move-result v0
[COLOR="red"] invoke-virtual {p0, v0}, Landroid/view/MotionEvent;->addPointerId(I)I
move-result v0[/COLOR]
return v0
.end method
... ... ...
.method public final getPointerIdBits()I
.locals 5
.prologue
.line 2786
const/4 v1, 0x0
.line 2787
.local v1, idBits:I
iget v3, p0, Landroid/view/MotionEvent;->mNativePtr:I
invoke-static {v3}, Landroid/view/MotionEvent;->nativeGetPointerCount(I)I
move-result v2
.line 2788
.local v2, pointerCount:I
const/4 v0, 0x0
.local v0, i:I
:goto_0
if-ge v0, v2, :cond_0
.line 2789
[COLOR="red"]
invoke-virtual {p0, v0}, Landroid/view/MotionEvent;->getPointerId(I)I
[/COLOR]
move-result v4
shl-int/2addr v3, v4
or-int/2addr v1, v3
.line 2788
add-int/lit8 v0, v0, 0x1
goto :goto_0
.line 2791
:cond_0
return v1
.end method
... ... ...
.method public final getX(I)F
[COLOR="red"] .locals 4[/COLOR]
.parameter "pointerIndex"
.prologue
.line 1974
[COLOR="red"]invoke-virtual {p0, p1}, Landroid/view/MotionEvent;->modPointerId(I)I
move-result v3[/COLOR]
iget v0, p0, Landroid/view/MotionEvent;->mNativePtr:I
const/4 v1, 0x0
const/high16 v2, -0x8000
invoke-static {v0, v1, [COLOR="red"]v3[/COLOR], v2}, Landroid/view/MotionEvent;->nativeGetAxisValue(IIII)F
move-result v0
return v0
.end method
... ... ...
.method public final getY(I)F
[COLOR="red"] .locals 4[/COLOR]
.parameter "pointerIndex"
.prologue
.line 1989
[COLOR="red"]invoke-virtual {p0, p1}, Landroid/view/MotionEvent;->modPointerId(I)I
move-result v3[/COLOR]
iget v0, p0, Landroid/view/MotionEvent;->mNativePtr:I
const/4 v1, 0x1
const/high16 v2, -0x8000
invoke-static {v0, v1, [COLOR="red"]v3[/COLOR], v2}, Landroid/view/MotionEvent;->nativeGetAxisValue(IIII)F
move-result v0
return v0
.end method
.method public final split(I)Landroid/view/MotionEvent;
.locals 2
.parameter "idBits"
.prologue
move v1, p1
invoke-virtual {p0}, Landroid/view/MotionEvent;->pointerIdStartFrom1Plus()I
move-result v0
if-eqz v0, :cond_1
const v0, 0x1
shr-int/2addr v1, v0
:cond_1
invoke-virtual {p0, v1}, Landroid/view/MotionEvent;->split2(I)Landroid/view/MotionEvent;
move-result-object v0
return-object v0
.end method
ro.board.platform=msm7x30
ro.build.characteristics=default
ro.build.version.release=4.0.4
ro.build.version.codename=REL
ro.build.version.incremental=UL5_3w
ro.build.display.id=4.0.2.A.0.42
ro.build.id=4.0.2.A.0.42
ro.build.fingerprint=SEMC/R800i_0000-0000/R800i:2.3.4/4.0.2.A.0.42/1f_v3w:user/release-keys
ro.build.date=Tue Apr 24 11:57:09 2012
ro.build.tags=release-keys
ro.build.description=R800i-user 2.3.4 4.0.2.A.0.42 1f_v3w test-keys
[COLOR="Red"]ro.build.product=R800i[/COLOR]
ro.build.host=BuildHost
ro.build.user=BuildUser
ro.build.date.utc=1335261429
ro.build.tags=test-keys
ro.build.type=user
ro.product.cpu.abi2=armeabi
[COLOR="red"]ro.product.model=R800i
ro.product.board=
ro.product.manufacturer=Sony Ericsson
ro.product.brand=SEMC
ro.product.device=R800i[/COLOR]
ro.product.cpu.abi=armeabi-v7a
[COLOR="red"]ro.product.name=R800i_0000-0000[/COLOR]
ro.product-res-path=framework/SemcGenericUxpRes.apk
ro.wifi.channels=
[COLOR="red"]mod.touchpad.startfrom1=1[/COLOR]
ro.semc.version.cust=1253-3429
ro.semc.version.fs_revision=4.1.B.0.431
[COLOR="Red"]ro.semc.product.model=R800i[/COLOR]
ro.semc.ms_type_id=AAD-3880119-BV
ro.semc.version.cust_revision=R1I
ro.semc.content.number=PA5
[COLOR="red"]ro.semc.product.name=Xperia Play
ro.semc.product.device=R800[/COLOR]
ro.semc.batt.test.min_level=70
ro.semc.version.fs=WORLD-i
ro.semc.rem-roam-icon=1
ro.semc.xloud.supported=true
ro.semc.batt.test.z_threshold=50
ro.semc.batt.capacity=1500
ro.semc.sols.company-code=5
ro.semc.sols.product-code=87
ro.semc.timescape_keys=Sony_Ericsson_Xperia_PLAY
ro.semc.dashboard.xperiaplay=true
ro.semc.wifi.hostapd=1
ro.semc.dashboard.searchuri=http://pss.dl.playstation.net/pss/content/list.html