Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,985 Members 54,175 Now Online
XDA Developers Android and Mobile Development Forum

[q] [help] tablet tweak on stock dxll1

Tip us?
 
marcussmith2626
Old
#11  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2332
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by Wickedfire.214 View Post
i fixed it now sir. my problem is when i activated bottom statusbar on tablet tweak settings, i wont be able to expand it to see the expanded view. any fix? im on stockrom
not unless you correct the smali errors that are to do with it

like I said if you want that option would be much easier to use cm7 as it has this option

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
 
Wickedfire.214
Old
#12  
Wickedfire.214's Avatar
Member - OP
Thanks Meter 5
Posts: 55
Join Date: May 2014
Quote:
Originally Posted by marcussmith2626 View Post
not unless you correct the smali errors that are to do with it

like I said if you want that option would be much easier to use cm7 as it has this option
i can use the soft keys now. but i cant go to expanded view
 
Wickedfire.214
Old
#13  
Wickedfire.214's Avatar
Member - OP
Thanks Meter 5
Posts: 55
Join Date: May 2014
here is the prob
Attached Thumbnails
Click image for larger version

Name:	UI.png
Views:	11
Size:	22.4 KB
ID:	2774295  
 
marcussmith2626
Old
#14  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2332
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by Wickedfire.214 View Post
here is the prob
I keep telling you - error in smali

StatusBarView and CmStatusBarView with the command onInterceptTouchEven

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
 
SpaceCaker
Old
#15  
SpaceCaker's Avatar
Recognized Themer / Contributor
Thanks Meter 10490
Posts: 13,103
Join Date: Mar 2011
Location: netherlands
Quote:
Originally Posted by Wickedfire.214 View Post
here is the prob
this is because u now load the statusbar at bottom.

but it doesnt update the date layout in top
so basicly it doesnt fl top part because they layout isnt being pushed upside down

Sent from my Acer S500 CloudMobile
 

My Github Click Here
Github BroadcomCM Click Here
Github CyanoSpaceMod Click Here
Github MSR-Roms Click Here
Check My SoundCloud for my music remakes,mixes etc Click Here
Linux HP-Pavilion-G7 3.11.0-23-generic #40-Ubuntu SMP Wed Jun 4 21:05:23 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
 
Wickedfire.214
Old
#16  
Wickedfire.214's Avatar
Member - OP
Thanks Meter 5
Posts: 55
Join Date: May 2014
Quote:
Originally Posted by SpaceCaker View Post
this is because u now load the statusbar at bottom.

but it doesnt update the date layout in top
so basicly it doesnt fl top part because they layout isnt being pushed upside down

Sent from my Acer S500 CloudMobile
its with statusbarpolicy smali sir???? how could i fix this
 
SpaceCaker
Old
#17  
SpaceCaker's Avatar
Recognized Themer / Contributor
Thanks Meter 10490
Posts: 13,103
Join Date: Mar 2011
Location: netherlands
Quote:
Originally Posted by Wickedfire.214 View Post
its with statusbarpolicy smali sir???? how could i fix this
use java?

Sent from my Acer S500 CloudMobile
 

My Github Click Here
Github BroadcomCM Click Here
Github CyanoSpaceMod Click Here
Github MSR-Roms Click Here
Check My SoundCloud for my music remakes,mixes etc Click Here
Linux HP-Pavilion-G7 3.11.0-23-generic #40-Ubuntu SMP Wed Jun 4 21:05:23 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
 
Wickedfire.214
Old
#18  
Wickedfire.214's Avatar
Member - OP
Thanks Meter 5
Posts: 55
Join Date: May 2014
Quote:
Originally Posted by SpaceCaker View Post
use java?

Sent from my Acer S500 CloudMobile
I decompiled two systemUI. The One is CM Based and i grabbed the smalis and compared to get it working on stock rom. The soft keys were working but i cant go to the expanded view if statusbar.
 
marcussmith2626
Old
#19  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2332
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by Wickedfire.214 View Post
I decompiled two systemUI. The One is CM Based and i grabbed the smalis and compared to get it working on stock rom. The soft keys were working but i cant go to the expanded view if statusbar.
cm smali from StatusBarView.smali

Code:
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter "event"

    .prologue
    .line 172
    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lcom/android/systemui/statusbar/StatusBarView;->onInterceptTouchEvent(Landroid/view/MotionEvent;Z)Z

    move-result v0

    return v0
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;Z)Z
    .locals 1
    .parameter "event"
    .parameter "skipService"

    .prologue
    .line 163
    if-eqz p2, :cond_0

    .line 164
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    .line 166
    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/android/systemui/statusbar/StatusBarView;->mService:Lcom/android/systemui/statusbar/StatusBarService;

    invoke-virtual {v0, p1}, Lcom/android/systemui/statusbar/StatusBarService;->interceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    goto :goto_0

    :cond_1
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0
.end method




stock smali from StatusBarView.smali


Code:
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter "event"

    .prologue
    .line 149
    iget-object v0, p0, Lcom/android/systemui/statusbar/StatusBarView;->mService:Lcom/android/systemui/statusbar/StatusBarService;

    invoke-virtual {v0, p1}, Lcom/android/systemui/statusbar/StatusBarService;->interceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0
.end method




Like I said this is the area that was giving the error in your logcat in StatusBarView.smali
I dont understand smali so I cant help you but thats what needs fixing

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Samsung Gear Live Unboxed the XDA Way – XDA Developer TV

XDA Developer TV Producer AdamOutleris known for his XDA Unboxingseries where … more

Make Your Own DIY Capacitive Stylus

The XDA Portal is a place where we like to talkabout things that are interesting, fun, and sometimes … more