Settings: Allow different maximum vales for each gamma control

Change-Id: If79a0d988d09ec15e05bc08b5cac7015d793dabc
Merge remote-tracking branch 'pa/jb43-legacy' into jb43-legacy