/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
ExampleAppWidgetConfigure.java | 108 SharedPreferences.Editor prefs = context.getSharedPreferences(PREFS_NAME, 0).edit();
|
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
Policy.java | 71 SharedPreferences.Editor editor = local 74 editor.putInt(KEY_PASSWORD_QUALITY, passwordQuality); 78 editor.putInt(KEY_PASSWORD_LENGTH, passwordLength); 82 editor.putInt(KEY_PASSWORD_MIN_UPPERCASE, passwordMinUppercase); 85 editor.commit();
|
/external/webkit/Source/WebCore/page/ |
EditorClient.h | 62 class Editor;
|
/libcore/luni/src/main/java/libcore/net/http/ |
HttpResponseCache.java | 172 DiskLruCache.Editor editor = null; 174 editor = cache.edit(key); 175 if (editor == null) { 178 entry.writeTo(editor); 179 return new CacheRequestImpl(editor); 183 if (editor != null) { 184 editor.abort(); 245 private final DiskLruCache.Editor editor; [all...] |
/packages/apps/Browser/src/com/android/browser/ |
GoogleAccountLogin.java | 28 import android.content.SharedPreferences.Editor; 99 Editor ed = BrowserSettings.getInstance().getPreferences().edit();
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarUtils.java | 328 SharedPreferences.Editor editor = prefs.edit(); local 329 editor.putString(key, value); 330 editor.apply(); 343 SharedPreferences.Editor editor = prefs.edit(); local 344 editor.putBoolean(key, value); 345 editor.apply();
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
Compatibility.java | 26 import android.content.SharedPreferences.Editor; 210 Editor ed = pref.edit();
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchSettingsImpl.java | 25 import android.content.SharedPreferences.Editor; 252 Editor sharedPrefEditor = getSearchPreferences().edit();
|
/packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/ |
GoogleSecurityToolActivity.java | 9 import android.content.SharedPreferences.Editor; 108 Editor edit = sp.edit(); 194 "com.editor.photoenhance",
|
/external/jhead/ |
jhead.c | 78 static int EditComment = FALSE; // Invoke an editor for editing the comment 140 // Invoke an editor for editing a string. 160 char * Editor; 161 Editor = getenv("EDITOR"); 162 if (Editor == NULL){ 164 Editor = "notepad"; 166 Editor = "vi"; 169 if (strlen(Editor) > PATH_MAX) ErrFatal("env too long"); 171 sprintf(QuotedPath, "%s \"%s\"",Editor, TempFileName) [all...] |
/development/samples/Spinner/src/com/android/example/spinner/ |
SpinnerActivity.java | 337 * Get the editor for this object. The editor interface abstracts the implementation of 341 SharedPreferences.Editor e = p.edit(); 344 * Write the keys and values to the Editor
|
/packages/apps/Camera/src/com/android/camera/ |
ListPreference.java | 137 SharedPreferences.Editor editor = getSharedPreferences().edit(); local 138 editor.putString(mKey, value); 139 editor.apply();
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 20 import com.android.contacts.editor.Editor; 21 import com.android.contacts.editor.ViewIdGenerator; 239 // Setup "header" (containing contact info) to save the detail and then go to the editor 584 * Rebuild the editor to match our underlying {@link #mEntityDeltaList} object. 604 // Otherwise display an editor that allows the user to add the data to this raw contact. 630 if (view instanceof Editor) { 631 Editor editor = (Editor) view local [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PhotoEditorView.java | 17 package com.android.contacts.editor; 38 * Simple editor for {@link Photo}. 40 public class PhotoEditorView extends FrameLayout implements Editor {
|
/packages/apps/Email/src/com/android/email/widget/ |
WidgetManager.java | 130 SharedPreferences.Editor editor = prefs.edit(); local 133 editor.remove(key); 136 editor.apply(); // just want to clean up; don't care when preferences are actually removed
|
/external/webkit/Source/WebKit/mac/WebCoreSupport/ |
WebDragClient.mm | 44 #import <WebCore/Editor.h>
|
/packages/apps/Protips/src/com/android/protips/ |
ProtipWidget.java | 125 SharedPreferences.Editor pref = context.getSharedPreferences(PREFS_NAME, 0).edit(); 138 SharedPreferences.Editor pref = context.getSharedPreferences(PREFS_NAME, 0).edit();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/languageswitcher/ |
InputLanguageSelection.java | 30 import android.content.SharedPreferences.Editor; 207 Editor editor = mPrefs.edit(); local 208 editor.putString(Settings.PREF_SELECTED_LANGUAGES, checkedLanguages); 209 SharedPreferencesCompat.apply(editor);
|
/external/webkit/Source/WebCore/editing/ |
EditorCommand.cpp | 29 #include "Editor.h" 87 // Related to Editor::selectionForCommand. 105 frame->editor()->applyStyleToSelection(style, action); 109 frame->editor()->applyStyle(style); 131 // This function must use Editor::selectionHasStyle to determine the current style but we cannot fix this 136 RefPtr<EditingStyle> selectionStyle = frame->editor()->selectionStartStyle(); 165 if (frame->editor()->behavior().shouldToggleStyleBasedOnStartOfSelection()) 166 styleIsPresent = frame->editor()->selectionStartHasStyle(propertyID, onValue); 168 styleIsPresent = frame->editor()->selectionHasStyle(propertyID, onValue) == TrueTriState; 181 frame->editor()->applyParagraphStyleToSelection(style.get(), action) [all...] |
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
DumpRenderTreeSupportGtk.cpp | 492 core(webView)->focusController()->focusedOrMainFrame()->editor()->command(name).execute(value); 500 return core(webView)->focusController()->focusedOrMainFrame()->editor()->command(name).isEnabled(); 512 Editor* editor = frame->editor(); 513 if (!editor) 515 if (!editor->canEdit() && !editor->hasComposition()) 521 editor->setComposition(compositionString, underlines, start, end); 532 Editor* editor = frame->editor() [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
Alarms.java | 458 final SharedPreferences.Editor ed = prefs.edit(); 501 final SharedPreferences.Editor ed = prefs.edit(); 514 final SharedPreferences.Editor ed = prefs.edit();
|
/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...] |
/external/webkit/Source/WebKit/mac/DefaultDelegates/ |
WebDefaultContextMenuDelegate.mm | 46 #import <WebCore/Editor.h>
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListFragment.java | 28 import android.content.SharedPreferences.Editor; 659 Editor editor = mPrefs.edit(); local 661 editor.remove(getPersistentSelectionKey()); 663 editor.putString(getPersistentSelectionKey(), contactUri.toString()); 665 editor.apply();
|
/packages/apps/Mms/src/com/android/mms/util/ |
Recycler.java | 172 SharedPreferences.Editor editPrefs = 312 SharedPreferences.Editor editPrefs =
|