Home
last modified time | relevance | path

Searched refs:popup (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java233 final MenuPopup popup; in createPopup() local
235 popup = new CascadingMenuPopup(mContext, mAnchorView, mPopupStyleAttr, in createPopup()
238 popup = new StandardMenuPopup(mContext, mMenu, mAnchorView, mPopupStyleAttr, in createPopup()
243 popup.addMenu(mMenu); in createPopup()
244 popup.setOnDismissListener(mInternalOnDismissListener); in createPopup()
247 popup.setAnchorView(mAnchorView); in createPopup()
248 popup.setCallback(mPresenterCallback); in createPopup()
249 popup.setForceShowIcon(mForceShowIcon); in createPopup()
250 popup.setGravity(mDropDownGravity); in createPopup()
252 return popup; in createPopup()
[all …]
DActionMenuItemView.java324 final ShowableListMenu popup = getPopup(); in onForwardingStarted() local
325 return popup != null && popup.isShowing(); in onForwardingStarted()
/frameworks/base/core/java/android/widget/
DForwardingListener.java130 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()
DActionMenuPresenter.java552 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()
DSpinner.java276 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/
DVrActivity.java153 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/base/services/tests/wmtests/src/com/android/server/wm/
DImeInsetsSourceProviderTest.java52 final WindowState popup = createWindow(appWin, TYPE_APPLICATION, "popup"); in testTransparentControlTargetWindowCanShowIme() local
53 mDisplayContent.mInputMethodControlTarget = popup; in testTransparentControlTargetWindowCanShowIme()
55 popup.mAttrs.format = PixelFormat.TRANSPARENT; in testTransparentControlTargetWindowCanShowIme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt101 private var popup: ListPopupWindow? = null in <lambda>() variable in com.android.systemui.controls.ui.ControlsUiControllerImpl
284 popup = GlobalActionsPopupMenu( in <lambda>()
350 popup = GlobalActionsPopupMenu( in <lambda>()
474 popup?.dismissImmediate() in <lambda>()
476 popup?.dismiss() in <lambda>()
478 popup = null in <lambda>()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java383 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/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java2274 GlobalActionsPopupMenu popup = new GlobalActionsPopupMenu(
2279 popup.setOnItemClickListener(
2281 popup.setOnItemLongClickListener(
2285 popup.setAnchorView(overflowButton);
2286 popup.setAdapter(mOverflowAdapter);
2287 return popup;
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1557 OverflowPanel(FloatingToolbarPopup popup) { in OverflowPanel() argument
1558 super(Objects.requireNonNull(popup).mContext); in OverflowPanel()
1559 this.mPopup = popup; in OverflowPanel()