Searched defs:popup (Results 1 - 5 of 5) sorted by relevance

/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DPopupWindowCompat.java51 * <p>Display the content view in a popup window anchored to the bottom-left
54 * the popup in its entirety, this method tries to find a parent scroll
56 * corner of the popup is pinned at the top left corner of the anchor view.</p>
58 * location, the popup will be moved correspondingly.</p>
60 * @param popup the PopupWindow to show
61 * @param anchor the view on which to pin the popup window
64 * @param gravity Alignment of the popup relative to the anchor
66 public static void showAsDropDown(@NonNull PopupWindow popup, @NonNull View anchor, argument
69 popup.showAsDropDown(anchor, xoff, yoff, gravity);
75 // Flip the location to align the right sides of the popup an
[all...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DActionMenuPresenter.java342 OverflowPopup popup = new OverflowPopup(mContext, mMenu, mOverflowButton, true);
343 mPostedOpenRunnable = new OpenOverflowRunnable(popup);
368 MenuPopupHelper popup = mOverflowPopup;
369 if (popup != null) {
370 popup.dismiss();
377 * Dismiss all popup menus - overflow and submenus.
670 // Displaying the popup occurs asynchronously, so wait for
796 public OpenOverflowRunnable(OverflowPopup popup) { argument
797 mPopup = popup;
/frameworks/base/core/java/android/widget/
H A DActionMenuPresenter.java551 OverflowPopup popup = new OverflowPopup(mContext, mMenu, mOverflowButton, true);
552 mPostedOpenRunnable = new OpenOverflowRunnable(popup);
577 MenuPopupHelper popup = mOverflowPopup;
578 if (popup != null) {
579 popup.dismiss();
586 * Dismiss all popup menus - overflow and submenus.
867 // Displaying the popup occurs asynchronously, so wait for
1000 public OpenOverflowRunnable(OverflowPopup popup) { argument
1001 mPopup = popup;
/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java269 * @param onDismiss optional. Sets a callback for when this action mode popup dismisses itself
350 * A popup window used by the floating toolbar.
363 private final View mParent; // Parent for the popup window.
366 /* Margins between the popup window and it's content. */
398 private final Point mCoordsOnWindow = new Point(); // popup window coordinates.
427 private boolean mDismissed = true; // tracks whether this popup is dismissed or dismissing.
428 private boolean mHidden; // tracks whether this popup is hidden or hiding.
455 * Initializes a new floating toolbar popup.
536 * @param outsideTouchable if true, the popup will be made "outside touchable" and
578 * Shows this popup a
1558 OverflowPanel(FloatingToolbarPopup popup) argument
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java380 private void setupPopupWindow(ListPopupWindow popup) { argument
381 popup.setOnDismissListener(new PopupWindow.OnDismissListener() {
1624 * Create a chip from the default selection. If the popup is showing, the
1625 * default is the selected item (if one is selected), or the first item, in the popup
2039 // Align the alternates popup with the left side of the View,
2529 * will show a popup window with the address in use highlighted and any other
2571 // the popup being shown for the last chip, which is of no value.
2603 private void showAddress(final DrawableRecipientChip currentChip, final ListPopupWindow popup) { argument
2609 // Align the alternates popup with the left side of the View,
2611 popup
[all...]

Completed in 107 milliseconds