Home
last modified time | relevance | path

Searched refs:toast (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java263 toast(getToastString(R.string.disconnecting_peripheral)); in nextStepDisconnect()
284 toast(getToastString(R.string.disconnecting_peripheral)); in nextStepDisconnect()
293 toast(getToastString(R.string.disconnected_peripheral)); in nextStepDisconnect()
304 toast(getToastString(R.string.disconnected_peripheral)); in nextStepDisconnect()
388 toast(getToastString(R.string.connecting_peripheral)); in nextStepConnect()
406 toast(getToastString(R.string.connected_peripheral)); in nextStepConnect()
411 toast (getToastString(R.string.connect_peripheral_failed)); in nextStepConnect()
422 toast(getToastString(R.string.pairing_peripheral)); in startBonding()
426 toast(getToastString(R.string.pairing_peripheral_failed)); in startBonding()
430 toast(getToastString(R.string.pairing_peripheral_failed)); in startBonding()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java93 final Toast toast = Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG); in showToastAtBottom() local
94 toast.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, 0); in showToastAtBottom()
95 toast.show(); in showToastAtBottom()
100 final Toast toast = Toast.makeText(getApplicationContext(), in showToast() local
102 toast.setGravity(Gravity.CENTER_HORIZONTAL, 0, 0); in showToast()
103 toast.show(); in showToast()
108 final Toast toast = Toast.makeText(getApplicationContext(), in showToast() local
111 toast.setGravity(Gravity.CENTER_HORIZONTAL, 0, 0); in showToast()
112 toast.show(); in showToast()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.java28 import com.android.deskclock.widget.toast.SnackbarManager;
29 import com.android.deskclock.widget.toast.ToastManager;
98 Toast toast = Toast.makeText(context, text, Toast.LENGTH_LONG); in popAlarmSetToast() local
99 ToastManager.setToast(toast); in popAlarmSetToast()
100 toast.show(); in popAlarmSetToast()
DAlarmClockFragment.java49 import com.android.deskclock.widget.toast.SnackbarManager;
50 import com.android.deskclock.widget.toast.ToastManager;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetPage.java217 Toast toast; in showEmptyAlbumToast() local
219 toast = mEmptyAlbumToast.get(); in showEmptyAlbumToast()
220 if (toast != null) { in showEmptyAlbumToast()
221 toast.show(); in showEmptyAlbumToast()
225 toast = Toast.makeText(mActivity, R.string.empty_album, toastLength); in showEmptyAlbumToast()
226 mEmptyAlbumToast = new WeakReference<Toast>(toast); in showEmptyAlbumToast()
227 toast.show(); in showEmptyAlbumToast()
232 Toast toast = mEmptyAlbumToast.get(); in hideEmptyAlbumToast() local
233 if (toast != null) toast.cancel(); in hideEmptyAlbumToast()
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/
DToastManager.java17 package com.android.deskclock.widget.toast;
29 public static void setToast(Toast toast) { in setToast() argument
32 sToast = toast; in setToast()
DSnackbarManager.java17 package com.android.deskclock.widget.toast;
DSnackbarSlidingBehavior.java17 package com.android.deskclock.widget.toast;
/packages/apps/TV/src/com/android/tv/util/
DToastUtils.java39 Toast toast = Toast.makeText(context, text, duration); in show() local
40 toast.show(); in show()
41 sToast = new WeakReference<>(toast); in show()
/packages/apps/Stk/src/com/android/stk/
DStkMain.java106 Toast toast = Toast.makeText(context, resId, Toast.LENGTH_LONG); in showTextToast() local
107 toast.setGravity(Gravity.BOTTOM, 0, 0); in showTextToast()
108 toast.show(); in showTextToast()
DStkAppService.java1486 Toast toast = new Toast(mContext.getApplicationContext()); in launchEventMessage() local
1510 toast.setView(v); in launchEventMessage()
1511 toast.setDuration(Toast.LENGTH_LONG); in launchEventMessage()
1512 toast.setGravity(Gravity.BOTTOM, 0, 0); in launchEventMessage()
1513 toast.show(); in launchEventMessage()
1920 Toast toast = Toast.makeText(sInstance, alphaString, Toast.LENGTH_LONG); in handleAlphaNotify() local
1921 toast.setGravity(Gravity.TOP, 0, 0); in handleAlphaNotify()
1922 toast.show(); in handleAlphaNotify()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DProvisionLogger.java201 public static void toast(Context context, String toast) { in toast() argument
203 Toast.makeText(context, toast, Toast.LENGTH_LONG).show(); in toast()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java341 Toast toast = Toast.makeText(mActivity, text, duration); in updateSlotCounter() local
342 toast.show(); in updateSlotCounter()
347 Toast toast = Toast.makeText(mActivity, text, duration); in showWarning() local
348 toast.show(); in showWarning()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabs.java96 Toast toast = Toast.makeText(context, mTabDescription, Toast.LENGTH_SHORT); in onLongClick() local
99 toast.setGravity(Gravity.TOP | Gravity.CENTER_HORIZONTAL, in onLongClick()
102 toast.show(); in onLongClick()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java444 public void finishAndToast(int finishMode, String toast) { in finishAndToast() argument
445 mToastString = toast; in finishAndToast()
540 Toast toast = Toast.makeText(mContext, mToastString, Toast.LENGTH_LONG); in dismiss() local
541 toast.getWindowParams().privateFlags |= LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; in dismiss()
542 toast.show(); in dismiss()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabs.java293 Toast toast = in onLongClick() local
297 toast.setGravity( in onLongClick()
302 toast.show(); in onLongClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePickerActivity.java42 Toast toast = Toast.makeText(this, error, Toast.LENGTH_SHORT); in onCreate() local
43 toast.show(); in onCreate()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java814 final Toast toast = Toast.makeText(context, getString(R.string.headset_plug), duration); in showHeadsetMsg() local
815 toast.setGravity(Gravity.CENTER, toast.getXOffset() / 2, toast.getYOffset() / 2); in showHeadsetMsg()
816 toast.show(); in showHeadsetMsg()
/packages/apps/Settings/src/com/android/settings/webview/
DWebViewUpdateServiceWrapper.java107 Toast toast = Toast.makeText(context, in showInvalidChoiceToast() local
109 toast.show(); in showInvalidChoiceToast()
/packages/apps/DevCamera/src/com/android/devcamera/
DDevCameraActivity.java381 …Toast toast = Toast.makeText(this, "WARNING: this camera does not support camera2 HARDWARE_LEVEL_F… in noCamera2Full() local
382 toast.setGravity(Gravity.TOP, 0, 0); in noCamera2Full()
383 toast.show(); in noCamera2Full()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMaterialSearchViewController.java298 final String toast = in onVoiceSearch()
300 Toast.makeText(mActivity, toast, Toast.LENGTH_LONG).show(); in onVoiceSearch()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCallComposerActivity.java407 Toast toast = Toast.makeText(this, privacyMessage, Toast.LENGTH_LONG); in placeRCSCall() local
409 toast.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM, 0, yOffset); in placeRCSCall()
410 toast.show(); in placeRCSCall()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java424 toast(R.string.groupSavedErrorToast); in onNewIntent()
437 toast(R.string.groupSavedErrorToast); in onNewIntent()
480 private void toast(int resId) { in toast() method in PeopleActivity
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java241 Toast toast = Toast.makeText(this, text, Toast.LENGTH_SHORT); in cannotLoadImage() local
242 toast.show(); in cannotLoadImage()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmUpdateHandler.java32 import com.android.deskclock.widget.toast.SnackbarManager;

12