Home
last modified time | relevance | path

Searched refs:isCameraAvailable (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraMediaChooser.java423 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 CameraMediaChooser
479 return CameraManager.get().isCameraAvailable(); in isCameraAvailable()
DCameraManager.java903 boolean isCameraAvailable() { in isCameraAvailable() method in CameraManager
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCameraComposerFragment.java334 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()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetPage.java357 if (!GalleryUtils.isCameraAvailable(mActivity)) return false; in setupCameraButton()
553 cameraItem.setVisible(GalleryUtils.isCameraAvailable(activity)); in onCreateActionBar()
DAlbumPage.java559 && GalleryUtils.isCameraAvailable(mActivity)); in onCreateActionBar()
DPhotoPage.java436 } else if (inCameraRoll && GalleryUtils.isCameraAvailable(mActivity)) { in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java236 public static boolean isCameraAvailable(Context context) { in isCameraAvailable() method in GalleryUtils
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java676 public boolean isCameraAvailable() { in isCameraAvailable() method in CameraManager