Trebuchet: Draw the dynamic grid image dynamically

This commits makes it possible to draw the image which previews
the selected grid dynamically.

Change-Id: I7c029f06110afdf1fe62145a079bba76166bb690
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Trebuchet into kk