Searched refs:cameraIndex (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
D | CameraManager.java | 102 private int cameraIndex; field in CameraManager 150 cameraIndex = NO_CAMERA_SELECTED; in CameraManager() 227 Assert.checkState(cameraIndex >= 0); in swapCamera() 244 if (cameraIndex >= 0 && this.cameraInfo.facing == desiredFacing) { in selectCamera() 251 cameraIndex = NO_CAMERA_SELECTED; in selectCamera() 257 cameraIndex = i; in selectCamera() 265 if (cameraIndex < 0) { in selectCamera() 266 cameraIndex = 0; in selectCamera() 285 return cameraIndex; in getCameraIndex() 288 public void selectCameraByIndex(final int cameraIndex) { in selectCameraByIndex() argument [all …]
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/cameraui/ |
D | CameraMediaChooserView.java | 49 final int cameraIndex = CameraManager.get().getCameraIndex(); in onSaveInstanceState() local 50 LogUtil.i("CameraMediaChooserView.onSaveInstanceState", "saving camera index:" + cameraIndex); in onSaveInstanceState() 51 bundle.putInt(STATE_CAMERA_INDEX, cameraIndex); in onSaveInstanceState() 62 final int cameraIndex = bundle.getInt(STATE_CAMERA_INDEX); in onRestoreInstanceState() local 66 "CameraMediaChooserView.onRestoreInstanceState", "restoring camera index:" + cameraIndex); in onRestoreInstanceState() 67 if (cameraIndex != -1) { in onRestoreInstanceState() 68 CameraManager.get().selectCameraByIndex(cameraIndex); in onRestoreInstanceState()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | MmsVideoRecorder.java | 49 public MmsVideoRecorder(final Camera camera, final int cameraIndex, final int orientation, in MmsVideoRecorder() argument 53 CamcorderProfile.get(cameraIndex, CamcorderProfile.QUALITY_LOW); in MmsVideoRecorder()
|
D | CameraManager.java | 354 void selectCameraByIndex(final int cameraIndex) { in selectCameraByIndex() argument 355 if (mCameraIndex == cameraIndex) { in selectCameraByIndex() 360 mCameraIndex = cameraIndex; in selectCameraByIndex() 422 final int cameraIndex = params[0]; in openCamera() 426 return sCameraWrapper.open(cameraIndex); in openCamera()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoDataAdapter.java | 173 MediaSet mediaSet, Path itemPath, int indexHint, int cameraIndex, in PhotoDataAdapter() argument 179 mCameraIndex = cameraIndex; in PhotoDataAdapter()
|