Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java111 private final ListPopupWindow mPopup; field in AutoCompleteTextView
274 mPopup = new ListPopupWindow(mPopupContext, attrs, defStyleAttr, defStyleRes); in AutoCompleteTextView()
275 mPopup.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); in AutoCompleteTextView()
276 mPopup.setPromptPosition(ListPopupWindow.POSITION_PROMPT_BELOW); in AutoCompleteTextView()
277 mPopup.setListSelector(popupListSelector); in AutoCompleteTextView()
278 mPopup.setOnItemClickListener(new DropDownItemClickListener()); in AutoCompleteTextView()
283 mPopup.setWidth(popupWidth); in AutoCompleteTextView()
284 mPopup.setHeight(popupHeight); in AutoCompleteTextView()
354 mPopup.setPromptView(hintView); in setCompletionHint()
359 mPopup.setPromptView(null); in setCompletionHint()
[all …]
DListPopupWindow.java121 PopupWindow mPopup; field in ListPopupWindow
237 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes); in ListPopupWindow()
238 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow()
297 mPopup.setFocusable(modal); in setModal()
358 mPopup.setSoftInputMode(mode); in setSoftInputMode()
368 return mPopup.getSoftInputMode(); in getSoftInputMode()
384 return mPopup.getBackground(); in getBackground()
393 mPopup.setBackgroundDrawable(d); in setBackgroundDrawable()
402 mPopup.setAnimationStyle(animationStyle); in setAnimationStyle()
412 return mPopup.getAnimationStyle(); in getAnimationStyle()
[all …]
DPopupMenu.java48 private final MenuPopupHelper mPopup; field in PopupMenu
118 mPopup = new MenuPopupHelper(context, mMenu, anchor, false, popupStyleAttr, popupStyleRes); in PopupMenu()
119 mPopup.setGravity(gravity); in PopupMenu()
120 mPopup.setOnDismissListener(new PopupWindow.OnDismissListener() { in PopupMenu()
140 mPopup.setGravity(gravity); in setGravity()
148 return mPopup.getGravity(); in getGravity()
185 return mPopup.getPopup(); in getDragToOpenListener()
230 mPopup.show(); in show()
239 mPopup.dismiss(); in dismiss()
271 mPopup.setForceShowIcon(forceShowIcon); in setForceShowIcon()
[all …]
DSpinner.java105 private SpinnerPopup mPopup; field in Spinner
270 mPopup = new DialogPopup(); in Spinner()
271 mPopup.setPromptText(a.getString(R.styleable.Spinner_prompt)); in Spinner()
290 mPopup = popup; in Spinner()
299 if (!mPopup.isShowing()) { in Spinner()
300 mPopup.show(getTextDirection(), getTextAlignment()); in Spinner()
339 if (!(mPopup instanceof DropdownPopup)) { in setPopupBackgroundDrawable()
343 mPopup.setBackgroundDrawable(background); in setPopupBackgroundDrawable()
368 return mPopup.getBackground(); in getPopupBackground()
376 return (mPopup != null) && mPopup.isShowing(); in isPopupShowing()
[all …]
DMenuPopupWindow.java57 mPopup.setEnterTransition(enterTransition); in setEnterTransition()
61 mPopup.setExitTransition(exitTransition); in setExitTransition()
73 mPopup.setTouchModal(touchModal); in setTouchModal()
DAbsListView.java495 PopupWindow mPopup; field in AbsListView
1988 if (mPopup == null) { in setFilterText()
2225 if (mFiltered && visible && mPopup != null && mPopup.isShowing()) { in setFrame()
2993 if (mTextFilterEnabled && mPopup != null && !mGlobalLayoutListenerAddedFilter) { in onAttachedToWindow()
3022 if (mTextFilterEnabled && mPopup != null) { in onDetachedFromWindow()
5753 if (mPopup != null && mPopup.isShowing()) { in onDisplayHint()
5758 if (mFiltered && mPopup != null && !mPopup.isShowing()) { in onDisplayHint()
5770 if (mPopup != null) { in dismissPopup()
5771 mPopup.dismiss(); in dismissPopup()
5795 if (!mPopup.isShowing()) { in positionPopup()
[all …]
DActionMenuPresenter.java1003 private OverflowPopup mPopup; field in ActionMenuPresenter.OpenOverflowRunnable
1006 mPopup = popup; in OpenOverflowRunnable()
1014 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run()
1015 mOverflowPopup = mPopup; in run()
/frameworks/base/core/java/com/android/internal/view/menu/
DStandardMenuPopup.java58 private final MenuPopupWindow mPopup; field in StandardMenuPopup
66 if (isShowing() && !mPopup.isModal()) {
72 mPopup.show();
130 mPopup = new MenuPopupWindow(mContext, null, mPopupStyleAttr, mPopupStyleRes); in StandardMenuPopup()
157 mPopup.setOnDismissListener(this); in tryShow()
158 mPopup.setOnItemClickListener(this); in tryShow()
159 mPopup.setAdapter(mAdapter); in tryShow()
160 mPopup.setModal(true); in tryShow()
169 mPopup.setAnchorView(anchor); in tryShow()
170 mPopup.setDropDownGravity(mDropDownGravity); in tryShow()
[all …]
DMenuPopupHelper.java56 private MenuPopup mPopup; field in MenuPopupHelper
118 if (mPopup != null) { in setForceShowIcon()
119 mPopup.setForceShowIcon(forceShowIcon); in setForceShowIcon()
158 if (mPopup == null) { in getPopup()
159 mPopup = createPopup(); in getPopup()
161 return mPopup; in getPopup()
298 mPopup.dismiss(); in dismiss()
311 mPopup = null; in onDismiss()
319 return mPopup != null && mPopup.isShowing(); in isShowing()
325 if (mPopup != null) { in setPresenterCallback()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java90 private final FloatingToolbarPopup mPopup; field in FloatingToolbar
114 if (mPopup.isShowing() && !mNewRect.equals(mOldRect)) {
159 mPopup = new FloatingToolbarPopup(mContext, window.getDecorView()); in FloatingToolbar()
226 if (mPopup.isShowing()) { in updateLayout()
237 mPopup.dismiss(); in dismiss()
245 mPopup.hide(); in hide()
252 return mPopup.isShowing(); in isShowing()
259 return mPopup.isHidden(); in isHidden()
272 if (mPopup.setOutsideTouchable(outsideTouchable, onDismiss) && isShowing()) { in setOutsideTouchable()
282 mPopup.dismiss(); in doShow()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt80410 Landroid/widget/ActionMenuPresenter$OpenOverflowRunnable;->mPopup:Landroid/widget/ActionMenuPresent…
84345 Landroid/widget/Spinner$DialogPopup;->mPopup:Landroid/app/AlertDialog;
100614 Lcom/android/internal/view/menu/MenuPopupHelper;->mPopup:Lcom/android/internal/view/menu/MenuPopup;