Home
last modified time | relevance | path

Searched refs:mSettingsManager (Results 1 – 12 of 12) 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 …]
DCameraActivity.java223 private SettingsManager mSettingsManager; field in CameraActivity
348 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL,
350 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()
1514 Keys.setDefaults(mSettingsManager, mAppContext); in onCreateTasks()
1516 mResolutionSetting = new ResolutionSetting(mSettingsManager, mOneCameraManager, in onCreateTasks()
1619 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in onCreateTasks()
1663 mSettingsManager, in onCreateTasks()
[all …]
DPermissionsActivity.java53 private SettingsManager mSettingsManager; field in PermissionsActivity
70 mSettingsManager = CameraServicesImpl.instance().getSettingsManager(); in onCreateTasks()
138 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in checkPermissions()
147 if (!isKeyguardLocked() && !mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in checkPermissions()
197 mSettingsManager.set( in onRequestPermissionsResult()
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()
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()
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/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java47 private CarAudioSettings mSettingsManager; field in CarVolumeGroup
70 mSettingsManager = settings; in CarVolumeGroup()
73 mStoredGainIndex = mSettingsManager.getStoredVolumeGainIndexForUser(mUserId, mZoneId, mId); in CarVolumeGroup()
196 int gainIndexForUser = mSettingsManager.getStoredVolumeGainIndexForUser(mUserId, mZoneId, in getCurrentGainIndexForUserLocked()
273 mSettingsManager.storeVolumeGainIndexForUser(userId, in storeGainIndexForUserLocked()
/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()