Home
last modified time | relevance | path

Searched refs:mPopupWindow (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DDataSubscriptionController.java83 private PopupWindow mPopupWindow; field in DataSubscriptionController
174 && mPopupWindow != null
175 && mPopupWindow.isShowing()) {
176 mPopupWindow.dismiss();
179 if (mIsDistractionOptimizationRequired && mPopupWindow != null) {
185 mPopupWindow.update();
227 mPopupWindow = new PopupWindow(mPopupView, width, height, focusable); in DataSubscriptionController()
228 mPopupWindow.setTouchModal(false); in DataSubscriptionController()
229 mPopupWindow.setOutsideTouchable(true); in DataSubscriptionController()
233 if (mPopupWindow != null) { in DataSubscriptionController()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPopupList.java61 private PopupWindow mPopupWindow; field in PopupList
91 if (mPopupWindow == null) return;
92 mPopupWindow = null;
106 if (mPopupWindow == null) return;
107 mPopupWindow.dismiss();
118 if (mPopupWindow == null) return;
121 mPopupWindow.update(mAnchorView,
127 if (mPopupWindow != null) return; in show()
130 mPopupWindow = createPopupWindow(); in show()
132 mPopupWindow.setWidth(mPopupWidth); in show()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DPopupTransitionAnimation.java64 private PopupWindow mPopupWindow; field in PopupTransitionAnimation
183 if (mPopupWindow == null) { in applyTransformation()
214 mPopupWindow.dismiss(); in dismiss()
284 mPopupWindow = new PopupWindow(mViewToAnimate.getContext()); in initPopupWindow()
285 mPopupWindow.setBackgroundDrawable(null); in initPopupWindow()
286 mPopupWindow.setContentView(mPopupRoot); in initPopupWindow()
287 mPopupWindow.setWidth(ViewGroup.LayoutParams.MATCH_PARENT); in initPopupWindow()
288 mPopupWindow.setHeight(ViewGroup.LayoutParams.MATCH_PARENT); in initPopupWindow()
289 mPopupWindow.setTouchable(false); in initPopupWindow()
294 mPopupWindow.showAtLocation(mViewToAnimate, Gravity.TOP, 0, 1); in initPopupWindow()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBarManager.java96 mPopupWindow.dismiss();
114 private PopupWindow mPopupWindow; field in SnackBarManager
169 mPopupWindow = new PopupWindow(snackBar.getContext()); in show()
170 mPopupWindow.setWidth(LayoutParams.MATCH_PARENT); in show()
171 mPopupWindow.setHeight(LayoutParams.WRAP_CONTENT); in show()
172 mPopupWindow.setBackgroundDrawable(null); in show()
173 mPopupWindow.setContentView(rootView); in show()
176 mPopupWindow.showAtLocation( in show()
188 mPopupWindow.update(anchorView, 0, getRelativeOffset(snackBar), in show()
193 mPopupWindow.setOnDismissListener(new OnDismissListener() { in show()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DDataSubscriptionControllerTest.java87 private PopupWindow mPopupWindow; field in DataSubscriptionControllerTest
122 mController.setPopupWindow(mPopupWindow); in setUp()
141 when(mPopupWindow.isShowing()).thenReturn(false); in setAnchorView_viewNotNull_popUpDisplay()
154 when(mPopupWindow.isShowing()).thenReturn(false); in setAnchorView_viewNull_popUpNotDisplay()
273 when(mPopupWindow.isShowing()).thenReturn(true); in onRestrictionsChanged_optimizationRequired_proactiveMsgDismissed()
286 verify(mPopupWindow).dismiss(); in onRestrictionsChanged_optimizationRequired_proactiveMsgDismissed()
294 when(mPopupWindow.isShowing()).thenReturn(true); in onRestrictionsChanged_optimizationRequired_buttonDismissedInReactiveMsg()