CyanogenMod 12.1 for Android One

Android One devices once again got a pretty stable release of Android 5.1. XDA Recognized … more

DexPatcher: Patch Android APKs Using Java

You’ve probably seen or installed modified applications, be it a patched dialer for your … more

Is Cloud Storage Ready to Replace External Storage?

With more and more OEMs ditching SD cards on their flagships, cloud storage is … more

Customized Ultra Stamina for Xperia

XDA Senior Member androidexpert35 has provided us a customized Ultra Stamine Mode from the … more
Post Reply Subscribe to Thread Email Thread

[Q] smali color coding???????

19th October 2010, 02:09 AM |#1  
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Oct 2010
I've searched and searched and can't find my answer, so if this has already been discussed, I appoligize. I'm trying to edit colors in various smali files and am trying to understand the breakdown of the color coding. ie const/high16 v6, -0x100. I've seen that some of you are simply taking out the high16 and then entering a standard hex color code. Could someone just explain what the different portions of that code stand for? If I sound like a NOOB, it's because I am. Please have mercy on my soul
22nd October 2010, 03:10 AM |#2  
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Oct 2010
anyone?????????? I don't need tons of details, just a little understanding.

Thanks
14th November 2011, 07:31 PM |#3  
Junior Member
Thanks Meter: 48
 
9 posts
Join Date:Joined: May 2010
If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r
Last edited by -= sk0t =-; 14th November 2011 at 07:41 PM.
The Following 40 Users Say Thank You to -= sk0t =- For This Useful Post: [ View ]
28th November 2011, 12:58 PM |#4  
iridaki's Avatar
Retired Forum Moderator / Recognized Themer
Flag Edinburgh, Scotland
Thanks Meter: 4,999
 
4,122 posts
Join Date:Joined: Feb 2007
Donate to Me
More
Quote:
Originally Posted by -= sk0t =-

If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r

Hands down the most useful thing I have seen in a while!!!!
28th November 2011, 05:32 PM |#5  
lufc's Avatar
Retired Senior Moderator / Resident Priest
Flag Blackpool UK
Thanks Meter: 1,575
 
9,535 posts
Join Date:Joined: Oct 2007
Donate to Me
More
Please use the Q&A Forum for questions Thanks
Moving to Q&A
11th December 2011, 01:46 PM |#6  
gunnermike's Avatar
Senior Member
Flag Crestview
Thanks Meter: 503
 
1,856 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by -= sk0t =-

If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r

if i were a woman, id totally have your baby!
2nd January 2012, 11:22 PM |#7  
robm1911's Avatar
Recognized Contributor / Themer
Flag Weatherford Tx.
Thanks Meter: 2,133
 
1,251 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Quote:
Originally Posted by -= sk0t =-

If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r

very handy tool thank you for this
25th January 2012, 04:05 AM |#8  
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Oct 2010
How do you know whether to use const/high16 or const?
18th April 2012, 08:10 AM |#9  
Pneuma1985's Avatar
Recognized Themer
Flag Around
Thanks Meter: 1,042
 
803 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Most useful smali color coding tool out there that I have found... Anyone find better please let us know... Id like to have one that helps with the variables as well that would be nice...
27th May 2013, 12:20 AM |#10  
Senior Member
Thanks Meter: 64
 
133 posts
Join Date:Joined: Jul 2012
Quote:
Originally Posted by -= sk0t =-

If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r

Really, really useful app, thanks m8

Post Reply Subscribe to Thread

Tags
smali color
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes