Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java234 final MenuPopup popup; in createPopup() local
236 popup = new CascadingMenuPopup(mContext, mAnchorView, mPopupStyleAttr, in createPopup()
239 popup = new StandardMenuPopup(mContext, mMenu, mAnchorView, mPopupStyleAttr, in createPopup()
244 popup.addMenu(mMenu); in createPopup()
245 popup.setOnDismissListener(mInternalOnDismissListener); in createPopup()
248 popup.setAnchorView(mAnchorView); in createPopup()
249 popup.setCallback(mPresenterCallback); in createPopup()
250 popup.setForceShowIcon(mForceShowIcon); in createPopup()
251 popup.setGravity(mDropDownGravity); in createPopup()
253 return popup; in createPopup()
[all …]
DActionMenuItemView.java330 final ShowableListMenu popup = getPopup(); in onForwardingStarted() local
331 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.java553 OverflowPopup popup = new OverflowPopup(mContext, mMenu, mOverflowButton, true); in showOverflowMenu() local
554 mPostedOpenRunnable = new OpenOverflowRunnable(popup); in showOverflowMenu()
579 MenuPopupHelper popup = mOverflowPopup; in hideOverflowMenu() local
580 if (popup != null) { in hideOverflowMenu()
581 popup.dismiss(); in hideOverflowMenu()
1006 public OpenOverflowRunnable(OverflowPopup popup) { in OpenOverflowRunnable() argument
1007 mPopup = popup; in OpenOverflowRunnable()
DSpinner.java281 final DropdownPopup popup = new DropdownPopup( in Spinner() local
288 popup.setListSelector(pa.getDrawable( in Spinner()
291 popup.setBackgroundDrawable(pa.getDrawable(R.styleable.Spinner_popupBackground)); in Spinner()
292 popup.setPromptText(a.getString(R.styleable.Spinner_prompt)); in Spinner()
295 mPopup = popup; in Spinner()
299 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/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/spatialaudio/ui/composable/
DSpatialAudioComponent.kt37 private val popup: SpatialAudioPopup, constant in com.android.systemui.volume.panel.component.spatialaudio.ui.composable.SpatialAudioComponent
47 ButtonComponent(viewModel.spatialAudioButton, popup::show) in Content()
DSpatialAudioPopup.kt37 import com.android.systemui.volume.panel.component.popup.ui.composable.VolumePanelPopup
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DImeInsetsSourceProviderTest.java61 final WindowState popup = createWindow(appWin, TYPE_APPLICATION, "popup"); in testTransparentControlTargetWindowCanShowIme() local
62 popup.mAttrs.format = PixelFormat.TRANSPARENT; in testTransparentControlTargetWindowCanShowIme()
64 mDisplayContent.updateImeInputAndControlTarget(popup); in testTransparentControlTargetWindowCanShowIme()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/component/popup/ui/composable/
DVolumePanelPopupKosmos.kt17 package com.android.systemui.volume.panel.component.popup.ui.composable
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt132 private var popup: ListPopupWindow? = null in <lambda>() variable
547 popup = ControlsPopupMenu(popupThemedContext).apply { in <lambda>()
624 popup = ControlsPopupMenu(popupThemedContext).apply { in <lambda>()
755 popup?.dismissImmediate() in <lambda>()
757 popup?.dismiss() in <lambda>()
759 popup = null in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/anc/ui/composable/
DAncPopup.kt37 import com.android.systemui.volume.panel.component.popup.ui.composable.VolumePanelPopup
DAncButtonComponent.kt52 import com.android.systemui.volume.panel.component.popup.ui.composable.VolumePanelPopup
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/popup/ui/composable/
DVolumePanelPopup.kt17 package com.android.systemui.volume.panel.component.popup.ui.composable
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlsPopupMenuTest.kt120 private fun testPopup(test: (activity: Activity, popup: ControlsPopupMenu) -> Unit) { in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/button/ui/composable/
DButtonComponent.kt51 import com.android.systemui.volume.panel.component.popup.ui.composable.VolumePanelPopup.Companion.c…
/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/
DGlobalActionsDialogLite.java2446 GlobalActionsPopupMenu popup = new GlobalActionsPopupMenu(
2451 popup.setOnItemClickListener(
2453 popup.setOnItemLongClickListener(
2457 popup.setAnchorView(overflowButton);
2458 popup.setAdapter(mOverflowAdapter);
2459 return popup;
/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/
DLocalFloatingToolbarPopup.java1319 OverflowPanel(LocalFloatingToolbarPopup popup) { in OverflowPanel() argument
1320 super(Objects.requireNonNull(popup).mContext); in OverflowPanel()
1321 this.mPopup = popup; in OverflowPanel()