/frameworks/base/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 125 SharedPreferences.Editor editor = prefs.edit(); 126 editor.putInt(PREF_KEY, val+1); 127 editor.commit();
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
ApplicationSettingsActivity.java | 170 final SharedPreferences.Editor editor = sharedPreferences.edit(); local 171 editor.putString(mRingtonePreferenceKey, ringtoneString); 172 editor.apply();
|
/packages/apps/TV/src/com/android/tv/data/ |
WatchedHistoryManager.java | 20 import android.content.SharedPreferences.Editor; 171 Editor editor = mSharedPreferences.edit(); local 175 editor.putString(getSharedPreferencesKey(mLastIndex), encode(record)); 177 editor.putLong(PREF_KEY_LAST_INDEX, mLastIndex).apply();
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/job/ |
JobSchedulerFragment.java | 159 SharedPreferences.Editor editor = prefs.edit(); local 160 editor.putInt(PREFS_NEXT_JOB_ID, jobId + 1); 161 editor.commit();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PlayAnimationMenu.java | 234 LayoutEditorDelegate editor = mCanvas.getEditorDelegate(); local 236 editor.getEditor().getEditorSite().getWorkbenchWindow(); 239 Pair<IProject, String> pair = Pair.of(editor.getEditor().getProject(), animationDir);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
ValueCompleter.java | 112 CommonXmlEditor editor = getEditor(); local 113 if (editor != null) { 115 editor,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/ |
UiViewElementNode.java | 173 AndroidXmlEditor editor = getEditor(); local 174 if (editor != null) { 175 LayoutEditorDelegate delegate = LayoutEditorDelegate.fromEditor(editor);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringProposal.java | 51 IEditorPart editor = AdtUtils.getActiveEditor(); local 53 if (editor == null || file == null) { 62 ExtractStringRefactoring refactoring = new ExtractStringRefactoring(file, editor,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
SourceRevealer.java | 79 // before we show the type in an editor window, we make sure the current 80 // workbench page has an editor area (typically the ddms perspective doesn't). 85 // no editor area? we open the java perspective. 89 IEditorPart editor = JavaUI.openInEditor(result); local 90 if (editor instanceof ITextEditor) { 91 // get the text editor that was just opened. 92 ITextEditor textEditor = (ITextEditor)editor;
|
/prebuilts/tools/common/eclipse/ |
org.eclipse.ui.workbench.texteditor_3.6.1.r361_v20100714-0800.jar | |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
DiskLruCache.java | 76 * entry may have only one editor at one time; if a value is not available to be 86 * Every {@link #edit} call must be matched by a call to {@link Editor#commit} 87 * or {@link Editor#abort}. Committing is atomic: a read observes the full set 391 entry.currentEditor = new Editor(entry); 510 * Returns an editor for the entry named {@code key}, or null if another 513 public Editor edit(String key) throws IOException { 517 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException { 532 Editor editor = new Editor(entry) local [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
DiskLruCache.java | 76 * entry may have only one editor at one time; if a value is not available to be 86 * Every {@link #edit} call must be matched by a call to {@link Editor#commit} 87 * or {@link Editor#abort}. Committing is atomic: a read observes the full set 391 entry.currentEditor = new Editor(entry); 510 * Returns an editor for the entry named {@code key}, or null if another 513 public Editor edit(String key) throws IOException { 517 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException { 532 Editor editor = new Editor(entry) local [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
DiskLruCache.java | 76 * entry may have only one editor at one time; if a value is not available to be 86 * Every {@link #edit} call must be matched by a call to {@link Editor#commit} 87 * or {@link Editor#abort}. Committing is atomic: a read observes the full set 391 entry.currentEditor = new Editor(entry); 510 * Returns an editor for the entry named {@code key}, or null if another 513 public Editor edit(String key) throws IOException { 517 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException { 532 Editor editor = new Editor(entry) local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintFixGenerator.java | 73 * icon in the editor, and I've spent a whole day trying to make it work. I did not 83 * I tried defining my own editor annotations, and customizing the icon directly 93 * to handle this, along with its own Annotation subclass used by the editor. 167 AndroidXmlEditor editor = AndroidXmlEditor.fromTextViewer(sourceViewer); local 168 if (editor != null) { 169 IFile file = editor.getInputFile(); 193 proposals.addAll(AddSuppressAttribute.createFixes(editor, marker, id)); 295 AndroidXmlEditor editor = (AndroidXmlEditor) part; local 296 List<AddSuppressAttribute> fixes = AddSuppressAttribute.createFixes(editor, 299 IStructuredDocument document = editor.getStructuredDocument() [all...] |
/external/proguard/lib/ |
proguard.jar | |
/frameworks/support/media/src/main/java/android/support/v4/media/session/ |
MediaSessionCompat.java | 2148 RemoteControlClient.MetadataEditor editor = buildRccMetadata( local 2154 RemoteControlClient.MetadataEditor editor = mRcc.editMetadata(true); local 3206 RemoteControlClient.MetadataEditor editor = super.buildRccMetadata(metadata); local [all...] |
/prebuilts/tools/common/proguard/proguard4.7/lib/ |
proguard.jar | |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
CachedBluetoothDevice.java | 854 SharedPreferences.Editor editor = preferences.edit(); local 855 editor.remove(mDevice.getAddress()); 856 editor.commit(); 917 SharedPreferences.Editor editor = preferences.edit(); local 918 editor.remove(mDevice.getAddress()); 919 editor.commit(); 940 SharedPreferences.Editor editor = mContext.getSharedPreferences( local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutEditorDelegate.java | 80 import org.eclipse.ui.forms.editor.IFormPage; 97 * Multi-page form editor for /res/layout XML files. 120 * Old standalone-editor ID. 132 /** Implementation of the {@link IContentOutlinePage} for this editor */ 135 /** The XML editor outline */ 142 * Temporary flag set by the editor caret listener which is used to cause 143 * the next getAdapter(IContentOutlinePage.class) call to return the editor 149 /** Custom implementation of {@link IPropertySheetPage} for this editor */ 164 * Checks whether an editor part is an instance of {@link CommonXmlEditor} 167 * @param editorPart An editor part. Can be null 621 CommonXmlEditor editor = getEditor(); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
Phone.java | 791 SharedPreferences.Editor editor = sp.edit(); local 1296 SharedPreferences.Editor editor = sp.edit(); local 1379 SharedPreferences.Editor editor = sp.edit(); local 1789 SharedPreferences.Editor editor = sp.edit(); local 1809 SharedPreferences.Editor editor = sp.edit(); local 2301 SharedPreferences.Editor editor = sp.edit(); local 2342 SharedPreferences.Editor editor = sp.edit(); local [all...] |
CarrierKeyDownloadManager.java | 186 SharedPreferences.Editor editor = getDefaultSharedPreferences(mContext).edit(); local 187 editor.remove(String.valueOf(carrierKeyDownloadIdentifier)); 188 editor.commit(); 527 SharedPreferences.Editor editor = getDefaultSharedPreferences(mContext).edit(); local 533 editor.putString(MCC_MNC_PREF_TAG + slotId, mccMnc); 534 editor.commit();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
VrListenerVerifierActivity.java | 694 SharedPreferences.Editor editor = sharedPref.edit(); local 695 editor.putString(key, stringStatus); 696 editor.apply(); 700 SharedPreferences.Editor editor = sharedPref.edit(); local 701 editor.clear(); 702 editor.apply();
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
BlockedNumberProvider.java | 548 SharedPreferences.Editor editor = pref.edit(); 549 editor.putBoolean(key, value); 550 editor.apply(); 563 SharedPreferences.Editor editor = pref.edit(); 564 editor.putLong(BLOCK_SUPPRESSION_EXPIRY_TIME_PREF, expiryTimeMillis); 565 editor.apply();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiResourceAttributeNode.java | 104 * As most other parts of the android manifest editor, this assumes the 159 AndroidXmlEditor editor = uiNode.getEditor(); local 160 IProject project = editor.getProject(); 168 AndroidTargetData data = editor.getTargetData(); 226 * Computes the set of resource string matches for a given resource prefix in a given editor 228 * @param editor the editor context 235 @NonNull AndroidXmlEditor editor, 240 IProject project = editor.getProject(); 281 AndroidTargetData data = editor.getTargetData() [all...] |
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
FingerprintAuthenticationDialogFragment.java | 226 SharedPreferences.Editor editor = mSharedPreferences.edit(); local 227 editor.putBoolean(getString(R.string.use_fingerprint_to_authenticate_key), 229 editor.apply();
|