Searched refs:useSurface (Results 1 – 1 of 1) sorted by relevance
1188 private void setupRecorder(String filename, boolean useSurface, boolean hasAudio) in setupRecorder() argument1196 if (!useSurface) { in setupRecorder()1206 mMediaRecorder.setVideoSource(useSurface ? in setupRecorder()1236 private boolean validateGetSurface(boolean useSurface) { in validateGetSurface() argument1237 Log.v(TAG,"validateGetSurface, useSurface=" + useSurface); in validateGetSurface()1238 if (!useSurface && !hasCamera()) { in validateGetSurface()1245 setupRecorder(OUTPUT_PATH, useSurface, false /* hasAudio */); in validateGetSurface()1258 surface = tryGetSurface(!useSurface); in validateGetSurface()1266 surface = tryGetSurface(!useSurface); in validateGetSurface()