/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 272 toast(getToastString(R.string.disconnecting_peripheral)); in nextStepDisconnect() 293 toast(getToastString(R.string.disconnecting_peripheral)); in nextStepDisconnect() 302 toast(getToastString(R.string.disconnected_peripheral)); in nextStepDisconnect() 313 toast(getToastString(R.string.disconnected_peripheral)); in nextStepDisconnect() 377 toast(getToastString(R.string.connecting_peripheral)); in nextStepConnect() 406 toast(getToastString(R.string.connecting_peripheral)); in nextStepConnect() 421 toast(getToastString(R.string.connected_peripheral)); in nextStepConnect() 425 toast (getToastString(R.string.connect_peripheral_failed)); in nextStepConnect() 435 toast(getToastString(R.string.connected_peripheral)); in nextStepConnect() 440 toast (getToastString(R.string.connect_peripheral_failed)); in nextStepConnect() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UiUtils.java | 93 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/ |
D | AlarmUtils.java | 28 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()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumSetPage.java | 217 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/ |
D | ToastManager.java | 17 package com.android.deskclock.widget.toast; 29 public static void setToast(Toast toast) { in setToast() argument 32 sToast = toast; in setToast()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | ToastUtils.java | 34 Toast toast = Toast.makeText(context, text, duration); in show() local 35 toast.show(); in show() 36 sToast = new WeakReference<>(toast); in show()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | DigitalWellBeingToast.java | 90 TextView toast = mActivity.getViewCache().getView(R.layout.digital_wellbeing_toast, in setLimit() local 92 toast.setText(prefixTextWithIcon(mActivity, R.drawable.ic_hourglass_top, getText())); in setLimit() 93 toast.setOnClickListener(this::openAppUsageSettings); in setLimit() 94 setTaskFooter(toast); in setLimit()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkMain.java | 106 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()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | DigitalWellBeingToastTest.java | 52 final DigitalWellBeingToast toast = getToast(); in testToast() local 54 assertTrue("Toast is not visible", toast.hasLimit()); in testToast() 55 assertEquals("Toast text: ", "5 minutes left today", toast.getText()); in testToast()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | ProvisionLogger.java | 201 public static void toast(Context context, String toast) { in toast() method in ProvisionLogger 203 Toast.makeText(context, toast, Toast.LENGTH_LONG).show(); in toast()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSettingsAdapter.java | 345 Toast toast = Toast.makeText(mActivity, text, duration); in updateSlotCounter() local 346 toast.show(); in updateSlotCounter() 352 Toast toast = Toast.makeText(mActivity, text, duration); in showWarning() local 353 toast.show(); in showWarning()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ViewPagerTabs.java | 96 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/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePickerActivity.java | 42 Toast toast = Toast.makeText(this, error, Toast.LENGTH_SHORT); in onCreate() local 43 toast.show(); in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | Sliceable.java | 98 final String toast = context.getString(R.string.copyable_slice_toast, messageTitle); in setCopyContent() local 99 Toast.makeText(context, toast, Toast.LENGTH_SHORT).show(); in setCopyContent()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | Sliceable.java | 98 final String toast = context.getString(R.string.copyable_slice_toast, messageTitle); in setCopyContent() local 99 Toast.makeText(context, toast, Toast.LENGTH_SHORT).show(); in setCopyContent()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/firmwareversion/ |
D | SimpleBuildNumberPreferenceController.java | 70 final String toast = mContext.getString(R.string.copyable_slice_toast, in copy() local 72 Toast.makeText(mContext, toast, Toast.LENGTH_SHORT).show(); in copy()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 293 Toast toast = in onLongClick() local 297 toast.setGravity( in onLongClick() 302 toast.show(); in onLongClick()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | SendUi.java | 448 public void finishAndToast(int finishMode, String toast) { in finishAndToast() argument 449 mToastString = toast; in finishAndToast() 544 Toast toast = Toast.makeText(mContext, mToastString, Toast.LENGTH_LONG); in dismiss() local 545 toast.getWindowParams().privateFlags |= LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; in dismiss() 546 toast.show(); in dismiss()
|
/packages/apps/Settings/src/com/android/settings/webview/ |
D | WebViewUpdateServiceWrapper.java | 103 Toast toast = Toast.makeText(context, in showInvalidChoiceToast() local 105 toast.show(); in showInvalidChoiceToast()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/webview/ |
D | WebViewUpdateServiceWrapper.java | 103 Toast toast = Toast.makeText(context, in showInvalidChoiceToast() local 105 toast.show(); in showInvalidChoiceToast()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaPlayer.java | 208 toast("" + mActiveItem.mHearts); in onCustomAction() 211 toast("" + mActiveItem.mHearts); in onCustomAction() 217 private void toast(String message) { in toast() method in TmaPlayer
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ActivityMusic.java | 814 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 115 final String toast = mContext.getString(R.string.copyable_slice_toast, in copy() local 117 Toast.makeText(mContext, toast, Toast.LENGTH_SHORT).show(); in copy()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 115 final String toast = mContext.getString(R.string.copyable_slice_toast, in copy() local 117 Toast.makeText(mContext, toast, Toast.LENGTH_SHORT).show(); in copy()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | MaterialSearchViewController.java | 298 final String toast = in onVoiceSearch() 300 Toast.makeText(mActivity, toast, Toast.LENGTH_LONG).show(); in onVoiceSearch()
|