HomeSort by relevance Sort by last modified time
    Searched defs:toast (Results 1 - 6 of 6) sorted by null

  /development/samples/ApiDemos/src/com/example/android/apis/view/
SecureView.java 30 import android.widget.Toast;
39 * or would at least think long and hard about it. However, a carefully crafted toast can
41 * are innocuous. Since the toast cannot receive input, the touches are passed down to the
45 * a toast layed out so as to cover the buttons and part of the descriptive text.
52 * When the toast appears, this button remains clickable as usual which creates an
57 * When the toast appears, the button does not receive the touch and appears to be inoperable.
97 // Generate a toast view with a special layout that will position itself right
103 Toast toast = new Toast(getApplicationContext()) local
    [all...]
  /packages/apps/Browser/src/com/android/browser/
GeolocationPermissionsPrompt.java 32 import android.widget.Toast;
100 Toast toast = Toast.makeText( local
104 Toast.LENGTH_LONG);
105 toast.setGravity(Gravity.BOTTOM, 0, 0);
106 toast.show();
  /development/samples/ApiDemos/src/com/example/android/apis/app/
IncomingMessage.java 32 import android.widget.Toast;
51 * The toast pops up a quick message to the user showing what could be
62 // show the toast
63 Toast toast = new Toast(this); local
64 toast.setView(view);
65 toast.setDuration(Toast.LENGTH_LONG);
66 toast.show()
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
SetAlarm.java 42 import android.widget.Toast;
100 // Pop a toast when enabling alarms.
251 // Save the alarm and pop a toast.
309 * Display a toast that tells the user how long until the alarm
321 Toast toast = Toast.makeText(context, toastText, Toast.LENGTH_LONG); local
322 ToastMaster.setToast(toast);
323 toast.show()
    [all...]
  /packages/apps/Stk/src/com/android/stk/
StkAppService.java 38 import android.widget.Toast;
611 Toast toast = new Toast(mContext.getApplicationContext()); local
628 toast.setView(v);
629 toast.setDuration(Toast.LENGTH_LONG);
630 toast.setGravity(Gravity.BOTTOM, 0, 0);
631 toast.show();
691 Toast toast = Toast.makeText(mContext.getApplicationContext(), msg.text local
    [all...]
  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactAdder.java 41 import android.widget.Toast;
221 int duration = Toast.LENGTH_SHORT;
222 Toast toast = Toast.makeText(ctx, txt, duration); local
223 toast.show();

Completed in 399 milliseconds