Modify the translation of the orientation on the touchpad visualizer

Instead of translating the value of the orientation from the range [OrientationMinimum, OrientationMaximum] to the range [0, 360], now it is translated from the range [0, OrientationMaximum] to the range [0, 90]. That way it should be more compatible with the OrientationMaximum data given in the HardwareProperties.

Test: Build
Test: Manual testing
Bug: 286551975
Flag: com.android.hardware.input.touchpad_visualizer
Change-Id: I2038390221d6468cde64e78a59c7ee958a173734
1 file changed