hidpi: Some constants changed to member variables.

Change-Id: I14d43af872184487c2cea6acde746a0ed72b570d