summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-08-09 14:14:45 -0700
committerDeepanshu Gupta <deepanshu@google.com>2014-08-26 00:27:23 +0000
commit095cdf85d1aef235cc83db1bec62207f8ab7d1fe (patch)
tree003200336c160dc870ece847cab1629fc481fc24 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentdb94ea9ed03dbaa0ca075a433a986d7e414e8f8d (diff)
Resolve color xml attributes properly. [DO NOT MERGE]
Color attributes were not being converted to int properly. The conversion to int was a simple string to int using base 16. This change resolves the colors as per #RGB, #ARGB, #RRGGBB or #AARRGGBB format depending on the length of the attribute. All values that begin with '#' are treated as colors. Bug: http://b.android.com/73845 Change-Id: I8ad089b821af1e290b9b95771b50213fe2fdd784 (cherry picked from commit 81564dfe60020fa977d39d168f682e9d61825660)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions