/packages/apps/Camera2/src/com/android/camera/settings/ |
D | Keys.java | 89 public static void setDefaults(SettingsManager settingsManager, Context context) { in setDefaults() argument 90 settingsManager.setDefaults(KEY_COUNTDOWN_DURATION, 0, in setDefaults() 93 settingsManager.setDefaults(KEY_CAMERA_ID, in setDefaults() 97 settingsManager.setDefaults(KEY_SCENE_MODE, in setDefaults() 101 settingsManager.setDefaults(KEY_FLASH_MODE, in setDefaults() 105 settingsManager.setDefaults(KEY_HDR_SUPPORT_MODE_BACK_CAMERA, in setDefaults() 109 settingsManager.setDefaults(KEY_CAMERA_HDR, false); in setDefaults() 110 settingsManager.setDefaults(KEY_CAMERA_HDR_PLUS, false); in setDefaults() 112 settingsManager.setDefaults(KEY_CAMERA_FIRST_USE_HINT_SHOWN, true); in setDefaults() 114 settingsManager.setDefaults(KEY_FOCUS_MODE, in setDefaults() [all …]
|
D | AppUpgrader.java | 101 protected int getLastVersion(SettingsManager settingsManager) { in getLastVersion() argument 107 SharedPreferences defaultPreferences = settingsManager.getDefaultPreferences(); in getLastVersion() 118 return super.getLastVersion(settingsManager); in getLastVersion() 122 public void upgrade(SettingsManager settingsManager, int lastVersion, int currentVersion) { in upgrade() argument 128 upgradeTypesToStrings(settingsManager); in upgrade() 132 forceLocationChoice(settingsManager); in upgrade() 139 upgradeCameraSizeSetting(settingsManager, context, infos, in upgrade() 141 upgradeCameraSizeSetting(settingsManager, context, infos, in upgrade() 146 settingsManager.remove(SettingsManager.SCOPE_GLOBAL, in upgrade() 152 upgradeCameraSettingsFiles(settingsManager, context); in upgrade() [all …]
|
D | SettingsUpgrader.java | 51 public void upgrade(SettingsManager settingsManager) { in upgrade() argument 52 int lastVersion = getLastVersion(settingsManager); in upgrade() 54 upgrade(settingsManager, lastVersion, mTargetVersion); in upgrade() 56 settingsManager.set(SettingsManager.SCOPE_GLOBAL, mVersionKey, mTargetVersion); in upgrade() 66 protected abstract void upgrade(SettingsManager settingsManager, int lastVersion, in upgrade() argument 78 protected int getLastVersion(SettingsManager settingsManager) { in getLastVersion() argument 79 return settingsManager.getInteger(SettingsManager.SCOPE_GLOBAL, mVersionKey); in getLastVersion()
|
D | ManagedSwitchPreference.java | 56 SettingsManager settingsManager = CameraServicesImpl.instance().getSettingsManager(); in getPersistedBoolean() local 57 if (settingsManager != null) { in getPersistedBoolean() 58 return settingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, getKey()); in getPersistedBoolean() 75 SettingsManager settingsManager = CameraServicesImpl.instance().getSettingsManager(); in persistBoolean() local 76 if (settingsManager != null) { in persistBoolean() 77 settingsManager.set(SettingsManager.SCOPE_GLOBAL, getKey(), value); in persistBoolean()
|
D | CameraFacingSetting.java | 43 SettingsManager settingsManager, in CameraFacingSetting() argument 46 mSettingsManager = settingsManager; in CameraFacingSetting()
|
D | ResolutionSetting.java | 49 public ResolutionSetting(SettingsManager settingsManager, in ResolutionSetting() argument 52 mSettingsManager = settingsManager; in ResolutionSetting()
|
D | SettingObserver.java | 44 public void onSettingChanged(SettingsManager settingsManager, String key) { in onSettingChanged() argument
|
D | SettingsManager.java | 177 public void onSettingChanged(SettingsManager settingsManager, String key); in onSettingChanged() argument
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoModule.java | 342 SettingsManager settingsManager = mActivity.getSettingsManager(); in switchToGcamCapture() local 343 settingsManager.set(SettingsManager.SCOPE_GLOBAL, in switchToGcamCapture() 389 SettingsManager settingsManager = mActivity.getSettingsManager(); in init() local 394 settingsManager.setToDefault(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID); in init() 396 mCameraId = settingsManager.getInteger(mAppController.getModuleScope(), in init() 487 SettingsManager settingsManager = mActivity.getSettingsManager(); in switchCamera() local 493 settingsManager.set(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID, mCameraId); in switchCamera() 529 SettingsManager settingsManager = mActivity.getSettingsManager(); 530 if (Keys.isCameraBackFacing(settingsManager, 532 if (Keys.requestsReturnToHdrPlus(settingsManager, [all …]
|
D | CaptureModule.java | 761 public void hardResetSettings(SettingsManager settingsManager) { in hardResetSettings() argument 765 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS, true); in hardResetSettings() 766 settingsManager.set(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID, in hardResetSettings() 1081 SettingsManager settingsManager = mAppController.getSettingsManager(); 1082 settingsManager.set(mAppController.getModuleScope(), 1123 SettingsManager settingsManager = mAppController.getSettingsManager(); 1124 if (Keys.isCameraBackFacing(settingsManager, 1132 settingsManager.set(mAppController.getModuleScope(), 1169 SettingsManager settingsManager = mAppController.getSettingsManager(); 1170 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS, false);
|
D | VideoModule.java | 339 SettingsManager settingsManager = mActivity.getSettingsManager(); in init() local 340 mCameraId = settingsManager.getInteger(mAppController.getModuleScope(), in init() 540 public void hardResetSettings(SettingsManager settingsManager) { in hardResetSettings() argument 730 SettingsManager settingsManager = mActivity.getSettingsManager(); in readVideoPreferences() local 733 String videoQuality = settingsManager in readVideoPreferences() 1633 SettingsManager settingsManager = mActivity.getSettingsManager(); in setCameraParameters() local 1653 enableTorchMode(Keys.isCameraBackFacing(settingsManager, mAppController.getModuleScope())); in setCameraParameters() 1821 SettingsManager settingsManager = mActivity.getSettingsManager(); in switchCamera() local 1826 settingsManager.set(mAppController.getModuleScope(), in switchCamera() 1883 SettingsManager settingsManager = mActivity.getSettingsManager(); in enableTorchMode() local [all …]
|
D | ButtonManager.java | 183 public void onSettingChanged(SettingsManager settingsManager, String key) { in onSettingChanged() argument
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceConstructedImpl.java | 74 SettingsManager settingsManager, in create() argument 79 context.getResources(), settingsManager, settingScopeNamespace, appController); in create() 81 settingsManager, oneCameraManager, context.getContentResolver()); in create() 84 oneCameraManager, locationManager, orientationManager, settingsManager, burstFacade, in create() 98 SettingsManager settingsManager, in ResourceConstructedImpl() argument 113 mSettingsManager = settingsManager; in ResourceConstructedImpl()
|
D | ResourceCaptureToolsImpl.java | 177 final SettingsManager settingsManager = resource.getSettingsManager(); in takePictureNow() local 178 boolean isGridLinesOn = Keys.areGridLinesOn(settingsManager); in takePictureNow()
|
/packages/apps/Camera2/src/com/android/camera/one/ |
D | OneCameraCaptureSetting.java | 44 SettingsManager settingsManager, in create() argument 51 settingsManager, cameraSettingScope, Keys.KEY_FLASH_MODE)); in create() 56 settingsManager, cameraSettingScope, Keys.KEY_EXPOSURE); in create() 59 hdrSceneSetting = SettingObserver.ofBoolean(settingsManager, in create()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | IndicatorIconController.java | 300 SettingsManager settingsManager = mController.getSettingsManager(); in setIndicatorState() local 302 int valueIndex = settingsManager.getIndexOfCurrentValue(scope, key); in setIndicatorState() 319 if (!showDefault && settingsManager.isDefault(scope, key)) { in setIndicatorState() 327 public void onSettingChanged(SettingsManager settingsManager, String key) { in onSettingChanged() argument
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | ModuleManagerImpl.java | 113 public int getQuickSwitchToModuleId(int moduleId, SettingsManager settingsManager, in getQuickSwitchToModuleId() argument 125 quickSwitchTo = settingsManager.getInteger( in getQuickSwitchToModuleId()
|
D | ModuleManager.java | 134 int getQuickSwitchToModuleId(int moduleId, SettingsManager settingsManager, Context context); in getQuickSwitchToModuleId() argument
|
D | CameraAppUI.java | 2001 public void onSettingChanged(SettingsManager settingsManager, String key) { 2034 SettingsManager settingsManager = mController.getSettingsManager(); 2047 mHdrSupportMode = settingsManager.getString(SettingsManager.SCOPE_GLOBAL, 2070 boolean flashBackCamera = settingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL,
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolumeGroup.java | 76 private CarVolumeGroup(int zoneId, int id, CarAudioSettings settingsManager, int stepSize, in CarVolumeGroup() argument 81 mSettingsManager = settingsManager; in CarVolumeGroup()
|
/packages/apps/Camera2/src_pd/com/android/camera/util/ |
D | ReleaseHelper.java | 26 SettingsManager settingsManager) { in showReleaseInfoDialogOnStart() argument
|
D | CameraSettingsActivityHelper.java | 35 public static void verifyDefaults(SettingsManager settingsManager, Context context) { in verifyDefaults() argument
|
/packages/apps/Camera2/src/com/android/camera/module/ |
D | ModuleController.java | 105 public void hardResetSettings(SettingsManager settingsManager); in hardResetSettings() argument
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
D | CaptureIntentModule.java | 178 public void hardResetSettings(SettingsManager settingsManager) { in hardResetSettings() argument
|