/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 8 import android.hardware.Camera; 9 import android.hardware.Camera.Size; 69 for (int i = 0; i < Camera.getNumberOfCameras(); i++) { 80 Camera.CameraInfo info = 81 new Camera.CameraInfo(); 82 Camera.getCameraInfo(id, info); 87 Camera cam = Camera.open(id); 88 Camera.Parameters params = cam.getParameters(); 91 List<Camera.Size> sizes = params.getSupportedPreviewSizes() 310 Camera camera; local [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
SystemFeaturesTest.java | 30 import android.hardware.Camera; 33 import android.hardware.Camera.CameraInfo; 34 import android.hardware.Camera.Parameters; 110 int numCameras = Camera.getNumberOfCameras(); 117 assertFalse("Devices supporting external cameras must have a representative camera " + 129 int numCameras = Camera.getNumberOfCameras(); 132 Camera.getCameraInfo(i, info); 139 assertTrue("Device has front-facing camera but does not report either " + 144 assertFalse("Device does not have front-facing camera but reports either " + 152 Camera camera = null local [all...] |
/frameworks/base/media/java/android/media/ |
CamcorderProfile.java | 19 import android.hardware.Camera; 20 import android.hardware.Camera.CameraInfo; 255 * Returns the camcorder profile for the first back-facing camera on the 257 * camera, this returns null. 262 int numberOfCameras = Camera.getNumberOfCameras(); 265 Camera.getCameraInfo(i, cameraInfo); 274 * Returns the camcorder profile for the given camera at the given 299 * @param cameraId the id for the camera 339 * camera at the given quality level. 342 * When using the Camera 2 API in {@code LEGACY} mode (i.e. whe [all...] |
/hardware/ti/omap4-aah/camera/ |
ANativeWindowDisplayAdapter.cpp | 24 namespace Camera { 406 // Clear the frames with camera adapter map 484 ///Set the number of buffers needed for camera preview 535 // TODO(XXX): Do we need to keep stride information in camera hal? 802 ///Clear the frames with camera adapter map 904 // We dequeue and return the frame back to Camera adapter 939 CAMHAL_LOGDA("Display thread received DISPLAY_START command from Camera HAL"); 950 CAMHAL_LOGDA("Display thread received DISPLAY_STOP command from Camera HAL"); 963 CAMHAL_LOGDA("Display thread received DISPLAY_EXIT command from Camera HAL."); 1127 // TODO(XXX): Do we need to keep stride information in camera hal [all...] |
CameraHal_Module.cpp | 20 * This file maps the Camera Hardware Interface to V4L2. 39 namespace Camera { 56 } // namespace Camera 68 methods: &Ti::Camera::camera_module_methods, 72 get_number_of_cameras: Ti::Camera::camera_get_number_of_cameras, 73 get_camera_info: Ti::Camera::camera_get_camera_info, 78 namespace Camera { 622 * assume camera service will keep singleton of each camera 623 * so this function will always only be called once per camera instanc 634 CameraHal* camera = NULL; local [all...] |
Encoder_libjpeg.cpp | 48 namespace Camera { 542 } // namespace Camera
|
BufferSourceAdapter.cpp | 25 namespace Camera { 427 // TODO(XXX): Do we need to keep stride information in camera hal? 798 ///Clear the frames with camera adapter map 991 CAMHAL_LOGEB("Invalid Cookie in Camera Frame = %p, Cookie = %p", 998 } // namespace Camera
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMXAlgo.cpp | 31 namespace Camera { 652 CAMHAL_LOGDA("Camera mode: STEREO VIDEO"); 655 CAMHAL_LOGDA("Camera mode: STEREO"); 659 CAMHAL_LOGDA("Camera mode: HIGH SPEED"); 662 CAMHAL_LOGDA("Camera mode: CP CAM"); 667 CAMHAL_LOGDA("Camera mode: HIGH QUALITY"); 671 CAMHAL_LOGDA("Camera mode: HIGH QUALITY_ZSL"); 681 CAMHAL_LOGDA("Camera mode: VIDEO MODE"); 684 CAMHAL_LOGDA("Camera mode: VIDEO MODE HQ"); 687 CAMHAL_LOGEA("Camera mode: INVALID mode passed!") [all...] |
OMXDefaults.cpp | 20 * This file contains definitions are OMX Camera defaults 28 namespace Camera { 32 // OMX Camera defaults 82 } // namespace Camera
|
OMXFD.cpp | 28 namespace Camera { 503 } // namespace Camera
|
OMXFocus.cpp | 34 namespace Camera { 120 // If the app calls autoFocus, the camera will stop sending face callbacks. 271 // This is a WA. Usually the OMX Camera component should 882 } // namespace Camera
|
OMXCapture.cpp | 30 namespace Camera { 133 // JPEG capture is not supported in video mode by OMX Camera 591 CAMHAL_LOGDA("Camera capture mode configured successfully"); 609 CAMHAL_LOGDA("Extended camera capture mode configured successfully"); 793 CAMHAL_LOGDA("Camera capture mode configured successfully"); 833 CAMHAL_LOGDA("Extended camera capture mode configured successfully"); [all...] |
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/ |
V4LCapabilities.cpp | 30 namespace Camera { 43 //Camera defaults 366 } // namespace Camera
|
/hardware/ti/omap4-aah/camera/inc/ |
ANativeWindowDisplayAdapter.h | 24 namespace Camera { 188 } // namespace Camera
|
BufferSourceAdapter.h | 27 namespace Camera { 221 } // namespace Camera
|
BaseCameraAdapter.h | 25 namespace Camera { 45 ///Initialzes the camera adapter creates any resources required 57 //APIs to configure Camera adapter and get the current parameter set 61 //API to send a command to the camera 118 //Should be implemented by deriving classes in order to start camera preview 121 //Should be implemented by deriving classes in order to stop camera preview 137 //by camera service when VSTAB/VNF is turned ON for example 301 } // namespace Camera
|
Encoder_libjpeg.h | 43 namespace Camera { 223 } // namespace Camera
|
General3A_Settings.h | 20 * This file maps the Camera Hardware Interface to OMX. 33 namespace Camera { 292 } // namespace Camera
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraHolder.java | 17 package com.android.camera; 19 import static com.android.camera.Util.Assert; 21 import android.hardware.Camera.CameraInfo; 22 import android.hardware.Camera.Parameters; 33 * The class is used to hold an {@code android.hardware.Camera} instance. 36 * in {@code android.hardware.Camera}. The difference is if {@code keep()} is 38 * android.hardware.Camera} instance for a while, so if {@code open()} is 40 * android.hardware.Camera}. 42 * <p>This is used in switching between {@code Camera} and {@code VideoCamera} 47 private android.hardware.Camera mCameraDevice [all...] |
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 17 package com.android.camera.stress; 19 import com.android.camera.Camera; 20 import com.android.camera.VideoCamera; 35 * Test cases to measure the camera and video recorder startup time. 50 intent.setClass(getInstrumentation().getTargetContext(), Camera.class); 59 Log.v(TAG, "camera startup time: " + startupTime); 111 fail("Camera write output to file"); 139 individualStartupTime = "Individual Camera Startup Time = "; 146 writeToOutputFile(firstStartUpTime, "na", true, "Camera"); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CameraPreview.java | 22 import android.hardware.Camera; 23 import android.hardware.Camera.CameraInfo; 24 import android.hardware.Camera.Size; 48 Camera mCamera; 52 // The first rear facing camera 69 numberOfCameras = Camera.getNumberOfCameras(); 71 // Find the ID of the default camera 74 Camera.getCameraInfo(i, cameraInfo); 85 // Open the default i.e. the first rear facing camera. 86 mCamera = Camera.open() [all...] |
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
CameraFragment.java | 24 import android.hardware.Camera; 25 import android.hardware.Camera.CameraInfo; 26 import android.hardware.Camera.Size; 44 Camera mCamera; 46 int mCurrentCamera; // Camera ID currently chosen 47 int mCameraCurrentlyLocked; // Camera ID that's actually acquired 49 // The first rear facing camera 56 // Create a container that will hold a SurfaceView for camera previews 60 mNumberOfCameras = Camera.getNumberOfCameras(); 62 // Find the ID of the rear-facing ("default") camera [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CameraTest.java | 7 import android.hardware.Camera; 28 private Camera camera; field in class:CameraTest 33 camera = Camera.open(); 34 shadowCamera = Robolectric.shadowOf(camera); 44 assertThat(camera, notNullValue()); 50 camera.unlock(); 56 camera.unlock(); 58 camera.reconnect() 222 public Camera camera = null; field in class:CameraTest.TestPreviewCallback [all...] |
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 29 namespace Camera { 83 * Class which completely abstracts the camera hardware interaction from camera hal 94 ///@remarks OMX Camera has six ports - buffer input, time input, preview, image, video, and meta data 106 ///Initialzes the camera adapter creates any resources required 109 //APIs to configure Camera adapter and get the current parameter set 169 //camera defaults 235 } // namespace Camera
|
/packages/apps/Camera/src/com/android/camera/ |
CameraHolder.java | 17 package com.android.camera; 19 import static com.android.camera.Util.Assert; 21 import android.hardware.Camera.CameraInfo; 22 import android.hardware.Camera.Parameters; 30 import com.android.camera.CameraManager.CameraProxy; 38 * The class is used to hold an {@code android.hardware.Camera} instance. 41 * in {@code android.hardware.Camera}. The difference is if {@code keep()} is 43 * android.hardware.Camera} instance for a while, so if {@code open()} is 45 * android.hardware.Camera}. 53 private long mKeepBeforeTime; // Keep the Camera before this time [all...] |