Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java114 private final ListPopupWindow mPopup; field in AutoCompleteTextView
285 mPopup = new ListPopupWindow(mPopupContext, attrs, defStyleAttr, defStyleRes); in AutoCompleteTextView()
286 mPopup.setOnDismissListener(() -> { in AutoCompleteTextView()
289 mPopup.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); in AutoCompleteTextView()
290 mPopup.setPromptPosition(ListPopupWindow.POSITION_PROMPT_BELOW); in AutoCompleteTextView()
291 mPopup.setListSelector(popupListSelector); in AutoCompleteTextView()
292 mPopup.setOnItemClickListener(new DropDownItemClickListener()); in AutoCompleteTextView()
297 mPopup.setWidth(popupWidth); in AutoCompleteTextView()
298 mPopup.setHeight(popupHeight); in AutoCompleteTextView()
368 mPopup.setPromptView(hintView); in setCompletionHint()
[all …]
DListPopupWindow.java124 PopupWindow mPopup; field in ListPopupWindow
240 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes); in ListPopupWindow()
241 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow()
300 mPopup.setFocusable(modal); in setModal()
361 mPopup.setSoftInputMode(mode); in setSoftInputMode()
371 return mPopup.getSoftInputMode(); in getSoftInputMode()
387 return mPopup.getBackground(); in getBackground()
396 mPopup.setBackgroundDrawable(d); in setBackgroundDrawable()
405 mPopup.setAnimationStyle(animationStyle); in setAnimationStyle()
415 return mPopup.getAnimationStyle(); in getAnimationStyle()
[all …]
DPopupMenu.java49 private final MenuPopupHelper mPopup; field in PopupMenu
119 mPopup = new MenuPopupHelper(context, mMenu, anchor, false, popupStyleAttr, popupStyleRes); in PopupMenu()
120 mPopup.setGravity(gravity); in PopupMenu()
121 mPopup.setOnDismissListener(new PopupWindow.OnDismissListener() { in PopupMenu()
141 mPopup.setGravity(gravity); in setGravity()
149 return mPopup.getGravity(); in getGravity()
186 return mPopup.getPopup(); in getDragToOpenListener()
231 mPopup.show(); in show()
240 mPopup.dismiss(); in dismiss()
272 mPopup.setForceShowIcon(forceShowIcon); in setForceShowIcon()
[all …]
DSpinner.java110 private SpinnerPopup mPopup; field in Spinner
275 mPopup = new DialogPopup(); in Spinner()
276 mPopup.setPromptText(a.getString(R.styleable.Spinner_prompt)); in Spinner()
295 mPopup = popup; in Spinner()
304 if (!mPopup.isShowing()) { in Spinner()
305 mPopup.show(getTextDirection(), getTextAlignment()); in Spinner()
344 if (!(mPopup instanceof DropdownPopup)) { in setPopupBackgroundDrawable()
348 mPopup.setBackgroundDrawable(background); in setPopupBackgroundDrawable()
373 return mPopup.getBackground(); in getPopupBackground()
381 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.java515 PopupWindow mPopup; field in AbsListView
2057 if (mPopup == null) { in setFilterText()
2294 if (mFiltered && visible && mPopup != null && mPopup.isShowing()) { in setFrame()
3081 if (mTextFilterEnabled && mPopup != null && !mGlobalLayoutListenerAddedFilter) { in onAttachedToWindow()
3110 if (mTextFilterEnabled && mPopup != null) { in onDetachedFromWindow()
6048 if (mPopup != null && mPopup.isShowing()) { in onDisplayHint()
6053 if (mFiltered && mPopup != null && !mPopup.isShowing()) { in onDisplayHint()
6065 if (mPopup != null) { in dismissPopup()
6066 mPopup.dismiss(); in dismissPopup()
6090 if (!mPopup.isShowing()) { in positionPopup()
[all …]
DActionMenuPresenter.java1004 private OverflowPopup mPopup; field in ActionMenuPresenter.OpenOverflowRunnable
1007 mPopup = popup; in OpenOverflowRunnable()
1015 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run()
1016 mOverflowPopup = mPopup; in run()
/frameworks/base/core/java/com/android/internal/view/menu/
DStandardMenuPopup.java64 private final MenuPopupWindow mPopup; field in StandardMenuPopup
72 if (isShowing() && !mPopup.isModal()) {
78 mPopup.show();
142 mPopup = new MenuPopupWindow(mContext, null, mPopupStyleAttr, mPopupStyleRes); in StandardMenuPopup()
169 mPopup.setOnDismissListener(this); in tryShow()
170 mPopup.setOnItemClickListener(this); in tryShow()
171 mPopup.setAdapter(mAdapter); in tryShow()
172 mPopup.setModal(true); in tryShow()
181 mPopup.setAnchorView(anchor); in tryShow()
182 mPopup.setDropDownGravity(mDropDownGravity); in tryShow()
[all …]
DMenuPopupHelper.java55 private MenuPopup mPopup; field in MenuPopupHelper
117 if (mPopup != null) { in setForceShowIcon()
118 mPopup.setForceShowIcon(forceShowIcon); in setForceShowIcon()
157 if (mPopup == null) { in getPopup()
158 mPopup = createPopup(); in getPopup()
160 return mPopup; in getPopup()
294 mPopup.dismiss(); in dismiss()
307 mPopup = null; in onDismiss()
315 return mPopup != null && mPopup.isShowing(); in isShowing()
321 if (mPopup != null) { in setPresenterCallback()
[all …]
/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/
DFloatingToolbar.java50 private final FloatingToolbarPopup mPopup; field in FloatingToolbar
69 if (mPopup.isShowing() && !mNewRect.equals(mOldRect)) {
70 mPopup.setWidthChanged(true);
113 mPopup = FloatingToolbarPopup.createInstance(window.getContext(), window.getDecorView()); in FloatingToolbar()
158 mPopup.setSuggestedWidth(suggestedWidth); in setSuggestedWidth()
176 if (mPopup.isShowing()) { in updateLayout()
187 mPopup.dismiss(); in dismiss()
195 mPopup.hide(); in hide()
202 return mPopup.isShowing(); in isShowing()
209 return mPopup.isHidden(); in isHidden()
[all …]
DLocalFloatingToolbarPopup.java1317 private final LocalFloatingToolbarPopup mPopup; field in LocalFloatingToolbarPopup.OverflowPanel
1321 this.mPopup = popup; in OverflowPanel()
1330 int height = mPopup.mOverflowPanelSize.getHeight() in onMeasure()
1331 - mPopup.mOverflowButtonSize.getHeight(); in onMeasure()
1338 if (mPopup.isOverflowAnimating()) { in dispatchTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java979 private KeyguardUserSwitcherPopupMenu mPopup; field in KeyguardSecurityContainer.UserSwitcherViewMode
1015 if (mPopup != null) { in reset()
1016 mPopup.dismiss(); in reset()
1017 mPopup = null; in reset()
1194 mPopup = new KeyguardUserSwitcherPopupMenu(mView.getContext(), mFalsingManager); in setupUserSwitcher()
1195 mPopup.setAnchorView(anchor); in setupUserSwitcher()
1196 mPopup.setAdapter(adapter); in setupUserSwitcher()
1197 mPopup.setOnItemClickListener((parent, view, pos, id) -> { in setupUserSwitcher()
1200 if (mPopup == null) return; in setupUserSwitcher()
1209 mPopup.dismiss(); in setupUserSwitcher()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt65338 Landroid/widget/ActionMenuPresenter$OpenOverflowRunnable;->mPopup:Landroid/widget/ActionMenuPresent…
69273 Landroid/widget/Spinner$DialogPopup;->mPopup:Landroid/app/AlertDialog;
85538 Lcom/android/internal/view/menu/MenuPopupHelper;->mPopup:Lcom/android/internal/view/menu/MenuPopup;