/packages/screensavers/WebView/src/com/android/dreams/web/ |
SetURLInteractive.java | 20 import android.content.SharedPreferences.Editor; 49 final Editor editor = prefs.edit(); local 50 editor.putString("url", url); 51 editor.putBoolean("interactive", true); 52 editor.commit();
|
/prebuilts/jdk/jdk8/darwin-x86/sample/scripting/scriptpad/src/scripts/ |
insertfile.js | 62 var pos = application.editor.caretPosition; 63 var doc = application.editor.document;
|
/prebuilts/jdk/jdk8/linux-x86/sample/scripting/scriptpad/src/scripts/ |
insertfile.js | 62 var pos = application.editor.caretPosition; 63 var doc = application.editor.document;
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
IntEditor.java | 17 package com.android.notificationstudio.editor;
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
CustomRingtoneDAO.java | 75 final SharedPreferences.Editor editor = prefs.edit(); local 76 editor.remove(RINGTONE_URI + id); 77 editor.remove(RINGTONE_TITLE + id); 79 editor.remove(RINGTONE_IDS); 80 editor.remove(NEXT_RINGTONE_ID); 82 editor.putStringSet(RINGTONE_IDS, ids); 84 editor.apply();
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
LocalBluetoothPreferences.java | 135 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 136 editor.putString(KEY_LAST_SELECTED_DEVICE, 138 editor.putLong(KEY_LAST_SELECTED_DEVICE_TIME, 140 editor.apply(); 144 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 145 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); 146 editor.apply();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsUpgradeReceiver.java | 73 SharedPreferences.Editor editor = prefs.edit(); local 74 editor.putInt(PREF_DB_VERSION, ContactsDatabaseHelper.DATABASE_VERSION); 75 editor.putString(PREF_ICU_VERSION, curIcuVersion); 76 editor.putString(PREF_OS_VERSION, curOsVersion); 77 editor.commit();
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
PerAccountSharedPreferences.java | 52 public class Editor { 54 private final SharedPreferences.Editor editor; field in class:PerAccountSharedPreferences.Editor 56 private Editor() { 57 editor = preferences.edit(); 61 editor.apply(); 64 public Editor putBoolean(String key, boolean value) { 65 editor.putBoolean(getKey(key), value); 69 public Editor putFloat(String key, float value) { 70 editor.putFloat(getKey(key), value) [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
VoicemailProviderSettingsUtil.java | 104 SharedPreferences.Editor editor = prefs.edit(); local 105 editor.putString(key + VM_NUMBER_TAG, newSettings.getVoicemailNumber()); 110 editor.putInt(fwdKey + FWD_SETTINGS_LENGTH_TAG, s.length); 114 editor.putInt(settingKey + FWD_SETTING_STATUS, fi.status); 115 editor.putInt(settingKey + FWD_SETTING_REASON, fi.reason); 116 editor.putString(settingKey + FWD_SETTING_NUMBER, fi.number); 117 editor.putInt(settingKey + FWD_SETTING_TIME, fi.timeSeconds); 120 editor.putInt(fwdKey + FWD_SETTINGS_LENGTH_TAG, 0); 123 editor.apply() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
VisualRefactoringAction.java | 65 // Look for selections in XML and in the layout UI editor 78 IEditorPart editor = null; local 82 editor = AdtUtils.getActiveEditor(); 83 mFile = getSelectedFile(editor); 88 editor = AdtUtils.getActiveEditor(); 89 mFile = getSelectedFile(editor); 93 mDelegate = LayoutEditorDelegate.fromEditor(editor); 113 private IFile getSelectedFile(IEditorPart editor) { 114 if (editor != null) { 115 IEditorInput input = editor.getEditorInput() [all...] |
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/prefs/ |
PrefsBackupHelperTest.java | 25 import android.content.SharedPreferences.Editor; 144 SharedPreferences.Editor editor = mDefaultPrefs.edit(); local 147 editor.putInt(LOCAL_PREFERENCE_1, 1); 148 editor.putInt(LOCAL_PREFERENCE_2, 2); 149 editor.putBoolean(SCOPED_PREFERENCE, true); 150 editor.putBoolean(NON_BACKUP_PREFERENCE, true); 151 editor.commit(); 159 editor.clear().commit(); 191 Editor editor = mDefaultPrefs.edit().clear() local [all...] |
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmStorage.java | 76 SharedPreferences.Editor editor = mSharedPreferences.edit(); local 77 editor.putString(String.valueOf(alarm.id), alarm.toJson()); 78 editor.apply(); 107 SharedPreferences.Editor editor = mSharedPreferences.edit(); local 108 editor.remove(String.valueOf(alarm.id)); 109 editor.apply();
|
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmStorage.java | 76 SharedPreferences.Editor editor = mSharedPreferences.edit(); local 77 editor.putString(String.valueOf(alarm.id), alarm.toJson()); 78 editor.apply(); 107 SharedPreferences.Editor editor = mSharedPreferences.edit(); local 108 editor.remove(String.valueOf(alarm.id)); 109 editor.apply();
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
AlarmStorage.java | 76 SharedPreferences.Editor editor = mSharedPreferences.edit(); local 77 editor.putString(String.valueOf(alarm.id), alarm.toJson()); 78 editor.apply(); 107 SharedPreferences.Editor editor = mSharedPreferences.edit(); local 108 editor.remove(String.valueOf(alarm.id)); 109 editor.apply();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
ApprovedPrintServices.java | 103 SharedPreferences.Editor editor = mPreferences.edit(); local 104 editor.putStringSet(APPROVED_SERVICES_PREFERENCE, newApprovedServices); 105 editor.apply(); 153 SharedPreferences.Editor editor = mPreferences.edit(); local 155 editor.putStringSet(APPROVED_SERVICES_PREFERENCE, newApprovedServices); 156 editor.apply();
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
QuickResponseUtils.java | 109 final SharedPreferences.Editor editor = prefs.edit(); local 110 editor.putString(KEY_CANNED_RESPONSE_PREF_1, cannedResponse1); 111 editor.putString(KEY_CANNED_RESPONSE_PREF_2, cannedResponse2); 112 editor.putString(KEY_CANNED_RESPONSE_PREF_3, cannedResponse3); 113 editor.putString(KEY_CANNED_RESPONSE_PREF_4, cannedResponse4); 114 editor.commit();
|
/external/v8/src/compiler/ |
checkpoint-elimination.cc | 13 CheckpointElimination::CheckpointElimination(Editor* editor) 14 : AdvancedReducer(editor) {}
|
js-context-specialization.h | 23 JSContextSpecialization(Editor* editor, JSGraph* jsgraph, 25 : AdvancedReducer(editor), jsgraph_(jsgraph), context_(context) {}
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarBackupAgent.java | 23 import android.content.SharedPreferences.Editor; 42 final Editor editor = getSharedPreferences( local 44 editor.putString(GeneralPreferences.KEY_ALERTS_RINGTONE,
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
Editor.java | 17 package com.android.contacts.editor; 29 public interface Editor { 33 * Called when the given {@link Editor} is requested to be deleted by the user. 35 public void onDeleteRequested(Editor editor); 38 * Called when the given {@link Editor} has a request, for example it 49 // The editor has switched between different representations of the same 53 // Focus has changed inside the editor. 58 * Returns whether or not all the fields are empty in this {@link Editor}. 63 * Prepares this editor for the given {@link ValuesDelta}, whic [all...] |
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
StorageManagerUpsellDialog.java | 94 SharedPreferences.Editor editor = sp.edit(); local 95 editor.putInt(NO_THANKS_COUNT, noThanksCount); 98 editor.putLong(NEXT_SHOW_TIME, nextShowTime); 99 editor.apply(); 109 SharedPreferences.Editor editor = sp.edit(); local 110 editor.putInt(DISMISSED_COUNT, dismissCount); 111 editor.putLong(NEXT_SHOW_TIME, getCurrentTime() + getDismissDelay(dismissCount)); 112 editor.apply() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintEditAction.java | 26 * Action intended to wrap an existing XML editor action, and then runs lint after 33 * Creates a new {@link LintEditAction} associated with the given editor to 37 * @param editor the editor associated with the action 39 public LintEditAction(@NonNull IAction action, @NonNull AndroidXmlEditor editor) { 41 mEditor = editor;
|
/external/proguard/src/proguard/classfile/editor/ |
ClassElementSorter.java | 21 package proguard.classfile.editor;
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/ |
SmaliLexicalElementType.java | 34 import com.intellij.openapi.editor.colors.TextAttributesKey;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
InputViewManager.java | 58 * @param editor The information about the editor 60 public void setPreferences(SharedPreferences pref, EditorInfo editor);
|