HomeSort by relevance Sort by last modified time
    Searched defs:mPopupWindow (Results 1 - 7 of 7) sorted by null

  /cts/tests/tests/widget/src/android/widget/cts/
PopupWindowTest.java 81 private PopupWindow mPopupWindow;
114 mPopupWindow = new PopupWindow();
115 assertEquals(0, mPopupWindow.getWidth());
116 assertEquals(0, mPopupWindow.getHeight());
118 mPopupWindow = new PopupWindow(50, 50);
119 assertEquals(50, mPopupWindow.getWidth());
120 assertEquals(50, mPopupWindow.getHeight());
122 mPopupWindow = new PopupWindow(-1, -1);
123 assertEquals(-1, mPopupWindow.getWidth());
124 assertEquals(-1, mPopupWindow.getHeight())
    [all...]
ListPopupWindowTest.java 81 private ListPopupWindow mPopupWindow;
94 mPopupWindow.dismiss();
111 if ((mPopupWindowBuilder != null) && (mPopupWindow != null)) {
139 mPopupWindow = new ListPopupWindow(mActivity);
140 assertFalse(mPopupWindow.isShowing());
150 mPopupWindow.setBackgroundDrawable(drawable);
151 assertSame(drawable, mPopupWindow.getBackground());
153 mPopupWindow.setBackgroundDrawable(null);
154 assertNull(mPopupWindow.getBackground());
162 assertEquals(0, mPopupWindow.getAnimationStyle())
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/
SnackBarManager.java 96 private PopupWindow mPopupWindow;
151 mPopupWindow = new PopupWindow(snackBar.getContext());
152 mPopupWindow.setWidth(LayoutParams.MATCH_PARENT);
153 mPopupWindow.setHeight(LayoutParams.WRAP_CONTENT);
154 mPopupWindow.setBackgroundDrawable(null);
155 mPopupWindow.setContentView(rootView);
158 mPopupWindow.showAtLocation(
170 mPopupWindow.update(anchorView, 0, getRelativeOffset(snackBar),
175 mPopupWindow.setOnDismissListener(new OnDismissListener() {
181 mPopupWindow.showAsDropDown(anchorView, 0, getRelativeOffset(snackBar))
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PopupList.java 61 private PopupWindow mPopupWindow;
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;
130 mPopupWindow = createPopupWindow();
132 mPopupWindow.setWidth(mPopupWidth)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/animation/
PopupTransitionAnimation.java 64 private PopupWindow mPopupWindow;
183 if (mPopupWindow == null) {
214 mPopupWindow.dismiss();
284 mPopupWindow = new PopupWindow(mViewToAnimate.getContext());
285 mPopupWindow.setBackgroundDrawable(null);
286 mPopupWindow.setContentView(mPopupRoot);
287 mPopupWindow.setWidth(ViewGroup.LayoutParams.MATCH_PARENT);
288 mPopupWindow.setHeight(ViewGroup.LayoutParams.MATCH_PARENT);
289 mPopupWindow.setTouchable(false);
294 mPopupWindow.showAtLocation(mViewToAnimate, Gravity.TOP, 0, 1)
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
FloatingToolbar.java 364 private final PopupWindow mPopupWindow;
464 mPopupWindow = createPopupWindow(mContentContainer);
517 mPopupWindow.dismiss();
527 mPopupWindow.dismiss();
549 if (mPopupWindow.isOutsideTouchable() ^ outsideTouchable) {
550 mPopupWindow.setOutsideTouchable(outsideTouchable);
551 mPopupWindow.setFocusable(!outsideTouchable);
554 mPopupWindow.setOnDismissListener(onDismiss);
598 mPopupWindow.showAtLocation(
656 if (!isShowing() || !mPopupWindow.isShowing())
    [all...]
  /frameworks/base/core/java/android/widget/
Editor.java     [all...]

Completed in 249 milliseconds