HomeSort by relevance Sort by last modified time
    Searched refs:Editor (Results 101 - 125 of 305) sorted by null

1 2 3 45 6 7 8 91011>>

  /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();
  /packages/services/Telecomm/src/com/android/server/telecom/
QuickResponseUtils.java 108 final SharedPreferences.Editor editor = prefs.edit(); local
109 editor.putString(KEY_CANNED_RESPONSE_PREF_1, cannedResponse1);
110 editor.putString(KEY_CANNED_RESPONSE_PREF_2, cannedResponse2);
111 editor.putString(KEY_CANNED_RESPONSE_PREF_3, cannedResponse3);
112 editor.putString(KEY_CANNED_RESPONSE_PREF_4, cannedResponse4);
113 editor.commit();
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceManager.java 58 * If in no-commit mode, the shared editor to give out (which will be
61 private SharedPreferences.Editor mEditor;
64 * Blocks commits from happening on the shared editor. This is used when
427 SharedPreferences.Editor editor = local
430 SharedPreferencesCompat.EditorCompat.getInstance().apply(editor);
435 * Returns an editor to use when modifying the shared preferences.
439 * @return An editor to use to write to shared preferences.
442 SharedPreferences.Editor getEditor() {
Preference.java 1378 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local
1424 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local
1468 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local
1512 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local
1556 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/data/
TimerDAO.java 110 final SharedPreferences.Editor editor = prefs.edit(); local
114 editor.putInt(NEXT_TIMER_ID, id + 1);
119 editor.putStringSet(TIMER_IDS, timerIds);
122 editor.putInt(STATE + id, timer.getState().getValue());
123 editor.putLong(LENGTH + id, timer.getLength());
124 editor.putLong(TOTAL_LENGTH + id, timer.getTotalLength());
125 editor.putLong(LAST_START_TIME + id, timer.getLastStartTime());
126 editor.putLong(REMAINING_TIME + id, timer.getRemainingTime());
127 editor.putString(LABEL + id, timer.getLabel())
143 final SharedPreferences.Editor editor = prefs.edit(); local
163 final SharedPreferences.Editor editor = prefs.edit(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
ColorChooser.java 17 import com.android.gallery3d.filtershow.editors.Editor;
26 protected Editor mEditor;
46 public void setUp(ViewGroup container, Parameter parameter, Editor editor) {
51 mEditor = editor;
  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
VersionedPrefs.java 26 import android.content.SharedPreferences.Editor;
45 private final Editor mEditor;
102 protected Editor getEditor() {
  /external/replicaisland/src/com/replica/replicaisland/
MainMenuActivity.java 221 SharedPreferences.Editor editor = prefs.edit(); local
222 editor.putBoolean(PreferenceConstants.PREFERENCE_CLICK_ATTACK, false);
223 editor.commit();
226 SharedPreferences.Editor editor = prefs.edit(); local
231 editor.putBoolean(PreferenceConstants.PREFERENCE_SCREEN_CONTROLS, true);
235 editor.putBoolean(PreferenceConstants.PREFERENCE_TILT_CONTROLS, true);
238 editor.commit();
260 SharedPreferences.Editor editor = prefs.edit() local
265 SharedPreferences.Editor editor = prefs.edit(); local
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
CameraSettings.java 22 import android.content.SharedPreferences.Editor;
105 SharedPreferences.Editor editor = ComboPreferences local
107 editor.putString(KEY_PICTURE_SIZE, candidate);
108 editor.apply();
296 SharedPreferences.Editor editor = pref.edit();
300 editor.remove("pref_video_quality_key");
302 editor.putInt(KEY_LOCAL_VERSION, CURRENT_LOCAL_VERSION);
303 editor.apply()
358 Editor editor = pref.edit(); local
429 Editor editor = preferences.edit(); local
436 Editor editor = preferences.edit(); local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DiskLruCache.java 64 * entry may have only one editor at one time; if a value is not available to be
74 * Every {@link #edit} call must be matched by a call to {@link Editor#commit}
75 * or {@link Editor#abort}. Committing is atomic: a read observes the full set
342 entry.currentEditor = new Editor(entry);
442 * Returns an editor for the entry named {@code key}, or null if another
445 public Editor edit(String key) throws IOException {
449 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException {
475 Editor editor = new Editor(entry) local
    [all...]
  /external/clang/lib/Edit/
EditedSource.cpp 265 EditedSource &Editor;
266 CommitRAII(EditedSource &Editor) : Editor(Editor) {
267 Editor.startingCommit();
270 Editor.finishedCommit();
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Cache.java 233 DiskLruCache.Editor editor = null; local
235 editor = cache.edit(urlToKey(response.request()));
236 if (editor == null) {
239 entry.writeTo(editor);
240 return new CacheRequestImpl(editor);
242 abortQuietly(editor);
254 DiskLruCache.Editor editor = null; local
256 editor = snapshot.edit(); // Returns null if snapshot is not current
424 private final DiskLruCache.Editor editor; field in class:CacheRequestImpl
    [all...]
  /external/skia/include/core/
SkPathRef.h 26 * SkPathRef::Editor object. Installing the editor resets the generation ID. It also performs
27 * copy-on-write if the SkPathRef is shared by multiple SkPaths. The caller passes the Editor's
28 * constructor a SkAutoTUnref, which may be updated to point to a new SkPathRef after the editor's
40 class Editor {
42 Editor(SkAutoTUnref<SkPathRef>* pathRef,
46 ~Editor() { SkDEBUGCODE(sk_atomic_dec(&fPathRef->fEditorsAttached);) }
98 * Gets the path ref that is wrapped in the Editor.
460 // called only by the editor. Note that this is not a const function.
492 SkDEBUGCODE(int32_t fEditorsAttached;) // assert that only one editor in use at any time
    [all...]
  /frameworks/multidex/library/src/android/support/multidex/
MultiDexExtractor.java 233 SharedPreferences.Editor edit = prefs.edit();
236 /* SharedPreferences.Editor doc says that apply() and commit() "atomically performs the
352 Class<?> cls = SharedPreferences.Editor.class;
359 private static void apply(SharedPreferences.Editor editor) {
362 sApplyMethod.invoke(editor);
370 editor.commit();
  /developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
MainActivity.java 127 final SharedPreferences.Editor editor = local
129 editor.putBoolean(CUSTOM_CONFIG_KEY, mCustomConfig.isChecked()).commit();
  /developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
MainActivity.java 127 final SharedPreferences.Editor editor = local
129 editor.putBoolean(CUSTOM_CONFIG_KEY, mCustomConfig.isChecked()).commit();
  /development/samples/ApiDemos/src/com/example/android/apis/appwidget/
ExampleAppWidgetConfigure.java 108 SharedPreferences.Editor prefs = context.getSharedPreferences(PREFS_NAME, 0).edit();
  /development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
MainActivity.java 127 final SharedPreferences.Editor editor = local
129 editor.putBoolean(CUSTOM_CONFIG_KEY, mCustomConfig.isChecked()).commit();
  /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/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DiskLruCacheWrapper.java 87 DiskLruCache.Editor editor = getDiskCache().edit(safeKey); local
88 // Editor will be null if there are two concurrent puts. In the worst case we will just silently fail.
89 if (editor != null) {
91 File file = editor.getFile(0);
93 editor.commit();
96 editor.abortUnlessCommitted();
  /external/opencv3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/
CalibrationResult.java 19 SharedPreferences.Editor editor = sharedPref.edit(); local
26 editor.putFloat(id.toString(), (float)cameraMatrixArray[id]);
34 editor.putFloat(i.toString(), (float)distortionCoefficientsArray[i-shift]);
37 editor.commit();
  /external/v8/src/compiler/
js-native-context-specialization.h 45 JSNativeContextSpecialization(Editor* editor, JSGraph* jsgraph, Flags flags,
  /packages/apps/DevCamera/src/com/android/devcamera/
MediaSaver.java 48 SharedPreferences.Editor editor = prefs.edit(); local
49 editor.putInt("counter", i+1);
50 editor.commit();
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
EditorRotate.java 33 public class EditorRotate extends Editor implements EditorInfo {
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
BluetoothConnectionsManager.java 68 SharedPreferences.Editor editor = prefs.edit(); local
71 editor.putInt(KEY_BT_STATE, btState);
74 editor.putStringSet(KEY_CONNECTED_SET, connected);
77 editor.apply();

Completed in 1290 milliseconds

1 2 3 45 6 7 8 91011>>