/frameworks/base/core/java/android/widget/ |
D | AutoCompleteTextView.java | 104 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 …]
|
D | Spinner.java | 86 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 …]
|
D | ListPopupWindow.java | 72 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 …]
|
D | PopupMenu.java | 44 private final MenuPopupHelper mPopup; field in PopupMenu 112 mPopup = new MenuPopupHelper(context, mMenu, anchor, false, popupStyleAttr, popupStyleRes); in PopupMenu() 113 mPopup.setGravity(gravity); in PopupMenu() 114 mPopup.setCallback(this); in PopupMenu() 151 return mPopup.getPopup(); in getDragToOpenListener() 194 mPopup.show(); in show() 202 mPopup.dismiss(); in dismiss()
|
D | AbsListView.java | 462 PopupWindow mPopup; field in AbsListView 1937 if (mPopup == null) { in setFilterText() 2174 if (mFiltered && visible && mPopup != null && mPopup.isShowing()) { in setFrame() 2850 if (mTextFilterEnabled && mPopup != null && !mGlobalLayoutListenerAddedFilter) { in onAttachedToWindow() 2879 if (mTextFilterEnabled && mPopup != null) { in onDetachedFromWindow() 5426 if (mPopup != null && mPopup.isShowing()) { in onDisplayHint() 5431 if (mFiltered && mPopup != null && !mPopup.isShowing()) { in onDisplayHint() 5443 if (mPopup != null) { in dismissPopup() 5444 mPopup.dismiss(); in dismissPopup() 5468 if (!mPopup.isShowing()) { in positionPopup() [all …]
|
D | ActionMenuPresenter.java | 754 private OverflowPopup mPopup; field in ActionMenuPresenter.OpenOverflowRunnable 757 mPopup = popup; in OpenOverflowRunnable() 763 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run() 764 mOverflowPopup = mPopup; in run()
|
D | GridView.java | 1682 if (mPopup == null || !mPopup.isShowing()) { in commonKey()
|
D | ListView.java | 2231 if (mPopup == null || !mPopup.isShowing()) { in commonKey()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | SpinnerCompat.java | 79 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/widget/ |
D | ListPopupWindow.java | 88 private PopupWindow mPopup; field in ListPopupWindow 241 mPopup = new AppCompatPopupWindow(context, attrs, defStyleAttr); in ListPopupWindow() 242 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow() 305 mPopup.setFocusable(modal); in setModal() 363 mPopup.setSoftInputMode(mode); in setSoftInputMode() 373 return mPopup.getSoftInputMode(); in getSoftInputMode() 389 return mPopup.getBackground(); in getBackground() 398 mPopup.setBackgroundDrawable(d); in setBackgroundDrawable() 407 mPopup.setAnimationStyle(animationStyle); in setAnimationStyle() 416 return mPopup.getAnimationStyle(); in getAnimationStyle() [all …]
|
D | PopupMenu.java | 45 private MenuPopupHelper mPopup; field in PopupMenu 111 mPopup = new MenuPopupHelper(context, mMenu, anchor, false, popupStyleAttr, popupStyleRes); in PopupMenu() 112 mPopup.setGravity(gravity); in PopupMenu() 113 mPopup.setCallback(this); in PopupMenu() 150 return mPopup.getPopup(); in getDragToOpenListener() 193 mPopup.show(); in show() 201 mPopup.dismiss(); in dismiss()
|
D | ActionMenuPresenter.java | 743 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/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | MenuPopupHelper.java | 63 private ListPopupWindow mPopup; field in MenuPopupHelper 131 return mPopup; in getPopup() 135 mPopup = new ListPopupWindow(mContext, null, mPopupStyleAttr, mPopupStyleRes); in tryShow() 136 mPopup.setOnDismissListener(this); in tryShow() 137 mPopup.setOnItemClickListener(this); in tryShow() 138 mPopup.setAdapter(mAdapter); in tryShow() 139 mPopup.setModal(true); in tryShow() 146 mPopup.setAnchorView(anchor); in tryShow() 147 mPopup.setDropDownGravity(mDropDownGravity); in tryShow() 157 mPopup.setContentWidth(mContentWidth); in tryShow() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPopupHelper.java | 60 private ListPopupWindow mPopup; field in MenuPopupHelper 128 return mPopup; in getPopup() 132 mPopup = new ListPopupWindow(mContext, null, mPopupStyleAttr, mPopupStyleRes); in tryShow() 133 mPopup.setOnDismissListener(this); in tryShow() 134 mPopup.setOnItemClickListener(this); in tryShow() 135 mPopup.setAdapter(mAdapter); in tryShow() 136 mPopup.setModal(true); in tryShow() 144 mPopup.setAnchorView(anchor); in tryShow() 145 mPopup.setDropDownGravity(mDropDownGravity); in tryShow() 155 mPopup.setContentWidth(mContentWidth); in tryShow() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentsPanelView.java | 75 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()
|