Searched refs:isCameraAvailable (Results 1 – 8 of 8) sorted by relevance
423 final boolean isCameraAvailable = isCameraAvailable(); in updateViewState()433 mFullScreenButton.setEnabled(isCameraAvailable); in updateViewState()440 mSwapCameraButton.setEnabled(isCameraAvailable); in updateViewState()451 mSwapModeButton.setEnabled(isCameraAvailable); in updateViewState()466 mCaptureButton.setEnabled(isCameraAvailable); in updateViewState()478 private boolean isCameraAvailable() { in isCameraAvailable() method in CameraMediaChooser479 return CameraManager.get().isCameraAvailable(); in isCameraAvailable()
903 boolean isCameraAvailable() { in isCameraAvailable() method in CameraManager
334 boolean isCameraAvailable = CameraManager.get().isCameraAvailable(); in updateViewState()351 if (cameraUri == null && isCameraAvailable) { in updateViewState()376 swapCamera.setEnabled(isCameraAvailable); in updateViewState()377 capture.setEnabled(isCameraAvailable); in updateViewState()
357 if (!GalleryUtils.isCameraAvailable(mActivity)) return false; in setupCameraButton()553 cameraItem.setVisible(GalleryUtils.isCameraAvailable(activity)); in onCreateActionBar()
559 && GalleryUtils.isCameraAvailable(mActivity)); in onCreateActionBar()
436 } else if (inCameraRoll && GalleryUtils.isCameraAvailable(mActivity)) { in onCreate()
236 public static boolean isCameraAvailable(Context context) { in isCameraAvailable() method in GalleryUtils
676 public boolean isCameraAvailable() { in isCameraAvailable() method in CameraManager