Home
last modified time | relevance | path

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

/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/
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/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()