Searched defs:mPopup (Results 1 - 9 of 9) sorted by relevance

/frameworks/opt/mailcommon/java/com/android/mailcommon/
H A DMultiAdapterSpinner.java59 protected ListPopupWindow mPopup; field in class:MultiAdapterSpinner
101 mPopup = new ListPopupWindow(context, attrs);
102 mPopup.setAnchorView(this);
103 mPopup.setOnItemClickListener(this);
104 mPopup.setModal(true);
105 mPopup.setAdapter(mAdapter);
142 if (!mPopup.isShowing()) {
149 final Drawable background = mPopup.getBackground();
155 mPopup.setHorizontalOffset(bgOffset + spinnerPaddingLeft);
156 mPopup
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupMenu.java40 private MenuPopupHelper mPopup; field in class:PopupMenu
69 mPopup = new MenuPopupHelper(context, mMenu, anchor);
70 mPopup.setCallback(this);
108 mPopup.show();
116 mPopup.dismiss();
H A DSpinner.java66 private SpinnerPopup mPopup; field in class:Spinner
157 mPopup = new DialogPopup();
181 mPopup = popup;
188 mPopup.setPromptText(a.getString(com.android.internal.R.styleable.Spinner_prompt));
195 // Base constructor can call setAdapter before we initialize mPopup.
198 mPopup.setAdapter(mTempAdapter);
236 if (mPopup != null) {
237 mPopup.setAdapter(new DropDownAdapter(adapter));
267 if (mPopup != null && mPopup
660 private AlertDialog mPopup; field in class:Spinner.DialogPopup
[all...]
H A DAutoCompleteTextView.java105 private ListPopupWindow mPopup; field in class:AutoCompleteTextView
139 mPopup = new ListPopupWindow(context, attrs,
141 mPopup.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
142 mPopup.setPromptPosition(ListPopupWindow.POSITION_PROMPT_BELOW);
151 mPopup.setListSelector(a.getDrawable(R.styleable.AutoCompleteTextView_dropDownSelector));
152 mPopup.setVerticalOffset((int)
154 mPopup.setHorizontalOffset((int)
166 mPopup.setWidth(a.getLayoutDimension(
169 mPopup.setHeight(a.getLayoutDimension(
176 mPopup
[all...]
H A DListPopupWindow.java57 private PopupWindow mPopup; field in class:ListPopupWindow
194 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes);
195 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED);
254 mPopup.setFocusable(modal);
312 mPopup.setSoftInputMode(mode);
322 return mPopup.getSoftInputMode();
338 return mPopup.getBackground();
347 mPopup.setBackgroundDrawable(d);
356 mPopup.setAnimationStyle(animationStyle);
366 return mPopup
[all...]
H A DAbsListView.java431 PopupWindow mPopup; field in class:AbsListView
1648 // if mPopup is non-null, then onTextChanged will do the filtering
1649 if (mPopup == null) {
1881 if (mFiltered && visible && mPopup != null && mPopup.isShowing()) {
2339 if (mTextFilterEnabled && mPopup != null && !mGlobalLayoutListenerAddedFilter) {
2367 if (mTextFilterEnabled && mPopup != null) {
4977 if (mPopup != null && mPopup.isShowing()) {
4982 if (mFiltered && mPopup !
[all...]
H A DTextView.java288 private ErrorPopup mPopup; field in class:TextView
3976 if (mPopup != null) {
3977 if (mPopup.isShowing()) {
3978 mPopup.dismiss();
3981 mPopup = null;
3996 if (mPopup == null) {
4002 mPopup = new ErrorPopup(err, (int) (200 * scale + 0.5f), (int) (50 * scale + 0.5f));
4003 mPopup.setFocusable(false);
4006 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED);
4009 TextView tv = (TextView) mPopup
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPopupHelper.java52 private ListPopupWindow mPopup; field in class:MenuPopupHelper
106 mPopup = new ListPopupWindow(mContext, null, com.android.internal.R.attr.popupMenuStyle);
107 mPopup.setOnDismissListener(this);
108 mPopup.setOnItemClickListener(this);
111 mPopup.setAdapter(mAdapter);
112 mPopup.setModal(true);
120 mPopup.setAnchorView(anchor);
125 mPopup.setContentWidth(Math.min(measureContentWidth(mAdapter), mPopupMaxWidth));
126 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED);
127 mPopup
[all...]
H A DActionMenuPresenter.java649 private OverflowPopup mPopup; field in class:ActionMenuPresenter.OpenOverflowRunnable
652 mPopup = popup;
658 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) {
659 mOverflowPopup = mPopup;

Completed in 206 milliseconds