/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 263 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/ |
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()
|
D | AlarmClockFragment.java | 49 import com.android.deskclock.widget.toast.SnackbarManager; 50 import com.android.deskclock.widget.toast.ToastManager;
|
/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()
|
D | SnackbarManager.java | 17 package com.android.deskclock.widget.toast;
|
D | SnackbarSlidingBehavior.java | 17 package com.android.deskclock.widget.toast;
|
/packages/apps/TV/src/com/android/tv/util/ |
D | ToastUtils.java | 39 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/ |
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()
|
D | StkAppService.java | 1486 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/ |
D | ProvisionLogger.java | 201 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/ |
D | BluetoothMapSettingsAdapter.java | 341 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/ |
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/Nfc/src/com/android/nfc/beam/ |
D | SendUi.java | 444 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/ |
D | ViewPagerTabs.java | 293 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/ |
D | BluetoothDevicePickerActivity.java | 42 Toast toast = Toast.makeText(this, error, Toast.LENGTH_SHORT); in onCreate() local 43 toast.show(); in onCreate()
|
/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/apps/Settings/src/com/android/settings/webview/ |
D | WebViewUpdateServiceWrapper.java | 107 Toast toast = Toast.makeText(context, in showInvalidChoiceToast() local 109 toast.show(); in showInvalidChoiceToast()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | DevCameraActivity.java | 381 …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/ |
D | MaterialSearchViewController.java | 298 final String toast = in onVoiceSearch() 300 Toast.makeText(mActivity, toast, Toast.LENGTH_LONG).show(); in onVoiceSearch()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | CallComposerActivity.java | 407 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/ |
D | PeopleActivity.java | 424 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/ |
D | CropActivity.java | 241 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/ |
D | AlarmUpdateHandler.java | 32 import com.android.deskclock.widget.toast.SnackbarManager;
|