Home
last modified time | relevance | path

Searched refs:mPopup (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java105 private ListPopupWindow mPopup; field in AutoCompleteTextView
139 mPopup = new ListPopupWindow(context, attrs, in AutoCompleteTextView()
141 mPopup.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); in AutoCompleteTextView()
142 mPopup.setPromptPosition(ListPopupWindow.POSITION_PROMPT_BELOW); in AutoCompleteTextView()
151 mPopup.setListSelector(a.getDrawable(R.styleable.AutoCompleteTextView_dropDownSelector)); in AutoCompleteTextView()
152 mPopup.setVerticalOffset((int) in AutoCompleteTextView()
154 mPopup.setHorizontalOffset((int) in AutoCompleteTextView()
166 mPopup.setWidth(a.getLayoutDimension( in AutoCompleteTextView()
169 mPopup.setHeight(a.getLayoutDimension( in AutoCompleteTextView()
176 mPopup.setOnItemClickListener(new DropDownItemClickListener()); in AutoCompleteTextView()
[all …]
DListPopupWindow.java60 private PopupWindow mPopup; field in ListPopupWindow
199 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes); in ListPopupWindow()
200 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow()
262 mPopup.setFocusable(modal); in setModal()
320 mPopup.setSoftInputMode(mode); in setSoftInputMode()
330 return mPopup.getSoftInputMode(); in getSoftInputMode()
346 return mPopup.getBackground(); in getBackground()
355 mPopup.setBackgroundDrawable(d); in setBackgroundDrawable()
364 mPopup.setAnimationStyle(animationStyle); in setAnimationStyle()
374 return mPopup.getAnimationStyle(); in getAnimationStyle()
[all …]
DSpinner.java78 private SpinnerPopup mPopup; field in Spinner
169 mPopup = new DialogPopup(); in Spinner()
193 mPopup = popup; in Spinner()
200 mPopup.setPromptText(a.getString(com.android.internal.R.styleable.Spinner_prompt)); in Spinner()
210 mPopup.setAdapter(mTempAdapter); in Spinner()
224 if (!(mPopup instanceof DropdownPopup)) { in setPopupBackgroundDrawable()
228 ((DropdownPopup) mPopup).setBackgroundDrawable(background); in setPopupBackgroundDrawable()
252 return mPopup.getBackground(); in getPopupBackground()
264 mPopup.setVerticalOffset(pixels); in setDropDownVerticalOffset()
276 return mPopup.getVerticalOffset(); in getDropDownVerticalOffset()
[all …]
DPopupMenu.java40 private MenuPopupHelper mPopup; field in PopupMenu
69 mPopup = new MenuPopupHelper(context, mMenu, anchor); in PopupMenu()
70 mPopup.setCallback(this); in PopupMenu()
108 mPopup.show(); in show()
116 mPopup.dismiss(); in dismiss()
DAbsListView.java444 PopupWindow mPopup; field in AbsListView
1778 if (mPopup == null) { in setFilterText()
2012 if (mFiltered && visible && mPopup != null && mPopup.isShowing()) { in setFrame()
2574 if (mTextFilterEnabled && mPopup != null && !mGlobalLayoutListenerAddedFilter) { in onAttachedToWindow()
2602 if (mTextFilterEnabled && mPopup != null) { in onDetachedFromWindow()
5365 if (mPopup != null && mPopup.isShowing()) { in onDisplayHint()
5370 if (mFiltered && mPopup != null && !mPopup.isShowing()) { in onDisplayHint()
5382 if (mPopup != null) { in dismissPopup()
5383 mPopup.dismiss(); in dismissPopup()
5407 if (!mPopup.isShowing()) { in positionPopup()
[all …]
DGridView.java1586 if (mPopup == null || !mPopup.isShowing()) { in commonKey()
DListView.java2189 if (mPopup == null || !mPopup.isShowing()) { in commonKey()
/frameworks/base/core/java/android/webkit/
DAutoCompletePopup.java46 private ListPopupWindow mPopup; field in AutoCompletePopup
71 if (mPopup == null) { in onKeyPreIme()
74 if (keyCode == KeyEvent.KEYCODE_BACK && mPopup.isShowing()) { in onKeyPreIme()
89 mPopup.dismiss(); in onKeyPreIme()
94 if (mPopup.isShowing()) { in onKeyPreIme()
95 return mPopup.onKeyPreIme(keyCode, event); in onKeyPreIme()
114 if (mPopup != null) { in clearAdapter()
115 mPopup.dismiss(); in clearAdapter()
116 mPopup.setAdapter(null); in clearAdapter()
122 mPopup.setAdapter(adapter); in setAdapter()
[all …]
/frameworks/opt/mailcommon/java/com/android/mailcommon/
DMultiAdapterSpinner.java59 protected ListPopupWindow mPopup; field in MultiAdapterSpinner
101 mPopup = new ListPopupWindow(context, attrs); in MultiAdapterSpinner()
102 mPopup.setAnchorView(this); in MultiAdapterSpinner()
103 mPopup.setOnItemClickListener(this); in MultiAdapterSpinner()
104 mPopup.setModal(true); in MultiAdapterSpinner()
105 mPopup.setAdapter(mAdapter); in MultiAdapterSpinner()
142 if (!mPopup.isShowing()) { in onClick()
149 final Drawable background = mPopup.getBackground(); in onClick()
155 mPopup.setHorizontalOffset(bgOffset + spinnerPaddingLeft); in onClick()
156 mPopup.show(); in onClick()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java52 private ListPopupWindow mPopup; field in MenuPopupHelper
106 mPopup = new ListPopupWindow(mContext, null, com.android.internal.R.attr.popupMenuStyle); in tryShow()
107 mPopup.setOnDismissListener(this); in tryShow()
108 mPopup.setOnItemClickListener(this); in tryShow()
111 mPopup.setAdapter(mAdapter); in tryShow()
112 mPopup.setModal(true); in tryShow()
120 mPopup.setAnchorView(anchor); in tryShow()
125 mPopup.setContentWidth(Math.min(measureContentWidth(mAdapter), mPopupMaxWidth)); in tryShow()
126 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in tryShow()
127 mPopup.show(); in tryShow()
[all …]
DActionMenuPresenter.java663 private OverflowPopup mPopup; field in ActionMenuPresenter.OpenOverflowRunnable
666 mPopup = popup; in OpenOverflowRunnable()
672 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run()
673 mOverflowPopup = mPopup; in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java72 private PopupMenu mPopup; field in RecentsPanelView
348 if (mPopup != null) { in showImpl()
349 mPopup.dismiss(); in showImpl()
739 if (mPopup != null) { in onInterceptTouchEvent()
751 mPopup = popup; in handleLongPress()
775 mPopup = null; in handleLongPress()