Minor changes to reduce allocations

Don't use anonymous inner classes, as these objects would get
instantiated for each usage.  (This could also cause the containing
classe to remain referenced

Initialize Bundles and ContentVales to the ideal size to prevent the
objects from being resized

Change-Id: If83ad94f67149d54847c3cdb5244e1841d7b369c
4 files changed