Home
last modified time | relevance | path

Searched refs:showToast (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DBugleActionToasts.java61 showToast(R.string.send_message_failure_airplane_mode); in onSendMessageOrManualDownloadActionCompleted()
63 showToast(R.string.download_message_failure_airplane_mode); in onSendMessageOrManualDownloadActionCompleted()
68 showToast(R.string.send_message_failure_no_data); in onSendMessageOrManualDownloadActionCompleted()
70 showToast(R.string.download_message_failure_no_data); in onSendMessageOrManualDownloadActionCompleted()
81 showToast(isSend ? R.string.send_message_success in onSendMessageOrManualDownloadActionCompleted()
92 showToast(isSend ? R.string.send_message_failure in onSendMessageOrManualDownloadActionCompleted()
111 showToast(announcement); in onMessageReceived()
117 showToast(R.string.conversation_deleted); in onConversationDeleted()
120 private static void showToast(final int messageResId) { in showToast() method in BugleActionToasts
130 private static void showToast(final String message) { in showToast() method in BugleActionToasts
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DDialogSamples.java47 Button showToast = findViewById(R.id.showToast); in onCreate() local
48 showToast.setOnClickListener(v -> showToast()); in onCreate()
100 private void showToast() { in showToast() method in DialogSamples
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java93 showToast("onAvailable(), netId: " + n); in onAvailable()
100 showToast("onLosing(), netId: " + n); in onLosing()
107 showToast("onLost(), netId: " + n); in onLost()
200 showToast("Requesting Network " + netId); in requestNetworkById()
208 showToast("Released Network " + netId); in releaseNetworkById()
229 showToast("Set process default network " + netId); in bindToNetwork()
234 showToast("Clear process default network"); in clearBoundNetwork()
243 showToast("Reporting Network " + netId); in reportNetworkbyId()
423 showToast("Refreshed Networks (" + mNetworkItems.length + ")"); in refreshNetworksAndPrompt()
584 public void showToast(String text) { in showToast() method in ConnectivityFragment
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestDialerActivity.java66 showToast("User accepted request to become default dialer"); in onActivityResult()
68 showToast("User declined request to become default dialer"); in onActivityResult()
110 showToast("Permission check failed"); in testVoicemail()
113 showToast("Permission check succeeded"); in testVoicemail()
116 private void showToast(String message) { in showToast() method in TestDialerActivity
DTestUssdActivity.java27 showToast("USSD Response Successly received for code:" + request + "," +
34 showToast("USSD Response failed for code:" + request + "," + failureCode);
71 showToast("Permission check failed"); in placeUssdRequest()
82 private void showToast(String message) { in showToast() method in TestUssdActivity
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DBuildNumberPreferenceController.java81 showToast(getContext().getString(R.string.show_dev_on), Toast.LENGTH_LONG); in handlePreferenceClicked()
83 showToast(getContext().getResources().getQuantityString( in handlePreferenceClicked()
88 showToast(getContext().getString(R.string.show_dev_already), Toast.LENGTH_LONG); in handlePreferenceClicked()
93 private void showToast(String text, @Toast.Duration int duration) { in showToast() method in BuildNumberPreferenceController
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportService.java251 private void showToast(@StringRes int resId) { in showToast() method in BugReportService
292 showToast(R.string.toast_status_dump_state_failed); in saveBugReport()
311 showToast(R.string.toast_status_failed); in requestBugReport()
374 showToast(R.string.toast_status_failed); in zipDirectoryAndScheduleForUpload()
377 showToast(R.string.toast_status_finished); in zipDirectoryAndScheduleForUpload()
/packages/apps/Messaging/src/com/android/messaging/util/
DChangeDefaultSmsAppHelper.java61 UiUtils.showToast(R.string.sms_disabled); in warnOfMissingActionConditions()
65 UiUtils.showToast(R.string.no_preferred_sim_selected); in warnOfMissingActionConditions()
149 UiUtils.showToast(R.string.toast_after_setting_default_sms_app); in handleChangeDefaultSmsResult()
DUiUtils.java99 public static void showToast(final int messageId) { in showToast() method in UiUtils
107 public static void showToast(final int pluralsMessageId, final int count) { in showToast() method in UiUtils
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java316 showToast(R.string.contactSavedErrorToast); in onHandleIntent()
599 showToast(R.string.contactSavedErrorToast); in saveContact()
1305 showToast(R.string.contactUnlinkedToast); in splitContact()
1462 showToast(R.string.contactsJoinedMessage); in joinSeveralContacts()
1464 showToast(R.string.contactsJoinedNamedMessage, name); in joinSeveralContacts()
1473 showToast(R.string.contactJoinErrorToast); in joinSeveralContacts()
1532 showToast(R.string.contactSavedErrorToast); in applyOperations()
1571 showToast(R.string.contactSavedErrorToast); in joinContacts()
1600 showToast(R.string.contactsJoinedMessage); in joinContacts()
1602 showToast(R.string.contactsJoinedNamedMessage, name); in joinContacts()
[all …]
DClipboardUtils.java39 boolean showToast) { in copyText() argument
47 if (showToast) { in copyText()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DAutoSendActivity.java70 private void sendOrSaveWithSanityChecks(final boolean save, final boolean showToast) { in sendOrSaveWithSanityChecks() argument
75 save, showToast, false /* orientationChanged */, true /* autoSend */); in sendOrSaveWithSanityChecks()
DComposeActivity.java2510 private void doSave(boolean showToast) { in doSave() argument
2511 sendOrSaveWithSanityChecks(true, showToast, false, false); in doSave()
2976 protected void sendOrSaveWithSanityChecks(final boolean save, final boolean showToast,
3025 sendOrSave(save, showToast);
3044 showToast, recipients);
3050 showToast, recipients);
3056 showSendConfirmDialog(R.string.confirm_send_message, showToast, recipients);
3061 performAdditionalSendOrSaveSanityChecks(save, showToast, recipients);
3098 final boolean showToast, final ArrayList<String> recipients) {
3102 args.putBoolean(SHOW_TOAST, showToast);
[all …]
/packages/apps/Dialer/java/com/android/dialer/clipboard/
DClipboardUtils.java39 Context context, CharSequence label, CharSequence text, boolean showToast) { in copyText() argument
49 if (showToast) { in copyText()
/packages/services/Car/FrameworkPackageStubs/src/com/android/car/frameworkpackagestubs/
DStubs.java45 showToast(); in onCreate()
53 private void showToast() { in showToast() method in Stubs.BaseActivity
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationClickHandlerFactory.java158 showToast(context, R.string.toast_message_sent_success); in getActionClickHandler()
202 showToast(context, R.string.assist_action_failed_toast);
265 private void showToast(Context context, int resourceId) {
/packages/apps/TV/src/com/android/tv/dialog/
DPinDialogFragment.java267 showToast(R.string.pin_toast_wrong);
271 private void showToast(int resId) {
305 showToast(R.string.pin_toast_not_match);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java181 showToast(exception.getMessage()); in onCreate()
421 showToast(exception.getMessage()); in sendFileInfo()
426 private void showToast(final String msg) { in showToast() method in BluetoothOppLauncherActivity
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutTextView.java120 showToast(); in performClick()
154 private void showToast() { in showToast() method in DeepShortcutTextView
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java287 showToast(R.string.pin_toast_wrong);
291 private void showToast(int resId) {
325 showToast(R.string.pin_toast_not_match);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java423 public static void showToast(Context context, int resId) { in showToast() method in Utility
424 showToast(context, context.getResources().getString(resId)); in showToast()
433 public static void showToast(final Context context, final String message) { in showToast() method in Utility
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DManageCachePage.java337 showToast(); in onClick()
347 private void showToast() { in showToast() method in ManageCachePage
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DEnterSelfPhoneNumberDialog.java75 UiUtils.showToast( in onCreateDialog()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactPickerFragment.java438 UiUtils.showToast(R.string.too_many_participants); in maybeGetOrCreateConversation()
478 UiUtils.showToast(R.plurals.add_invalid_contact_error, prunedCount); in onInvalidContactChipsPruned()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivity.java319 showToast(displayedMessage); in handlePlaybackState()
346 private void showToast(String message) { in showToast() method in MediaActivity

12