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

1 2

  /packages/apps/Camera2/src/com/android/camera/one/
OneCameraManager.java 19 import com.android.camera.device.CameraId;
43 public CameraId findFirstCamera();
49 public CameraId findFirstCameraFacing(Facing facing);
59 public OneCameraCharacteristics getOneCameraCharacteristics(CameraId cameraId)
OneCameraOpener.java 25 import com.android.camera.device.CameraId;
41 * @param cameraId the specific camera to open.
56 CameraId cameraId,
OneCameraCaptureSetting.java 21 import com.android.camera.device.CameraId;
  /packages/apps/Camera2/src/com/android/camera/device/
CameraId.java 25 public final class CameraId {
29 public static CameraId fromLegacyId(int camera1Id) {
30 return new CameraId(computeCameraIdFromLegacyId(camera1Id), camera1Id);
33 public static CameraId from(@Nonnull String camera2Id) {
34 return new CameraId(camera2Id, computeLegacyIdFromCamera2Id(camera2Id));
60 private CameraId(@Nonnull String cameraId, @Nullable Integer legacyCameraId) {
61 mCameraId = cameraId;
98 if (! (other instanceof CameraId)) {
102 CameraId otherCameraId = (CameraId) other
    [all...]
ActiveCameraDeviceTracker.java 48 private CameraId mActiveCamera;
51 private CameraId mPreviousCamera;
58 public CameraId getActiveCamera() {
64 public CameraId getActiveOrPreviousCamera() {
75 public void onCameraOpening(CameraId key) {
86 public void onCameraClosed(CameraId key) {
CameraDeviceKey.java 46 private final CameraId mCameraId;
56 * @return the typed cameraId for this instances.
58 public CameraId getCameraId() {
65 public CameraDeviceKey(ApiType apiType, CameraId cameraId) {
67 mCameraId = cameraId;
MultiCameraDeviceLifecycle.java 132 * @param cameraId the specific camera device to open.
136 Lifetime requestLifetime, CameraId cameraId) {
137 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API2, cameraId);
159 * @param cameraId the specific camera device to open.
162 Lifetime requestLifetime, CameraId cameraId) {
164 cameraId);
185 * @param cameraId the specific camera device to open.
189 Lifetime requestLifetime, CameraId cameraId)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v1/
LegacyOneCameraManagerImpl.java 23 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;
83 CameraId backCameraId = firstBack >= 0 ? CameraId.fromLegacyId(firstBack) : null;
95 CameraId firstBackCameraId,
96 CameraId firstFrontCameraId,
115 public CameraId findFirstCamera()
    [all...]
LegacyOneCameraOpenerImpl.java 25 import com.android.camera.device.CameraId;
48 CameraId cameraId,
  /packages/apps/Camera2/src/com/android/camera/app/
CameraProvider.java 19 import com.android.camera.device.CameraId;
63 * @param cameraId Which camera.
66 public Characteristics getCharacteristics(int cameraId);
71 public CameraId getCurrentCameraId();
FirstRunDialog.java 24 import com.android.camera.device.CameraId;
161 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK);
165 CameraId frontCameraId = mOneCameraManager.findFirstCameraFacing(Facing.FRONT);
CameraController.java 25 import com.android.camera.device.CameraId;
108 public CameraDeviceInfo.Characteristics getCharacteristics(int cameraId) {
112 return mInfo.getCharacteristics(cameraId);
117 public CameraId getCurrentCameraId() {
183 public void onCameraDisabled(int cameraId) {
185 mCallbackReceiver.onCameraDisabled(cameraId);
190 public void onDeviceOpenFailure(int cameraId, String info) {
192 mCallbackReceiver.onDeviceOpenFailure(cameraId, info);
197 public void onDeviceOpenedAlready(int cameraId, String info) {
199 mCallbackReceiver.onDeviceOpenedAlready(cameraId, info)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/captureintent/resource/
ResourceOpenedCamera.java 23 import com.android.camera.device.CameraId;
46 public CameraId getCameraId();
ResourceOpenedCameraImpl.java 24 import com.android.camera.device.CameraId;
37 private final CameraId mCameraId;
58 CameraId cameraId,
64 camera, cameraId, cameraFacing, cameraCharacteristics, pictureSize, captureSetting);
70 CameraId cameraId,
76 mCameraId = cameraId;
97 public CameraId getCameraId() {
  /packages/apps/Camera2/src/com/android/camera/one/v2/
Camera2OneCameraManagerImpl.java 28 import com.android.camera.device.CameraId;
87 public CameraId findFirstCamera() {
91 return CameraId.from(ids[0]);
101 public CameraId findFirstCameraFacing(@Nonnull Facing facing) {
102 String cameraId = findCameraId(facing);
103 return (cameraId != null) ? CameraId.from(cameraId) : null;
108 @Nonnull CameraId key)
114 @Nonnull CameraId key
    [all...]
Camera2OneCameraOpenerImpl.java 36 import com.android.camera.device.CameraId;
104 final CameraId cameraKey,
  /packages/apps/Camera2/src/com/android/camera/settings/
ResolutionSetting.java 23 import com.android.camera.device.CameraId;
63 * @param cameraId The specific camera device.
66 public void setPictureAspectRatio(CameraId cameraId, Rational aspectRatio)
69 mOneCameraManager.getOneCameraCharacteristics(cameraId);
107 public Size getPictureSize(CameraId cameraId, Facing cameraFacing)
149 mOneCameraManager.getOneCameraCharacteristics(cameraId);
175 * @param cameraId The specific camera device.
179 public Rational getPictureAspectRatio(CameraId cameraId, Facing facing
    [all...]
CameraSettingsActivity.java 38 import com.android.camera.device.CameraId;
92 CameraId frontCameraId = mOneCameraManager.findFirstCameraFacing(Facing.FRONT);
93 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK);
  /packages/apps/Camera2/src/com/android/camera/captureintent/state/
StateForegroundWithSurfaceTexture.java 24 import com.android.camera.device.CameraId;
67 CameraId key = mResourceConstructed.get().getOneCameraManager()
StateOpeningCamera.java 37 import com.android.camera.device.CameraId;
62 private final CameraId mCameraId;
96 CameraId cameraId,
99 resourceSurfaceTexture, cameraFacing, cameraId, cameraCharacteristics);
106 CameraId cameraId,
114 mCameraId = cameraId;
260 public void onStateChanged(int cameraId) {
StateStartingPreview.java 33 import com.android.camera.device.CameraId;
60 CameraId cameraId,
70 cameraId,
82 CameraId cameraId,
93 camera, cameraId, cameraFacing, cameraCharacteristics, pictureSize, captureSetting);
StateReadyForCapture.java 56 import com.android.camera.device.CameraId;
324 CameraId cameraId = resourceConstructed.getOneCameraManager()
329 .getOneCameraCharacteristics(cameraId);
341 cameraId,
  /frameworks/av/camera/aidl/android/hardware/
ICameraService.aidl 64 CameraInfo getCameraInfo(int cameraId);
77 int cameraId,
86 int cameraId,
99 int cameraId,
114 CameraMetadataNative getCameraCharacteristics(int cameraId);
126 String getLegacyParameters(int cameraId);
135 boolean supportsCameraApi(int cameraId, int apiVersion);
137 void setTorchMode(String CameraId, boolean enabled, IBinder clientBinder);
  /packages/apps/Camera2/src/com/android/camera/
TextureViewHelper.java 31 import com.android.camera.device.CameraId;
338 CameraId cameraKey = mCameraProvider.getCurrentCameraId();
339 int cameraId = -1;
342 cameraId = cameraKey.getLegacyValue();
362 } else if (cameraId >= 0) {
364 CameraDeviceInfo.Characteristics info = mCameraProvider.getCharacteristics(cameraId);
CaptureModule.java 51 import com.android.camera.device.CameraId;
390 CameraId cameraId = mOneCameraManager.findFirstCameraFacing(mCameraFacing);
391 if (cameraId != null && cameraId.getValue() != null) {
392 mCameraCharacteristics = mOneCameraManager.getOneCameraCharacteristics(cameraId);
449 CameraId cameraId = mOneCameraManager.findFirstCameraFacing(mCameraFacing);
450 cameraCharacteristics = mOneCameraManager.getOneCameraCharacteristics(cameraId);
    [all...]

Completed in 529 milliseconds

1 2