/packages/apps/Camera2/src/com/android/camera/app/ |
CameraServices.java | 21 import com.android.camera.settings.SettingsManager; 64 public SettingsManager getSettingsManager();
|
ModuleManager.java | 22 import com.android.camera.settings.SettingsManager; 121 * @param settingsManager settings manager for querying last used camera module 126 int getQuickSwitchToModuleId(int moduleId, SettingsManager settingsManager, Context context);
|
CameraApp.java | 33 import com.android.camera.settings.SettingsManager; 60 private SettingsManager mSettingsManager; 88 mSettingsManager = new SettingsManager(this); 122 public SettingsManager getSettingsManager() {
|
ModuleManagerImpl.java | 24 import com.android.camera.settings.SettingsManager; 113 public int getQuickSwitchToModuleId(int moduleId, SettingsManager settingsManager, 125 quickSwitchTo = settingsManager.getInteger( 126 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_MODULE_LAST_USED);
|
AppController.java | 34 import com.android.camera.settings.SettingsManager; 348 * Returns the {@link com.android.camera.SettingsManager}. 352 public SettingsManager getSettingsManager();
|
CameraAppUI.java | 50 import com.android.camera.settings.SettingsManager; 90 SettingsManager.OnSettingChangedListener, 784 SettingsManager.SCOPE_GLOBAL, [all...] |
/packages/apps/Camera2/src_pd/com/android/camera/util/ |
ReleaseDialogHelper.java | 22 import com.android.camera.settings.SettingsManager; 26 SettingsManager settingsManager) {
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
Keys.java | 30 * stores those defaults so they can be used by the SettingsManager 32 * a setting is accessed by the SettingsManager API. 81 public static void setDefaults(SettingsManager settingsManager, Context context) { 82 settingsManager.setDefaults(KEY_COUNTDOWN_DURATION, 0, 85 settingsManager.setDefaults(KEY_CAMERA_ID, 89 settingsManager.setDefaults(KEY_SCENE_MODE, 93 settingsManager.setDefaults(KEY_FLASH_MODE, 97 settingsManager.setDefaults(KEY_CAMERA_HDR, false); 98 settingsManager.setDefaults(KEY_CAMERA_HDR_PLUS, false) [all...] |
AppUpgrader.java | 85 protected int getLastVersion(SettingsManager settingsManager) { 90 // all other known app settings to the new SettingsManager string 93 return super.getLastVersion(settingsManager); 98 upgradeTypesToStrings(settingsManager); 100 return super.getLastVersion(settingsManager); 105 public void upgrade(SettingsManager settingsManager, int lastVersion, int currentVersion) { 109 forceLocationChoice(settingsManager); 116 upgradeCameraSizeSetting(settingsManager, context, infos [all...] |
SettingsUpgrader.java | 34 // SettingsManager, to represent string-based booleans via typed string 51 public void upgrade(SettingsManager settingsManager) { 52 int lastVersion = getLastVersion(settingsManager); 54 upgrade(settingsManager, lastVersion, mTargetVersion); 56 settingsManager.set(SettingsManager.SCOPE_GLOBAL, mVersionKey, mTargetVersion); 66 protected abstract void upgrade(SettingsManager settingsManager, int lastVersion, 71 * Typically will be stored in SCOPE_GLOBAL in SettingsManager, but a [all...] |
ManagedSwitchPreference.java | 56 SettingsManager settingsManager = cameraApp.getSettingsManager(); 57 if (settingsManager != null) { 58 return settingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, getKey()); 60 // If the SettingsManager is for some reason not initialized, 75 SettingsManager settingsManager = cameraApp.getSettingsManager(); 76 if (settingsManager != null) { 77 settingsManager.set(SettingsManager.SCOPE_GLOBAL, getKey(), value) [all...] |
SettingsManager.java | 31 * SettingsManager class provides an api for getting and setting SharedPreferences 64 * outside the SettingsManager, because these values are either passed into 72 public class SettingsManager { 73 private static final Log.Tag TAG = new Log.Tag("SettingsManager"); 95 public SettingsManager(Context context) { 103 * Get the SettingsManager's default preferences. This is useful 151 public void onSettingChanged(SettingsManager settingsManager, String key); 160 listener.onSettingChanged(SettingsManager.this, key); 166 * Add an OnSettingChangedListener to the SettingsManager, which wil [all...] |
/packages/apps/Camera2/src/com/android/camera/module/ |
ModuleController.java | 23 import com.android.camera.settings.SettingsManager; 39 * This string is used by the SettingsManager to scope settings 120 public void hardResetSettings(SettingsManager settingsManager);
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
IndicatorIconController.java | 29 import com.android.camera.settings.SettingsManager; 41 implements SettingsManager.OnSettingChangedListener, 203 setIndicatorState(SettingsManager.SCOPE_GLOBAL, 208 setIndicatorState(SettingsManager.SCOPE_GLOBAL, 227 setIndicatorState(SettingsManager.SCOPE_GLOBAL, 284 setIndicatorState(SettingsManager.SCOPE_GLOBAL, 298 SettingsManager settingsManager = mController.getSettingsManager(); 300 int valueIndex = settingsManager.getIndexOfCurrentValue(scope, key); 317 if (!showDefault && settingsManager.isDefault(scope, key)) [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
ButtonManager.java | 29 import com.android.camera.settings.SettingsManager; 39 public class ButtonManager implements SettingsManager.OnSettingChangedListener { 61 private final SettingsManager mSettingsManager; 179 public void onSettingChanged(SettingsManager settingsManager, String key) { 200 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, 204 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, 208 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, 216 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, 717 int index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL [all...] |
PhotoModule.java | 68 import com.android.camera.settings.SettingsManager; 110 SettingsManager.OnSettingChangedListener, 383 SettingsManager settingsManager = mActivity.getSettingsManager(); 384 settingsManager.set(SettingsManager.SCOPE_GLOBAL, 435 SettingsManager settingsManager = mActivity.getSettingsManager(); 436 mCameraId = settingsManager.getInteger(mAppController.getModuleScope(), 439 // TODO: Move this to SettingsManager as a part of upgrade procedure [all...] |
CaptureModule.java | 66 import com.android.camera.settings.SettingsManager; 108 SettingsManager.OnSettingChangedListener, 173 private final SettingsManager mSettingsManager; 358 .getInteger(SettingsManager.SCOPE_GLOBAL, Keys.KEY_COUNTDOWN_DURATION); 568 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS) == 1; 633 public void hardResetSettings(SettingsManager settingsManager) { 637 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS, true); 638 settingsManager.set(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID [all...] |
CameraActivity.java | 114 import com.android.camera.settings.SettingsManager; 198 private SettingsManager mSettingsManager; 323 if (mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, 325 mSettingsManager.set(SettingsManager.SCOPE_GLOBAL, 498 if (!mSettingsManager.isSet(SettingsManager.SCOPE_GLOBAL, 502 mSettingsManager.set(SettingsManager.SCOPE_GLOBAL, [all...] |
FocusOverlayManager.java | 34 import com.android.camera.settings.SettingsManager; 101 private final SettingsManager mSettingsManager;
|
VideoModule.java | 64 import com.android.camera.settings.SettingsManager; 347 SettingsManager settingsManager = mActivity.getSettingsManager(); 348 mCameraId = settingsManager.getInteger(mAppController.getModuleScope(), 555 public void hardResetSettings(SettingsManager settingsManager) { 727 SettingsManager settingsManager = mActivity.getSettingsManager(); 730 String videoQuality = settingsManager 731 .getString(SettingsManager.SCOPE_GLOBAL, videoQualityKey) [all...] |
TextureViewHelper.java | 32 import com.android.camera.settings.SettingsManager;
|