/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | TestEnrollmentActivity.java | 69 Toast.makeText( in onEnrollButtonClicked() 73 Toast.makeText(this, "Failed to enroll!!!" + modelUuid, Toast.LENGTH_SHORT).show(); in onEnrollButtonClicked() 84 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked() 89 Toast.makeText(this, "Successfully un-enrolled, model UUID=" + soundModel.uuid, in onUnEnrollButtonClicked() 93 Toast.makeText(this, "Failed to un-enroll!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked() 104 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked() 114 Toast.makeText(this, "Successfully re-enrolled, model UUID=" + updated.uuid, in onReEnrollButtonClicked() 118 Toast.makeText(this, "Failed to re-enroll!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | ToastTest.java | 89 mToast1 = Toast.makeText(ToastTest.this, text, Toast.LENGTH_SHORT); 97 mToast1 = Toast.makeText(ToastTest.this, "hi 1", Toast.LENGTH_SHORT); 121 mToast2 = Toast.makeText(ToastTest.this, "hi 2", Toast.LENGTH_SHORT); 135 Toast toast = Toast.makeText(ToastTest.this, "LEFT", Toast.LENGTH_SHORT); 144 Toast toast = Toast.makeText(ToastTest.this, "FILL_HORIZONTAL",
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | ActionBarFragmentMenu.java | 147 Toast.makeText(getActivity(), "Selected Menu 1a.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 151 Toast.makeText(getActivity(), "Selected Menu 1b.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 187 Toast.makeText(getActivity(), "Selected Menu 2.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 207 Toast.makeText(getActivity(), "Created nested fragment's menu.", in onCreateOptionsMenu() 215 Toast.makeText(getActivity(), "Destroyed nested fragment's menu.", in onDestroyOptionsMenu() 222 Toast.makeText(getActivity(), "Prepared nested fragment's menu.", in onPrepareOptionsMenu() 230 Toast.makeText(getActivity(), "Selected nested fragment's menu item.", in onOptionsItemSelected()
|
D | ToolbarFragmentPagerMenu.java | 120 Toast.makeText(getActivity(), "Selected Menu 1a.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 124 Toast.makeText(getActivity(), "Selected Menu 1b.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 162 Toast.makeText(getActivity(), "Selected Menu 2.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ActionBarUsage.java | 77 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 101 Toast.makeText(ActionBarUsage.this,
|
D | ActionBarPreferences.java | 46 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ActionBarMechanics.java | 70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ToolbarUsage.java | 63 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ToolbarActionMode.java | 66 Toast.makeText(ToolbarActionMode.this, in startActionMode()
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | SnackbarUsage.java | 56 Toast.makeText(SnackbarUsage.this, "Snackbar Action pressed", in showAction() 73 Toast.makeText(SnackbarUsage.this, "Snackbar Action pressed", in showLongAction() 85 Toast.makeText(SnackbarUsage.this, "Snackbar Action pressed", in showLongLongAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SysUIToast.java | 24 public static Toast makeText(Context context, CharSequence text, int duration) { in makeText() method in SysUIToast 25 Toast toast = Toast.makeText(context, text, duration); in makeText()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectViewer.java | 84 Toast.makeText(mContext, R.string.start_activity_failed_message, in onScanCompleted() 178 Toast.makeText(this, R.string.object_saved_message, Toast.LENGTH_SHORT).show(); in importObject() 183 Toast.makeText(this, R.string.save_failed_message, Toast.LENGTH_SHORT).show(); in importObject() 189 Toast.makeText(this, R.string.object_deleted_message, Toast.LENGTH_SHORT).show(); in deleteObject() 192 Toast.makeText(this, R.string.delete_failed_message, Toast.LENGTH_SHORT).show(); in deleteObject()
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
D | BackupRestoreConfirmation.java | 91 … Toast.makeText(mContext, R.string.toast_backup_started, Toast.LENGTH_LONG).show(); in handleMessage() 102 Toast.makeText(mContext, R.string.toast_backup_ended, Toast.LENGTH_LONG).show(); in handleMessage() 108 … Toast.makeText(mContext, R.string.toast_restore_started, Toast.LENGTH_LONG).show(); in handleMessage() 119 … Toast.makeText(mContext, R.string.toast_restore_ended, Toast.LENGTH_SHORT).show(); in handleMessage() 125 Toast.makeText(mContext, R.string.toast_timeout, Toast.LENGTH_LONG).show(); in handleMessage()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/ |
D | DialogExampleFragment.java | 59 Toast.makeText(getActivity(), R.string.dialog_example_button_toast_positive_clicked, in onGuidedActionClicked() 62 Toast.makeText(getActivity(), R.string.dialog_example_button_toast_negative_clicked, in onGuidedActionClicked()
|
/frameworks/base/docs/html/guide/topics/ui/notifiers/ |
D | toasts.jd | 36 object with one of the {@link android.widget.Toast#makeText(Context,int,int) makeText()} methods. 47 Toast toast = Toast.makeText(context, text, duration); 57 <pre>Toast.makeText(context, text, duration).show();</pre> 152 {@link android.widget.Toast#makeText(Context,int,int)} to create the Toast.</p>
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 113 Toast.makeText(ActivityTestMain.this, in onReceive() 220 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 255 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 279 Toast.makeText(ActivityTestMain.this, in onCreateOptionsMenu() 322 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 346 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
|
D | SingleUserService.java | 32 Toast.makeText(this, in onCreate()
|
D | ServiceUserTarget.java | 32 Toast.makeText(this, in onCreate()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerActivity.java | 187 Toast.makeText(this, "Successfully exported data to " + in exportFile() 191 Toast.makeText(this, "Error exporting file: " + in exportFile()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 255 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in Toast 281 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) in makeText() method in Toast 283 return makeText(context, context.getResources().getText(resId), duration); in makeText()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/ |
D | PageAndListRowFragment.java | 89 Toast.makeText( in setupUi() 195 Toast.makeText(getActivity(), in setupAdapter() 227 Toast.makeText(getActivity(), "Implement click handler", Toast.LENGTH_SHORT) in SampleFragmentB()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoActivationActivity.java | 27 Toast toast = Toast.makeText(this, s, Toast.LENGTH_SHORT); in toastUp()
|
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/ |
D | AELogger.java | 62 final Toast toast = Toast.makeText(this, in onAccessibilityEvent()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 74 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show(); 118 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show();
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
D | ImageCardViewPresenter.java | 48 Toast.makeText(getContext(), "Clicked on ImageCardView", Toast.LENGTH_SHORT).show(); in onCreateView()
|