[2/3] native: Change density on the fly

Change-Id: Ia7ebb04194cc5a34e9927c062977969c319ad7c6