/frameworks/av/camera/include/camera/ |
Camera.h | 25 #include <system/camera.h> 26 #include <camera/ICameraRecordingProxy.h> 27 #include <camera/ICameraRecordingProxyListener.h> 28 #include <camera/android/hardware/ICamera.h> 29 #include <camera/android/hardware/ICameraClient.h> 30 #include <camera/CameraBase.h> 52 class Camera; 55 struct CameraTraits<Camera> 69 class Camera : 70 public CameraBase<Camera>, [all...] |
/external/eigen/demos/opengl/ |
camera.cpp | 10 #include "camera.h" 18 Camera::Camera() 34 Camera& Camera::operator=(const Camera& other) 55 Camera::Camera(const Camera& other) 60 Camera::~Camera( [all...] |
camera.h | 36 class Camera 41 Camera(void); 43 Camera(const Camera& other); 45 virtual ~Camera(); 47 Camera& operator=(const Camera& other);
|
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 20 import android.hardware.Camera; 32 * Camera related utilities. 40 * Iterate over supported camera video sizes to see which one best fits the 44 * @param supportedVideoSizes Supported camera video sizes. 45 * @param previewSizes Supported camera preview sizes. 48 * @return Best match camera video size to fit in the view. 50 public static Camera.Size getOptimalVideoSize(List<Camera.Size> supportedVideoSizes, 51 List<Camera.Size> previewSizes, int w, int h) { 58 List<Camera.Size> videoSizes [all...] |
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 20 import android.hardware.Camera; 32 * Camera related utilities. 40 * Iterate over supported camera video sizes to see which one best fits the 44 * @param supportedVideoSizes Supported camera video sizes. 45 * @param previewSizes Supported camera preview sizes. 48 * @return Best match camera video size to fit in the view. 50 public static Camera.Size getOptimalVideoSize(List<Camera.Size> supportedVideoSizes, 51 List<Camera.Size> previewSizes, int w, int h) { 58 List<Camera.Size> videoSizes [all...] |
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/ |
CameraPreviewActivity.java | 17 package com.example.android.basicpermissions.camera; 20 import android.hardware.Camera; 29 * Displays a {@link CameraPreview} of the first {@link Camera}. 30 * An error message is displayed if the Camera is not available. 32 * This Activity is only used to illustrate that access to the Camera API has been granted (or 37 * http://developer.android.com/guide/topics/media/camera.html 42 * Id of the camera to access. 0 is the first camera. 46 private Camera mCamera; 52 // Open an instance of the first camera and retrieve its info [all...] |
/developers/samples/android/common/src/java/com/example/android/common/media/ |
CameraHelper.java | 20 import android.hardware.Camera; 32 * Camera related utilities. 40 * Iterate over supported camera video sizes to see which one best fits the 44 * @param supportedVideoSizes Supported camera video sizes. 45 * @param previewSizes Supported camera preview sizes. 48 * @return Best match camera video size to fit in the view. 50 public static Camera.Size getOptimalVideoSize(List<Camera.Size> supportedVideoSizes, 51 List<Camera.Size> previewSizes, int w, int h) { 58 List<Camera.Size> videoSizes [all...] |
/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/ |
CameraPreviewActivity.java | 17 package com.example.android.basicpermissions.camera; 20 import android.hardware.Camera; 29 * Displays a {@link CameraPreview} of the first {@link Camera}. 30 * An error message is displayed if the Camera is not available. 32 * This Activity is only used to illustrate that access to the Camera API has been granted (or 37 * http://developer.android.com/guide/topics/media/camera.html 42 * Id of the camera to access. 0 is the first camera. 46 private Camera mCamera; 52 // Open an instance of the first camera and retrieve its info [all...] |
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
CameraHelper.java | 20 import android.hardware.Camera; 31 * Camera related utilities. 39 * Iterate over supported camera video sizes to see which one best fits the 43 * @param supportedVideoSizes Supported camera video sizes. 44 * @param previewSizes Supported camera preview sizes. 47 * @return Best match camera video size to fit in the view. 49 public static Camera.Size getOptimalVideoSize(List<Camera.Size> supportedVideoSizes, 50 List<Camera.Size> previewSizes, int w, int h) { 57 List<Camera.Size> videoSizes [all...] |
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
CameraHelper.java | 20 import android.hardware.Camera; 31 * Camera related utilities. 39 * Iterate over supported camera video sizes to see which one best fits the 43 * @param supportedVideoSizes Supported camera video sizes. 44 * @param previewSizes Supported camera preview sizes. 47 * @return Best match camera video size to fit in the view. 49 public static Camera.Size getOptimalVideoSize(List<Camera.Size> supportedVideoSizes, 50 List<Camera.Size> previewSizes, int w, int h) { 57 List<Camera.Size> videoSizes [all...] |
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
CameraHelper.java | 20 import android.hardware.Camera; 31 * Camera related utilities. 39 * Iterate over supported camera video sizes to see which one best fits the 43 * @param supportedVideoSizes Supported camera video sizes. 44 * @param previewSizes Supported camera preview sizes. 47 * @return Best match camera video size to fit in the view. 49 public static Camera.Size getOptimalVideoSize(List<Camera.Size> supportedVideoSizes, 50 List<Camera.Size> previewSizes, int w, int h) { 57 List<Camera.Size> videoSizes [all...] |
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/ |
CameraPreviewActivity.java | 17 package com.example.android.basicpermissions.camera; 22 import android.hardware.Camera; 28 * Displays a {@link CameraPreview} of the first {@link Camera}. 29 * An error message is displayed if the Camera is not available. 31 * This Activity is only used to illustrate that access to the Camera API has been granted (or 36 * http://developer.android.com/guide/topics/media/camera.html 43 * Id of the camera to access. 0 is the first camera. 48 private Camera mCamera; 54 // Open an instance of the first camera and retrieve its info [all...] |
/development/tools/repo_diff/service/repodiff/constants/ |
techareas.go | 7 Camera 29 Camera: "Camera", 82 "42292e3359a7fdec2aee650671c0ca98576a00ce21fef71a31932277ecbba9a3": Camera, 94 "2490f5f20143c9ce192611bfaded68353a63d960a449bdd12e64e064bb24c089": Camera, 133 "0ee1c59eebf5fd6212e56ebb34621eb1c0d234c475b40afb364174245485fc20": Camera, 136 "6c17cc17bfd5387493de86c8b340ecfa042d4648c0c482f52e4400ca6f54a35c": Camera, 139 "cdde6fcfa79c438454043ef519046f03ad5f29813890c8edf3686bf8d3c794fd": Camera, 151 "a368d3b73c29a18cbc7a32c0d4a417a6791a029cf1cf97e3b75ab6817bfb1019": Camera, 160 "241dd2d8cf8fe95291507c7a2cc10cb3fbfc55e39b59f4326cb8f01573723a73": Camera, [all...] |
/external/dynamic_depth/includes/dynamic_depth/ |
camera.h | 23 // The camera trait is serialized only if it is one of PHYSICAL or LOGICAL. 69 // Implements the Camera element from the Dynamic Depth specification, with 71 class Camera : public Element { 79 // Creates a Camera from the given objects in params. 82 static std::unique_ptr<Camera> FromData(std::unique_ptr<CameraParams> params); 85 // only for Camera 0, since the lack of an Image element indicates that it 91 static std::unique_ptr<Camera> FromDataForCamera0( 95 // Returns the deserialized Camera object, null if parsing fails. 96 // Not sensitive to case when parsing a camera's trait. 97 static std::unique_ptr<Camera> FromDeserializer [all...] |
/frameworks/av/camera/ |
Camera.cpp | 19 #define LOG_TAG "Camera" 27 #include <Camera.h> 37 Camera::Camera(int cameraId) 42 CameraTraits<Camera>::TCamConnectService CameraTraits<Camera>::fnConnectService = 45 // construct a camera client from an existing camera remote 46 sp<Camera> Camera::create(const sp<::android::hardware::ICamera>& camera [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CameraTest.java | 22 import android.graphics.Camera; 36 private Camera mCamera; 40 mCamera = new Camera(); 45 new Camera();
|
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/ |
CameraPreviewFragment.java | 17 package com.example.android.system.runtimepermissions.camera; 19 import android.hardware.Camera; 32 * Displays a {@link CameraPreview} of the first {@link Camera}. 33 * An error message is displayed if the Camera is not available. 35 * This Fragment is only used to illustrate that access to the Camera API has been granted (or 40 * http://developer.android.com/guide/topics/media/camera.html 47 * Id of the camera to access. 0 is the first camera. 52 private Camera mCamera; 59 * A safe way to get an instance of the Camera object [all...] |
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/ |
CameraPreviewFragment.java | 17 package com.example.android.system.runtimepermissions.camera; 19 import android.hardware.Camera; 32 * Displays a {@link CameraPreview} of the first {@link Camera}. 33 * An error message is displayed if the Camera is not available. 35 * This Fragment is only used to illustrate that access to the Camera API has been granted (or 40 * http://developer.android.com/guide/topics/media/camera.html 47 * Id of the camera to access. 0 is the first camera. 52 private Camera mCamera; 59 * A safe way to get an instance of the Camera object [all...] |
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/ |
CameraPreviewFragment.java | 17 package com.example.android.system.runtimepermissions.camera; 22 import android.hardware.Camera; 32 * Displays a {@link CameraPreview} of the first {@link Camera}. 33 * An error message is displayed if the Camera is not available. 35 * This Fragment is only used to illustrate that access to the Camera API has been granted (or 40 * http://developer.android.com/guide/topics/media/camera.html 47 * Id of the camera to access. 0 is the first camera. 52 private Camera mCamera; 62 // Open an instance of the first camera and retrieve its info [all...] |
/external/dynamic_depth/internal/dynamic_depth/ |
const.cc | 11 constexpr char kCamera[] = "Camera"; 42 const char* DynamicDepthConst::Camera() { return kCamera; } 79 // either the Device or Camera elements.
|
camera.cc | 2 #include "dynamic_depth/camera.h" 13 const char kNamespaceHref[] = "http://ns.google.com/photos/dd/1.0/camera/"; 50 std::unique_ptr<Camera> ParseFields(const Deserializer& deserializer) { 52 deserializer.ParseString(DynamicDepthConst::Camera(), kTrait, &trait_str); 57 LOG(ERROR) << "An image must be present in a Camera, but none was found"; 65 Pose::FromDeserializer(deserializer, DynamicDepthConst::Camera()); 77 VendorInfo::FromDeserializer(deserializer, DynamicDepthConst::Camera()); 80 AppInfo::FromDeserializer(deserializer, DynamicDepthConst::Camera()); 91 return Camera::FromData(std::move(params)); 97 Camera::Camera(std::unique_ptr<CameraParams> params) [all...] |
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
LegacyCameraConnectionFragment.java | 21 import android.hardware.Camera; 22 import android.hardware.Camera.CameraInfo; 40 private Camera camera; field in class:LegacyCameraConnectionFragment 42 private Camera.PreviewCallback imageListener; 51 final Camera.PreviewCallback imageListener, final int layout, final Size desiredSize) { 80 camera = Camera.open(index); 83 Camera.Parameters parameters = camera.getParameters() [all...] |
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
LegacyCameraConnectionFragment.java | 21 import android.hardware.Camera; 22 import android.hardware.Camera.CameraInfo; 40 private Camera camera; field in class:LegacyCameraConnectionFragment 42 private Camera.PreviewCallback imageListener; 51 final Camera.PreviewCallback imageListener, final int layout, final Size desiredSize) { 80 camera = Camera.open(index); 83 Camera.Parameters parameters = camera.getParameters() [all...] |
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
CameraEnumerationAndroid.java | 52 * Returns a list of supported CaptureFormats for the camera with index |cameraId|. 92 // http://developer.android.com/reference/android/hardware/Camera.html#addCallbackBuffer(byte[]) 117 String[] names = new String[android.hardware.Camera.getNumberOfCameras()]; 118 for (int i = 0; i < android.hardware.Camera.getNumberOfCameras(); ++i) { 126 return android.hardware.Camera.getNumberOfCameras(); 129 // Returns the name of the camera with camera index. Returns null if the 130 // camera can not be used. 132 android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo() [all...] |
/cts/tests/app/src/android/app/cts/ |
SystemFeaturesTest.java | 35 import android.hardware.Camera; 36 import android.hardware.Camera.CameraInfo; 37 import android.hardware.Camera.Parameters; 140 int numCameras = Camera.getNumberOfCameras(); 153 assertFalse("Devices supporting external cameras must have a representative camera " + 231 int numCameras = Camera.getNumberOfCameras(); 234 Camera.getCameraInfo(i, info); 241 assertTrue("Device has front-facing camera but does not report either " + 246 assertFalse("Device does not have front-facing camera but reports either " + 254 Camera camera = null local [all...] |