/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | ProcessText.java | 27 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/ |
D | Utils.java | 52 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/ |
D | MessageLogger.java | 42 prefs.edit() in logMessage() 56 getPrefs(context).edit().remove(LOG_KEY).apply(); in clear()
|
/development/samples/ControllerSample/ |
D | proguard-project.txt | 1 # To enable ProGuard in your project, edit project.properties 7 # You can edit the include path and order by changing the ProGuard
|
D | project.properties | 6 # To customize properties used by the Ant build system edit
|
/development/samples/browseable/ActivityInstrumentation/src/com.example.android.activityinstrumentation/ |
D | MainActivity.java | 101 mPrefs.edit().putInt(PREF_SPINNER_POS, position).commit(); in onCreate() 106 mPrefs.edit().remove(PREF_SPINNER_POS).commit(); in onCreate()
|
/development/samples/training/NsdChat/ |
D | proguard.cfg | 1 # To enable ProGuard in your project, edit project.properties 7 # You can edit the include path and order by changing the ProGuard
|
D | project.properties | 6 # To customize properties used by the Ant build system edit
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
D | AlarmStorage.java | 76 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/ |
D | Policy.java | 72 mContext.getSharedPreferences(APP_PREF, Context.MODE_PRIVATE).edit(); in saveToLocal() 164 prefs.edit().clear().commit(); in onDisabled()
|
/development/tools/repo_pull/ |
D | README.md | 90 * `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/ |
D | SimpleGeofenceStore.java | 87 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/ |
D | DiskLruCache.java | 513 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/ |
D | README | 4 Make sure to edit development/build/sdk.atree to add the sample to the SDK
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | AutoComplete2.java | 38 findViewById(R.id.edit); in onCreate()
|
D | AutoComplete1.java | 35 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.edit); in onCreate()
|
D | AutoComplete6.java | 35 MultiAutoCompleteTextView textView = (MultiAutoCompleteTextView) findViewById(R.id.edit); in onCreate()
|
D | AutoComplete3.java | 38 findViewById(R.id.edit); in onCreate()
|
D | AutoComplete5.java | 41 findViewById(R.id.edit); in onCreate()
|
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/ |
D | Utils.java | 95 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/ |
D | DumpActivity.java | 416 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/ |
D | AccountStorage.java | 43 prefs.edit().putString(PREF_ACCOUNT_NUMBER, s).commit(); in SetAccount()
|
/development/samples/training/testingfun/app/ |
D | project.properties | 6 # To customize properties used by the Ant build system edit
|
/development/samples/training/basic/FragmentBasics/ |
D | project.properties | 6 # To customize properties used by the Ant build system edit
|
/development/samples/training/testingfun/app/tests/ |
D | project.properties | 6 # To customize properties used by the Ant build system edit
|