/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/ |
D | README | 4 Make sure to edit development/build/sdk.atree to add the sample to the SDK
|
/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/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/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/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
D | AccountStorage.java | 43 prefs.edit().putString(PREF_ACCOUNT_NUMBER, s).commit(); in SetAccount()
|
/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/training/testingfun/app/tests/ |
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/ |
D | project.properties | 6 # To customize properties used by the Ant build system edit
|
/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/devbytes/telephony/SmsSampleProject/app/ |
D | proguard-rules.pro | 4 # You can edit the include path and order by changing the proguardFiles
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PersistentState.java | 120 SharedPreferences.Editor editor = getPreferences(0).edit(); in onPause()
|
D | RedirectGetter.java | 77 SharedPreferences.Editor editor = preferences.edit();
|