Merge "Convert orientation values in input to ui::Rotation."