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.java47 private SettingsManager mSettingsManager; field in PermissionsActivity
64 mSettingsManager = CameraServicesImpl.instance().getSettingsManager(); in onCreateTasks()
131 if (!isKeyguardLocked() && !mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in checkPermissions()
176 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,
1078 return mModuleManager.getQuickSwitchToModuleId(currentModuleIndex, mSettingsManager, in getQuickSwitchToModuleId()
1438 mSettingsManager = getServices().getSettingsManager(); in onCreateTasks()
1500 appUpgrader.upgrade(mSettingsManager); in onCreateTasks()
1512 Keys.setDefaults(mSettingsManager, mAppContext); in onCreateTasks()
1514 mResolutionSetting = new ResolutionSetting(mSettingsManager, mOneCameraManager, in onCreateTasks()
1617 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in onCreateTasks()
1660 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()
DCameraFacingSetting.java30 private final SettingsManager mSettingsManager; field in CameraFacingSetting
44 mSettingsManager = settingsManager; in CameraFacingSetting()
66 mSettingsManager.setDefaults( in setDefault()
96 final int cameraId = mSettingsManager.getInteger(mSettingScope, mCameraFacingSettingKey); in getCameraFacing()
114 mSettingsManager.set(mSettingScope, mCameraFacingSettingKey, cameraId); in setCameraFacing()
DResolutionSetting.java44 private final SettingsManager mSettingsManager; field in ResolutionSetting
52 mSettingsManager = settingsManager; in ResolutionSetting()
96 mSettingsManager.set( in setPictureAspectRatio()
124 mSettingsManager.isSet(SettingsManager.SCOPE_GLOBAL, pictureSizeSettingKey); in getPictureSize()
130 mSettingsManager.getString(SettingsManager.SCOPE_GLOBAL, in getPictureSize()
157 mSettingsManager.set( in getPictureSize()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDialog.java70 private final SettingsManager mSettingsManager; field in FirstRunDialog
92 mSettingsManager = settingManager; in FirstRunDialog()
140 return !mSettingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION); in shouldShowLocationDialog()
175 mSettingsManager.set( in promptAspectRatioPreferenceDialog()
219 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()