Freeform: Use camera compat aspect ratio when in camera compat mode.

Add a `WindowManagerShellCommand` to enable changing camera compat
aspect ratio dynamically. Use per-app override aspect ratio only for
camera if such exists over the configuration camera compat aspect ratio.

Also rename some camera compat API methods and move the business logic
from `AppCompatCameraPolicy` facade to the strategy camera policies.
This makes it clearer for the clients which signals should be used.

Flag: com.android.window.flags.camera_compat_for_freeform
Bug: 347864073
Bug: 369082932
Fixes: 368573687
Test: atest WmTests:CameraCompatFreeformPolicyTests
Test: atest WmTests:AppCompatOrientationPolicyTests
Change-Id: I2993e98209fec532fa5cec33a8adef885846233e
17 files changed