Home
last modified time | relevance | path

Searched refs:Editor (Results 1 – 25 of 135) sorted by relevance

123456

/packages/apps/LegacyCamera/src/com/android/camera/
DComboPreferences.java135 private class MyEditor implements Editor {
136 private Editor mEditorGlobal;
137 private Editor mEditorLocal;
156 public Editor clear() { in clear()
162 public Editor remove(String key) { in remove()
168 public Editor putString(String key, String value) { in putString()
177 public Editor putInt(String key, int value) { in putInt()
186 public Editor putLong(String key, long value) { in putLong()
195 public Editor putFloat(String key, float value) { in putFloat()
204 public Editor putBoolean(String key, boolean value) { in putBoolean()
[all …]
DCameraSettings.java22 import android.content.SharedPreferences.Editor;
105 SharedPreferences.Editor editor = ComboPreferences in initialCameraPictureSize()
296 SharedPreferences.Editor editor = pref.edit(); in upgradeLocalPreferences()
315 SharedPreferences.Editor editor = pref.edit(); in upgradeGlobalPreferences()
358 Editor editor = pref.edit(); in writePreferredCameraId()
429 Editor editor = preferences.edit(); in restorePreferences()
436 Editor editor = preferences.edit(); in restorePreferences()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFakeSharedPreferences.java20 import android.content.SharedPreferences.Editor;
27 class FakeSharedPreferences implements SharedPreferences, SharedPreferences.Editor {
33 public Editor edit() { in edit()
108 public Editor putBoolean(String key, boolean value) { in putBoolean()
114 public Editor putFloat(String key, float value) { in putFloat()
120 public Editor putInt(String key, int value) { in putInt()
126 public Editor putLong(String key, long value) { in putLong()
132 public Editor putString(String key, String value) { in putString()
138 public Editor putStringSet(String key, Set<String> values) { in putStringSet()
144 public Editor remove(String key) { in remove()
[all …]
/packages/apps/Camera/src/com/android/camera/
DComboPreferences.java211 private class MyEditor implements Editor {
212 private Editor mEditorGlobal;
213 private Editor mEditorLocal;
235 public Editor clear() { in clear()
242 public Editor remove(String key) { in remove()
249 public Editor putString(String key, String value) { in putString()
259 public Editor putInt(String key, int value) { in putInt()
269 public Editor putLong(String key, long value) { in putLong()
279 public Editor putFloat(String key, float value) { in putFloat()
289 public Editor putBoolean(String key, boolean value) { in putBoolean()
[all …]
DCameraSettings.java23 import android.content.SharedPreferences.Editor;
115 SharedPreferences.Editor editor = ComboPreferences in initialCameraPictureSize()
351 SharedPreferences.Editor editor = pref.edit(); in upgradeLocalPreferences()
375 SharedPreferences.Editor editor = pref.edit(); in upgradeOldVersion()
432 Editor editor = pref.edit(); in writePreferredCameraId()
502 Editor editor = preferences.edit(); in restorePreferences()
509 Editor editor = preferences.edit(); in restorePreferences()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockSharedPreferences.java31 public class MockSharedPreferences implements SharedPreferences, SharedPreferences.Editor {
36 public Editor edit() { in edit()
100 public Editor putBoolean(String key, boolean value) { in putBoolean()
105 public Editor putFloat(String key, float value) { in putFloat()
110 public Editor putInt(String key, int value) { in putInt()
115 public Editor putLong(String key, long value) { in putLong()
120 public Editor putString(String key, String value) { in putString()
125 public Editor putStringSet(String key, Set<String> values) { in putStringSet()
130 public Editor remove(String key) { in remove()
135 public Editor clear() { in clear()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DMockSharedPreferences.java31 public class MockSharedPreferences implements SharedPreferences, SharedPreferences.Editor {
36 public Editor edit() { in edit()
100 public Editor putBoolean(String key, boolean value) { in putBoolean()
105 public Editor putFloat(String key, float value) { in putFloat()
110 public Editor putInt(String key, int value) { in putInt()
115 public Editor putLong(String key, long value) { in putLong()
120 public Editor putString(String key, String value) { in putString()
125 public Editor putStringSet(String key, Set<String> values) { in putStringSet()
130 public Editor remove(String key) { in remove()
135 public Editor clear() { in clear()
/packages/apps/Email/tests/src/com/android/email/
DMockSharedPreferences.java31 public class MockSharedPreferences implements SharedPreferences, SharedPreferences.Editor {
37 public Editor edit() { in edit()
102 public Editor putBoolean(String key, boolean value) { in putBoolean()
107 public Editor putFloat(String key, float value) { in putFloat()
112 public Editor putInt(String key, int value) { in putInt()
117 public Editor putLong(String key, long value) { in putLong()
122 public Editor putString(String key, String value) { in putString()
127 public Editor putStringSet(String key, Set<String> values) { in putStringSet()
132 public Editor remove(String key) { in remove()
137 public Editor clear() { in clear()
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java47 import com.android.contacts.editor.Editor.EditorListener;
64 public void onDeleteRequested(Editor editor); in onDeleteRequested()
127 public void onDeleteRequested(Editor editor) { in onDeleteRequested()
257 if (view instanceof Editor) { in createEditorView()
258 Editor editor = (Editor) view; in createEditorView()
297 final Editor editor = (Editor) emptyEditorView; in updateEmptyEditors()
334 if (((Editor) view).isEmpty()) { in getEmptyEditors()
344 if (!((Editor) view).isEmpty()) { in areAllEditorsEmpty()
DCompactRawContactsEditorView.java93 static final class NameEditorListener implements Editor.EditorListener {
108 if (request == Editor.EditorListener.FIELD_CHANGED) { in onRequest()
113 } else if (request == Editor.EditorListener.FIELD_TURNED_EMPTY) { in onRequest()
119 public void onDeleteRequested(Editor editor) { in onDeleteRequested()
679 public void onDeleteRequested(Editor editor) { in addEditorViews()
696 public void onDeleteRequested(Editor editor) { in addEditorViews()
722 public void onDeleteRequested(Editor editor) { in addEditorViews()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DEditorPlaceHolder.java8 import com.android.gallery3d.filtershow.editors.Editor;
19 private HashMap<Integer, Editor> mEditors = new HashMap<Integer, Editor>();
30 public void addEditor(Editor c) { in addEditor()
41 public Editor showEditor(int type) { in showEditor()
42 Editor editor = mEditors.get(type); in showEditor()
78 public Editor getEditor(int editorId) { in getEditor()
/packages/apps/Messaging/src/com/android/messaging/util/
DBuglePrefsImpl.java85 final SharedPreferences.Editor editor = prefs.edit(); in putInt()
95 final SharedPreferences.Editor editor = prefs.edit(); in putLong()
105 final SharedPreferences.Editor editor = prefs.edit(); in putBoolean()
115 final SharedPreferences.Editor editor = prefs.edit(); in putString()
131 final SharedPreferences.Editor editor = prefs.edit(); in remove()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailNotificationSettingsUtil.java50 SharedPreferences.Editor editor = prefs.edit(); in setVibrationEnabled()
65 SharedPreferences.Editor editor = prefs.edit(); in setRingtoneUri()
99 SharedPreferences.Editor editor = prefs.edit(); in migrateVoicemailVibrationSettingsIfNeeded()
112 SharedPreferences.Editor editor = prefs.edit(); in migrateVoicemailVibrationSettingsIfNeeded()
138 SharedPreferences.Editor editor = prefs.edit(); in migrateVoicemailRingtoneSettingsIfNeeded()
DVisualVoicemailSettingsUtil.java62 SharedPreferences.Editor editor = prefs.edit(); in setVisualVoicemailEnabled()
105 SharedPreferences.Editor editor = prefs.edit(); in setVisualVoicemailCredentialsFromStatusMessage()
142 SharedPreferences.Editor editor = in setVisualVoicemailRetryInterval()
151 SharedPreferences.Editor editor = in setVisualVoicemailLastFullSyncTime()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DLocalBluetoothPreferences.java136 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in persistSelectedDeviceInPicker()
145 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in persistDiscoverableEndTimestamp()
155 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in persistDiscoveringTimestamp()
174 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in saveDockAutoConnectSetting()
180 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in removeDockAutoConnectSetting()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchService.java280 SharedPreferences.Editor editor = prefs.edit(); in saveNotification()
319 SharedPreferences.Editor editor = prefs.edit(); in clearSavedNotification()
362 SharedPreferences.Editor editor = prefs.edit(); in writeToSharedPrefs()
405 SharedPreferences.Editor editor = prefs.edit(); in writeSharedPrefsStarted()
420 SharedPreferences.Editor editor = prefs.edit(); in writeSharedPrefsLap()
451 SharedPreferences.Editor editor = prefs.edit(); in writeSharedPrefsStopped()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java40 import android.content.SharedPreferences.Editor;
130 Editor ed = mNamePreference.edit(); in setName()
142 Editor ed = mChannelPreference.edit(); in setChannel()
151 Editor ed = mChannelPreference.edit(); in removeChannel()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmUtils.java227 SharedPreferences.Editor editor = prefs.edit(); in setLastSearchedLocation()
250 SharedPreferences.Editor editor = prefs.edit(); in setIsFirstTimePlayFm()
262 SharedPreferences.Editor editor = prefs.edit(); in isFirstEnterStationList()
321 SharedPreferences.Editor editor = prefs.edit(); in setIsSpeakerModeOnFocusLost()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DSliderOpacity.java30 import com.android.gallery3d.filtershow.editors.Editor;
35 private Editor mEditor;
38 public void setUp(ViewGroup container, Parameter parameter, Editor editor) { in setUp()
DSliderBrightness.java29 import com.android.gallery3d.filtershow.editors.Editor;
34 Editor mEditor;
37 public void setUp(ViewGroup container, Parameter parameter, Editor editor) { in setUp()
DSliderSaturation.java31 import com.android.gallery3d.filtershow.editors.Editor;
36 private Editor mEditor;
39 public void setUp(ViewGroup container, Parameter parameter, Editor editor) { in setUp()
DBasicSlider.java28 import com.android.gallery3d.filtershow.editors.Editor;
33 Editor mEditor;
36 public void setUp(ViewGroup container, Parameter parameter, Editor editor) { in setUp()
DSliderHue.java39 import com.android.gallery3d.filtershow.editors.Editor;
45 Editor mEditor;
48 public void setUp(ViewGroup container, Parameter parameter, Editor editor) { in setUp()
DStyleChooser.java17 import com.android.gallery3d.filtershow.editors.Editor;
25 protected Editor mEditor;
31 public void setUp(ViewGroup container, Parameter parameter, Editor editor) { in setUp()
DTitledSlider.java29 import com.android.gallery3d.filtershow.editors.Editor;
37 Editor mEditor;
42 public void setUp(ViewGroup container, Parameter parameter, Editor editor) { in setUp()

123456