Home
last modified time | relevance | path

Searched refs:mZenToast (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenToast.java53 private View mZenToast; field in ZenToast
109 mZenToast = LayoutInflater.from(mContext).inflate(R.layout.zen_toast, null); in handleShow()
110 final TextView message = (TextView) mZenToast.findViewById(android.R.id.message); in handleShow()
112 final ImageView icon = (ImageView) mZenToast.findViewById(android.R.id.icon); in handleShow()
114 mZenToast.addOnAttachStateChangeListener(new OnAttachStateChangeListener() { in handleShow()
122 mZenToast.announceForAccessibility(message.getText()); in handleShow()
125 mWindowManager.addView(mZenToast, params); in handleShow()
132 if (mZenToast != null) { in handleHide()
133 mWindowManager.removeView(mZenToast); in handleHide()
134 mZenToast = null; in handleHide()
DZenModePanel.java81 private final ZenToast mZenToast; field in ZenModePanel
116 mZenToast = new ZenToast(mContext); in ZenModePanel()
161 mZenToast.hide(); in onAttachedToWindow()
196 mZenToast.show(selectedZen); in checkForAttachedZenChange()