TestingCamera2: Add prepare button to target control pane

Triggers the CameraCaptureSession prepare call for the target
Surface.

Also fix reading past the end of the ByteBuffer for YUV_420_888
with semiplanar formats.

Change-Id: I529400a0ecd9acc00c584c77a70c34f55fcb67d1
5 files changed
tree: 6936351d1de28dbfcadc4719a1ce551c1d9ba2a4
  1. apps/
  2. build/
  3. util/
  4. .gitignore
  5. README