Lines Matching refs:getSurface
100 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface());
131 recorder.setPreviewDisplay(mSurfaceHolder.getSurface());
146 /* Test: getSurface() before prepare()
150 surface = recorder.getSurface();
151 throw new Exception("getSurface failed to throw IllegalStateException");
158 /* Test: getSurface() after prepare()
163 surface = recorder.getSurface();
165 throw new Exception("getSurface failed to throw IllegalStateException");
169 throw new Exception("getSurface failed to throw IllegalStateException");
175 /* Test: getSurface() after start()
180 surface = recorder.getSurface();
182 throw new Exception("getSurface failed to throw IllegalStateException");
186 throw new Exception("getSurface failed to throw IllegalStateException");
197 /* Test: getSurface() after stop()
201 surface = recorder.getSurface();
202 throw new Exception("getSurface failed to throw IllegalStateException");
249 Surface surface = recorder.getSurface();
345 mMediaRecorder.setPreviewDisplay(mSurfaceHolder.getSurface());
379 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface());
498 // Test MediaRecorder.getSurface() api with surface or camera source