Home
last modified time | relevance | path

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

12345

/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.java146 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()
DToolbarFragmentPagerMenu.java119 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()
DActionBarUsage.java81 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
105 Toast.makeText(ActionBarUsage.this,
DActionBarPreferences.java46 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DActionBarMechanics.java69 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DMenuItemIconTinting.java53 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DActionBarActionMode.java62 Toast.makeText(ActionBarActionMode.this, in startActionMode()
DToolbarUsage.java62 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
/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/core/java/android/widget/
DToast.java266 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/
DMainActivity.java113 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/
DServiceUserTarget.java32 Toast.makeText(this, in onCreate()
DSingleUserService.java32 Toast.makeText(this, in onCreate()
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()
/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/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/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DSimpleJobIntentService.java77 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/
DPageAndListRowFragment.java89 Toast.makeText( in setupUi()
195 Toast.makeText(getActivity(), in setupAdapter()
227 Toast.makeText(getActivity(), "Implement click handler", Toast.LENGTH_SHORT) in SampleFragmentB()

12345