Lines Matching refs:CAMERA
25 import android.hardware.Camera;
26 import android.hardware.Camera.PreviewCallback;
96 Camera mCamera;
132 mCamera = Camera.open();
148 // callback still uses the camera object (setHasPreviewCallback).
149 // After camera is released, RuntimeException will be thrown from
156 public void onPreviewFrame(byte[] rawData, Camera camera) {
216 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
473 // Test case 8: Capture the memory usage after every 20 camera preview
479 mMemWriter.write("Camera Preview Only\n");
487 assertTrue("camera preview memory test", memoryResult);