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

/frameworks/support/compat/java/android/support/v4/widget/
H A DPopupWindowCompat.java42 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
47 // Flip the location to align the right sides of the popup and
49 xoff -= (popup.getWidth() - anchor.getWidth());
51 popup.showAsDropDown(anchor, xoff, yoff);
112 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
114 popup.showAsDropDown(anchor, xoff, yoff, gravity);
201 * <p>Display the content view in a popup window anchored to the bottom-left
204 * the popup in its entirety, this method tries to find a parent scroll
206 * corner of the popup is pinned at the top left corner of the anchor view.</p>
208 * location, the popup wil
216 showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, int gravity) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuPresenter.java341 OverflowPopup popup = new OverflowPopup(mContext, mMenu, mOverflowButton, true);
342 mPostedOpenRunnable = new OpenOverflowRunnable(popup);
367 MenuPopupHelper popup = mOverflowPopup;
368 if (popup != null) {
369 popup.dismiss();
376 * Dismiss all popup menus - overflow and submenus.
669 // Displaying the popup occurs asynchronously, so wait for
795 public OpenOverflowRunnable(OverflowPopup popup) { argument
796 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.java330 * A popup window used by the floating toolbar.
343 private final View mParent; // Parent for the popup window.
346 /* Margins between the popup window and it's content. */
378 private final Point mCoordsOnWindow = new Point(); // popup window coordinates.
407 private boolean mDismissed = true; // tracks whether this popup is dismissed or dismissing.
408 private boolean mHidden; // tracks whether this popup is hidden or hiding.
435 * Initializes a new floating toolbar popup.
532 * Shows this popup at the specified coordinates.
533 * The specified coordinates may be adjusted to make sure the popup is entirely on-screen.
551 // specify the popup positio
1540 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 209 milliseconds