Home
last modified time | relevance | path

Searched refs:mSettingsManager (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DButtonManager.java62 private final SettingsManager mSettingsManager; field in ButtonManager
112 mSettingsManager = app.getSettingsManager(); in ButtonManager()
113 mSettingsManager.addListener(this); in ButtonManager()
188 index = mSettingsManager.getIndexOfCurrentValue(mAppController.getCameraScope(), in onSettingChanged()
192 index = mSettingsManager.getIndexOfCurrentValue(mAppController.getCameraScope(), in onSettingChanged()
196 index = mSettingsManager.getIndexOfCurrentValue(mAppController.getModuleScope(), in onSettingChanged()
200 index = mSettingsManager.getIndexOfCurrentValue(mAppController.getModuleScope(), in onSettingChanged()
204 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in onSettingChanged()
208 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in onSettingChanged()
212 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in onSettingChanged()
[all …]
DPermissionsActivity.java49 private SettingsManager mSettingsManager; field in PermissionsActivity
66 mSettingsManager = CameraServicesImpl.instance().getSettingsManager(); in onCreateTasks()
118 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in checkPermissions()
127 if (!isKeyguardLocked() && !mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in checkPermissions()
167 mSettingsManager.set( in onRequestPermissionsResult()
DCameraActivity.java224 private SettingsManager mSettingsManager; field in CameraActivity
349 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL,
351 mSettingsManager.set(SettingsManager.SCOPE_GLOBAL,
1079 return mModuleManager.getQuickSwitchToModuleId(currentModuleIndex, mSettingsManager, in getQuickSwitchToModuleId()
1439 mSettingsManager = getServices().getSettingsManager(); in onCreateTasks()
1501 appUpgrader.upgrade(mSettingsManager); in onCreateTasks()
1515 Keys.setDefaults(mSettingsManager, mAppContext); in onCreateTasks()
1517 mResolutionSetting = new ResolutionSetting(mSettingsManager, mOneCameraManager, in onCreateTasks()
1620 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in onCreateTasks()
1664 mSettingsManager, in onCreateTasks()
[all …]
DCaptureModule.java139 private final SettingsManager mSettingsManager; field in CaptureModule
358 mSettingsManager = mAppController.getSettingsManager(); in CaptureModule()
416 mSettingsManager.getInteger(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID)); in init()
492 int countDownDuration = mSettingsManager in onShutterButtonClick()
509 mSettingsManager.getString(mAppController.getCameraScope(), in decorateSessionAtCaptureTime()
511 boolean gridLinesOn = Keys.areGridLinesOn(mSettingsManager); in decorateSessionAtCaptureTime()
512 float timerDuration = mSettingsManager in decorateSessionAtCaptureTime()
849 mSettingsManager.set(
1150 mSettingsManager.set(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID,
1365 captureSetting = OneCameraCaptureSetting.create(mPictureSize, mSettingsManager,
DFocusOverlayManager.java102 private final SettingsManager mSettingsManager; field in FocusOverlayManager
160 mSettingsManager = appController.getSettingsManager(); in FocusOverlayManager()
491 String focusSetting = mSettingsManager.getString(mAppController.getCameraScope(), in getFocusMode()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingObserver.java50 mSettingsManager.removeListener(this); in close()
54 private final SettingsManager mSettingsManager; field in SettingObserver
60 mSettingsManager = manager; in SettingObserver()
89 mSettingsManager.addListener(listener); in addCallback()
98 return (T) Integer.valueOf(mSettingsManager.getInteger(mScope, mKey)); in get()
100 Object string = mSettingsManager.getString(mScope, mKey); in get()
107 return (T) Boolean.valueOf(mSettingsManager.getBoolean(mScope, mKey)); in get()
DResolutionSetting.java44 private final SettingsManager mSettingsManager; field in ResolutionSetting
52 mSettingsManager = settingsManager; in ResolutionSetting()
98 mSettingsManager.set( in setPictureAspectRatio()
126 mSettingsManager.isSet(SettingsManager.SCOPE_GLOBAL, pictureSizeSettingKey); in getPictureSize()
132 mSettingsManager.getString(SettingsManager.SCOPE_GLOBAL, in getPictureSize()
160 mSettingsManager.set( in getPictureSize()
DCameraFacingSetting.java31 private final SettingsManager mSettingsManager; field in CameraFacingSetting
46 mSettingsManager = settingsManager; in CameraFacingSetting()
73 mSettingsManager.setDefaults( in setDefault()
103 final int cameraId = mSettingsManager.getInteger(mSettingScope, mCameraFacingSettingKey); in getCameraFacing()
121 mSettingsManager.set(mSettingScope, mCameraFacingSettingKey, cameraId); in setCameraFacing()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDialog.java76 private final SettingsManager mSettingsManager; field in FirstRunDialog
98 mSettingsManager = settingManager; in FirstRunDialog()
146 return !mSettingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION); in shouldShowLocationDialog()
181 mSettingsManager.set( in promptAspectRatioPreferenceDialog()
219 mSettingsManager.set(SettingsManager.SCOPE_GLOBAL, in checkLocationPermission()
237 mSettingsManager.set( in promptLocationPreferenceDialog()
DCameraServicesImpl.java61 private final SettingsManager mSettingsManager; field in CameraServicesImpl
76 mSettingsManager = new SettingsManager(context); in CameraServicesImpl()
109 return mSettingsManager; in getSettingsManager()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceConstructedImpl.java49 private final SettingsManager mSettingsManager; field in ResourceConstructedImpl
113 mSettingsManager = settingsManager; in ResourceConstructedImpl()
178 return mSettingsManager; in getSettingsManager()