summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2013-06-06 16:34:33 -0700
committerChet Haase <chet@google.com>2013-06-06 16:43:41 -0700
commitf4130cf35fa128e36f96e55955d4f5db86197e4a (patch)
tree0ae8a2c211bebc906d67402e3aa7e0c5b801babe /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentae8f82f2015612a659b95007c355d12c83fbcefc (diff)
Additional functionality and performance for ArrayMap
Added equals() and hashCode() to ArrayMap to allow equals() tests of maps with the same key/value pairs to return true. Changed putAll() to handle the case of an empty map faster, just copying the arrays instead of adding elements one by one. Added to ArrayMapTests to test new equals() and copy constructor functionality. Issue #9299310 Optimize ArrayMap copy constructor Change-Id: I1186a0eddd1fd53a0f380c2f3972fc1942cdf879
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions