Add dynamic cache size adjustments.
Send resize width/height header as hints.

Change-Id: I96dea2c65bed4635c54899cf4234cf7320cfeef3
Merge remote-tracking branch 'koush/master' into cm-11.0