/frameworks/base/core/java/android/widget/ |
D | AutoCompleteTextView.java | 103 private final ListPopupWindow mPopup; field in AutoCompleteTextView 259 mPopup = new ListPopupWindow(mPopupContext, attrs, defStyleAttr, defStyleRes); in AutoCompleteTextView() 260 mPopup.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); in AutoCompleteTextView() 261 mPopup.setPromptPosition(ListPopupWindow.POSITION_PROMPT_BELOW); in AutoCompleteTextView() 262 mPopup.setListSelector(popupListSelector); in AutoCompleteTextView() 263 mPopup.setOnItemClickListener(new DropDownItemClickListener()); in AutoCompleteTextView() 268 mPopup.setWidth(popupWidth); in AutoCompleteTextView() 269 mPopup.setHeight(popupHeight); in AutoCompleteTextView() 338 mPopup.setPromptView(hintView); in setCompletionHint() 343 mPopup.setPromptView(null); in setCompletionHint() [all …]
|
D | ListPopupWindow.java | 115 PopupWindow mPopup; field in ListPopupWindow 231 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes); in ListPopupWindow() 232 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow() 291 mPopup.setFocusable(modal); in setModal() 349 mPopup.setSoftInputMode(mode); in setSoftInputMode() 359 return mPopup.getSoftInputMode(); in getSoftInputMode() 375 return mPopup.getBackground(); in getBackground() 384 mPopup.setBackgroundDrawable(d); in setBackgroundDrawable() 393 mPopup.setAnimationStyle(animationStyle); in setAnimationStyle() 403 return mPopup.getAnimationStyle(); in getAnimationStyle() [all …]
|
D | Spinner.java | 99 private SpinnerPopup mPopup; field in Spinner 262 mPopup = new DialogPopup(); in Spinner() 263 mPopup.setPromptText(a.getString(R.styleable.Spinner_prompt)); in Spinner() 282 mPopup = popup; in Spinner() 291 if (!mPopup.isShowing()) { in Spinner() 292 mPopup.show(getTextDirection(), getTextAlignment()); in Spinner() 331 if (!(mPopup instanceof DropdownPopup)) { in setPopupBackgroundDrawable() 335 mPopup.setBackgroundDrawable(background); in setPopupBackgroundDrawable() 359 return mPopup.getBackground(); in getPopupBackground() 371 mPopup.setVerticalOffset(pixels); in setDropDownVerticalOffset() [all …]
|
D | PopupMenu.java | 44 private final MenuPopupHelper mPopup; field in PopupMenu 114 mPopup = new MenuPopupHelper(context, mMenu, anchor, false, popupStyleAttr, popupStyleRes); in PopupMenu() 115 mPopup.setGravity(gravity); in PopupMenu() 116 mPopup.setOnDismissListener(new PopupWindow.OnDismissListener() { in PopupMenu() 136 mPopup.setGravity(gravity); in setGravity() 144 return mPopup.getGravity(); in getGravity() 181 return mPopup.getPopup(); in getDragToOpenListener() 226 mPopup.show(); in show() 235 mPopup.dismiss(); in dismiss()
|
D | MenuPopupWindow.java | 57 mPopup.setEnterTransition(enterTransition); in setEnterTransition() 61 mPopup.setExitTransition(exitTransition); in setExitTransition() 73 mPopup.setTouchModal(touchModal); in setTouchModal()
|
D | AbsListView.java | 469 PopupWindow mPopup; field in AbsListView 1956 if (mPopup == null) { in setFilterText() 2193 if (mFiltered && visible && mPopup != null && mPopup.isShowing()) { in setFrame() 2928 if (mTextFilterEnabled && mPopup != null && !mGlobalLayoutListenerAddedFilter) { in onAttachedToWindow() 2957 if (mTextFilterEnabled && mPopup != null) { in onDetachedFromWindow() 5638 if (mPopup != null && mPopup.isShowing()) { in onDisplayHint() 5643 if (mFiltered && mPopup != null && !mPopup.isShowing()) { in onDisplayHint() 5655 if (mPopup != null) { in dismissPopup() 5656 mPopup.dismiss(); in dismissPopup() 5680 if (!mPopup.isShowing()) { in positionPopup() [all …]
|
D | ActionMenuPresenter.java | 997 private OverflowPopup mPopup; field in ActionMenuPresenter.OpenOverflowRunnable 1000 mPopup = popup; in OpenOverflowRunnable() 1008 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run() 1009 mOverflowPopup = mPopup; in run()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | StandardMenuPopup.java | 56 final MenuPopupWindow mPopup; field in StandardMenuPopup 64 if (isShowing() && !mPopup.isModal()) { 70 mPopup.show(); 112 mPopup = new MenuPopupWindow(mContext, null, mPopupStyleAttr, mPopupStyleRes); in StandardMenuPopup() 139 mPopup.setOnDismissListener(this); in tryShow() 140 mPopup.setOnItemClickListener(this); in tryShow() 141 mPopup.setModal(true); in tryShow() 149 mPopup.setAnchorView(anchor); in tryShow() 150 mPopup.setDropDownGravity(mDropDownGravity); in tryShow() 157 mPopup.setContentWidth(mContentWidth); in tryShow() [all …]
|
D | MenuPopupHelper.java | 62 private MenuPopup mPopup; field in MenuPopupHelper 117 if (mPopup != null) { in setForceShowIcon() 118 mPopup.setForceShowIcon(forceShowIcon); in setForceShowIcon() 154 if (mPopup == null) { in getPopup() 155 mPopup = createPopup(); in getPopup() 157 return mPopup; in getPopup() 299 mPopup.dismiss(); in dismiss() 312 mPopup = null; in onDismiss() 320 return mPopup != null && mPopup.isShowing(); in isShowing() 326 if (mPopup != null) { in setPresenterCallback() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | StandardMenuPopup.java | 57 private final MenuPopupWindow mPopup; field in StandardMenuPopup 65 if (isShowing() && !mPopup.isModal()) { 71 mPopup.show(); 129 mPopup = new MenuPopupWindow(mContext, null, mPopupStyleAttr, mPopupStyleRes); in StandardMenuPopup() 156 mPopup.setOnDismissListener(this); in tryShow() 157 mPopup.setOnItemClickListener(this); in tryShow() 158 mPopup.setAdapter(mAdapter); in tryShow() 159 mPopup.setModal(true); in tryShow() 168 mPopup.setAnchorView(anchor); in tryShow() 169 mPopup.setDropDownGravity(mDropDownGravity); in tryShow() [all …]
|
D | MenuPopupHelper.java | 55 private MenuPopup mPopup; field in MenuPopupHelper 110 if (mPopup != null) { in setForceShowIcon() 111 mPopup.setForceShowIcon(forceShowIcon); in setForceShowIcon() 147 if (mPopup == null) { in getPopup() 148 mPopup = createPopup(); in getPopup() 150 return mPopup; in getPopup() 285 mPopup.dismiss(); in dismiss() 298 mPopup = null; in onDismiss() 306 return mPopup != null && mPopup.isShowing(); in isShowing() 312 if (mPopup != null) { in setPresenterCallback() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ListPopupWindow.java | 153 PopupWindow mPopup; field in ListPopupWindow 270 mPopup = new AppCompatPopupWindow(context, attrs, defStyleAttr, defStyleRes); in ListPopupWindow() 272 mPopup = new AppCompatPopupWindow(context, attrs, defStyleAttr); in ListPopupWindow() 274 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow() 333 mPopup.setFocusable(modal); in setModal() 394 mPopup.setSoftInputMode(mode); in setSoftInputMode() 404 return mPopup.getSoftInputMode(); in getSoftInputMode() 420 return mPopup.getBackground(); in getBackground() 429 mPopup.setBackgroundDrawable(d); in setBackgroundDrawable() 438 mPopup.setAnimationStyle(animationStyle); in setAnimationStyle() [all …]
|
D | AppCompatSpinner.java | 96 DropdownPopup mPopup; field in AppCompatSpinner 253 mPopup = popup; in AppCompatSpinner() 262 if (!mPopup.isShowing()) { in AppCompatSpinner() 263 mPopup.show(); in AppCompatSpinner() 297 if (mPopup != null) { in getPopupContext() 306 if (mPopup != null) { in setPopupBackgroundDrawable() 307 mPopup.setBackgroundDrawable(background); in setPopupBackgroundDrawable() 318 if (mPopup != null) { in getPopupBackground() 319 return mPopup.getBackground(); in getPopupBackground() 327 if (mPopup != null) { in setDropDownVerticalOffset() [all …]
|
D | PopupMenu.java | 48 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() 186 return mPopup.getPopup(); in getDragToOpenListener() 233 mPopup.show(); in show() 242 mPopup.dismiss(); in dismiss()
|
D | MenuPopupWindow.java | 84 mPopup.setEnterTransition((Transition) enterTransition); in setEnterTransition() 90 mPopup.setExitTransition((Transition) exitTransition); in setExitTransition() 105 sSetTouchModalMethod.invoke(mPopup, touchModal); in setTouchModal()
|
D | ActionMenuPresenter.java | 792 private OverflowPopup mPopup; field in ActionMenuPresenter.OpenOverflowRunnable 795 mPopup = popup; in OpenOverflowRunnable() 803 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run() 804 mOverflowPopup = mPopup; in run()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | FloatingToolbar.java | 94 private final FloatingToolbarPopup mPopup; field in FloatingToolbar 118 if (mPopup.isShowing() && !mNewRect.equals(mOldRect)) { 131 mPopup = new FloatingToolbarPopup(mContext, window.getDecorView()); in FloatingToolbar() 198 if (mPopup.isShowing()) { in updateLayout() 209 mPopup.dismiss(); in dismiss() 217 mPopup.hide(); in hide() 224 return mPopup.isShowing(); in isShowing() 231 return mPopup.isHidden(); in isHidden() 237 mPopup.dismiss(); in doShow() 238 mPopup.layoutMenuItems(menuItems, mMenuItemClickListener, mSuggestedWidth); in doShow() [all …]
|