Home
last modified time | relevance | path

Searched refs:SCOPE_GLOBAL (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/settings/
DAppUpgrader.java146 settingsManager.remove(SettingsManager.SCOPE_GLOBAL, in upgrade()
182 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION, location); in upgradeTypesToStrings()
189 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_USER_SELECTED_ASPECT_RATIO, in upgradeTypesToStrings()
197 settingsManager.set(SettingsManager.SCOPE_GLOBAL, in upgradeTypesToStrings()
204 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_FIRST_USE_HINT_SHOWN, in upgradeTypesToStrings()
212 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_STARTUP_MODULE_INDEX, in upgradeTypesToStrings()
220 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_MODULE_LAST_USED, in upgradeTypesToStrings()
230 settingsManager.set(SettingsManager.SCOPE_GLOBAL, in upgradeTypesToStrings()
239 settingsManager.set(SettingsManager.SCOPE_GLOBAL, in upgradeTypesToStrings()
247 settingsManager.set(SettingsManager.SCOPE_GLOBAL, in upgradeTypesToStrings()
[all …]
DKeys.java131 if (!settingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_VIDEO_QUALITY_BACK)) { in setDefaults()
132 settingsManager.setToDefault(SettingsManager.SCOPE_GLOBAL, in setDefaults()
139 if (!settingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_VIDEO_QUALITY_FRONT)) { in setDefaults()
140 settingsManager.setToDefault(SettingsManager.SCOPE_GLOBAL, in setDefaults()
199 return settingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in isHdrPlusOn()
207 return settingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in isHdrOn()
223 return settingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in areGridLinesOn()
DResolutionSetting.java99 SettingsManager.SCOPE_GLOBAL, in setPictureAspectRatio()
126 mSettingsManager.isSet(SettingsManager.SCOPE_GLOBAL, pictureSizeSettingKey); in getPictureSize()
132 mSettingsManager.getString(SettingsManager.SCOPE_GLOBAL, in getPictureSize()
161 SettingsManager.SCOPE_GLOBAL, in getPictureSize()
DManagedSwitchPreference.java58 return settingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, getKey()); in getPersistedBoolean()
77 settingsManager.set(SettingsManager.SCOPE_GLOBAL, getKey(), value); in persistBoolean()
DSettingsUpgrader.java56 settingsManager.set(SettingsManager.SCOPE_GLOBAL, mVersionKey, mTargetVersion); in upgrade()
79 return settingsManager.getInteger(SettingsManager.SCOPE_GLOBAL, mVersionKey); in getLastVersion()
DSettingsManager.java269 public static final String SCOPE_GLOBAL = "default_scope";
281 if (scope.equals(SCOPE_GLOBAL)) {
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarSettingsTest.java39 private static final String SCOPE_GLOBAL = "Global"; field in CarSettingsTest
61 mSettings.put(CarSettings.Global.DEFAULT_USER_RESTRICTIONS_SET, SCOPE_GLOBAL); in loadSettingNames()
62 mSettings.put(CarSettings.Global.SYSTEM_BAR_VISIBILITY_OVERRIDE, SCOPE_GLOBAL); in loadSettingNames()
63 mSettings.put(CarSettings.Global.DISABLE_INSTRUMENTATION_SERVICE, SCOPE_GLOBAL); in loadSettingNames()
64 mSettings.put(CarSettings.Global.ENABLE_USER_SWITCH_DEVELOPER_MESSAGE, SCOPE_GLOBAL); in loadSettingNames()
65 mSettings.put(CarSettings.Global.LAST_ACTIVE_USER_ID, SCOPE_GLOBAL); in loadSettingNames()
66 mSettings.put(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID, SCOPE_GLOBAL); in loadSettingNames()
88 case SCOPE_GLOBAL: in checkAllSettingsReadable()
/packages/apps/Camera2/src/com/android/camera/
DButtonManager.java204 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()
220 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in onSettingChanged()
792 int index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in initializeHdrPlusButton()
801 mSettingsManager.setValueByIndex(SettingsManager.SCOPE_GLOBAL, in initializeHdrPlusButton()
825 int index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in initializeHdrButton()
834 mSettingsManager.setValueByIndex(SettingsManager.SCOPE_GLOBAL, in initializeHdrButton()
859 int index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in initializeCountdownButton()
868 mSettingsManager.setValueByIndex(SettingsManager.SCOPE_GLOBAL, in initializeCountdownButton()
[all …]
DPermissionsActivity.java118 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in checkPermissions()
127 if (!isKeyguardLocked() && !mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in checkPermissions()
168 SettingsManager.SCOPE_GLOBAL, in onRequestPermissionsResult()
DCaptureModule.java493 .getInteger(SettingsManager.SCOPE_GLOBAL, Keys.KEY_COUNTDOWN_DURATION); in onShutterButtonClick()
513 .getInteger(SettingsManager.SCOPE_GLOBAL, Keys.KEY_COUNTDOWN_DURATION); in decorateSessionAtCaptureTime()
700 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS) == 1; in resume()
703 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR); in resume()
765 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS, true); in hardResetSettings()
823 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS)) ||
826 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR))) {
1170 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS, false);
DCameraActivity.java349 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL,
351 mSettingsManager.set(SettingsManager.SCOPE_GLOBAL,
1620 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in onCreateTasks()
1711 modeIndex = mSettingsManager.getInteger(SettingsManager.SCOPE_GLOBAL, in getModeIndex()
1718 if (!mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in getModeIndex()
1725 modeIndex = mSettingsManager.getInteger(SettingsManager.SCOPE_GLOBAL, in getModeIndex()
1846 mSettingsManager.set(SettingsManager.SCOPE_GLOBAL, in onPauseTasks()
1941 SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION) && in checkPermissions()
1944 !mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in checkPermissions()
2145 mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION); in resume()
[all …]
DPhotoModule.java343 settingsManager.set(SettingsManager.SCOPE_GLOBAL, in switchToGcamCapture()
609 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS, false); in hardResetSettings()
611 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR, false); in hardResetSettings()
632 .getBoolean(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR); in getBottomBarSpec()
674 settingsManager.setToDefault(SettingsManager.SCOPE_GLOBAL, in openCameraCommon()
1386 .getInteger(SettingsManager.SCOPE_GLOBAL, Keys.KEY_COUNTDOWN_DURATION); in onShutterButtonClick()
1855 if (settingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in onSettingChanged()
2031 if (settingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, in updateParametersExposureCompensation()
DVideoModule.java734 .getString(SettingsManager.SCOPE_GLOBAL, videoQualityKey); in readVideoPreferences()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDialog.java146 return !mSettingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION); in shouldShowLocationDialog()
182 SettingsManager.SCOPE_GLOBAL, in promptAspectRatioPreferenceDialog()
219 mSettingsManager.set(SettingsManager.SCOPE_GLOBAL, in checkLocationPermission()
238 SettingsManager.SCOPE_GLOBAL, in promptLocationPreferenceDialog()
DCameraAppUI.java806 SettingsManager.SCOPE_GLOBAL, in CameraAppUI()
1252 if (!mController.getSettingsManager().isSet(SettingsManager.SCOPE_GLOBAL, in onChangeCamera()
1254 mController.getSettingsManager().set(SettingsManager.SCOPE_GLOBAL, in onChangeCamera()
1259 if (!mController.getSettingsManager().isSet(SettingsManager.SCOPE_GLOBAL, in onChangeCamera()
1270 mController.getSettingsManager().set(SettingsManager.SCOPE_GLOBAL, in onChangeCamera()
1577 mController.getSettingsManager().set(SettingsManager.SCOPE_GLOBAL, in onSettingsSelected()
2047 mHdrSupportMode = settingsManager.getString(SettingsManager.SCOPE_GLOBAL,
2070 boolean flashBackCamera = settingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL,
2190 && mController.getSettingsManager().getBoolean(SettingsManager.SCOPE_GLOBAL,
2207 } else if (mController.getSettingsManager().getBoolean(SettingsManager.SCOPE_GLOBAL,
[all …]
DModuleManagerImpl.java126 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_MODULE_LAST_USED); in getQuickSwitchToModuleId()
/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java205 setIndicatorState(SettingsManager.SCOPE_GLOBAL, in syncHdrIndicator()
210 setIndicatorState(SettingsManager.SCOPE_GLOBAL, in syncHdrIndicator()
229 setIndicatorState(SettingsManager.SCOPE_GLOBAL, in syncPanoIndicator()
286 setIndicatorState(SettingsManager.SCOPE_GLOBAL, in syncCountdownTimerIndicator()
/packages/apps/Camera2/src/com/android/camera/one/
DOneCameraCaptureSetting.java60 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR); in create()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateReadyForCapture.java138 SettingsManager.SCOPE_GLOBAL, Keys.KEY_COUNTDOWN_DURATION); in takePicture()