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/
DREADME4 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/
DAlarmStorage.java76 SharedPreferences.Editor editor = mSharedPreferences.edit(); in saveAlarm()
107 SharedPreferences.Editor editor = mSharedPreferences.edit(); in deleteAlarm()
/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/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/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DAccountStorage.java43 prefs.edit().putString(PREF_ACCOUNT_NUMBER, s).commit(); in SetAccount()
/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/training/testingfun/app/tests/
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/
Dproject.properties6 # To customize properties used by the Ant build system edit
/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/devbytes/telephony/SmsSampleProject/app/
Dproguard-rules.pro4 # You can edit the include path and order by changing the proguardFiles
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPersistentState.java120 SharedPreferences.Editor editor = getPreferences(0).edit(); in onPause()
DRedirectGetter.java77 SharedPreferences.Editor editor = preferences.edit();

123