Merge "Refactors RotationUtils to be independent from device width."