Home
last modified time | relevance | path

Searched refs:bottomBarSpec (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateOpeningCamera.java255 CameraAppUI.BottomBarUISpec bottomBarSpec = new CameraAppUI.BottomBarUISpec();
257 bottomBarSpec.enableCamera = true;
258 bottomBarSpec.cameraCallback = new ButtonManager.ButtonCallback() {
265 bottomBarSpec.enableGridLines = true;
267 bottomBarSpec.enableHdr = false;
268 bottomBarSpec.hideHdr = true;
269 bottomBarSpec.hdrCallback = null;
271 bottomBarSpec.enableSelfTimer = true;
272 bottomBarSpec.showSelfTimer = true;
274 bottomBarSpec.enableFlash = mCameraCharacteristics.isFlashSupported();
[all …]
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java2022 BottomBarUISpec bottomBarSpec) {
2023 applyModuleSpecs(hardwareSpec, bottomBarSpec, false /*skipScopeCheck*/);
2027 final BottomBarUISpec bottomBarSpec, boolean skipScopeCheck) {
2028 if (hardwareSpec == null || bottomBarSpec == null) {
2052 if (bottomBarSpec.enableCamera) {
2059 bottomBarSpec.cameraCallback,
2071 if (bottomBarSpec.hideFlash
2078 if (bottomBarSpec.enableFlash) {
2080 bottomBarSpec.flashCallback);
2081 } else if (bottomBarSpec.enableTorchFlash) {
[all …]
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java806 BottomBarUISpec bottomBarSpec = new BottomBarUISpec();
807 bottomBarSpec.enableGridLines = true;
808 bottomBarSpec.enableCamera = true;
809 bottomBarSpec.cameraCallback = getCameraCallback();
810 bottomBarSpec.enableHdr =
812 bottomBarSpec.hdrCallback = getHdrButtonCallback();
813 bottomBarSpec.enableSelfTimer = true;
814 bottomBarSpec.showSelfTimer = true;
815 bottomBarSpec.isExposureCompensationSupported = mCameraCharacteristics
817 bottomBarSpec.enableExposureCompensation = bottomBarSpec.isExposureCompensationSupported;
[all …]
DPhotoModule.java627 CameraAppUI.BottomBarUISpec bottomBarSpec = new CameraAppUI.BottomBarUISpec(); in getBottomBarSpec() local
629 bottomBarSpec.enableCamera = true; in getBottomBarSpec()
630 bottomBarSpec.cameraCallback = mCameraCallback; in getBottomBarSpec()
631 bottomBarSpec.enableFlash = !mAppController.getSettingsManager() in getBottomBarSpec()
633 bottomBarSpec.enableHdr = true; in getBottomBarSpec()
634 bottomBarSpec.hdrCallback = mHdrPlusCallback; in getBottomBarSpec()
635 bottomBarSpec.enableGridLines = true; in getBottomBarSpec()
637 bottomBarSpec.enableExposureCompensation = true; in getBottomBarSpec()
638 bottomBarSpec.exposureCompensationSetCallback = in getBottomBarSpec()
645 bottomBarSpec.minExposureCompensation = in getBottomBarSpec()
[all …]
DVideoModule.java559 CameraAppUI.BottomBarUISpec bottomBarSpec = new CameraAppUI.BottomBarUISpec(); in getBottomBarSpec() local
561 bottomBarSpec.enableCamera = true; in getBottomBarSpec()
562 bottomBarSpec.cameraCallback = mCameraCallback; in getBottomBarSpec()
563 bottomBarSpec.enableTorchFlash = true; in getBottomBarSpec()
564 bottomBarSpec.flashCallback = mFlashCallback; in getBottomBarSpec()
565 bottomBarSpec.hideHdr = true; in getBottomBarSpec()
566 bottomBarSpec.enableGridLines = true; in getBottomBarSpec()
567 bottomBarSpec.enableExposureCompensation = false; in getBottomBarSpec()
568 bottomBarSpec.isExposureCompensationSupported = false; in getBottomBarSpec()
571 bottomBarSpec.showCancel = true; in getBottomBarSpec()
[all …]
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModuleUI.java130 CameraAppUI.BottomBarUISpec bottomBarSpec) { in applyModuleSpecs() argument
132 mAppUI.applyModuleSpecs(hardwareSpec, bottomBarSpec); in applyModuleSpecs()