Searched refs:popup (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPopupHelper.java | 238 final MenuPopup popup; in createPopup() local 240 popup = new CascadingMenuPopup(mContext, mAnchorView, mPopupStyleAttr, in createPopup() 243 popup = new StandardMenuPopup(mContext, mMenu, mAnchorView, mPopupStyleAttr, in createPopup() 248 popup.addMenu(mMenu); in createPopup() 249 popup.setOnDismissListener(mInternalOnDismissListener); in createPopup() 252 popup.setAnchorView(mAnchorView); in createPopup() 253 popup.setCallback(mPresenterCallback); in createPopup() 254 popup.setForceShowIcon(mForceShowIcon); in createPopup() 255 popup.setGravity(mDropDownGravity); in createPopup() 257 return popup; in createPopup() [all …]
|
D | ActionMenuItemView.java | 324 final ShowableListMenu popup = getPopup(); in onForwardingStarted() local 325 return popup != null && popup.isShowing(); in onForwardingStarted()
|
/frameworks/base/core/java/android/widget/ |
D | ForwardingListener.java | 130 final ShowableListMenu popup = getPopup(); in onForwardingStarted() local 131 if (popup != null && !popup.isShowing()) { in onForwardingStarted() 132 popup.show(); in onForwardingStarted() 147 final ShowableListMenu popup = getPopup(); in onForwardingStopped() local 148 if (popup != null && popup.isShowing()) { in onForwardingStopped() 149 popup.dismiss(); in onForwardingStopped() 251 final ShowableListMenu popup = getPopup(); in onTouchForwarded() local 252 if (popup == null || !popup.isShowing()) { in onTouchForwarded() 256 final DropDownListView dst = (DropDownListView) popup.getListView(); in onTouchForwarded()
|
D | ActionMenuPresenter.java | 552 OverflowPopup popup = new OverflowPopup(mContext, mMenu, mOverflowButton, true); in showOverflowMenu() local 553 mPostedOpenRunnable = new OpenOverflowRunnable(popup); in showOverflowMenu() 578 MenuPopupHelper popup = mOverflowPopup; in hideOverflowMenu() local 579 if (popup != null) { in hideOverflowMenu() 580 popup.dismiss(); in hideOverflowMenu() 1005 public OpenOverflowRunnable(OverflowPopup popup) { in OpenOverflowRunnable() argument 1006 mPopup = popup; in OpenOverflowRunnable()
|
D | Spinner.java | 276 final DropdownPopup popup = new DropdownPopup( in Spinner() local 283 popup.setListSelector(pa.getDrawable( in Spinner() 286 popup.setBackgroundDrawable(pa.getDrawable(R.styleable.Spinner_popupBackground)); in Spinner() 287 popup.setPromptText(a.getString(R.styleable.Spinner_prompt)); in Spinner() 290 mPopup = popup; in Spinner() 294 return popup; in Spinner()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
D | VrActivity.java | 153 PopupMenu popup = new PopupMenu(this, v); in looksClick() local 154 Menu menu = popup.getMenu(); in looksClick() 161 popup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in looksClick() 167 popup.show(); in looksClick() 175 PopupMenu popup = new PopupMenu(this, v); in dataClick() local 176 Menu menu = popup.getMenu(); in dataClick() 183 popup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in dataClick() 195 popup.show(); in dataClick()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 383 private void setupPopupWindow(ListPopupWindow popup) { in setupPopupWindow() argument 384 popup.setOnDismissListener(new PopupWindow.OnDismissListener() { in setupPopupWindow() 2606 private void showAddress(final DrawableRecipientChip currentChip, final ListPopupWindow popup) { in showAddress() argument 2614 popup.setAnchorView((mAlternatePopupAnchor != null) ? mAlternatePopupAnchor : this); in showAddress() 2615 popup.setVerticalOffset(bottomOffset); in showAddress() 2616 popup.setAdapter(createSingleAddressAdapter(currentChip)); in showAddress() 2617 popup.setOnItemClickListener(new OnItemClickListener() { in showAddress() 2621 popup.dismiss(); in showAddress() 2624 popup.show(); in showAddress() 2625 ListView listView = popup.getListView(); in showAddress()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | FloatingToolbar.java | 1557 OverflowPanel(FloatingToolbarPopup popup) { in OverflowPanel() argument 1558 super(Preconditions.checkNotNull(popup).mContext); in OverflowPanel() 1559 this.mPopup = popup; in OverflowPanel()
|