calculate From Size
Calculates WindowSize for a given size. Should be used for testing purposes only
to calculate a WindowSize for the Activity's current window see calculateWindowSize.
Return
WindowSize corresponding to the given width and height
Parameters
size
of the window