Replace WindowState#getLayoutingAttrs with LayoutParams#forRotation

When LOCAL_LAYOUT is enabled, the client needs to use the params for the
rotation to layout.

Bug: 161810301
Test: presubmit
Change-Id: I41c94970a600a7a4a3d5bcbab9e79adc1d93d72e
3 files changed