HomeSort by relevance Sort by last modified time
    Searched refs:Toast (Results 1 - 25 of 303) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/DeskClock/src/com/android/deskclock/
ToastMaster.java 19 import android.widget.Toast;
23 private static Toast sToast = null;
29 public static void setToast(Toast toast) {
32 sToast = toast;
  /development/samples/ApiDemos/src/com/example/android/apis/app/
AppUpdateReceiver.java 24 import android.widget.Toast;
32 Toast.makeText(context, R.string.app_update_received, Toast.LENGTH_SHORT).show();
OneShotAlarm.java 22 import android.widget.Toast;
32 * When the alarm goes off, we show a <i>Toast</i>, a quick message.
39 Toast.makeText(context, R.string.one_shot_received, Toast.LENGTH_SHORT).show();
RepeatingAlarm.java 26 import android.widget.Toast;
37 Toast.makeText(context, R.string.repeating_received, Toast.LENGTH_SHORT).show();
NotifyWithText.java 25 import android.widget.Toast;
28 * When you push the button on this Activity, it creates a {@link Toast} object and
29 * using the Toast method.
30 * @see Toast
31 * @see Toast#makeText(android.content.Context,int,int)
32 * @see Toast#makeText(android.content.Context,java.lang.CharSequence,int)
33 * @see Toast#LENGTH_SHORT
34 * @see Toast#LENGTH_LONG
49 // Note that we create the Toast object and call the show() method
51 // are other methods on Toast that you can call to configure ho
    [all...]
ActionBarMechanics.java 23 import android.widget.Toast;
70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
  /development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
MainActivity.java 24 import android.widget.Toast;
60 Toast.makeText(this, "Tapped home", Toast.LENGTH_SHORT).show();
64 Toast.makeText(this, "Fake refreshing...", Toast.LENGTH_SHORT).show();
76 Toast.makeText(this, "Tapped search", Toast.LENGTH_SHORT).show();
80 Toast.makeText(this, "Tapped share", Toast.LENGTH_SHORT).show();
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
ToastTest.java 32 import android.widget.Toast;
44 Toast mToast1;
45 Toast mToast2;
89 mToast1 = Toast.makeText(ToastTest.this, text, Toast.LENGTH_SHORT);
94 new Test("Make Toast #1") {
97 mToast1 = Toast.makeText(ToastTest.this, "hi 1", Toast.LENGTH_SHORT);
101 new Test("Show Toast #1") {
108 new Test("Update Toast #1")
    [all...]
  /tools/motodev/src/plugins/android.codeutils/templates/activity_samples/action_bar/
action_bar_activity.java 26 import android.widget.Toast;
83 Toast.makeText(this, getString(R.string.menuItem1),
84 Toast.LENGTH_SHORT).show();
89 Toast.makeText(this, getString(R.string.menuItem2),
90 Toast.LENGTH_SHORT).show();
95 Toast.makeText(this, getString(R.string.menuItem3),
96 Toast.LENGTH_SHORT).show();
101 Toast.makeText(this, getString(R.string.menuItem4),
102 Toast.LENGTH_SHORT).show();
107 Toast.makeText(this, getString(R.string.menuItem5),
    [all...]
  /tools/motodev/src/plugins/android.codeutils/templates/activity_samples/action_bar_compatibility/
action_bar_compatibility_activity.java 24 import android.widget.Toast;
53 Toast.makeText(this, getString(R.string.actionItem1), Toast.LENGTH_SHORT).show();
56 Toast.makeText(this, getString(R.string.actionItem2), Toast.LENGTH_SHORT).show();
59 Toast.makeText(this, getString(R.string.actionItem3), Toast.LENGTH_SHORT).show();
  /frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
ServiceUserTarget.java 24 import android.widget.Toast;
32 Toast.makeText(this,
34 Toast.LENGTH_LONG).show();
SingleUserService.java 24 import android.widget.Toast;
32 Toast.makeText(this,
34 Toast.LENGTH_LONG).show();
  /cts/tests/tests/widget/src/android/widget/cts/
ToastTest.java 33 import android.widget.Toast;
36 private static final String TEST_TOAST_TEXT = "test toast";
39 private Toast mToast;
53 mToast = new Toast(mActivity);
57 new Toast(mActivity);
60 new Toast(null);
87 // sleep a while and then make sure do not show toast
95 mToast = Toast.makeText(mActivity, TEST_TOAST_TEXT, Toast.LENGTH_LONG);
133 mToast = Toast.makeText(mActivity, TEST_TOAST_TEXT, Toast.LENGTH_LONG)
    [all...]
  /development/samples/Alarm/src/com/example/android/newalarm/
AlarmActivity.java 28 import android.widget.Toast;
108 Toast.makeText(
111 Toast.LENGTH_LONG // how long to display the message
126 Toast.makeText(
129 Toast.LENGTH_LONG // how long to display the message
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerReceiver.java 25 import android.widget.Toast;
55 Toast.makeText(context, R.string.logging_enabled, Toast.LENGTH_LONG).show();
61 Toast.makeText(context, R.string.logging_disabled, Toast.LENGTH_LONG).show();
  /development/samples/ApiDemos/src/com/example/android/apis/media/
VideoViewDemo.java 23 import android.widget.Toast;
43 Toast.makeText(
47 Toast.LENGTH_LONG).show();
  /development/samples/ApiDemos/src/com/example/android/apis/view/
PopupMenu1.java 24 import android.widget.Toast;
45 Toast.makeText(PopupMenu1.this, "Clicked popup menu item " + item.getTitle(),
46 Toast.LENGTH_SHORT).show();
Switches.java 23 import android.widget.Toast;
45 Toast.makeText(this, "Monitored switch is " + (isChecked ? "on" : "off"),
46 Toast.LENGTH_SHORT).show();
  /external/replicaisland/src/com/replica/replicaisland/
CustomToastSystem.java 25 import android.widget.Toast;
30 private Toast mToast;
37 mToast = new Toast(context);
49 public void toast(String text, int length) { method in class:CustomToastSystem
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/
LoadScreennailTask.java 23 import android.widget.Toast;
64 Toast.makeText(context, R.string.loading_failure, Toast.LENGTH_SHORT).show();
  /packages/apps/Contacts/src/com/android/contacts/util/
ClipboardUtils.java 23 import android.widget.Toast;
38 * @param showToast If {@code true}, a toast is shown to the user.
51 Toast.makeText(context, toastText, Toast.LENGTH_SHORT).show();
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
ClearUserDictionaryDialogPreferenceEN.java 22 import android.widget.Toast;
62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_user_dictionary_done,
63 Toast.LENGTH_LONG).show();
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
ClearLearnDictionaryDialogPreferenceJAJP.java 22 import android.widget.Toast;
62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_learning_dictionary_done,
63 Toast.LENGTH_LONG).show();
ClearUserDictionaryDialogPreferenceJAJP.java 22 import android.widget.Toast;
62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_user_dictionary_done,
63 Toast.LENGTH_LONG).show();
  /tools/motodev/src/plugins/android.codeutils/templates/activity_samples/simple_list/
simple_list_activity.java 25 import android.widget.Toast;
49 Toast.makeText(lv.getContext(), getString(R.string.sample_simple_list_selected) +
50 lv.getItemAtPosition(position).toString(), Toast.LENGTH_SHORT).show();

Completed in 4017 milliseconds

1 2 3 4 5 6 7 8 91011>>