TestingCamera: Add support for 'resizeable' mode

Currently 'android:resizeable' is enabled by default.
Support multi-window mode as much as possible by aligning
the viewfinder long edge with the screen long edge on
each orientation change.
Additionally check whether camera is initialized during
configuration in the surface change callback.

Bug: 129418648
Test: Manual using application
Change-Id: Icafbd3777f5ceda178df7fddaeffbfe7dc6a70b3
1 file changed
tree: 9f303ba3566f38aff9c9bb881bc6cc3e997212aa
  1. .gitignore
  2. README
  3. apps/
  4. build/
  5. util/