Searched refs:useSurface (Results 1 – 1 of 1) sorted by relevance
1142 private void setupRecorder(String filename, boolean useSurface, boolean hasAudio) in setupRecorder() argument1150 if (!useSurface) { in setupRecorder()1160 mMediaRecorder.setVideoSource(useSurface ? in setupRecorder()1190 private boolean validateGetSurface(boolean useSurface) { in validateGetSurface() argument1191 Log.v(TAG,"validateGetSurface, useSurface=" + useSurface); in validateGetSurface()1192 if (!useSurface && !hasCamera()) { in validateGetSurface()1199 setupRecorder(OUTPUT_PATH, useSurface, false /* hasAudio */); in validateGetSurface()1212 surface = tryGetSurface(!useSurface); in validateGetSurface()1220 surface = tryGetSurface(!useSurface); in validateGetSurface()