/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/ |
CameraOps.java | 23 import android.hardware.camera2.CameraDevice; 70 private CameraDevice mCamera; 346 mPreviewRequestBuilder = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 392 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE); 430 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_RECORD); 459 * FIXME: There is a race condition to be fixed in CameraDevice.
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
MultiViewTest.java | 23 import android.hardware.camera2.CameraDevice; 41 * CameraDevice test by using combination of SurfaceView, TextureView and ImageReader 226 CameraDevice.StateCallback.ERROR_MAX_CAMERAS_IN_USE, e.getCode());
|
AllocationTest.java | 31 import android.hardware.camera2.CameraDevice; 69 * <p>It uses CameraDevice as producer, camera sends the data to the surface provided by 79 private CameraDevice mCamera; 348 * <p>The capture request is created from the {@link CameraDevice#TEMPLATE_PREVIEW} template. 362 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 466 public void run(CameraDevice camera) throws CameraAccessException { 522 public void run(CameraDevice camera) throws CameraAccessException { 585 public void run(CameraDevice camera) throws CameraAccessException { 700 void run(CameraDevice camera) throws CameraAccessException; [all...] |
ImageWriterTest.java | 24 import android.hardware.camera2.CameraDevice; 79 * {@link ImageReader} reads the images produced by {@link CameraDevice}. 113 * {@link ImageReader} reads the images produced by {@link CameraDevice}. 218 CameraDevice.TEMPLATE_PREVIEW);
|
StillCaptureTest.java | 28 import android.hardware.camera2.CameraDevice; 425 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 427 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE); 505 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 507 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE); 687 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 715 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 717 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE); 743 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 745 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE) [all...] |
SurfaceViewPreviewTest.java | 29 import android.hardware.camera2.CameraDevice; 52 * CameraDevice preview test by using SurfaceView. 209 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 378 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 411 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 459 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 536 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 551 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 585 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
|
BurstCaptureTest.java | 22 import android.hardware.camera2.CameraDevice; 138 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 140 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
|
/frameworks/base/docs/html/sdk/api_diff/24/changes/ |
pkg_android.hardware.camera2.html | 98 <A NAME="CameraDevice"></A> 99 <nobr><A HREF="android.hardware.camera2.CameraDevice.html">CameraDevice</A></nobr>
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
Camera2Source.java | 24 import android.hardware.camera2.CameraDevice; 60 private CameraDevice mCamera; 195 mCaptureRequest = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestVideoProvider.java | 30 import android.hardware.camera2.CameraDevice; 67 private CameraDevice mCameraDevice; 272 mCaptureRequest = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
|
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
Camera2Focuser.java | 24 import android.hardware.camera2.CameraDevice; 53 private final CameraDevice mCamera; 93 public Camera2Focuser(CameraDevice camera, CameraCaptureSession session, Surface requestSurface, 299 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
|
CameraMetadataGetter.java | 25 import android.hardware.camera2.CameraDevice; 70 CameraDevice.TEMPLATE_PREVIEW, 71 CameraDevice.TEMPLATE_STILL_CAPTURE, 72 CameraDevice.TEMPLATE_RECORD, 73 CameraDevice.TEMPLATE_VIDEO_SNAPSHOT, 74 CameraDevice.TEMPLATE_ZERO_SHUTTER_LAG, 75 CameraDevice.TEMPLATE_MANUAL, 152 CameraDevice camera = null; 188 CameraDevice camera = null;
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
Camera2SurfaceViewTestCase.java | 40 import android.hardware.camera2.CameraDevice; 97 protected CameraDevice mCamera; 215 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 385 * @param request capture request to forward to {@link CameraDevice#capture} 386 * @param listener request listener to forward to {@link CameraDevice#capture} 387 * @param handler handler to forward to {@link CameraDevice#capture} 411 * @param request capture request to forward to {@link CameraDevice#capture} 413 * @param listener request listener to forward to {@link CameraDevice#capture} 414 * @param handler handler to forward to {@link CameraDevice#capture} [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
Camera2Focuser.java | 26 import android.hardware.camera2.CameraDevice; 56 private final CameraDevice mCamera; 96 public Camera2Focuser(CameraDevice camera, CameraCaptureSession session, Surface requestSurface, 302 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
|
/developers/build/prebuilts/gradle/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
Camera2RawFragment.java | 37 import android.hardware.camera2.CameraDevice; 241 * callbacks from the {@link CameraDevice} and {@link CameraCaptureSession}s. 268 * ID of the current {@link CameraDevice}. 278 * A reference to the open {@link CameraDevice}. 280 private CameraDevice mCameraDevice; 352 * {@link CameraDevice.StateCallback} is called when the currently active {@link CameraDevice} 355 private final CameraDevice.StateCallback mStateCallback = new CameraDevice.StateCallback() { 358 public void onOpened(CameraDevice cameraDevice) [all...] |
/developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
Camera2RawFragment.java | 37 import android.hardware.camera2.CameraDevice; 241 * callbacks from the {@link CameraDevice} and {@link CameraCaptureSession}s. 268 * ID of the current {@link CameraDevice}. 278 * A reference to the open {@link CameraDevice}. 280 private CameraDevice mCameraDevice; 352 * {@link CameraDevice.StateCallback} is called when the currently active {@link CameraDevice} 355 private final CameraDevice.StateCallback mStateCallback = new CameraDevice.StateCallback() { 358 public void onOpened(CameraDevice cameraDevice) [all...] |
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
Camera2RawFragment.java | 37 import android.hardware.camera2.CameraDevice; 241 * callbacks from the {@link CameraDevice} and {@link CameraCaptureSession}s. 268 * ID of the current {@link CameraDevice}. 278 * A reference to the open {@link CameraDevice}. 280 private CameraDevice mCameraDevice; 352 * {@link CameraDevice.StateCallback} is called when the currently active {@link CameraDevice} 355 private final CameraDevice.StateCallback mStateCallback = new CameraDevice.StateCallback() { 358 public void onOpened(CameraDevice cameraDevice) [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
BlockingInputAllocation.java | 32 * <p>When used with a {@link android.hardware.camera2.CameraDevice CameraDevice} this
|
/developers/build/prebuilts/gradle/Camera2Basic/ |
README.md | 21 Create an instance of [CameraDevice.StateCallback][4] and open a 37 [4]: https://developer.android.com/reference/android/hardware/camera2/CameraDevice.StateCallback.html
|
/developers/samples/android/media/Camera2Basic/ |
README.md | 21 Create an instance of [CameraDevice.StateCallback][4] and open a 37 [4]: https://developer.android.com/reference/android/hardware/camera2/CameraDevice.StateCallback.html
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
BurstCaptureCommand.java | 20 import android.hardware.camera2.CameraDevice; 55 private static final int BURST_TEMPLATE_TYPE = CameraDevice.TEMPLATE_VIDEO_SNAPSHOT;
|
/packages/apps/Camera2/src_pd/com/android/camera/one/v2/ |
OneCameraCreator.java | 22 import android.hardware.camera2.CameraDevice; 49 CameraDevice device,
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
CameraDeviceImpl.java | 25 import android.hardware.camera2.CameraDevice; 64 * HAL2.1+ implementation of CameraDevice. Use CameraManager#open to instantiate 66 public class CameraDeviceImpl extends CameraDevice 245 String tag = String.format("CameraDevice-JV-%s", mCameraId); [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
StreamConfigurationMap.java | 22 import android.hardware.camera2.CameraDevice; 46 * {@link android.hardware.camera2.CameraDevice#createCaptureSession}. 67 * @see CameraDevice#createCaptureSession 272 * {@link CameraDevice#createCaptureSession createCaptureSession}. 284 * supported with {@link CameraDevice#createCaptureSession} 292 * @see CameraDevice#createCaptureSession 331 * {@link CameraDevice#createCaptureSession}.</p> 341 * @see CameraDevice#createCaptureSession 366 * in a {@link CameraDevice#createCaptureSession capture session} as an output. 368 * <p>Not all surfaces are usable with the {@link CameraDevice}, and not all configuration [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
Camera2SurfaceViewTestCase.java | 35 import android.hardware.camera2.CameraDevice; 119 protected CameraDevice mCamera; 255 mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 412 * @param request capture request to forward to {@link CameraDevice#capture} 413 * @param listener request listener to forward to {@link CameraDevice#capture} 414 * @param handler handler to forward to {@link CameraDevice#capture} 438 * @param request capture request to forward to {@link CameraDevice#capture} 440 * @param listener request listener to forward to {@link CameraDevice#capture} 441 * @param handler handler to forward to {@link CameraDevice#capture} [all...] |