Home
last modified time | relevance | path

Searched refs:toast (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dtoasts.jd20 <p>A toast provides simple feedback about an operation in a small popup.
24 "Draft saved" toast to let you know that you can continue editing later.
27 <img src="{@docRoot}images/toast.png" alt="" />
38 the text message, and the duration for the toast. It returns a properly initialized Toast
39 object. You can display the toast notification with {@link android.widget.Toast#show()},
44 CharSequence text = "Hello toast!";
47 Toast toast = Toast.makeText(context, text, duration);
48 toast.show();
51 <p>This example demonstrates everything you need for most toast notifications.
53 toast differently or even use your own layout instead of a simple text message.
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DToastTest.java135 Toast toast = Toast.makeText(ToastTest.this, "LEFT", Toast.LENGTH_SHORT);
136 toast.setGravity(Gravity.LEFT, 0, 0);
137 toast.show();
144 Toast toast = Toast.makeText(ToastTest.this, "FILL_HORIZONTAL",
146 toast.setGravity(Gravity.FILL_HORIZONTAL, 0, 0);
147 toast.show();
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSysUIToast.java25 Toast toast = Toast.makeText(context, text, duration); in makeText() local
26 toast.getWindowParams().privateFlags |= in makeText()
28 return toast; in makeText()
/frameworks/base/services/core/java/com/android/server/am/
DLockTaskNotify.java73 Toast toast = Toast.makeText(mContext, text, Toast.LENGTH_LONG); in makeAllUserToastAndShow() local
74 toast.getWindowParams().privateFlags |= in makeAllUserToastAndShow()
76 toast.show(); in makeAllUserToastAndShow()
77 return toast; in makeAllUserToastAndShow()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoActivationActivity.java25 Toast toast = Toast.makeText(this, s, Toast.LENGTH_SHORT); in toastUp() local
26 toast.getView().setBackgroundDrawable(null); in toastUp()
27 toast.show(); in toastUp()
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java62 final Toast toast = Toast.makeText(this, in onAccessibilityEvent() local
64 toast.show(); in onAccessibilityEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java103 Toast toast = Toast.makeText(mContext, R.string.dock_non_resizeble_failed_to_dock_text, in activityDismissingDockedStack() local
105 toast.show(); in activityDismissingDockedStack()
/frameworks/base/docs/html/guide/webapps/
Dwebview.jd163 /** Show a toast from the web page */
165 public void showToast(String toast) {
166 Toast.makeText(mContext, toast, Toast.LENGTH_SHORT).show();
193 WebAppInterface} class. For example, here's some HTML and JavaScript that creates a toast
200 function showAndroidToast(toast) {
201 Android.showToast(toast);
/frameworks/base/docs/html-intl/intl/zh-cn/design/patterns/
Dconfirming-acknowledging.jd2 page.tags=dialog,toast,notification
/frameworks/base/docs/html-intl/intl/ja/design/patterns/
Dconfirming-acknowledging.jd2 page.tags=dialog,toast,notification
/frameworks/base/docs/html-intl/intl/zh-tw/design/patterns/
Dconfirming-acknowledging.jd2 page.tags=dialog,toast,notification
/frameworks/base/docs/html-intl/intl/ko/design/patterns/
Dconfirming-acknowledging.jd2 page.tags=dialog,toast,notification
/frameworks/base/docs/html-intl/intl/ru/design/patterns/
Dconfirming-acknowledging.jd2 page.tags=dialog,toast,notification
/frameworks/base/docs/html/design/patterns/
Dconfirming-acknowledging.jd2 page.tags=dialog,toast,notification
44 … current draft is automatically saved. An acknowledgment in the form of a toast makes that apparen…
Dnotifications.jd733 <p>Your app should not create a dialog or toast if it is not currently on
734 screen. A dialog or toast
Dnotifications_k.jd363 <p>Your app should not create a dialog or toast if it is not currently on
/frameworks/base/docs/html-intl/intl/in/design/patterns/
Dconfirming-acknowledging.jd2 page.tags=dialog,toast,notification
/frameworks/base/docs/html-intl/intl/pt-br/design/patterns/
Dconfirming-acknowledging.jd2 page.tags=dialog,toast,notification
/frameworks/base/docs/html-intl/intl/es/design/patterns/
Dconfirming-acknowledging.jd2 page.tags=dialog,toast,notification
/frameworks/base/docs/html-intl/intl/ko/preview/features/
Dafw.jd152 (toast와 snackbar를 포함한) 대화 상자를 표시할 수 없습니다. 이들 패키지는 또한 오디오를
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgridview.jd34 toast message will display the position of the image.</p>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java522 Toast toast = Toast.makeText(mContext,
525 TextView text = (TextView) toast.getView().findViewById(
532 toast.show();
/frameworks/base/docs/html-intl/intl/vi/design/patterns/
Dconfirming-acknowledging.jd2 page.tags=dialog,toast,notification
/frameworks/base/docs/html-intl/intl/in/preview/features/
Dafw.jd152 tidak bisa menampilkan dialog (termasuk toast dan snackbar). Juga tidak bisa memutar
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Dcontacts-provider.jd1199 Toast toast = Toast.makeText(ctx, txt, duration);
1200 toast.show();

12