Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraManagerImpl.java23 import com.android.camera.device.CameraId;
43 private final CameraId mFirstBackCameraId;
44 private final CameraId mFirstFrontCameraId;
82 CameraId frontCameraId = firstFront >= 0 ? CameraId.fromLegacyId(firstFront) : null; in instance()
83 CameraId backCameraId = firstBack >= 0 ? CameraId.fromLegacyId(firstBack) : null; in instance()
95 CameraId firstBackCameraId, in LegacyOneCameraManagerImpl()
96 CameraId firstFrontCameraId, in LegacyOneCameraManagerImpl()
115 public CameraId findFirstCamera() { in findFirstCamera()
120 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { in findFirstCameraFacing()
130 public OneCameraCharacteristics getOneCameraCharacteristics(@Nonnull CameraId cameraId) in getOneCameraCharacteristics()
[all …]
DLegacyOneCameraOpenerImpl.java25 import com.android.camera.device.CameraId;
48 CameraId cameraId, in open()
/packages/apps/Camera2/src/com/android/camera/device/
DCameraId.java25 public final class CameraId { class
29 public static CameraId fromLegacyId(int camera1Id) { in fromLegacyId()
30 return new CameraId(computeCameraIdFromLegacyId(camera1Id), camera1Id); in fromLegacyId()
33 public static CameraId from(@Nonnull String camera2Id) { in from()
34 return new CameraId(camera2Id, computeLegacyIdFromCamera2Id(camera2Id)); in from()
60 private CameraId(@Nonnull String cameraId, @Nullable Integer legacyCameraId) { in CameraId() method in CameraId
98 if (! (other instanceof CameraId)) { in equals()
102 CameraId otherCameraId = (CameraId) other; in equals()
DActiveCameraDeviceTracker.java48 private CameraId mActiveCamera;
51 private CameraId mPreviousCamera;
58 public CameraId getActiveCamera() { in getActiveCamera()
64 public CameraId getActiveOrPreviousCamera() { in getActiveOrPreviousCamera()
75 public void onCameraOpening(CameraId key) { in onCameraOpening()
86 public void onCameraClosed(CameraId key) { in onCameraClosed()
DMultiCameraDeviceLifecycle.java136 Lifetime requestLifetime, CameraId cameraId) { in openCamera2Device()
162 Lifetime requestLifetime, CameraId cameraId) { in openPortabilityDevice()
189 Lifetime requestLifetime, CameraId cameraId) { in openCamera2PortabilityDevice()
215 Lifetime requestLifetime, CameraId cameraId) { in openLegacyPortabilityDevice()
239 CameraId cameraId) { in openLegacyCameraDevice()
DCameraDeviceKey.java46 private final CameraId mCameraId;
58 public CameraId getCameraId() { in getCameraId()
65 public CameraDeviceKey(ApiType apiType, CameraId cameraId) { in CameraDeviceKey()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCamera2OneCameraManagerImpl.java28 import com.android.camera.device.CameraId;
99 public CameraId findFirstCamera() { in findFirstCamera()
103 return CameraId.from(ids[0]); in findFirstCamera()
113 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { in findFirstCameraFacing()
115 return (cameraId != null) ? CameraId.from(cameraId) : null; in findFirstCameraFacing()
120 @Nonnull CameraId key) in getOneCameraCharacteristics()
126 @Nonnull CameraId key) in getCameraCharacteristics()
DCamera2OneCameraOpenerImpl.java36 import com.android.camera.device.CameraId;
104 final CameraId cameraKey, in open()
/packages/apps/Camera2/src/com/android/camera/one/
DOneCameraManager.java19 import com.android.camera.device.CameraId;
43 public CameraId findFirstCamera(); in findFirstCamera()
49 public CameraId findFirstCameraFacing(Facing facing); in findFirstCameraFacing()
59 public OneCameraCharacteristics getOneCameraCharacteristics(CameraId cameraId) in getOneCameraCharacteristics()
DOneCameraOpener.java25 import com.android.camera.device.CameraId;
56 CameraId cameraId, in open()
DOneCameraCaptureSetting.java21 import com.android.camera.device.CameraId;
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceOpenedCameraImpl.java24 import com.android.camera.device.CameraId;
37 private final CameraId mCameraId;
58 CameraId cameraId, in create()
70 CameraId cameraId, in ResourceOpenedCameraImpl()
97 public CameraId getCameraId() { in getCameraId()
DResourceOpenedCamera.java23 import com.android.camera.device.CameraId;
46 public CameraId getCameraId(); in getCameraId()
/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionSetting.java23 import com.android.camera.device.CameraId;
68 public void setPictureAspectRatio(CameraId cameraId, Rational aspectRatio) in setPictureAspectRatio()
109 public Size getPictureSize(CameraId cameraId, Facing cameraFacing) in getPictureSize()
182 public Rational getPictureAspectRatio(CameraId cameraId, Facing facing) in getPictureAspectRatio()
DCameraSettingsActivity.java40 import com.android.camera.device.CameraId;
95 CameraId frontCameraId = mOneCameraManager.findFirstCameraFacing(Facing.FRONT); in onCreate()
96 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK); in onCreate()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraController.java25 import com.android.camera.device.CameraId;
117 public CameraId getCurrentCameraId() { in getCurrentCameraId()
233 mActiveCameraDeviceTracker.onCameraOpening(CameraId.fromLegacyId(id)); in requestCamera()
293 mActiveCameraDeviceTracker.onCameraClosed(CameraId.fromLegacyId(id)); in releaseCamera()
DFirstRunDialog.java27 import com.android.camera.device.CameraId;
167 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK); in promptAspectRatioPreferenceDialog()
171 CameraId frontCameraId = mOneCameraManager.findFirstCameraFacing(Facing.FRONT); in promptAspectRatioPreferenceDialog()
DCameraProvider.java19 import com.android.camera.device.CameraId;
71 public CameraId getCurrentCameraId(); in getCurrentCameraId()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateOpeningCamera.java37 import com.android.camera.device.CameraId;
62 private final CameraId mCameraId;
96 CameraId cameraId, in from()
106 CameraId cameraId, in StateOpeningCamera()
DStateStartingPreview.java33 import com.android.camera.device.CameraId;
60 CameraId cameraId, in from()
82 CameraId cameraId, in StateStartingPreview()
DStateForegroundWithSurfaceTexture.java24 import com.android.camera.device.CameraId;
67 CameraId key = mResourceConstructed.get().getOneCameraManager() in onEnter()
DStateReadyForCapture.java56 import com.android.camera.device.CameraId;
324 CameraId cameraId = resourceConstructed.getOneCameraManager() in registerEventHandlers()
/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java32 import com.android.camera.device.CameraId;
339 CameraId cameraKey = mCameraProvider.getCurrentCameraId();
DCaptureModule.java51 import com.android.camera.device.CameraId;
390 CameraId cameraId = mOneCameraManager.findFirstCameraFacing(mCameraFacing); in updateCameraCharacteristics()
449 CameraId cameraId = mOneCameraManager.findFirstCameraFacing(mCameraFacing); in onShutterButtonLongPressed()
1357 CameraId cameraId = mOneCameraManager.findFirstCameraFacing(mCameraFacing);
DCameraActivity.java109 import com.android.camera.device.CameraId;
1062 CameraId cameraId = mCameraController.getCurrentCameraId(); in getCameraScope()