summaryrefslogtreecommitdiffstats
path: root/cmds/bmgr
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2010-10-22 17:54:04 -0700
committerChet Haase <chet@google.com>2010-11-03 17:42:04 -0700
commit7c608f25d494c8a0a671e7373efbb47ca635367e (patch)
treeb3f4c1d8c429ac6523cd41a10d837b6b2f59efad /cmds/bmgr
parent8182cd36cfbf5049f72b4be18f67c40ddef89d8b (diff)
downloadframeworks_base-7c608f25d494c8a0a671e7373efbb47ca635367e.zip
frameworks_base-7c608f25d494c8a0a671e7373efbb47ca635367e.tar.gz
frameworks_base-7c608f25d494c8a0a671e7373efbb47ca635367e.tar.bz2
optimizing for primitive types in animations
The animator classes caused autoboxing by converting primitive types (by far the most typical types used in animations) to be converted to their Object equivalents because of various APIs that required Object (like getValue() to get the animated value). This change creates factory methods on some classes instead of the former constructors so that we can create and return private type-specific subclasses which operate directly on the primitive types instead. In particular, float and int are natively supported by the animators now. Support in the APIs for double and long was removed because it seemed like these less common types did not justify the extra baggage of the added API and code. Change-Id: I6008a3883e3d6dd5225005f45f112af148e5a4ea
Diffstat (limited to 'cmds/bmgr')
0 files changed, 0 insertions, 0 deletions