Home
last modified time | relevance | path

Searched refs:CameraCaptureSession (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingSessionCallback.java18 import android.hardware.camera2.CameraCaptureSession;
46 public class BlockingSessionCallback extends CameraCaptureSession.StateCallback {
80 private final CameraCaptureSession.StateCallback mProxy;
85 private final HashMap<CameraCaptureSession, List<Surface> > mPreparedSurfaces = new HashMap<>();
111 public BlockingSessionCallback(CameraCaptureSession.StateCallback listener) { in BlockingSessionCallback()
139 public CameraCaptureSession waitAndGetSession(long timeoutMs) { in waitAndGetSession()
153 public void onActive(CameraCaptureSession session) { in onActive()
160 public void onClosed(CameraCaptureSession session) { in onClosed()
170 public void onConfigured(CameraCaptureSession session) { in onConfigured()
179 public void onConfigureFailed(CameraCaptureSession session) { in onConfigureFailed()
[all …]
DBlockingCaptureCallback.java18 import android.hardware.camera2.CameraCaptureSession;
39 public class BlockingCaptureCallback extends CameraCaptureSession.CaptureCallback {
86 private final CameraCaptureSession.CaptureCallback mProxy;
107 public BlockingCaptureCallback(CameraCaptureSession.CaptureCallback listener) { in BlockingCaptureCallback()
125 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted()
132 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed()
139 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted()
146 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed()
153 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted()
160 public void onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId) { in onCaptureSequenceAborted()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java69 public abstract class CameraCaptureSession implements AutoCloseable { class
902 public abstract void onConfigured(@NonNull CameraCaptureSession session); in onConfigured()
917 public abstract void onConfigureFailed(@NonNull CameraCaptureSession session); in onConfigureFailed()
932 public void onReady(@NonNull CameraCaptureSession session) { in onReady()
948 public void onActive(@NonNull CameraCaptureSession session) { in onActive()
978 public void onCaptureQueueEmpty(@NonNull CameraCaptureSession session) { in onCaptureQueueEmpty()
996 public void onClosed(@NonNull CameraCaptureSession session) { in onClosed()
1015 public void onSurfacePrepared(@NonNull CameraCaptureSession session, in onSurfacePrepared()
1084 public void onCaptureStarted(@NonNull CameraCaptureSession session, in onCaptureStarted()
1114 public void onCapturePartial(CameraCaptureSession session, in onCapturePartial()
[all …]
DCameraDevice.java479 @NonNull CameraCaptureSession.StateCallback callback, @Nullable Handler handler) in createCaptureSession()
491 CameraCaptureSession.StateCallback callback, @Nullable Handler handler) in createCaptureSessionByOutputConfigurations()
668 @NonNull List<Surface> outputs, @NonNull CameraCaptureSession.StateCallback callback, in createReprocessableCaptureSession()
684 @NonNull CameraCaptureSession.StateCallback callback, in createReprocessableCaptureSessionByConfigurations()
768 @NonNull CameraCaptureSession.StateCallback callback, in createConstrainedHighSpeedCaptureSession()
846 @NonNull CameraCaptureSession.StateCallback callback, in createCustomCaptureSession()
DCameraConstrainedHighSpeedCaptureSession.java72 public abstract class CameraConstrainedHighSpeedCaptureSession extends CameraCaptureSession {
DCaptureRequest.java310 mReprocessableSessionId = CameraCaptureSession.SESSION_ID_NONE; in CaptureRequest()
380 if (reprocessableSessionId == CameraCaptureSession.SESSION_ID_NONE) { in CaptureRequest()
386 mReprocessableSessionId = CameraCaptureSession.SESSION_ID_NONE; in CaptureRequest()
512 mReprocessableSessionId == CameraCaptureSession.SESSION_ID_NONE) { in getReprocessableSessionId()
597 mReprocessableSessionId = CameraCaptureSession.SESSION_ID_NONE; in readFromParcel()
DTotalCaptureResult.java105 mSessionId = CameraCaptureSession.SESSION_ID_NONE; in TotalCaptureResult()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCallbackProxies.java19 import android.hardware.camera2.CameraCaptureSession;
39 extends CameraCaptureSession.StateCallback {
41 private final CameraCaptureSession.StateCallback mCallback;
44 CameraCaptureSession.StateCallback callback) { in SessionStateCallbackProxy()
50 public void onConfigured(CameraCaptureSession session) { in onConfigured()
61 public void onConfigureFailed(CameraCaptureSession session) { in onConfigureFailed()
71 public void onReady(CameraCaptureSession session) { in onReady()
81 public void onActive(CameraCaptureSession session) { in onActive()
91 public void onCaptureQueueEmpty(CameraCaptureSession session) { in onCaptureQueueEmpty()
101 public void onClosed(CameraCaptureSession session) { in onClosed()
[all …]
DCameraConstrainedHighSpeedCaptureSessionImpl.java19 import android.hardware.camera2.CameraCaptureSession;
65 CameraCaptureSession.StateCallback callback, Executor stateExecutor, in CameraConstrainedHighSpeedCaptureSessionImpl()
70 CameraCaptureSession.StateCallback wrapperCallback = new WrapperCallback(callback); in CameraConstrainedHighSpeedCaptureSessionImpl()
101 requestMetadata, /*reprocess*/false, CameraCaptureSession.SESSION_ID_NONE, in createHighSpeedRequestList()
127 requestMetadata, /*reprocess*/false, CameraCaptureSession.SESSION_ID_NONE, in createHighSpeedRequestList()
326 public void onConfigured(CameraCaptureSession session) { in onConfigured()
332 public void onConfigureFailed(CameraCaptureSession session) { in onConfigureFailed()
338 public void onReady(CameraCaptureSession session) { in onReady()
343 public void onActive(CameraCaptureSession session) { in onActive()
348 public void onCaptureQueueEmpty(CameraCaptureSession session) { in onCaptureQueueEmpty()
[all …]
DCameraCaptureSessionImpl.java19 import android.hardware.camera2.CameraCaptureSession;
38 public class CameraCaptureSessionImpl extends CameraCaptureSession
53 private final CameraCaptureSession.StateCallback mStateCallback;
87 CameraCaptureSession.StateCallback callback, Executor stateExecutor, in CameraCaptureSessionImpl()
721 final CameraCaptureSession session = this;
DCameraDeviceImpl.java24 import android.hardware.camera2.CameraCaptureSession;
506 CameraCaptureSession.StateCallback callback, Handler handler) in createCaptureSession()
520 CameraCaptureSession.StateCallback callback, Handler handler) in createCaptureSessionByOutputConfigurations()
535 List<Surface> outputs, CameraCaptureSession.StateCallback callback, Handler handler) in createReprocessableCaptureSession()
557 android.hardware.camera2.CameraCaptureSession.StateCallback callback, Handler handler) in createReprocessableCaptureSessionByConfigurations()
585 android.hardware.camera2.CameraCaptureSession.StateCallback callback, Handler handler) in createConstrainedHighSpeedCaptureSession()
605 android.hardware.camera2.CameraCaptureSession.StateCallback callback, in createCustomCaptureSession()
636 CameraCaptureSession.StateCallback callback, Executor executor, in createCaptureSessionInternal()
763 templatedRequest, /*reprocess*/false, CameraCaptureSession.SESSION_ID_NONE, in createCaptureRequest()
788 templatedRequest, /*reprocess*/false, CameraCaptureSession.SESSION_ID_NONE, in createCaptureRequest()
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2CaptureCallbackSplitter.java19 import android.hardware.camera2.CameraCaptureSession;
20 import android.hardware.camera2.CameraCaptureSession.CaptureCallback;
50 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted()
58 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed()
66 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed()
74 public void onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId) { in onCaptureSequenceAborted()
81 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted()
89 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted()
DCamera2CaptureCallbackForwarder.java19 import android.hardware.camera2.CameraCaptureSession;
20 import android.hardware.camera2.CameraCaptureSession.CaptureCallback;
41 public void onCaptureCompleted(final CameraCaptureSession session, final CaptureRequest request, in onCaptureCompleted()
51 public void onCaptureFailed(final CameraCaptureSession session, final CaptureRequest request, in onCaptureFailed()
61 public void onCaptureProgressed(final CameraCaptureSession session, in onCaptureProgressed()
72 public void onCaptureSequenceAborted(final CameraCaptureSession session, final int sequenceId) { in onCaptureSequenceAborted()
81 public void onCaptureSequenceCompleted(final CameraCaptureSession session, final int sequenceId, in onCaptureSequenceCompleted()
91 public void onCaptureStarted(final CameraCaptureSession session, final CaptureRequest request, in onCaptureStarted()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java22 import android.hardware.camera2.CameraCaptureSession;
68 private CameraCaptureSession mCameraSession;
369 final CameraCaptureSession.CaptureCallback listener,
387 final CameraCaptureSession.CaptureCallback listener,
425 private CameraCaptureSession.StateCallback mCameraSessionListener =
426 new CameraCaptureSession.StateCallback() {
429 public void onConfigured(CameraCaptureSession session) {
445 public void onConfigureFailed(CameraCaptureSession session) {
500 CameraCaptureSession.CaptureCallback captureCallback
501 = new CameraCaptureSession.CaptureCallback() {
[all …]
DCameraView.java22 import android.hardware.camera2.CameraCaptureSession;
189 private CameraCaptureSession.CaptureCallback mPhotoCallback
190 = new CameraCaptureSession.CaptureCallback() {
192 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request,
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java22 import android.hardware.camera2.CameraCaptureSession;
62 private CameraCaptureSession mCameraSession;
404 final CameraCaptureSession.CaptureCallback listener, in setRepeatingRequest()
422 final CameraCaptureSession.CaptureCallback listener, in setRepeatingBurst()
460 private CameraCaptureSession.StateCallback mCameraSessionListener =
461 new CameraCaptureSession.StateCallback() {
464 public void onConfigured(CameraCaptureSession session) {
480 public void onConfigureFailed(CameraCaptureSession session) {
536 CameraCaptureSession.CaptureCallback captureCallback in captureStillPicture()
537 = new CameraCaptureSession.CaptureCallback() { in captureStillPicture()
[all …]
DCameraView.java22 import android.hardware.camera2.CameraCaptureSession;
190 private CameraCaptureSession.CaptureCallback mPhotoCallback
191 = new CameraCaptureSession.CaptureCallback() {
193 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request,
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java27 import android.hardware.camera2.CameraCaptureSession;
175 extends CameraCaptureSession.CaptureCallback
199 private CameraCaptureSession mSession;
402 CameraCaptureSession.CaptureCallback deferredCallbackSetter = in handleMessage()
403 new CameraCaptureSession.CaptureCallback() { in handleMessage()
407 public void onCaptureProgressed(CameraCaptureSession session, in handleMessage()
414 public void onCaptureCompleted(CameraCaptureSession session, in handleMessage()
434 public void onCaptureFailed(CameraCaptureSession session, in handleMessage()
581 CameraCaptureSession.CaptureCallback deferredCallbackSetter = in handleMessage()
582 new CameraCaptureSession.CaptureCallback() { in handleMessage()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCamera2Focuser.java23 import android.hardware.camera2.CameraCaptureSession;
24 import android.hardware.camera2.CameraCaptureSession.CaptureCallback;
57 private final CameraCaptureSession mSession;
96 public Camera2Focuser(CameraDevice camera, CameraCaptureSession session, Surface requestSurface, in Camera2Focuser()
351 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in createCaptureListener()
366 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in createCaptureListener()
DCameraTestUtils.java25 import android.hardware.camera2.CameraCaptureSession;
384 public static class SimpleCaptureCallback extends CameraCaptureSession.CaptureCallback {
396 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted()
407 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted()
419 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed()
430 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted()
710 public static CameraCaptureSession configureCameraSessionWithParameters(CameraDevice camera, in configureCameraSessionWithParameters()
723 CameraCaptureSession session = listener.waitAndGetSession(SESSION_CONFIGURE_TIMEOUT_MS); in configureCameraSessionWithParameters()
740 public static CameraCaptureSession configureCameraSession(CameraDevice camera, in configureCameraSession()
742 CameraCaptureSession.StateCallback listener, Handler handler) in configureCameraSession()
[all …]
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java23 import android.hardware.camera2.CameraCaptureSession;
80 CameraCaptureSession mCaptureSession;
340 final CameraCaptureSession.StateCallback mCaptureSessionListener =
341 new CameraCaptureSession.StateCallback() {
343 public void onConfigured(CameraCaptureSession session) {
373 public void onClosed(CameraCaptureSession session) {
378 public void onConfigureFailed(CameraCaptureSession session) {
/frameworks/base/core/java/android/hardware/camera2/params/
DSessionConfiguration.java24 import android.hardware.camera2.CameraCaptureSession;
86 private CameraCaptureSession.StateCallback mStateCallback;
111 @NonNull CameraCaptureSession.StateCallback cb) { in SessionConfiguration()
243 public CameraCaptureSession.StateCallback getStateCallback() { in getStateCallback()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCamera2Source.java25 import android.hardware.camera2.CameraCaptureSession;
61 private CameraCaptureSession mCameraSession;
91 class MyCaptureCallback extends CameraCaptureSession.CaptureCallback {
94 public void onCaptureCompleted(CameraCaptureSession camera, CaptureRequest request, in onCaptureCompleted()
102 public void onCaptureFailed(CameraCaptureSession camera, CaptureRequest request, in onCaptureFailed()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java34 import android.hardware.camera2.CameraCaptureSession;
35 import android.hardware.camera2.CameraCaptureSession.CaptureCallback;
120 protected CameraCaptureSession mSession;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java31 import android.hardware.camera2.CameraCaptureSession;
201 CameraCaptureSession.SESSION_ID_NONE, mCameraId, /*physicalCameraIdSet*/null); in createDefaultBuilder()

12