Home
last modified time | relevance | path

Searched refs:cameraIndex (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java102 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/
DCameraMediaChooserView.java49 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/
DMmsVideoRecorder.java49 public MmsVideoRecorder(final Camera camera, final int cameraIndex, final int orientation, in MmsVideoRecorder() argument
53 CamcorderProfile.get(cameraIndex, CamcorderProfile.QUALITY_LOW); in MmsVideoRecorder()
DCameraManager.java354 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/
DPhotoDataAdapter.java173 MediaSet mediaSet, Path itemPath, int indexHint, int cameraIndex, in PhotoDataAdapter() argument
179 mCameraIndex = cameraIndex; in PhotoDataAdapter()