Home
last modified time | relevance | path

Searched refs:Editor (Results 1 – 25 of 25) sorted by relevance

/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DPreferenceController.java121 SharedPreferences.Editor editor = mSharedPreferences.edit(); in PreferenceController()
198 void evaluate(Context context, SharedPreferences prefs, SharedPreferences.Editor editor) { in evaluate()
214 protected abstract void reset(Context context, SharedPreferences.Editor editor); in reset()
237 protected void reset(Context context, SharedPreferences.Editor editor) { in reset()
248 void evaluate(Context context, SharedPreferences prefs, SharedPreferences.Editor editor) { in evaluate()
259 protected void reset(Context context, SharedPreferences.Editor editor) { in reset()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java391 entry.currentEditor = new Editor(entry); in readJournalLine()
513 public Editor edit(String key) throws IOException { in edit()
517 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException { in edit()
532 Editor editor = new Editor(entry); in edit()
565 private synchronized void completeEdit(Editor editor, boolean success) throws IOException { in completeEdit()
746 public Editor edit() throws IOException { in edit()
774 public final class Editor { class in DiskLruCache
778 private Editor(Entry entry) { in Editor() method in DiskLruCache.Editor
906 private Editor currentEditor;
DImageFetcher.java212 DiskLruCache.Editor editor = mHttpDiskCache.edit(key); in processBitmap()
DImageCache.java259 final DiskLruCache.Editor editor = mDiskLruCache.edit(key); in addBitmapToCache()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmStorage.java76 SharedPreferences.Editor editor = mSharedPreferences.edit(); in saveAlarm()
107 SharedPreferences.Editor editor = mSharedPreferences.edit(); in deleteAlarm()
/development/tools/motion/motion_test_watcher_app/
D.editorconfig1 # Editor configuration, see https://editorconfig.org
/development/tools/ota_analysis/
D.gitignore21 # Editor directories and files
/development/tools/otagui/
D.gitignore22 # Editor directories and files
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DSimpleGeofenceStore.java87 SharedPreferences.Editor prefs = mPrefs.edit(); in setGeofence()
104 SharedPreferences.Editor prefs = mPrefs.edit(); in clearGeofence()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DRedirectGetter.java77 SharedPreferences.Editor editor = preferences.edit();
DPersistentState.java120 SharedPreferences.Editor editor = getPreferences(0).edit(); in onPause()
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DUtils.java95 SharedPreferences.Editor editor = prefs.edit(); in storeLocation()
125 SharedPreferences.Editor editor = prefs.edit(); in storeGeofenceEnabled()
/development/samples/KeyChainDemo/src/com/example/android/keychain/
DKeyChainDemoActivity.java22 import android.content.SharedPreferences.Editor;
193 Editor editor = pref.edit(); in setAlias()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DMainActivity.java125 final SharedPreferences.Editor editor = in onCustomClicked()
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleAppWidgetConfigure.java108 SharedPreferences.Editor prefs = context.getSharedPreferences(PREFS_NAME, 0).edit(); in saveTitlePref()
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
DPolicy.java71 SharedPreferences.Editor editor = in saveToLocal()
/development/samples/Spinner/src/com/android/example/spinner/
DSpinnerActivity.java341 SharedPreferences.Editor e = p.edit(); in writeInstanceState()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DFitDistanceWatchFaceConfigActivity.java248 SharedPreferences.Editor editor = sharedPreferences.edit(); in setUserFitPreferences()
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DFingerprintAuthenticationDialogFragment.java177 SharedPreferences.Editor editor = mSharedPreferences.edit(); in verifyPassword()
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/
DDeviceOwnerFragment.java259 SharedPreferences.Editor editor = activity.getSharedPreferences(PREFS_DEVICE_OWNER, in savePersistentPreferredLauncher()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DFingerprintAuthenticationDialogFragment.java226 SharedPreferences.Editor editor = mSharedPreferences.edit(); in verifyPassword()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DChangedContacts.java148 SharedPreferences.Editor editor = pref.edit(); in saveLastTimestamp()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DLauncherActivity.java265 final SharedPreferences.Editor editor = sp.edit(); in onAppPicked()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java448 SharedPreferences.Editor editor = sharedPreferences.edit(); in onActivityResult()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java494 private SharedPreferences.Editor editPreferences(Activity activity) { in editPreferences()