HomeSort by relevance Sort by last modified time
    Searched refs:CAMERA (Results 1 - 25 of 34) sorted by null

1 2

  /packages/apps/Gallery2/src/com/android/gallery3d/util/
BucketNames.java 24 public static final String CAMERA = "DCIM/Camera";
MediaSetUtils.java 33 + BucketNames.CAMERA);
  /hardware/ti/omap4xxx/
omap4.mk 25 libOMX.TI.DUCATI1.VIDEO.CAMERA \
32 camera.omap4 \
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
MediaRecorderTest.java 4 import android.hardware.Camera;
70 Camera c = Robolectric.newInstanceOf(Camera.class);
175 assertThat(shadowMediaRecorder.getVideoSource(), not(equalTo(MediaRecorder.VideoSource.CAMERA)));
177 mediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
178 assertThat(shadowMediaRecorder.getVideoSource(), equalTo(MediaRecorder.VideoSource.CAMERA));
  /hardware/ti/omap4xxx/domx/omx_proxy_component/
Android.mk 64 # libOMX.TI.DUCATI1.VIDEO.CAMERA
90 LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.CAMERA
106 $(HARDWARE_TI_OMAP4_BASE)/camera/inc \
142 $(HARDWARE_TI_OMAP4_BASE)/camera/inc \
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
MediaRecorderStressTest.java 20 import android.hardware.Camera;
55 private Camera mCamera;
149 private final class CameraErrorCallback implements android.hardware.Camera.ErrorCallback {
150 public void onError(int error, android.hardware.Camera camera) {
151 assertTrue("Camera test mediaserver died", error !=
152 android.hardware.Camera.CAMERA_ERROR_SERVER_DIED);
163 //Test case for stressing the camera preview.
166 if (Camera.getNumberOfCameras() < 1) {
174 output.write("Camera start preview stress:\n")
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
MediaRecorderTest.java 25 import android.hardware.Camera;
60 Camera mCamera;
81 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
149 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
181 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
246 * This test case set the camera in portrait mode.
252 mCamera = Camera.open(CAMERA_ID);
253 Camera.Parameters parameters = mCamera.getParameters();
  /cts/tests/tests/media/src/android/media/cts/
MediaRecorderTest.java 20 import android.hardware.Camera;
67 private Camera mCamera;
163 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
186 int nCamera = Camera.getNumberOfCameras();
189 mCamera = Camera.open(cameraId);
198 Camera camera, String fileName, int durMs, boolean timelapse) throws Exception {
200 // We should add some test case to use Camera.Parameters.getPreviewFpsRange()
202 Camera.Parameters params = camera.getParameters()
    [all...]
MediaPlayerTest.java 552 recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
    [all...]
  /developers/build/prebuilts/gradle/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/mediarecorder/
MainActivity.java 21 import android.hardware.Camera;
39 * This activity uses the camera/camcorder as the A/V source for the {@link android.media.MediaRecorder} API.
40 * A {@link android.view.TextureView} is used as the camera preview which limits the code to API 14+. This
45 private Camera mCamera;
64 * stops recording, releases {@link android.media.MediaRecorder} and {@link android.hardware.Camera}. When not recording,
73 // stop recording and release camera
76 mCamera.lock(); // take camera access back from MediaRecorder
104 // release the camera immediately on pause event
115 // Lock camera for later use i.e taking it back from MediaRecorder.
123 // release the camera for other application
    [all...]
  /developers/samples/android/media/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/mediarecorder/
MainActivity.java 21 import android.hardware.Camera;
39 * This activity uses the camera/camcorder as the A/V source for the {@link android.media.MediaRecorder} API.
40 * A {@link android.view.TextureView} is used as the camera preview which limits the code to API 14+. This
45 private Camera mCamera;
64 * stops recording, releases {@link android.media.MediaRecorder} and {@link android.hardware.Camera}. When not recording,
73 // stop recording and release camera
76 mCamera.lock(); // take camera access back from MediaRecorder
104 // release the camera immediately on pause event
115 // Lock camera for later use i.e taking it back from MediaRecorder.
123 // release the camera for other application
    [all...]
  /development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/
MainActivity.java 21 import android.hardware.Camera;
39 * This activity uses the camera/camcorder as the A/V source for the {@link android.media.MediaRecorder} API.
40 * A {@link android.view.TextureView} is used as the camera preview which limits the code to API 14+. This
45 private Camera mCamera;
64 * stops recording, releases {@link android.media.MediaRecorder} and {@link android.hardware.Camera}. When not recording,
73 // stop recording and release camera
76 mCamera.lock(); // take camera access back from MediaRecorder
104 // release the camera immediately on pause event
115 // Lock camera for later use i.e taking it back from MediaRecorder.
123 // release the camera for other application
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
MediaRecorderStressTest.java 30 import android.hardware.Camera;
50 private Camera mCamera;
135 private final class CameraErrorCallback implements android.hardware.Camera.ErrorCallback {
136 public void onError(int error, android.hardware.Camera camera) {
137 fail(String.format("Camera error, code: %d", error));
182 assertTrue(String.format("Camera doesn't support profile %d", profile),
230 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
306 Log.v(TAG, "Start camera time lapse stress:");
310 for (int i = 0, n = Camera.getNumberOfCameras(); i < n; i++)
    [all...]
  /frameworks/base/media/java/android/media/
MediaRecorder.java 20 import android.hardware.Camera;
69 * <a href="{@docRoot}guide/topics/media/camera.html#capture-video">Camera</a> developer guide.
117 * Sets a Camera to use for recording. Use this function to switch
119 * the camera object. {@link android.hardware.Camera#unlock()} should be
122 * @param c the Camera to use for recording
124 public native void setCamera(Camera c);
129 * set. If {@link #setCamera(Camera)} is used and the surface has been
130 * already set to the camera, application do not need to call this. I
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalAlbum.java 301 relativePath += BucketNames.CAMERA;
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
MediaPlayerPerformance.java 25 import android.hardware.Camera;
26 import android.hardware.Camera.PreviewCallback;
94 Camera mCamera;
148 mCamera = Camera.open(CAMERA_ID);
164 // callback still uses the camera object (setHasPreviewCallback).
165 // After camera is released, RuntimeException will be thrown from
173 public void onPreviewFrame(byte[] rawData, Camera camera) {
233 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
251 //Insert 2 seconds to make sure the camera released
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
CameraVideoActivity.java 16 package com.android.cts.verifier.camera.video;
22 import android.hardware.Camera;
23 import android.hardware.Camera.CameraInfo;
24 import android.hardware.Camera.Size;
56 * Tests for manual verification of camera video capture
79 private Camera mCamera;
146 // Step 1: unlock and set camera to MediaRecorder
152 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
214 int numCameras = Camera.getNumberOfCameras();
217 cameraNames[i] = "Camera " + i
    [all...]
  /external/qemu/android/
hw-events.h 259 KEY_CODE(CAMERA ,212) \
  /frameworks/base/core/java/android/app/
AppOpsManager.java 338 "CAMERA",
388 android.Manifest.permission.CAMERA,
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
CameraStreamer.java 21 import android.hardware.Camera;
22 import android.hardware.Camera.CameraInfo;
23 import android.hardware.Camera.PreviewCallback;
49 * The CameraStreamer streams Frames from a camera to connected clients.
52 * active at any time. The CameraStreamer acts as a Camera "server" that streams frames to any
58 /** Camera Facing: Don't Care: Picks any available camera. */
60 /** Camera Facing: Front: Use the front facing camera. */
62 /** Camera Facing: Back: Use the rear facing camera. *
572 Camera camera = mRunner.mCamera; local
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
VideoModule.java 17 package com.android.camera;
32 import android.hardware.Camera.CameraInfo;
33 import android.hardware.Camera.Parameters;
34 import android.hardware.Camera.Size;
56 import com.android.camera.CameraManager.CameraPictureCallback;
57 import com.android.camera.CameraManager.CameraProxy;
58 import com.android.camera.app.OrientationManager;
59 import com.android.camera.exif.ExifInterface;
60 import com.android.camera.ui.RotateTextToast;
61 import com.android.camera.util.AccessibilityUtils
    [all...]
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
TestingCamera.java 24 import android.hardware.Camera;
25 import android.hardware.Camera.Parameters;
26 import android.hardware.Camera.ErrorCallback;
67 * A simple test application for the camera API.
69 * The goal of this application is to allow all camera API features to be
73 implements SurfaceHolder.Callback, Camera.PreviewCallback,
74 Camera.ErrorCallback {
114 /** Camera state */
116 private Camera mCamera;
117 private Camera.Parameters mParams
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/
CameraTest.java 22 import android.hardware.Camera;
23 import android.hardware.Camera.Area;
24 import android.hardware.Camera.CameraInfo;
25 import android.hardware.Camera.ErrorCallback;
26 import android.hardware.Camera.Face;
27 import android.hardware.Camera.FaceDetectionListener;
28 import android.hardware.Camera.Parameters;
29 import android.hardware.Camera.PictureCallback;
30 import android.hardware.Camera.ShutterCallback;
31 import android.hardware.Camera.Size
    [all...]
  /packages/apps/Camera/src/com/android/camera/
VideoModule.java 17 package com.android.camera;
32 import android.hardware.Camera.CameraInfo;
33 import android.hardware.Camera.Parameters;
34 import android.hardware.Camera.PictureCallback;
35 import android.hardware.Camera.Size;
67 import com.android.camera.ui.AbstractSettingPopup;
68 import com.android.camera.ui.PieRenderer;
69 import com.android.camera.ui.PopupManager;
70 import com.android.camera.ui.PreviewSurfaceView;
71 import com.android.camera.ui.RenderOverlay
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
VideoCamera.java 17 package com.android.camera;
19 import com.android.camera.ui.CameraPicker;
20 import com.android.camera.ui.IndicatorControlContainer;
21 import com.android.camera.ui.IndicatorControlWheelContainer;
22 import com.android.camera.ui.PopupManager;
23 import com.android.camera.ui.Rotatable;
24 import com.android.camera.ui.RotateImageView;
25 import com.android.camera.ui.RotateLayout;
26 import com.android.camera.ui.RotateTextToast;
27 import com.android.camera.ui.SharePopup
    [all...]

Completed in 2712 milliseconds

1 2