/frameworks/base/include/camera/ |
ICamera.h | 50 virtual status_t setPreviewDisplay(const sp<Surface>& surface) = 0; 60 // start preview mode, must call setPreviewDisplay first
|
Camera.h | 87 status_t setPreviewDisplay(const sp<Surface>& surface); 92 // start preview mode, must call setPreviewDisplay first 101 // start recording mode, must call setPreviewDisplay first
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CameraTest.java | 192 mCamera.setPreviewDisplay(mSurfaceHolder); 208 mCamera.setPreviewDisplay(mSurfaceHolder);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/ |
WalkAroundWallpaper.java | 125 mCamera.setPreviewDisplay(mHolder); 143 mCamera.setPreviewDisplay(holder);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaRecorderStressTest.java | 165 mCamera.setPreviewDisplay(mSurfaceHolder); 214 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); 253 mCamera.setPreviewDisplay(mSurfaceHolder); 277 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); 367 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface());
|
/frameworks/base/libs/camera/ |
Camera.cpp | 173 status_t Camera::setPreviewDisplay(const sp<Surface>& surface) 175 LOGV("setPreviewDisplay(%p)", surface.get()); 179 return c->setPreviewDisplay(surface); 182 return c->setPreviewDisplay(0); 218 // start recording mode, must call setPreviewDisplay first
|
ICamera.cpp | 70 status_t setPreviewDisplay(const sp<Surface>& surface) 72 LOGV("setPreviewDisplay"); 103 // start preview mode, must call setPreviewDisplay first 113 // start recording mode, must call setPreviewDisplay first 287 reply->writeInt32(setPreviewDisplay(surface));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
CameraAnalyzerActivity.java | 120 mCamera.setPreviewDisplay(mCameraView.getHolder());
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CameraPreview.java | 194 camera.setPreviewDisplay(mHolder); 196 Log.e(TAG, "IOException caused by setPreviewDisplay()", exception); 252 mCamera.setPreviewDisplay(holder); 255 Log.e(TAG, "IOException caused by setPreviewDisplay()", exception);
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
CameraFragment.java | 205 camera.setPreviewDisplay(mHolder); 207 Log.e(TAG, "IOException caused by setPreviewDisplay()", exception); 270 mCamera.setPreviewDisplay(holder); 273 Log.e(TAG, "IOException caused by setPreviewDisplay()", exception);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaRecorderTest.java | 162 mMediaRecorder.setPreviewDisplay(getActivity().getSurfaceHolder().getSurface()); 187 mMediaRecorder.setPreviewDisplay(getActivity().getSurfaceHolder().getSurface()); 229 method = "setPreviewDisplay", 276 mMediaRecorder.setPreviewDisplay(getActivity().getSurfaceHolder().getSurface());
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
MediaRecorderTest.java | 91 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); 150 mMediaRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); 184 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface());
|
/frameworks/base/services/camera/tests/CameraServiceTest/ |
CameraServiceTest.cpp | 629 ASSERT(c->setPreviewDisplay(surface) == NO_ERROR); 639 ASSERT(c->setPreviewDisplay(surface) == NO_ERROR); 648 c->setPreviewDisplay(another_surface); // just to make sure unregisterBuffers 672 ASSERT(c->setPreviewDisplay(surface) == NO_ERROR); 810 ASSERT(c->setPreviewDisplay(surface) == NO_ERROR); 841 ASSERT(c->setPreviewDisplay(surface) == NO_ERROR);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
MediaPlayerPerformance.java | 158 mCamera.setPreviewDisplay(mSurfaceHolder); 212 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface());
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 327 camera.setPreviewDisplay(previewView.mHolder); 452 camera.setPreviewDisplay(null);
|
/frameworks/base/media/java/android/media/ |
MediaRecorder.java | 131 public void setPreviewDisplay(Surface sv) { [all...] |
/frameworks/base/services/camera/libcameraservice/ |
CameraService.h | 94 virtual status_t setPreviewDisplay(const sp<Surface>& surface);
|
CameraService.cpp | 571 status_t CameraService::Client::setPreviewDisplay(const sp<Surface>& surface) { 572 LOG1("setPreviewDisplay(%p) (pid %d)", surface.get(), getCallingPid()); [all...] |
/packages/apps/Camera/src/com/android/camera/ |
VideoCamera.java | [all...] |
Camera.java | [all...] |
EffectsRecorder.java | 270 public void setPreviewDisplay(SurfaceHolder previewSurfaceHolder, 273 if (mLogVerbose) Log.v(TAG, "setPreviewDisplay (" + this + ")"); 276 throw new RuntimeException("setPreviewDisplay cannot be called while recording!"); 278 throw new RuntimeException("setPreviewDisplay called on an already released recorder!"); [all...] |
/frameworks/base/core/java/android/hardware/ |
Camera.java | 69 * {@link #setPreviewDisplay(SurfaceHolder)}. Without a surface, the camera 389 * calling setPreviewDisplay() or starting preview. 403 public final void setPreviewDisplay(SurfaceHolder holder) throws IOException { 405 setPreviewDisplay(holder.getSurface()); 407 setPreviewDisplay((Surface)null); 411 private native final void setPreviewDisplay(Surface surface) throws IOException; 418 * preview surface that was set via {@link #setPreviewDisplay}. 471 * with {@link #setPreviewDisplay(SurfaceHolder)} or [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraTest.java | 163 mCamera.setPreviewDisplay(getActivity().getSurfaceView().getHolder()); 316 method = "setPreviewDisplay", 400 method = "setPreviewDisplay", 483 method = "setPreviewDisplay", 499 // Check the order: startPreview->setPreviewDisplay. 502 mCamera.setPreviewDisplay(holder); 507 // Check the order: setPreviewDisplay->startPreview. 511 mCamera.setPreviewDisplay(holder); 518 // setPreviewDisplay. 521 mCamera.setPreviewDisplay(null) [all...] |
/frameworks/base/media/libstagefright/ |
CameraSource.cpp | 517 CHECK_EQ(OK, mCamera->setPreviewDisplay(mSurface));
|
/frameworks/base/core/jni/ |
android_hardware_Camera.cpp | 528 LOGV("setPreviewDisplay"); 536 if (camera->setPreviewDisplay(surface) != NO_ERROR) { 537 jniThrowException(env, "java/io/IOException", "setPreviewDisplay failed"); 813 { "setPreviewDisplay",
|