Home
last modified time | relevance | path

Searched refs:Snackbar (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DSnackbars.java29 import com.google.android.material.snackbar.Snackbar;
40 Snackbars.makeSnackbar(activity, msg, Snackbar.LENGTH_LONG).show(); in showDocumentsClipped()
45 makeSnackbar(activity, message, Snackbar.LENGTH_LONG).show(); in showMove()
50 makeSnackbar(activity, message, Snackbar.LENGTH_LONG).show(); in showCopy()
55 makeSnackbar(activity, message, Snackbar.LENGTH_LONG).show(); in showCompress()
60 makeSnackbar(activity, message, Snackbar.LENGTH_LONG).show(); in showExtract()
65 makeSnackbar(activity, message, Snackbar.LENGTH_LONG).show(); in showDelete()
69 makeSnackbar(activity, R.string.file_operation_rejected, Snackbar.LENGTH_LONG).show(); in showOperationRejected()
73 makeSnackbar(activity, R.string.file_operation_error, Snackbar.LENGTH_LONG).show(); in showOperationFailed()
77 makeSnackbar(activity, R.string.rename_error, Snackbar.LENGTH_LONG).show(); in showRenameFailed()
[all …]
DDialogController.java32 import com.google.android.material.snackbar.Snackbar;
143 mActivity, R.string.toast_action_not_allowed, Snackbar.LENGTH_LONG).show(); in showActionNotAllowed()
149 mActivity, R.string.toast_no_application, Snackbar.LENGTH_LONG).show(); in showNoApplicationFound()
160 Snackbar.LENGTH_LONG).show(); in showViewInArchivesUnsupported()
171 Snackbars.makeSnackbar(mActivity, message, Snackbar.LENGTH_LONG).show(); in showShareOverLimit()
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/
DSnackbarManager.kt19 import com.google.android.material.snackbar.Snackbar
27 private var sSnackbar: WeakReference<Snackbar>? = null
30 fun show(snackbar: Snackbar) { in show()
31 sSnackbar = WeakReference<Snackbar>(snackbar) in show()
37 val snackbar: Snackbar? = sSnackbar?.get() in dismiss()
DSnackbarSlidingBehavior.kt25 import com.google.android.material.snackbar.Snackbar
42 return dependency is Snackbar.SnackbarLayout in layoutDependsOn()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockNumberDialogFragment.java28 import android.support.design.widget.Snackbar;
225 Snackbar.make(parentView, undoMessage, Snackbar.LENGTH_LONG).show(); in blockNumber()
247 Snackbar.make(parentView, message, Snackbar.LENGTH_LONG) in blockNumber()
276 Snackbar.make(parentView, undoMessage, Snackbar.LENGTH_LONG).show(); in unblockNumber()
298 Snackbar.make(parentView, message, Snackbar.LENGTH_LONG) in unblockNumber()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmUpdateHandler.kt32 import com.google.android.material.snackbar.Snackbar in <lambda>()
178 SnackbarManager.show(Snackbar.make(mSnackbarAnchor!!, text, Snackbar.LENGTH_SHORT)) in <lambda>()
191 val snackbar: Snackbar = Snackbar.make(mSnackbarAnchor!!, in <lambda>()
192 mAppContext.getString(R.string.alarm_deleted), Snackbar.LENGTH_LONG) in <lambda>()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DSnackbarManager.java30 import com.google.android.material.snackbar.Snackbar;
63 Snackbar snackbar = Snackbar.make(mRootView, message, Snackbar.LENGTH_SHORT); in showSnackbar()
/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCall.java25 import android.support.design.widget.Snackbar;
52 private static Snackbar activeSnackbar;
104 Snackbar.make(rootView, message, durationMs) in promptUserToSendMessage()
134 Snackbar.make(rootView, message, Snackbar.LENGTH_LONG) in promptUserToViewSentMessage()
139 new BaseCallback<Snackbar>() { in promptUserToViewSentMessage()
141 public void onDismissed(Snackbar snackbar, int i) { in promptUserToViewSentMessage()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java43 public class Snackbar extends AbstractFloatingView { class
52 public Snackbar(Context context, AttributeSet attrs) { in Snackbar() method in Snackbar
56 public Snackbar(Context context, AttributeSet attrs, int defStyleAttr) { in Snackbar() method in Snackbar
89 Snackbar snackbar = new Snackbar((Context) activity, null); in show()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/
DLoginActivity.java40 import com.google.android.material.snackbar.Snackbar;
192 final Snackbar snackbar = in showSnackBar()
193 Snackbar.make(findViewById(R.id.login_container), id, Snackbar.LENGTH_SHORT); in showSnackBar()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.kt29 import com.google.android.material.snackbar.Snackbar
114 SnackbarManager.show(Snackbar.make(snackbarAnchor, text, Snackbar.LENGTH_SHORT)) in popAlarmSetSnackbar()
DDeskClock.kt57 import com.google.android.material.snackbar.Snackbar
450 private fun createSnackbar(@StringRes messageId: Int): Snackbar { in createSnackbar()
451 return Snackbar.make(mSnackbarAnchor, messageId, 5000) in createSnackbar()
571 val snackbar: Snackbar = createSnackbar(mSilentSetting.labelResId) in run()
/packages/providers/MediaProvider/tools/photopicker-gradle/app/src/main/java/com/android/providers/media/tools/photopicker/
DPhotoPickerToolActivity.java34 import com.google.android.material.snackbar.Snackbar;
95 Snackbar.make(mMaxCountText, wrongFormatWarning, Snackbar.LENGTH_LONG).show(); in onCreate()
203 Snackbar.make(mScrollView, errorMessage, Snackbar.LENGTH_LONG).show(); in logErrorAndShowToast()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTargetHandler.kt15 import com.android.launcher3.views.Snackbar
60 Snackbar.show(mLauncher, R.string.item_removed, R.string.undo, onDismiss, onActionClicked) in dismissPrediction()
93 Snackbar.show( in onDeleteComplete()
/packages/providers/MediaProvider/tools/photopicker/src/com/android/providers/media/tools/photopicker/
DPhotoPickerToolActivity.java45 import com.google.android.material.snackbar.Snackbar;
134 Snackbar.make(mMaxCountText, wrongFormatWarning, Snackbar.LENGTH_LONG).show(); in onCreate()
255 Snackbar.make(mScrollView, errorMessage, Snackbar.LENGTH_LONG).show(); in logErrorAndShowToast()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/
DUserPickerControllerTest.java49 import com.google.android.material.snackbar.Snackbar;
93 .spyStatic(Snackbar.class) in setUp()
176 Snackbar snackbar = mock(Snackbar.class); in checkSnackbar_loginDriverUser_showSnackbar()
177 doReturn(snackbar).when(() -> Snackbar.make(any(View.class), any(String.class), anyInt())); in checkSnackbar_loginDriverUser_showSnackbar()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDragHost.java41 import com.google.android.material.snackbar.Snackbar;
117 Snackbar.make( in canHandleDragEvent()
118 v, R.string.drag_from_another_app, Snackbar.LENGTH_LONG).show(); in canHandleDragEvent()
/packages/apps/Dialer/java/com/android/dialer/spam/promo/
DSpamBlockingPromoHelper.java26 import android.support.design.widget.Snackbar;
131 Snackbar.make(view, snackBarText, Snackbar.LENGTH_LONG) in showModifySettingOnCompleteSnackbar()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/remotepreview/
DRemotePreviewSession.java54 import com.google.android.material.snackbar.Snackbar;
540 private Snackbar createPlayerErrorSnackbar() {
542 Snackbar snackbar = Snackbar.make(snackbarView, R.string.picker_error_snackbar,
543 Snackbar.LENGTH_LONG);
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DCreatePickedDocumentTask.java26 import com.google.android.material.snackbar.Snackbar;
94 mOwner, R.string.save_error, Snackbar.LENGTH_LONG).show(); in finish()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduController.java38 import com.android.launcher3.views.Snackbar;
73 Snackbar.show(mLauncher, R.string.hotsaet_tip_prediction_enabled, in migrate()
142 Snackbar.show(mLauncher, R.string.hotseat_tip_gaps_filled, in showDimissTip()
/packages/apps/Contacts/src/com/android/contacts/preference/
DDisplayOptionsPreferenceFragment.java44 import com.google.android.material.snackbar.Snackbar;
499 Snackbar.make(mRootView, msgFormat.format(arguments),
500 Snackbar.LENGTH_LONG).show();
502 Snackbar.make(mRootView, R.string.sim_import_failed_toast,
503 Snackbar.LENGTH_LONG).show();
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DClearCallLogDialog.java30 import android.support.design.widget.Snackbar;
130 Snackbar.make( in maybeShowEnrichedCallSnackbar()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailAdapter.java32 import android.support.design.widget.Snackbar;
653 Snackbar undoSnackbar = in showUndoSnackbar()
654 Snackbar.make( in showUndoSnackbar()
659 new Snackbar.Callback() { in showUndoSnackbar()
661 public void onShown(Snackbar sb) { in showUndoSnackbar()
672 public void onDismissed(Snackbar transientBottomBar, int event) { in showUndoSnackbar()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackLayout.java24 import android.support.design.widget.Snackbar;
111 Snackbar.make(
114 Snackbar.LENGTH_LONG)

12