Home
last modified time | relevance | path

Searched refs:mCameraIndex (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java153 private int mCameraIndex; field in CameraManager
214 mCameraIndex = NO_CAMERA_SELECTED; in CameraManager()
295 Assert.isTrue(mCameraIndex >= 0); in swapCamera()
310 if (mCameraIndex >= 0 && mCameraInfo.facing == desiredFacing) { in selectCamera()
317 mCameraIndex = NO_CAMERA_SELECTED; in selectCamera()
323 mCameraIndex = i; in selectCamera()
331 if (mCameraIndex < 0) { in selectCamera()
332 mCameraIndex = 0; in selectCamera()
351 return mCameraIndex; in getCameraIndex()
355 if (mCameraIndex == cameraIndex) { in selectCameraByIndex()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java150 private int mCameraIndex; field in PhotoDataAdapter
179 mCameraIndex = cameraIndex; in PhotoDataAdapter()
493 return mCurrentIndex + offset == mCameraIndex; in isCamera()
746 if (mCameraIndex < 0) return false; in isTemporaryItem()
1072 if (index == (mCameraIndex + 1)) { in run()