@Override
    public void writeToParcel(@NonNull final Parcel dest, final int flags) {
        dest.writeInt(rotateDegree);
        dest.writeByte((byte) (flipHorizontal ? 1 : 0));
    }
returns true if this orientation would mean that width and height are switched compared to a "normal" orientation
main/src/main/java/cgeo/geocaching/utils/ViewOrientation.java