Substantial improvement to Carousel launch time.

This fixes a bug where compiling the renderscript was done
multiple times. The operation is fairly expensive and was
taking about 800ms per call, repeated over several calls.

The new code compiles it just once in the CarouselRS
constructor and keeps a reference to it.

Change-Id: I6cbf92062a995e2d847f40e737448e0bc6684d76
3 files changed
tree: 622c86d086ac3d46001bde9c4b5ea22c88bb0b31
  1. carousel/
  2. common/
  3. CleanSpec.mk