Home
last modified time | relevance | path

Searched refs:mToast (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DAlarmController.java69 Toast mToast; field in AlarmController
118 if (mToast != null) {
119 mToast.cancel();
121 mToast = Toast.makeText(AlarmController.this, R.string.one_shot_scheduled,
123 mToast.show();
150 if (mToast != null) {
151 mToast.cancel();
153 mToast = Toast.makeText(AlarmController.this, R.string.repeating_scheduled,
155 mToast.show();
172 if (mToast != null) {
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/content/
DPickContact.java46 Toast mToast; field in PickContact
98 if (mToast != null) { in onActivityResult()
99 mToast.cancel(); in onActivityResult()
102 mToast = Toast.makeText(this, txt, Toast.LENGTH_LONG); in onActivityResult()
103 mToast.show(); in onActivityResult()