Searched refs:useSurface (Results 1 – 1 of 1) sorted by relevance
572 private void setupRecorder(String filename, boolean useSurface, boolean hasAudio) in setupRecorder() argument580 if (!useSurface) { in setupRecorder()589 mMediaRecorder.setVideoSource(useSurface ? in setupRecorder()619 private boolean validateGetSurface(boolean useSurface) { in validateGetSurface() argument620 Log.v(TAG,"validateGetSurface, useSurface=" + useSurface); in validateGetSurface()621 if (!useSurface && !hasCamera()) { in validateGetSurface()628 setupRecorder(OUTPUT_PATH, useSurface, false /* hasAudio */); in validateGetSurface()641 surface = tryGetSurface(!useSurface); in validateGetSurface()649 surface = tryGetSurface(!useSurface); in validateGetSurface()