Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java104 private ListPopupWindow mPopup; field in AutoCompleteTextView
143 mPopup = new ListPopupWindow(context, attrs, defStyleAttr, defStyleRes); in AutoCompleteTextView()
144 mPopup.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); in AutoCompleteTextView()
145 mPopup.setPromptPosition(ListPopupWindow.POSITION_PROMPT_BELOW); in AutoCompleteTextView()
152 mPopup.setListSelector(a.getDrawable(R.styleable.AutoCompleteTextView_dropDownSelector)); in AutoCompleteTextView()
163 mPopup.setWidth(a.getLayoutDimension(R.styleable.AutoCompleteTextView_dropDownWidth, in AutoCompleteTextView()
165 mPopup.setHeight(a.getLayoutDimension(R.styleable.AutoCompleteTextView_dropDownHeight, in AutoCompleteTextView()
171 mPopup.setOnItemClickListener(new DropDownItemClickListener()); in AutoCompleteTextView()
228 mPopup.setPromptView(hintView); in setCompletionHint()
233 mPopup.setPromptView(null); in setCompletionHint()
[all …]
DSpinner.java86 private SpinnerPopup mPopup; field in Spinner
200 mPopup = new DialogPopup(); in Spinner()
213 mPopup = popup; in Spinner()
222 if (!mPopup.isShowing()) { in Spinner()
223 mPopup.show(getTextDirection(), getTextAlignment()); in Spinner()
234 mPopup.setPromptText(a.getString(com.android.internal.R.styleable.Spinner_prompt)); in Spinner()
244 mPopup.setAdapter(mTempAdapter); in Spinner()
258 if (!(mPopup instanceof DropdownPopup)) { in setPopupBackgroundDrawable()
262 ((DropdownPopup) mPopup).setBackgroundDrawable(background); in setPopupBackgroundDrawable()
286 return mPopup.getBackground(); in getPopupBackground()
[all …]
DListPopupWindow.java72 private PopupWindow mPopup; field in ListPopupWindow
225 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes); in ListPopupWindow()
226 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow()
288 mPopup.setFocusable(modal); in setModal()
346 mPopup.setSoftInputMode(mode); in setSoftInputMode()
356 return mPopup.getSoftInputMode(); in getSoftInputMode()
372 return mPopup.getBackground(); in getBackground()
381 mPopup.setBackgroundDrawable(d); in setBackgroundDrawable()
390 mPopup.setAnimationStyle(animationStyle); in setAnimationStyle()
400 return mPopup.getAnimationStyle(); in getAnimationStyle()
[all …]
DPopupMenu.java43 private MenuPopupHelper mPopup; field in PopupMenu
85 mPopup = new MenuPopupHelper(context, mMenu, anchor); in PopupMenu()
86 mPopup.setGravity(gravity); in PopupMenu()
87 mPopup.setCallback(this); in PopupMenu()
124 return mPopup.getPopup(); in getDragToOpenListener()
167 mPopup.show(); in show()
175 mPopup.dismiss(); in dismiss()
DAbsListView.java461 PopupWindow mPopup; field in AbsListView
1934 if (mPopup == null) { in setFilterText()
2171 if (mFiltered && visible && mPopup != null && mPopup.isShowing()) { in setFrame()
2841 if (mTextFilterEnabled && mPopup != null && !mGlobalLayoutListenerAddedFilter) { in onAttachedToWindow()
2870 if (mTextFilterEnabled && mPopup != null) { in onDetachedFromWindow()
5403 if (mPopup != null && mPopup.isShowing()) { in onDisplayHint()
5408 if (mFiltered && mPopup != null && !mPopup.isShowing()) { in onDisplayHint()
5420 if (mPopup != null) { in dismissPopup()
5421 mPopup.dismiss(); in dismissPopup()
5445 if (!mPopup.isShowing()) { in positionPopup()
[all …]
DActionMenuPresenter.java750 private OverflowPopup mPopup; field in ActionMenuPresenter.OpenOverflowRunnable
753 mPopup = popup; in OpenOverflowRunnable()
759 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run()
760 mOverflowPopup = mPopup; in run()
DGridView.java1682 if (mPopup == null || !mPopup.isShowing()) { in commonKey()
DListView.java2231 if (mPopup == null || !mPopup.isShowing()) { in commonKey()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DSpinnerCompat.java79 private SpinnerPopup mPopup; field in SpinnerCompat
175 mPopup = new DialogPopup(); in SpinnerCompat()
188 mPopup = popup; in SpinnerCompat()
197 if (!mPopup.isShowing()) { in SpinnerCompat()
198 mPopup.show(); in SpinnerCompat()
209 mPopup.setPromptText(a.getString(R.styleable.Spinner_prompt)); in SpinnerCompat()
219 mPopup.setAdapter(mTempAdapter); in SpinnerCompat()
234 if (!(mPopup instanceof DropdownPopup)) { in setPopupBackgroundDrawable()
238 ((DropdownPopup) mPopup).setBackgroundDrawable(background); in setPopupBackgroundDrawable()
258 return mPopup.getBackground(); in getPopupBackground()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuPopupHelper.java62 private ListPopupWindow mPopup; field in MenuPopupHelper
124 return mPopup; in getPopup()
128 mPopup = new ListPopupWindow(mContext, null, mPopupStyleAttr); in tryShow()
129 mPopup.setOnDismissListener(this); in tryShow()
130 mPopup.setOnItemClickListener(this); in tryShow()
131 mPopup.setAdapter(mAdapter); in tryShow()
132 mPopup.setModal(true); in tryShow()
139 mPopup.setAnchorView(anchor); in tryShow()
140 mPopup.setDropDownGravity(mDropDownGravity); in tryShow()
150 mPopup.setContentWidth(mContentWidth); in tryShow()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListPopupWindow.java88 private PopupWindow mPopup; field in ListPopupWindow
228 mPopup = new AppCompatPopupWindow(context, attrs, defStyleAttr); in ListPopupWindow()
229 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow()
292 mPopup.setFocusable(modal); in setModal()
350 mPopup.setSoftInputMode(mode); in setSoftInputMode()
360 return mPopup.getSoftInputMode(); in getSoftInputMode()
376 return mPopup.getBackground(); in getBackground()
385 mPopup.setBackgroundDrawable(d); in setBackgroundDrawable()
394 mPopup.setAnimationStyle(animationStyle); in setAnimationStyle()
403 return mPopup.getAnimationStyle(); in getAnimationStyle()
[all …]
DPopupMenu.java44 private MenuPopupHelper mPopup; field in PopupMenu
86 mPopup = new MenuPopupHelper(context, mMenu, anchor); in PopupMenu()
87 mPopup.setGravity(gravity); in PopupMenu()
88 mPopup.setCallback(this); in PopupMenu()
125 return mPopup.getPopup(); in getDragToOpenListener()
168 mPopup.show(); in show()
176 mPopup.dismiss(); in dismiss()
DActionMenuPresenter.java743 private OverflowPopup mPopup; field in ActionMenuPresenter.OpenOverflowRunnable
746 mPopup = popup; in OpenOverflowRunnable()
752 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run()
753 mOverflowPopup = mPopup; in run()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java59 private ListPopupWindow mPopup; field in MenuPopupHelper
121 return mPopup; in getPopup()
125 mPopup = new ListPopupWindow(mContext, null, mPopupStyleAttr); in tryShow()
126 mPopup.setOnDismissListener(this); in tryShow()
127 mPopup.setOnItemClickListener(this); in tryShow()
128 mPopup.setAdapter(mAdapter); in tryShow()
129 mPopup.setModal(true); in tryShow()
137 mPopup.setAnchorView(anchor); in tryShow()
138 mPopup.setDropDownGravity(mDropDownGravity); in tryShow()
148 mPopup.setContentWidth(mContentWidth); in tryShow()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java75 private PopupMenu mPopup; field in RecentsPanelView
352 if (mPopup != null) { in showImpl()
353 mPopup.dismiss(); in showImpl()
750 if (mPopup != null) { in onInterceptTouchEvent()
762 mPopup = popup; in handleLongPress()
786 mPopup = null; in handleLongPress()