Home
last modified time | relevance | path

Searched refs:snackbar (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java57 inflate(context, R.layout.snackbar, this); in Snackbar()
63 Snackbar snackbar = new Snackbar(launcher, null); in show() local
65 snackbar.setOrientation(HORIZONTAL); in show()
66 snackbar.setGravity(Gravity.CENTER_VERTICAL); in show()
68 snackbar.setElevation(res.getDimension(R.dimen.snackbar_elevation)); in show()
70 snackbar.setPadding(padding, padding, padding, padding); in show()
71 snackbar.setBackgroundResource(R.drawable.round_rect_primary); in show()
73 snackbar.mIsOpen = true; in show()
75 dragLayer.addView(snackbar); in show()
77 DragLayer.LayoutParams params = (DragLayer.LayoutParams) snackbar.getLayoutParams(); in show()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/
DSnackbarManager.kt19 import com.google.android.material.snackbar.Snackbar
30 fun show(snackbar: Snackbar) { in show()
31 sSnackbar = WeakReference<Snackbar>(snackbar) in show()
32 snackbar.show() in show()
37 val snackbar: Snackbar? = sSnackbar?.get() in dismiss() constant
38 if (snackbar != null) { in dismiss()
39 snackbar.dismiss() in dismiss()
DSnackbarManager.java19 import com.google.android.material.snackbar.Snackbar;
32 public static void show(Snackbar snackbar) { in show() argument
33 sSnackbar = new WeakReference<>(snackbar); in show()
34 snackbar.show(); in show()
38 final Snackbar snackbar = sSnackbar == null ? null : sSnackbar.get(); in dismiss() local
39 if (snackbar != null) { in dismiss()
40 snackbar.dismiss(); in dismiss()
DSnackbarSlidingBehavior.java22 import com.google.android.material.snackbar.Snackbar;
DSnackbarSlidingBehavior.kt25 import com.google.android.material.snackbar.Snackbar
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DSnackbars.java29 import com.google.android.material.snackbar.Snackbar;
87 Snackbar snackbar = makeSnackbar(activity, text, Snackbar.LENGTH_SHORT); in showCustomTextWithImage() local
88 View snackbarLayout = snackbar.getView(); in showCustomTextWithImage()
94 snackbar.show(); in showCustomTextWithImage()
DDialogController.java38 import com.google.android.material.snackbar.Snackbar;
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmUpdateHandler.kt32 import com.google.android.material.snackbar.Snackbar in <lambda>()
191 val snackbar: Snackbar = Snackbar.make(mSnackbarAnchor!!, in <lambda>() constant
197 SnackbarManager.show(snackbar) in <lambda>()
DAlarmUpdateHandler.java22 import com.google.android.material.snackbar.Snackbar;
202 final Snackbar snackbar = Snackbar.make(mSnackbarAnchor, in showUndoBar() local
211 SnackbarManager.show(snackbar); in showUndoBar()
/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCall.java141 public void onDismissed(Snackbar snackbar, int i) { in promptUserToViewSentMessage()
142 super.onDismissed(snackbar, i); in promptUserToViewSentMessage()
143 clear(snackbar.getContext()); in promptUserToViewSentMessage()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java28 import com.google.android.material.snackbar.Snackbar;
632 final Snackbar snackbar = createSnackbar(mSilentSetting.getLabelResId()); in run() local
637 snackbar.setAction(actionResId, mSilentSetting.getActionListener()); in run()
640 SnackbarManager.show(snackbar); in run()
DAlarmUtils.kt29 import com.google.android.material.snackbar.Snackbar
DAlarmUtils.java21 import com.google.android.material.snackbar.Snackbar;
DAlarmClockFragment.java28 import com.google.android.material.snackbar.Snackbar;
DAlarmClockFragment.kt52 import com.google.android.material.snackbar.Snackbar
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DCreatePickedDocumentTask.java26 import com.google.android.material.snackbar.Snackbar;
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java40 import com.google.android.material.snackbar.Snackbar;
919 final Snackbar snackbar = Snackbar.make(mLayoutRoot, message, length) in onGroupDeleted() local
932 snackbar.show(); in onGroupDeleted()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DCreateDirectoryFragment.java54 import com.google.android.material.snackbar.Snackbar;
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java49 import com.google.android.material.snackbar.Snackbar;
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java2002 AbstractFloatingView snackbar = AbstractFloatingView.getOpenView(this, TYPE_SNACKBAR); in preAddApps() local
2003 if (snackbar != null) { in preAddApps()
2004 snackbar.post(() -> snackbar.close(true)); in preAddApps()
/packages/apps/Contacts/src/com/android/contacts/preference/
DDisplayOptionsPreferenceFragment.java38 import com.google.android.material.snackbar.Snackbar;
/packages/apps/Contacts/src/com/android/contacts/
DSimImportFragment.java28 import com.google.android.material.snackbar.Snackbar;
/packages/inputmethods/LatinIME/dictionaries/
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...