[3/3] vendor/slim: change density on the fly

Change-Id: I344b2a42775b7e75b20d9e328bcf496ffb1a0bed