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

  /cts/tests/tests/widget/src/android/widget/cts/
ListPopupWindowTest.java 59 private ListPopupWindow mPopupWindow;
72 mPopupWindow.dismiss();
94 if ((mPopupWindowBuilder != null) && (mPopupWindow != null)) {
112 mPopupWindow = new ListPopupWindow(mActivity);
113 assertFalse(mPopupWindow.isShowing());
121 mPopupWindow.setBackgroundDrawable(drawable);
122 assertSame(drawable, mPopupWindow.getBackground());
124 mPopupWindow.setBackgroundDrawable(null);
125 assertNull(mPopupWindow.getBackground());
131 assertEquals(0, mPopupWindow.getAnimationStyle())
    [all...]
PopupWindowTest.java 59 private PopupWindow mPopupWindow;
87 mPopupWindow = new PopupWindow();
88 assertEquals(0, mPopupWindow.getWidth());
89 assertEquals(0, mPopupWindow.getHeight());
91 mPopupWindow = new PopupWindow(50, 50);
92 assertEquals(50, mPopupWindow.getWidth());
93 assertEquals(50, mPopupWindow.getHeight());
95 mPopupWindow = new PopupWindow(-1, -1);
96 assertEquals(-1, mPopupWindow.getWidth());
97 assertEquals(-1, mPopupWindow.getHeight())
    [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...]
  /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...]
  /frameworks/base/core/java/com/android/internal/widget/
FloatingToolbar.java 314 private final PopupWindow mPopupWindow;
415 mPopupWindow = createPopupWindow(mContentContainer);
464 mPopupWindow.dismiss();
474 mPopupWindow.dismiss();
519 mPopupWindow.showAtLocation(
577 if (!isShowing() || !mPopupWindow.isShowing()) {
587 mPopupWindow.update(
589 mPopupWindow.getWidth(), mPopupWindow.getHeight());
598 contentRectOnScreen.centerX() - mPopupWindow.getWidth() / 2
    [all...]
  /frameworks/base/core/java/android/widget/
Editor.java     [all...]

Completed in 214 milliseconds