/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 | 146 Toast.makeText(getActivity(), "Selected Menu 1a.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 150 Toast.makeText(getActivity(), "Selected Menu 1b.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 186 Toast.makeText(getActivity(), "Selected Menu 2.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 206 Toast.makeText(getActivity(), "Created nested fragment's menu.", in onCreateOptionsMenu() 214 Toast.makeText(getActivity(), "Destroyed nested fragment's menu.", in onDestroyOptionsMenu() 221 Toast.makeText(getActivity(), "Prepared nested fragment's menu.", in onPrepareOptionsMenu() 229 Toast.makeText(getActivity(), "Selected nested fragment's menu item.", in onOptionsItemSelected()
|
D | ToolbarFragmentPagerMenu.java | 119 Toast.makeText(getActivity(), "Selected Menu 1a.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 123 Toast.makeText(getActivity(), "Selected Menu 1b.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 161 Toast.makeText(getActivity(), "Selected Menu 2.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ActionBarUsage.java | 81 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 105 Toast.makeText(ActionBarUsage.this,
|
D | ActionBarPreferences.java | 46 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ActionBarMechanics.java | 69 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | MenuItemIconTinting.java | 53 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ActionBarActionMode.java | 62 Toast.makeText(ActionBarActionMode.this, in startActionMode()
|
D | ToolbarUsage.java | 62 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
/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/core/java/android/widget/ |
D | Toast.java | 266 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in Toast 267 return makeText(context, null, text, duration); in makeText() 275 public static Toast makeText(@NonNull Context context, @Nullable Looper looper, in makeText() method in Toast 302 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) in makeText() method in Toast 304 return makeText(context, context.getResources().getText(resId), duration); in makeText()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 113 Toast.makeText(this, "We need this permission", Toast.LENGTH_LONG).show(); in checkPermission() 136 Toast.makeText(this, "We need permissions", Toast.LENGTH_LONG).show(); in onRequestPermissionsResult()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ServiceUserTarget.java | 32 Toast.makeText(this, in onCreate()
|
D | SingleUserService.java | 32 Toast.makeText(this, in onCreate()
|
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()
|
/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/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/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | SimpleJobIntentService.java | 77 Toast.makeText(SimpleJobIntentService.this, text, Toast.LENGTH_SHORT).show(); in toast()
|
/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()
|