Home
last modified time | relevance | path

Searched refs:popupWindow (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java227 MenuPopupWindow popupWindow = new MenuPopupWindow( in createPopupWindow() local
229 popupWindow.setHoverListener(mMenuItemHoverListener); in createPopupWindow()
230 popupWindow.setOnItemClickListener(this); in createPopupWindow()
231 popupWindow.setOnDismissListener(this); in createPopupWindow()
232 popupWindow.setAnchorView(mAnchorView); in createPopupWindow()
233 popupWindow.setDropDownGravity(mDropDownGravity); in createPopupWindow()
234 popupWindow.setModal(true); in createPopupWindow()
235 popupWindow.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in createPopupWindow()
236 return popupWindow; in createPopupWindow()
368 final MenuPopupWindow popupWindow = createPopupWindow(); in showMenu() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSizeCompatModeActivityController.java276 PopupWindow popupWindow = new PopupWindow(popupView, in showHint() local
278 popupWindow.setElevation(getResources().getDimension(R.dimen.bubble_elevation)); in showHint()
279 popupWindow.setAnimationStyle(android.R.style.Animation_InputMethod); in showHint()
280 popupWindow.setClippingEnabled(false); in showHint()
281 popupWindow.setOnDismissListener(() -> mShowingHint = null); in showHint()
282 mShowingHint = popupWindow; in showHint()
287 gotItButton.setOnClickListener(view -> popupWindow.dismiss()); in showHint()
288 popupWindow.showAtLocation(this, mWinParams.gravity, mPopupOffsetX, mPopupOffsetY); in showHint()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java397 ListPopupWindow popupWindow = getListPopupWindow(); in showPopupUnchecked() local
398 if (!popupWindow.isShowing()) { in showPopupUnchecked()
405 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
406 popupWindow.show(); in showPopupUnchecked()
410 popupWindow.getListView().setContentDescription(mContext.getString( in showPopupUnchecked()
412 popupWindow.getListView().setSelector(new ColorDrawable(Color.TRANSPARENT)); in showPopupUnchecked()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1723 PopupWindow popupWindow = new PopupWindow(popupContentHolder); in createPopupWindow() local
1726 popupWindow.setClippingEnabled(false); in createPopupWindow()
1727 popupWindow.setWindowLayoutType( in createPopupWindow()
1729 popupWindow.setAnimationStyle(0); in createPopupWindow()
1730 popupWindow.setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); in createPopupWindow()
1734 return popupWindow; in createPopupWindow()