/external/proguard/src/proguard/classfile/editor/ |
LocalVariableTypeInfoAdder.java | 21 package proguard.classfile.editor;
|
LocalVariableTypeTableAttributeEditor.java | 21 package proguard.classfile.editor;
|
ParameterAnnotationsAttributeEditor.java | 21 package proguard.classfile.editor;
|
StackSizeUpdater.java | 21 package proguard.classfile.editor;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/content/ |
TestSharedPreferencesTest.java | 24 private SharedPreferences.Editor editor; field in class:TestSharedPreferencesTest 32 editor = sharedPreferences.edit(); 33 editor.putBoolean("boolean", true); 34 editor.putFloat("float", 1.1f); 35 editor.putInt("int", 2); 36 editor.putLong("long", 3l); 37 editor.putString("string", "foobar"); 42 editor.commit(); 54 editor.commit() [all...] |
/frameworks/ex/common/java/com/android/common/ |
SharedPreferencesCompat.java | 25 * Reflection utils to call SharedPreferences$Editor.apply when possible, 32 Class cls = SharedPreferences.Editor.class; 39 public static void apply(SharedPreferences.Editor editor) { 42 sApplyMethod.invoke(editor); 50 editor.commit();
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EditorUiUtils.java | 17 package com.android.contacts.editor; 31 * Utility methods for creating contact editor. 35 // Maps DataKind.mimeType to editor view layouts.
|
KindSectionView.java | 17 package com.android.contacts.editor; 30 import com.android.contacts.editor.Editor.EditorListener; 113 public void onDeleteRequested(Editor editor) { 114 // If there is only 1 editor in the section, then don't allow the user to delete it. 115 // Just clear the fields in the editor. 117 editor.clearAllFields(); 119 // Otherwise it's okay to delete this {@link Editor} 120 editor.deleteEditor() 202 Editor editor = (Editor) view; local [all...] |
/packages/apps/Phone/src/com/android/phone/sip/ |
SipSharedPreferences.java | 47 SharedPreferences.Editor editor = mPreferences.edit(); local 48 editor.putString(KEY_PRIMARY_ACCOUNT, accountUri); 49 editor.apply(); 72 SharedPreferences.Editor editor = mPreferences.edit(); local 73 editor.putInt(KEY_NUMBER_OF_PROFILES, number); 74 editor.apply();
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
LocalBluetoothPreferences.java | 116 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 117 editor.putString(KEY_LAST_SELECTED_DEVICE, 119 editor.putLong(KEY_LAST_SELECTED_DEVICE_TIME, 121 editor.apply(); 125 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 126 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); 127 editor.apply(); 135 SharedPreferences.Editor editor = getSharedPreferences(context).edit() 154 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 160 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsUpgradeReceiver.java | 67 SharedPreferences.Editor editor = prefs.edit(); local 68 editor.putInt(PREF_DB_VERSION, ContactsDatabaseHelper.DATABASE_VERSION); 69 editor.putString(PREF_ICU_VERSION, curIcuVersion); 70 editor.commit();
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
BitmapEditor.java | 17 package com.android.notificationstudio.editor;
|
Editors.java | 17 package com.android.notificationstudio.editor; 34 public interface Editor { 38 private static final Map<Integer, Editor> EDITORS = editors(); 41 private static Map<Integer, Editor> editors() { 42 Map<Integer, Editor> editors = new HashMap<Integer, Editor>(); 69 Editor editor = EDITORS.get(item.getType()); local 70 if (editor == null) 72 Runnable updater = editor.bindEditor(editorView, item, new Runnable() [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
SetPreferencesActivity.java | 63 SharedPreferences.Editor editor = prefs.edit(); local 64 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_ROW); 65 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_INDEX); 66 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED); 67 editor.remove(PreferenceConstants.PREFERENCE_LINEAR_MODE); 68 editor.remove(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME); 69 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED); 70 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_TOTAL); 71 editor.remove(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
BackupTestActivity.java | 198 SharedPreferences.Editor editor = prefs.edit(); local 199 editor.putInt(INT_PREF, (random.nextInt(100) + 1)); 200 editor.putBoolean(BOOL_PREF, random.nextBoolean()); 201 editor.commit(); 206 SharedPreferences.Editor editor = prefs.edit(); local 207 editor.putFloat(FLOAT_PREF, random.nextFloat()); 208 editor.putLong(LONG_PREF, random.nextLong()); 209 editor.putString(STRING_PREF, "Random number: " + (random.nextInt(100) + 1)) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerObj.java | 78 SharedPreferences.Editor editor = prefs.edit(); local 81 editor.putInt (key, mTimerId); 83 editor.putLong (key, mStartTime); 85 editor.putLong (key, mTimeLeft); 87 editor.putLong (key, mOriginalLength); 89 editor.putLong (key, mSetupLength); 91 editor.putInt (key, mState); 94 editor.putStringSet(PREF_TIMERS_LIST, timersList); 96 editor.putString(key, mLabel) 118 SharedPreferences.Editor editor = prefs.edit(); local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
QuickContactTestsActivity.java | 22 import android.content.SharedPreferences.Editor; 102 final Editor editor = sharedPreferences.edit(); local 103 editor.putString(PREF_SETTING_URI, mContactUri == null ? null : mContactUri.toString()); 104 editor.apply();
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
Settings.java | 20 import android.content.SharedPreferences.Editor; 55 Editor editor = mSharedPref.edit(); local 56 editor.putBoolean(ANDPY_CONFS_VIBRATE_KEY, mVibrate); 57 editor.putBoolean(ANDPY_CONFS_KEYSOUND_KEY, mKeySound); 58 editor.putBoolean(ANDPY_CONFS_PREDICTION_KEY, mPrediction); 59 editor.commit();
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
AlbumSettings.java | 124 SharedPreferences.Editor editor = mSettings.edit(); local 126 editor.putStringSet(ALBUM_SET, new HashSet<String>(mEnabledAlbums)); 127 editor.commit();
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PersistentState.java | 46 * top text editor, but not of the bottom text editor. You can see the difference 120 SharedPreferences.Editor editor = getPreferences(0).edit(); local 121 editor.putString("text", mSaved.getText().toString()); 122 editor.putInt("selection-start", mSaved.getSelectionStart()); 123 editor.putInt("selection-end", mSaved.getSelectionEnd()); 124 editor.commit();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiAttributeNode.java | 28 * Represents an XML attribute that can be modified by the XML editor's user interface. 72 * Sets whether the attribute is dirty and also notifies the editor some part's dirty 85 AndroidXmlEditor editor = getUiParent().getEditor(); local 86 if (editor != null) { 87 editor.editorDirtyStateChanged(); 152 * Called by the user interface when the editor is saved or its state changed
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/editor/structure/ |
IPage.java | 11 package org.eclipse.wb.internal.core.editor.structure; 21 * @coverage core.editor.structure
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
LocalePropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 21 * @coverage core.model.property.editor
|
PropertyDescriptorEditorProvider.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 20 * @coverage core.model.property.editor
|
PropertyEditorProvider.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 19 * @coverage core.model.property.editor 30 * @return the {@link PropertyEditor} for given {@link java.beans.PropertyEditor} editor type or
|