Searched refs:popup (Results 1 - 14 of 14) sorted by relevance

/frameworks/support/v4/kitkat/android/support/v4/widget/
H A DPopupWindowCompatKitKat.java28 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
30 popup.showAsDropDown(anchor, xoff, yoff, gravity);
/frameworks/support/v4/java/android/support/v4/widget/
H A DPopupWindowCompat.java32 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
41 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
43 popup.showAsDropDown(anchor, xoff, yoff);
52 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
54 PopupWindowCompatKitKat.showAsDropDown(popup, anchor, xoff, yoff, gravity);
76 * <p>Display the content view in a popup window anchored to the bottom-left
79 * the popup in its entirety, this method tries to find a parent scroll
81 * corner of the popup is pinned at the top left corner of the anchor view.</p>
83 * location, the popup will be moved correspondingly.</p>
85 * @param popup th
91 showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, int gravity) argument
[all...]
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
H A DMenuActivity.java78 PopupMenu popup = new PopupMenu(this, view);
79 popup.setOnMenuItemClickListener(new PopupMenuListener());
80 popup.getMenuInflater().inflate(R.menu.popupmenu, popup.getMenu());
81 popup.show();
H A DSendActivity.java195 PopupMenu popup = new PopupMenu(this, view);
196 MenuInflater inflater = popup.getMenuInflater();
197 inflater.inflate(R.menu.popup_menu, popup.getMenu());
198 popup.show();
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java331 // Call the invoker, then check if the expected popup is showing.
333 final ListPopupWindow popup = getPopup();
334 return popup != null && popup.isShowing();
341 final ListPopupWindow popup = getPopup();
342 if (popup != null) {
343 popup.dismiss();
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DActionMenuItemView.java314 // Call the invoker, then check if the expected popup is showing.
316 final ListPopupWindow popup = getPopup();
317 return popup != null && popup.isShowing();
324 final ListPopupWindow popup = getPopup();
325 if (popup != null) {
326 popup.dismiss();
/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java134 * If used to specify a popup width, the popup will match the width of the anchor view.
135 * If used to specify a popup height, the popup will fill available space.
141 * If used to specify a popup width, the popup will use the width of its content.
147 * input method should be based on the focusability of the popup. That is
154 * Mode for {@link #setInputMethodMode(int)}: this popup always needs to
162 * Mode for {@link #setInputMethodMode(int)}: this popup never needs to
170 * Create a new, empty popup windo
[all...]
H A DActionMenuPresenter.java304 OverflowPopup popup = new OverflowPopup(mContext, mMenu, mOverflowButton, true);
305 mPostedOpenRunnable = new OpenOverflowRunnable(popup);
330 MenuPopupHelper popup = mOverflowPopup;
331 if (popup != null) {
332 popup.dismiss();
339 * Dismiss all popup menus - overflow and submenus.
614 // Displaying the popup occurs asynchronously, so wait for
752 public OpenOverflowRunnable(OverflowPopup popup) { argument
753 mPopup = popup;
H A DSpinner.java205 final DropdownPopup popup = new DropdownPopup(context, attrs, defStyleAttr, defStyleRes);
210 popup.setBackgroundDrawable(a.getDrawable(
213 mPopup = popup;
217 return popup;
250 * Set the background drawable for the spinner's popup window of choices.
266 * Set the background drawable for the spinner's popup window of choices.
278 * Get the background drawable for the spinner's popup window of choices.
290 * Set a vertical offset in pixels for the spinner's popup window of choices.
302 * Get the configured vertical offset in pixels for the spinner's popup window of choices.
314 * Set a horizontal offset in pixels for the spinner's popup windo
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DListPopupWindow.java150 * If used to specify a popup width, the popup will match the width of the anchor view.
151 * If used to specify a popup height, the popup will fill available space.
157 * If used to specify a popup width, the popup will use the width of its content.
163 * input method should be based on the focusability of the popup. That is
170 * Mode for {@link #setInputMethodMode(int)}: this popup always needs to
178 * Mode for {@link #setInputMethodMode(int)}: this popup never needs to
186 * Create a new, empty popup windo
[all...]
H A DActionMenuPresenter.java303 OverflowPopup popup = new OverflowPopup(mContext, mMenu, mOverflowButton, true);
304 mPostedOpenRunnable = new OpenOverflowRunnable(popup);
329 MenuPopupHelper popup = mOverflowPopup;
330 if (popup != null) {
331 popup.dismiss();
338 * Dismiss all popup menus - overflow and submenus.
613 // Displaying the popup occurs asynchronously, so wait for
745 public OpenOverflowRunnable(OverflowPopup popup) { argument
746 mPopup = popup;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPanelView.java760 final PopupMenu popup =
762 mPopup = popup;
763 popup.getMenuInflater().inflate(R.menu.recent_popup_menu, popup.getMenu());
764 popup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {
783 popup.setOnDismissListener(new PopupMenu.OnDismissListener() {
789 popup.show();
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DSpinnerCompat.java180 final DropdownPopup popup = new DropdownPopup(context, attrs, defStyle);
185 popup.setBackgroundDrawable(
188 mPopup = popup;
192 return popup;
228 * Set the background drawable for the spinner's popup window of choices. Only valid in {@link
242 * Set the background drawable for the spinner's popup window of choices. Only valid in {@link
252 * Get the background drawable for the spinner's popup window of choices. Only valid in {@link
262 * Set a vertical offset in pixels for the spinner's popup window of choices. Only valid in
272 * Get the configured vertical offset in pixels for the spinner's popup window of choices. Only
282 * Set a horizontal offset in pixels for the spinner's popup windo
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java1331 * Create a chip from the default selection. If the popup is showing, the
1332 * default is the selected item (if one is selected), or the first item, in the popup
1667 // Align the alternates popup with the left side of the View,
2146 * and a popup window with the address in use highlighted and any other
2211 private void showAddress(final DrawableRecipientChip currentChip, final ListPopupWindow popup) { argument
2217 // Align the alternates popup with the left side of the View,
2219 popup.setAnchorView((mAlternatePopupAnchor != null) ? mAlternatePopupAnchor : this);
2220 popup.setVerticalOffset(bottomOffset);
2221 popup.setAdapter(createSingleAddressAdapter(currentChip));
2222 popup
[all...]

Completed in 347 milliseconds