Home
last modified time | relevance | path

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

1234567

/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java57 private static final class StructuredNameEditorListener implements Editor.EditorListener {
72 if (request == Editor.EditorListener.FIELD_CHANGED) { in onRequest()
77 } else if (request == Editor.EditorListener.FIELD_TURNED_EMPTY) { in onRequest()
83 public void onDeleteRequested(Editor editor) { in onDeleteRequested()
92 private static final class OtherNameKindEditorListener implements Editor.EditorListener {
99 public void onDeleteRequested(Editor editor) { in onDeleteRequested()
109 private class NonNameEditorListener implements Editor.EditorListener {
121 public void onDeleteRequested(Editor editor) { in onDeleteRequested()
140 public void onDeleteRequested(Editor editor) { in onDeleteRequested()
239 if (view instanceof Editor) { in isEmptyName()
[all …]
/packages/apps/Dialer/java/com/android/dialer/common/
DPerAccountSharedPreferences.java52 public class Editor { class in PerAccountSharedPreferences
54 private final SharedPreferences.Editor editor;
56 private Editor() { in Editor() method in PerAccountSharedPreferences.Editor
64 public Editor putBoolean(String key, boolean value) { in putBoolean()
69 public Editor putFloat(String key, float value) { in putFloat()
74 public Editor putInt(String key, int value) { in putInt()
79 public Editor putLong(String key, long value) { in putLong()
84 public Editor putString(String key, String value) { in putString()
89 public Editor putStringSet(String key, Set<String> value) { in putStringSet()
95 public Editor edit() { in edit()
[all …]
/packages/services/Telephony/src/com/android/phone/vvm/
DVisualVoicemailPreferences.java46 public class Editor { class in VisualVoicemailPreferences
48 private final SharedPreferences.Editor mEditor;
50 private Editor() { in Editor() method in VisualVoicemailPreferences.Editor
58 public Editor putBoolean(String key, boolean value) { in putBoolean()
64 public Editor putFloat(String key, float value) { in putFloat()
69 public Editor putInt(String key, int value) { in putInt()
75 public Editor putLong(String key, long value) { in putLong()
80 public Editor putString(String key, String value) { in putString()
86 public Editor putStringSet(String key, Set<String> value) { in putStringSet()
92 public Editor edit() { in edit()
[all …]
DVisualVoicemailSmsFilterConfig.java48 new Editor(context, callingPackage, subId) in enableVisualVoicemailSmsFilter()
58 new Editor(context, callingPackage, subId) in disableVisualVoicemailSmsFilter()
110 private static class Editor { class in VisualVoicemailSmsFilterConfig
112 private final SharedPreferences.Editor mPrefsEditor;
115 public Editor(Context context, String packageName, int subId) { in Editor() method in VisualVoicemailSmsFilterConfig.Editor
120 private Editor setInt(String key, int value) { in setInt()
125 private Editor setString(String key, String value) { in setString()
130 private Editor setBoolean(String key, boolean value) { in setBoolean()
135 private Editor setStringList(String key, List<String> value) { in setStringList()
/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/Dialer/java/com/android/voicemail/impl/
DVoicemailStatus.java33 public static class Editor { class in VoicemailStatus
40 private Editor(Context context, PhoneAccountHandle phoneAccountHandle) { in Editor() method in VoicemailStatus.Editor
56 public Editor setType(String type) { in setType()
61 public Editor setConfigurationState(int configurationState) { in setConfigurationState()
66 public Editor setDataChannelState(int dataChannelState) { in setDataChannelState()
71 public Editor setNotificationChannelState(int notificationChannelState) { in setNotificationChannelState()
76 public Editor setQuota(int occupied, int total) { in setQuota()
124 public static class DeferredEditor extends Editor {
141 public static Editor edit(Context context, PhoneAccountHandle phoneAccountHandle) { in edit()
142 return new Editor(context, phoneAccountHandle); in edit()
DDefaultOmtpEventHandler.java31 VoicemailStatus.Editor status, in handleEvent()
52 Context context, VoicemailStatus.Editor status, OmtpEvents event) { in handleConfigurationEvent()
90 Context context, VoicemailStatus.Editor status, OmtpEvents event) { in handleDataChannelEvent()
156 VoicemailStatus.Editor status, in handleNotificationChannelEvent()
180 Context context, VoicemailStatus.Editor status, OmtpEvents event) { in handleOtherEvent()
/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/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/tests/src/com/android/contacts/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/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/DocumentsUI/src/com/android/documentsui/prefs/
DPrefsBackupHelper.java20 import android.content.SharedPreferences.Editor;
46 Editor editor = prefs.edit(); in getBackupPreferences()
57 Editor editor = mDefaultPreferences.edit(); in putBackupPreferences()
63 private void copyMatchingPreferences(SharedPreferences source, Editor destination) { in copyMatchingPreferences()
73 void setPreference(Editor target, final Map.Entry<String, ?> preference) { in setPreference()
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3EventHandler.java111 VoicemailStatus.Editor status, in handleEvent()
136 Context context, VoicemailStatus.Editor status, OmtpEvents event) { in handleConfigurationEvent()
168 private static boolean handleDataChannelEvent(VoicemailStatus.Editor status, OmtpEvents event) { in handleDataChannelEvent()
219 VoicemailStatus.Editor unusedStatus, OmtpEvents unusedEvent) { in handleNotificationChannelEvent()
223 private static boolean handleOtherEvent(VoicemailStatus.Editor status, OmtpEvents event) { in handleOtherEvent()
258 private static void postError(VoicemailStatus.Editor editor, @ErrorCode int errorCode) { in postError()
/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/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java38 import android.content.SharedPreferences.Editor;
139 Editor ed = mNamePreference.edit(); in setName()
153 Editor ed = mChannelPreference.edit(); in setChannel()
162 Editor ed = mChannelPreference.edit(); in removeChannel()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmNetworkRequestCallback.java56 private final VoicemailStatus.Editor status;
62 Context context, PhoneAccountHandle phoneAccount, VoicemailStatus.Editor status) { in VvmNetworkRequestCallback()
73 VoicemailStatus.Editor status) { in VvmNetworkRequestCallback()
81 public VoicemailStatus.Editor getVoicemailStatusEditor() { in getVoicemailStatusEditor()
/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()
DTitledSlider.java29 import com.android.gallery3d.filtershow.editors.Editor;
37 Editor mEditor;
42 public void setUp(ViewGroup container, Parameter parameter, Editor editor) { in setUp()
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java23 import android.content.SharedPreferences.Editor;
136 final Editor editor = mPreferences.edit(); in setSortOrder()
166 final Editor editor = mPreferences.edit(); in setDisplayOrder()
187 final Editor editor = mPreferences.edit(); in setPhoneticNameDisplayPreference()

1234567