OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SettingsManager
(Results
1 - 25
of
34
) sorted by null
1
2
/packages/apps/Camera2/src/com/android/camera/app/
CameraServices.java
21
import com.android.camera.settings.
SettingsManager
;
64
public
SettingsManager
getSettingsManager();
ModuleManager.java
23
import com.android.camera.settings.
SettingsManager
;
129
* @param
settingsManager
settings manager for querying last used camera module
134
int getQuickSwitchToModuleId(int moduleId,
SettingsManager
settingsManager
, Context context);
FirstRunDialog.java
32
import com.android.camera.settings.
SettingsManager
;
70
private final
SettingsManager
mSettingsManager;
86
SettingsManager
settingManager,
140
return !mSettingsManager.isSet(
SettingsManager
.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION);
176
SettingsManager
.SCOPE_GLOBAL,
220
SettingsManager
.SCOPE_GLOBAL,
CameraServicesImpl.java
33
import com.android.camera.settings.
SettingsManager
;
61
private final
SettingsManager
mSettingsManager;
76
mSettingsManager = new
SettingsManager
(context);
108
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
38
import com.android.camera.settings.
SettingsManager
;
362
* Returns the {@link
SettingsManager
}.
364
public
SettingsManager
getSettingsManager();
/packages/apps/Camera2/src_pd/com/android/camera/util/
ReleaseHelper.java
22
import com.android.camera.settings.
SettingsManager
;
26
SettingsManager
settingsManager
) {
CameraSettingsActivityHelper.java
23
import com.android.camera.settings.
SettingsManager
;
35
public static void verifyDefaults(
SettingsManager
settingsManager
, Context context) {
/packages/apps/Camera2/src/com/android/camera/settings/
AppUpgrader.java
101
protected int getLastVersion(
SettingsManager
settingsManager
) {
107
SharedPreferences defaultPreferences =
settingsManager
.getDefaultPreferences();
115
return
SettingsManager
.convertToInt((String) oldVersion);
118
return super.getLastVersion(
settingsManager
);
122
public void upgrade(
SettingsManager
settingsManager
, int lastVersion, int currentVersion) {
128
upgradeTypesToStrings(
settingsManager
);
132
forceLocationChoice(
settingsManager
);
139
upgradeCameraSizeSetting(
settingsManager
, context, infos
[
all
...]
ManagedSwitchPreference.java
56
SettingsManager
settingsManager
= CameraServicesImpl.instance().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
= CameraServicesImpl.instance().getSettingsManager();
76
if (
settingsManager
!= null) {
77
settingsManager
.set(SettingsManager.SCOPE_GLOBAL, getKey(), value)
[
all
...]
SettingObserver.java
29
* Wraps a {@link
SettingsManager
} setting with thread-safe interfaces for
34
private class Listener implements
SettingsManager
.OnSettingChangedListener, SafeCloseable {
44
public void onSettingChanged(
SettingsManager
settingsManager
, String key) {
54
private final
SettingsManager
mSettingsManager;
59
private SettingObserver(
SettingsManager
manager, String scope, String key, Class<T> tClass) {
66
public static SettingObserver<Integer> ofInteger(
SettingsManager
manager,
72
public static SettingObserver<String> ofString(
SettingsManager
manager,
78
public static SettingObserver<Boolean> ofBoolean(
SettingsManager
manager,
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
...]
Keys.java
30
* stores those defaults so they can be used by the
SettingsManager
32
* a setting is accessed by the
SettingsManager
API.
89
public static void setDefaults(
SettingsManager
settingsManager
, Context context) {
90
settingsManager
.setDefaults(KEY_COUNTDOWN_DURATION, 0,
93
settingsManager
.setDefaults(KEY_CAMERA_ID,
97
settingsManager
.setDefaults(KEY_SCENE_MODE,
101
settingsManager
.setDefaults(KEY_FLASH_MODE,
105
settingsManager
.setDefaults(KEY_HDR_SUPPORT_MODE_BACK_CAMERA,
109
settingsManager
.setDefaults(KEY_CAMERA_HDR, false)
[
all
...]
ResolutionSetting.java
44
private final
SettingsManager
mSettingsManager;
49
public ResolutionSetting(
SettingsManager
settingsManager
,
52
mSettingsManager =
settingsManager
;
97
SettingsManager
.SCOPE_GLOBAL,
124
mSettingsManager.isSet(
SettingsManager
.SCOPE_GLOBAL, pictureSizeSettingKey);
130
mSettingsManager.getString(
SettingsManager
.SCOPE_GLOBAL,
158
SettingsManager
.SCOPE_GLOBAL,
CameraFacingSetting.java
30
private final
SettingsManager
mSettingsManager;
42
SettingsManager
settingsManager
,
44
mSettingsManager =
settingsManager
;
46
mSettingScope =
SettingsManager
.getModuleSettingScope(moduleSettingScope);
SettingsManager.java
34
*
SettingsManager
class provides an api for getting and setting SharedPreferences
67
* outside the
SettingsManager
, because these values are either passed into
76
public class
SettingsManager
{
77
private static final Log.Tag TAG = new Log.Tag("
SettingsManager
");
103
public
SettingsManager
(Context context) {
112
* Get the
SettingsManager
's default preferences. This is useful
174
public void onSettingChanged(
SettingsManager
settingsManager
, String key);
183
listener.onSettingChanged(
SettingsManager
.this, key);
189
* 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
;
105
public void hardResetSettings(
SettingsManager
settingsManager
);