FORUMS

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android … more

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through … more

I/O Summary: Development, Play Store, The Next Billion

VP of Engineering Jen Fitzpatrick began talking about what Google is doing to … more

I/O Summary: Google Now on Tap

Google is all about organizing the world’s information to make it universally useful, and these … more

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

Thanks Meter: 0
 
By gufemur, Junior Member on 19th October 2010, 02:09 AM
Post Reply Subscribe to Thread Email Thread
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
 
More
anyone?????????? I don't need tons of details, just a little understanding.

Thanks
14th November 2011, 07:31 PM |#3  
Junior Member
Thanks Meter: 50
 
More
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 42 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: 5,045
 
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!!!!
The Following User Says Thank You to iridaki For This Useful Post: [ View ]
28th November 2011, 05:32 PM |#5  
lufc's Avatar
Retired Senior Moderator / Resident Priest
Flag Blackpool UK
Thanks Meter: 1,576
 
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: 505
 
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,140
 
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
 
More
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,045
 
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
 
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

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