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

1 2 3 4 5 6 7 8 91011>>

  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/utils/
DirectionalAnalyzer.java 19 import com.badlogic.gdx.graphics.Camera;
22 /** Directional Analyzer computes the camera's properties needed by directional light. Implementation should use main camera
26 /** Compute the camera dimension based on directional light. Camera should be an orthographic camera.
28 * @param out Updated camera
29 * @param mainCamera Main Scene camera
30 * @return Camera Camera out for chaining *
    [all...]
AllLightFilter.java 19 import com.badlogic.gdx.graphics.Camera;
27 public boolean filter (BaseLight light, Camera camera, Camera mainCamera) {
LightFilter.java 19 import com.badlogic.gdx.graphics.Camera;
27 * @param camera Light's camera
28 * @param mainCamera Main scene camera
30 public boolean filter (BaseLight light, Camera camera, Camera mainCamera);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCameraSize.java 3 import android.hardware.Camera;
8 * Shadow for the Android {@code Camera.Size} value object.
10 @Implements(Camera.Size.class)
12 @RealObject private Camera.Size realCameraSize;
14 public void __constructor__(Camera camera, int width, int height) {
ShadowCamera.java 8 import android.hardware.Camera;
16 * Shadows the Android {@code Camera} class.
18 @Implements(Camera.class)
24 private Camera.Parameters parameters;
25 private Camera.PreviewCallback previewCallback;
28 private static Map<Integer, Camera.CameraInfo> cameras = new HashMap<Integer,Camera.CameraInfo>();
31 private Camera realCamera;
40 public static Camera open() {
41 return Robolectric.newInstanceOf(Camera.class)
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
CameraErrorCallback.java 17 package com.android.camera;
22 implements android.hardware.Camera.ErrorCallback {
25 public void onError(int error, android.hardware.Camera camera) {
26 Log.e(TAG, "Got camera error callback. error=" + error);
27 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) {
30 // new Camera object.
  /developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/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...]
  /developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/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...]
  /developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/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...]
  /developers/samples/android/common/src/java/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/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...]
  /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
AndroidCameraCapabilities.java 19 import android.hardware.Camera;
28 * The subclass of {@link CameraCapabilities} for Android Camera 1 API.
40 AndroidCameraCapabilities(Camera.Parameters p) {
89 private void buildPreviewFpsRange(Camera.Parameters p) {
97 private void buildPreviewSizes(Camera.Parameters p) {
98 List<Camera.Size> supportedPreviewSizes = p.getSupportedPreviewSizes();
100 for (Camera.Size s : supportedPreviewSizes) {
107 private void buildVideoSizes(Camera.Parameters p) {
108 List<Camera.Size> supportedVideoSizes = p.getSupportedVideoSizes();
110 for (Camera.Size s : supportedVideoSizes)
    [all...]
  /external/opencv3/modules/videoio/src/
cap_pvapi.cpp 71 /********************* Capturing video from camera via PvAPI *********************/
110 tCamera Camera;
118 memset(&this->Camera, 0, sizeof(this->Camera));
136 // Stop the acquisition & free the camera
138 PvCameraClose(Camera.Handle);
142 // Initialize camera input
164 Camera.UID = cameraList[index].UniqueId;
166 if (!PvCameraInfo(Camera.UID,&camInfo) && !PvCameraIpSettingsGet(Camera.UID,&ipSettings)
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
SizeAreaComparator.java 19 import android.hardware.Camera;
28 * Comparator for api1 {@link Camera.Size} objects by the area.
33 public class SizeAreaComparator implements Comparator<Camera.Size> {
38 public int compare(Camera.Size size, Camera.Size size2) {
59 * Get the largest api1 {@code Camera.Size} from the list by comparing each size's area
67 public static Camera.Size findLargestByArea(List<Camera.Size> sizes) {
  /cts/tests/tests/graphics2/src/android/graphics2/cts/
TextureViewTest.java 20 import android.hardware.Camera;
34 if (Camera.getNumberOfCameras() < 1) {
41 if (Camera.getNumberOfCameras() < 1) {
  /cts/tests/camera/src/android/hardware/cts/
Camera_ParametersTest.java 20 import android.hardware.Camera.Parameters;
25 // Camera.Parameters methods are tested in CameraTest#testAccessParameters().
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
CameraOpenTest.java 19 import android.hardware.Camera;
33 private Camera mCamera;
36 * Test @hide android.hardware.Camera#openLegacy API that cannot be tested in CTS.
40 int nCameras = Camera.getNumberOfCameras();
43 mCamera.openLegacy(id, Camera.CAMERA_HAL_API_VERSION_1_0);
45 Log.i(TAG, "Unable to open camera as HAL1 legacy camera device " + e);
  /packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
MockCameraFactory.java 19 import android.hardware.Camera;
20 import android.hardware.Camera.CameraInfo;
31 private static Map<Camera, CameraInfo> sCameraInfos = new HashMap<Camera, CameraInfo>();
33 public static Camera createCamera(int facing) {
34 Camera camera = Mockito.mock(Camera.class); local
37 sCameraInfos.put(camera, cameraInfo);
38 return camera;
    [all...]
  /developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/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...]
  /developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/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/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...]
  /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...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
RenderableSorter.java 19 import com.badlogic.gdx.graphics.Camera;
23 /** Responsible for sorting {@link Renderable} lists by whatever criteria (material, distance to camera, etc.)
26 /** Sorts the array of {@link Renderable} instances based on some criteria, e.g. material, distance to camera etc.
28 public void sort (Camera camera, Array<Renderable> renderables);

Completed in 1162 milliseconds

1 2 3 4 5 6 7 8 91011>>