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.java2023 BottomBarUISpec bottomBarSpec) {
2024 applyModuleSpecs(hardwareSpec, bottomBarSpec, false /*skipScopeCheck*/);
2028 final BottomBarUISpec bottomBarSpec, boolean skipScopeCheck) {
2029 if (hardwareSpec == null || bottomBarSpec == null) {
2053 if (bottomBarSpec.enableCamera) {
2060 bottomBarSpec.cameraCallback,
2072 if (bottomBarSpec.hideFlash
2079 if (bottomBarSpec.enableFlash) {
2081 bottomBarSpec.flashCallback);
2082 } 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.java556 CameraAppUI.BottomBarUISpec bottomBarSpec = new CameraAppUI.BottomBarUISpec(); in getBottomBarSpec() local
558 bottomBarSpec.enableCamera = true; in getBottomBarSpec()
559 bottomBarSpec.cameraCallback = mCameraCallback; in getBottomBarSpec()
560 bottomBarSpec.enableTorchFlash = true; in getBottomBarSpec()
561 bottomBarSpec.flashCallback = mFlashCallback; in getBottomBarSpec()
562 bottomBarSpec.hideHdr = true; in getBottomBarSpec()
563 bottomBarSpec.enableGridLines = true; in getBottomBarSpec()
564 bottomBarSpec.enableExposureCompensation = false; in getBottomBarSpec()
565 bottomBarSpec.isExposureCompensationSupported = false; in getBottomBarSpec()
568 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()