/packages/apps/Camera2/src/com/android/camera/device/ |
D | CameraId.java | 27 private final String mCameraId; field in CameraId 61 mCameraId = cameraId; in CameraId() 69 return mCameraId; in getValue() 80 + " supported on legacy camera API's: " + mCameraId); in getLegacyValue() 107 return mCameraId.equals(otherCameraId.mCameraId); in equals() 112 return mCameraId.hashCode(); in hashCode() 118 "Api2='" + mCameraId + "\',Api1:"+mLegacyCameraId+"}"; in toString()
|
D | CameraDeviceKey.java | 46 private final CameraId mCameraId; field in CameraDeviceKey 59 return mCameraId; in getCameraId() 67 mCameraId = cameraId; in CameraDeviceKey() 74 ", mCameraId: " + mCameraId + "}"; in toString() 91 if (!mCameraId.equals(other.mCameraId)) { in equals() 100 return Objects.hash(mApiType, mCameraId); in hashCode()
|
D | LegacyCameraActions.java | 86 private final int mCameraId; field in LegacyCameraActions.OpenCameraRunnable 92 mCameraId = cameraId; in OpenCameraRunnable() 100 mLogger.i("Camera.open(id: " + mCameraId + ")"); in run() 101 Camera device = Camera.open(mCameraId); in run() 115 private final int mCameraId; field in LegacyCameraActions.CloseCameraRunnable 125 mCameraId = cameraId; in CloseCameraRunnable() 132 mLogger.i("Camera.release(id: " + mCameraId + ")"); in run()
|
D | Camera2Actions.java | 88 private final String mCameraId; field in Camera2Actions.OpenCameraRunnable 97 mCameraId = cameraId; in OpenCameraRunnable() 106 mLogger.i("mCameraManager.openCamera(id: " + mCameraId + ")"); in run() 107 mCameraManager.openCamera(mCameraId, new OpenCameraStateCallback(mOpenListener, in run() 110 mLogger.e("There was a problem opening camera " + mCameraId, e); in run()
|
D | PortabilityCameraActions.java | 122 private final int mCameraId; field in PortabilityCameraActions.OpenCameraRunnable 131 mCameraId = cameraId; in OpenCameraRunnable() 140 mLogger.i("mCameraAgent.openCamera(id: " + mCameraId + ")"); in run() 141 mCameraAgent.openCamera(mHandler, mCameraId, in run()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraHolder.java | 52 private int mCameraId = -1; // current camera id field in CameraHolder 123 if (mCameraDevice != null && mCameraId != cameraId) { in open() 126 mCameraId = -1; in open() 132 mCameraId = cameraId; in open() 191 mCameraId = -1; in releaseCamera()
|
D | VideoCamera.java | 243 private int mCameraId; field in VideoCamera 360 mCameraId = CameraSettings.readPreferredCameraId(mPreferences); in onCreate() 365 mCameraId = intentCameraId; in onCreate() 368 mPreferences.setLocalId(this, mCameraId); in onCreate() 388 mCameraDevice = Util.openCamera(VideoCamera.this, mCameraId); in onCreate() 489 mCameraId, CameraHolder.instance().getCameraInfo()); in loadCameraPreferences() 718 String defaultQuality = CameraSettings.getDefaultVideoQuality(mCameraId, in readVideoPreferences() 780 mProfile = CamcorderProfile.get(mCameraId, quality); in readVideoPreferences() 840 mCameraDevice = Util.openCamera(this, mCameraId); in doOnResume() 923 int orientation = Util.getDisplayOrientation(mDisplayRotation, mCameraId); in startPreview() [all …]
|
D | Camera.java | 269 private int mCameraId; field in Camera 385 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in initializeFirstTime() 532 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in startFaceDetection() 1050 Util.setRotationParameter(mParameters, mCameraId, mOrientation); in capture() 1099 mCameraId = 0; in getPreferredCameraId() 1101 mCameraId = attemptedCameraId; in getPreferredCameraId() 1107 mCameraId = intentCameraId; in getPreferredCameraId() 1114 mCameraDevice = Util.openCamera(Camera.this, mCameraId); 1158 mPreferences.setLocalId(this, mCameraId); in onCreate() 1254 mCameraId, CameraHolder.instance().getCameraInfo()); in loadCameraPreferences() [all …]
|
D | CameraSettings.java | 68 private final int mCameraId; field in CameraSettings 74 mCameraId = cameraId; in CameraSettings() 458 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_1080P)) { in getSupportedVideoQuality() 461 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_720P)) { in getSupportedVideoQuality() 464 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_480P)) { in getSupportedVideoQuality()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateOpeningCamera.java | 62 private final CameraId mCameraId; field in StateOpeningCamera 114 mCameraId = cameraId; in StateOpeningCamera() 117 mCameraSettingsScope = SettingsManager.getCameraSettingScope(mCameraId.getValue()); in StateOpeningCamera() 160 mCameraId, in registerEventHandlers() 190 mCameraId, mCameraFacing); in onEnter() 206 mCameraId, in onEnter()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestVideoProvider.java | 73 private String mCameraId; field in TestVideoProvider 87 mCameraId = cameraId; in onSetCamera() 91 setCameraCapabilities(mCameraId); in onSetCamera() 103 if (!TextUtils.isEmpty(mCameraId) && mPreviewSurface != null) { in onSetPreviewSurface() 104 startCamera(mCameraId); in onSetPreviewSurface()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | VideoModule.java | 122 private int mCameraId; field in VideoModule 343 mCameraId = settingsManager.getInteger(mAppController.getModuleScope(), in init() 350 requestCamera(mCameraId); in init() 445 return mAppController.getCameraProvider().getCharacteristics(mCameraId) in isCameraFrontFacing() 453 return mAppController.getCameraProvider().getCharacteristics(mCameraId) in isCameraBackFacing() 738 int quality = SettingsUtil.getVideoQuality(videoQuality, mCameraId); in readVideoPreferences() 765 if (CamcorderProfile.hasProfile(mCameraId, quality) == false) { in readVideoPreferences() 768 mProfile = CamcorderProfile.get(mCameraId, quality); in readVideoPreferences() 870 mActivity.getCameraProvider().getCharacteristics(mCameraId); in setDisplayOrientation() 1178 mActivity.getCameraProvider().getCharacteristics(mCameraId).getSensorOrientation(); in initializeRecorder() [all …]
|
D | PhotoModule.java | 130 private int mCameraId; field in PhotoModule 396 mCameraId = settingsManager.getInteger(mAppController.getModuleScope(), in init() 491 mCameraId = mPendingSwitchCameraId; in switchCamera() 493 settingsManager.set(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID, mCameraId); in switchCamera() local 512 mActivity.getCameraProvider().requestCamera(mCameraId, in requestCameraOpen() 1141 Characteristics info = mActivity.getCameraProvider().getCharacteristics(mCameraId); in capture() 1488 return mAppController.getCameraProvider().getCharacteristics(mCameraId) in isCameraFrontFacing() 1728 mActivity.getCameraProvider().getCharacteristics(mCameraId); in setDisplayOrientation() 2024 int jpegQuality = CameraProfile.getJpegEncodingQualityParameter(mCameraId, in updateParametersPictureQuality()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | CameraInfoCache.java | 43 private String mCameraId; field in CameraInfoCache 65 mCameraId = id; in CameraInfoCache() 74 if (mCameraId == null) { in CameraInfoCache() 252 return mCameraId; in getCameraId()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceOpenedCameraImpl.java | 37 private final CameraId mCameraId; field in ResourceOpenedCameraImpl 76 mCameraId = cameraId; in ResourceOpenedCameraImpl() 98 return mCameraId; in getCameraId()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceEnrollPreviewFragment.java | 60 private String mCameraId; field in FaceEnrollPreviewFragment 255 mCameraId = cameraId; in setUpCameraOutputs() 276 mCameraManager.openCamera(mCameraId, mCameraStateCallback, mHandler); in openCamera()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | FaceEnrollPreviewFragment.java | 60 private String mCameraId; field in FaceEnrollPreviewFragment 255 mCameraId = cameraId; in setUpCameraOutputs() 276 mCameraManager.openCamera(mCameraId, mCameraStateCallback, mHandler); in openCamera()
|