Home
last modified time | relevance | path

Searched refs:makeText (Results 1 – 25 of 151) sorted by relevance

1234567

/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java69 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/
DToastTest.java89 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/
DActionBarFragmentMenu.java147 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()
DToolbarFragmentPagerMenu.java120 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()
DActionBarUsage.java77 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
101 Toast.makeText(ActionBarUsage.this,
DActionBarPreferences.java46 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DActionBarMechanics.java70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DToolbarUsage.java63 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DToolbarActionMode.java66 Toast.makeText(ToolbarActionMode.this, in startActionMode()
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DSnackbarUsage.java56 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/
DSysUIToast.java24 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/
DObjectViewer.java84 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/
DBackupRestoreConfirmation.java91 … 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/
DDialogExampleFragment.java59 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/
Dtoasts.jd36 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/
DActivityTestMain.java113 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()
DSingleUserService.java32 Toast.makeText(this, in onCreate()
DServiceUserTarget.java32 Toast.makeText(this, in onCreate()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerActivity.java187 Toast.makeText(this, "Successfully exported data to " + in exportFile()
191 Toast.makeText(this, "Error exporting file: " + in exportFile()
/frameworks/base/core/java/android/widget/
DToast.java255 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/
DPageAndListRowFragment.java89 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/
DNekoActivationActivity.java27 Toast toast = Toast.makeText(this, s, Toast.LENGTH_SHORT); in toastUp()
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java62 final Toast toast = Toast.makeText(this, in onAccessibilityEvent()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java74 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/
DImageCardViewPresenter.java48 Toast.makeText(getContext(), "Clicked on ImageCardView", Toast.LENGTH_SHORT).show(); in onCreateView()

1234567