question: public void decorateAtTimeOfCaptureRequestAvailable ( CaptureResultProxy captureResult ) { Face [ ] facesCaptured = captureResult . get ( CaptureResult . STATISTICS_FACES ) ; if ( facesCaptured == null ) { mFaceProxies = null ; } else { mFaceProxies = new ArrayList < > ( facesCaptured . length ) ; for ( Face face : facesCaptured ) { mFaceProxies . add ( Camera2FaceProxy . from ( face ) ) ; } } mLensFocusDistance = captureResult . get ( CaptureResult . LENS_FOCUS_DISTANCE ) ; }
target:  Decorate the collector when the CaptureResult becomes available, which happens sometime after picture is taken.  In the current implementation, we query this structure for two fields: 1) CaptureResult.STATISTICS_FACES and 2) CaptureResult.LENS_FOCUS_DISTANCE