Home
last modified time | relevance | path

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

123

/development/samples/ApiDemos/src/com/example/android/apis/content/
DProcessText.java27 EditText edit = (EditText) findViewById(R.id.process_text_received_text_editable); in onCreate() local
28 edit.setText(text); in onCreate()
29 edit.setSelection(edit.getText().length()); in onCreate()
45 EditText edit = (EditText) findViewById(R.id.process_text_received_text_editable); in finish() local
47 intent.putExtra(Intent.EXTRA_PROCESS_TEXT, edit.getText()); in finish()
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/
DUtils.java52 pref.edit().remove(PREF_KEY_COUNTER).apply(); in saveCounterToPreference()
54 pref.edit().putInt(PREF_KEY_COUNTER, value).apply(); in saveCounterToPreference()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessageLogger.java42 prefs.edit() in logMessage()
56 getPrefs(context).edit().remove(LOG_KEY).apply(); in clear()
/development/samples/ControllerSample/
Dproguard-project.txt1 # To enable ProGuard in your project, edit project.properties
7 # You can edit the include path and order by changing the ProGuard
Dproject.properties6 # To customize properties used by the Ant build system edit
/development/samples/browseable/ActivityInstrumentation/src/com.example.android.activityinstrumentation/
DMainActivity.java101 mPrefs.edit().putInt(PREF_SPINNER_POS, position).commit(); in onCreate()
106 mPrefs.edit().remove(PREF_SPINNER_POS).commit(); in onCreate()
/development/samples/training/NsdChat/
Dproguard.cfg1 # To enable ProGuard in your project, edit project.properties
7 # You can edit the include path and order by changing the ProGuard
Dproject.properties6 # To customize properties used by the Ant build system edit
/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/samples/training/device-management-policy/src/com/example/training/deviceadmin/
DPolicy.java72 mContext.getSharedPreferences(APP_PREF, Context.MODE_PRIVATE).edit(); in saveToLocal()
164 prefs.edit().clear().commit(); in onDisabled()
/development/tools/repo_pull/
DREADME.md90 * `merge` maps to `git merge --no-edit`
91 * `merge-ff-only` maps to `git merge --no-edit --ff-only`
92 * `merge-no-ff` maps to `git merge --no-edit --no-ff`
/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/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java513 public Editor edit(String key) throws IOException { in edit() method in DiskLruCache
514 return edit(key, ANY_SEQUENCE_NUMBER); in edit()
517 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException { in edit() method in DiskLruCache
746 public Editor edit() throws IOException { in edit() method in DiskLruCache.Snapshot
747 return DiskLruCache.this.edit(key, sequenceNumber); in edit()
/development/samples/
DREADME4 Make sure to edit development/build/sdk.atree to add the sample to the SDK
/development/samples/ApiDemos/src/com/example/android/apis/view/
DAutoComplete2.java38 findViewById(R.id.edit); in onCreate()
DAutoComplete1.java35 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.edit); in onCreate()
DAutoComplete6.java35 MultiAutoCompleteTextView textView = (MultiAutoCompleteTextView) findViewById(R.id.edit); in onCreate()
DAutoComplete3.java38 findViewById(R.id.edit); in onCreate()
DAutoComplete5.java41 findViewById(R.id.edit); in onCreate()
/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/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/
DDumpActivity.java416 private void insertText(EditText edit, String value) { in insertText() argument
417 final int start = Math.max(edit.getSelectionStart(), 0); in insertText()
418 final int end = Math.max(edit.getSelectionEnd(), 0); in insertText()
419 edit.getText().replace(Math.min(start, end), Math.max(start, end), in insertText()
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DAccountStorage.java43 prefs.edit().putString(PREF_ACCOUNT_NUMBER, s).commit(); in SetAccount()
/development/samples/training/testingfun/app/
Dproject.properties6 # To customize properties used by the Ant build system edit
/development/samples/training/basic/FragmentBasics/
Dproject.properties6 # To customize properties used by the Ant build system edit
/development/samples/training/testingfun/app/tests/
Dproject.properties6 # To customize properties used by the Ant build system edit

123