Home
last modified time | relevance | path

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

12

/frameworks/support/v4/java/android/support/v4/widget/
DPopupWindowCompat.java32 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument
41 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument
43 popup.showAsDropDown(anchor, xoff, yoff); in showAsDropDown()
52 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument
54 PopupWindowCompatKitKat.showAsDropDown(popup, anchor, xoff, yoff, gravity); in showAsDropDown()
91 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument
93 IMPL.showAsDropDown(popup, anchor, xoff, yoff, gravity); in showAsDropDown()
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
DMenuActivity.java78 PopupMenu popup = new PopupMenu(this, view); in showPopup() local
79 popup.setOnMenuItemClickListener(new PopupMenuListener()); in showPopup()
80 popup.getMenuInflater().inflate(R.menu.popupmenu, popup.getMenu()); in showPopup()
81 popup.show(); in showPopup()
DSendActivity.java195 PopupMenu popup = new PopupMenu(this, view); in showPopupMenu() local
196 MenuInflater inflater = popup.getMenuInflater(); in showPopupMenu()
197 inflater.inflate(R.menu.popup_menu, popup.getMenu()); in showPopupMenu()
198 popup.show(); in showPopupMenu()
/frameworks/support/v4/kitkat/android/support/v4/widget/
DPopupWindowCompatKitKat.java28 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument
30 popup.showAsDropDown(anchor, xoff, yoff, gravity); in showAsDropDown()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java316 final ListPopupWindow popup = getPopup(); in onForwardingStarted() local
317 return popup != null && popup.isShowing(); in onForwardingStarted()
324 final ListPopupWindow popup = getPopup(); in onForwardingStopped() local
325 if (popup != null) { in onForwardingStopped()
326 popup.dismiss(); in onForwardingStopped()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java333 final ListPopupWindow popup = getPopup(); in onForwardingStarted() local
334 return popup != null && popup.isShowing(); in onForwardingStarted()
341 final ListPopupWindow popup = getPopup(); in onForwardingStopped() local
342 if (popup != null) { in onForwardingStopped()
343 popup.dismiss(); in onForwardingStopped()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListPopupWindow.java1292 final ListPopupWindow popup = getPopup();
1293 if (popup != null && !popup.isShowing()) {
1294 popup.show();
1306 final ListPopupWindow popup = getPopup();
1307 if (popup != null && popup.isShowing()) {
1308 popup.dismiss();
1406 final ListPopupWindow popup = getPopup();
1407 if (popup == null || !popup.isShowing()) {
1411 final DropDownListView dst = popup.mDropDownList;
DActionMenuPresenter.java303 OverflowPopup popup = new OverflowPopup(mContext, mMenu, mOverflowButton, true); in showOverflowMenu() local
304 mPostedOpenRunnable = new OpenOverflowRunnable(popup); in showOverflowMenu()
329 MenuPopupHelper popup = mOverflowPopup; in hideOverflowMenu() local
330 if (popup != null) { in hideOverflowMenu()
331 popup.dismiss(); in hideOverflowMenu()
745 public OpenOverflowRunnable(OverflowPopup popup) { in OpenOverflowRunnable() argument
746 mPopup = popup; in OpenOverflowRunnable()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java1304 final ListPopupWindow popup = getPopup();
1305 if (popup != null && !popup.isShowing()) {
1306 popup.show();
1321 final ListPopupWindow popup = getPopup();
1322 if (popup != null && popup.isShowing()) {
1323 popup.dismiss();
1425 final ListPopupWindow popup = getPopup();
1426 if (popup == null || !popup.isShowing()) {
1430 final DropDownListView dst = popup.mDropDownList;
DActionMenuPresenter.java304 OverflowPopup popup = new OverflowPopup(mContext, mMenu, mOverflowButton, true); in showOverflowMenu() local
305 mPostedOpenRunnable = new OpenOverflowRunnable(popup); in showOverflowMenu()
330 MenuPopupHelper popup = mOverflowPopup; in hideOverflowMenu() local
331 if (popup != null) { in hideOverflowMenu()
332 popup.dismiss(); in hideOverflowMenu()
752 public OpenOverflowRunnable(OverflowPopup popup) { in OpenOverflowRunnable() argument
753 mPopup = popup; in OpenOverflowRunnable()
DSpinner.java205 … final DropdownPopup popup = new DropdownPopup(context, attrs, defStyleAttr, defStyleRes); in Spinner() local
210 popup.setBackgroundDrawable(a.getDrawable( in Spinner()
213 mPopup = popup; in Spinner()
217 return popup; in Spinner()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java760 final PopupMenu popup = in handleLongPress() local
762 mPopup = popup; in handleLongPress()
763 popup.getMenuInflater().inflate(R.menu.recent_popup_menu, popup.getMenu()); in handleLongPress()
764 popup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in handleLongPress()
783 popup.setOnDismissListener(new PopupMenu.OnDismissListener() { in handleLongPress()
789 popup.show(); in handleLongPress()
/frameworks/base/docs/html/design/building-blocks/
Ddialogs.jd2 page.tags=dialog,alert,popup,toast
138 advances the workflow, and simply touching outside the popup dismisses it.</p>
151 <p>Toasts provide lightweight feedback about an operation in a small popup. For example, navigating
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DSpinnerCompat.java180 final DropdownPopup popup = new DropdownPopup(context, attrs, defStyle); in SpinnerCompat() local
185 popup.setBackgroundDrawable( in SpinnerCompat()
188 mPopup = popup; in SpinnerCompat()
192 return popup; in SpinnerCompat()
/frameworks/base/docs/html/guide/topics/ui/
Dmenus.jd102 <dd>A popup menu displays a list of items in a vertical list that's anchored to the view that
104 to provide options for a second part of a command. Actions in a popup menu should
106 are for. Rather, the popup menu is for extended actions that relate to regions of content in your
720 <p><strong>Figure 4.</strong> A popup menu in the Gmail app, anchored to the overflow
734 that produces a popup menu with different "Add" options).</li>
743 <p>If you <a href="#xml">define your menu in XML</a>, here's how you can show the popup menu:</p>
756 that shows a popup menu:</p>
767 <p>The activity can then show the popup menu like this:</p>
771 PopupMenu popup = new PopupMenu(this, v);
772 MenuInflater inflater = popup.getMenuInflater();
[all …]
Dcustom-components.jd56 to make something like a ComboBox (a combination of popup list and free
406 the popup list of a combo box when a certain key is pressed.
/frameworks/base/docs/html/design/patterns/
Dcompatibility.jd46 resulting actions popup has the same style as in the previous example, but is displayed at the bott…
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2211 private void showAddress(final DrawableRecipientChip currentChip, final ListPopupWindow popup) { in showAddress() argument
2219 popup.setAnchorView((mAlternatePopupAnchor != null) ? mAlternatePopupAnchor : this); in showAddress()
2220 popup.setVerticalOffset(bottomOffset); in showAddress()
2221 popup.setAdapter(createSingleAddressAdapter(currentChip)); in showAddress()
2222 popup.setOnItemClickListener(new OnItemClickListener() { in showAddress()
2226 popup.dismiss(); in showAddress()
2229 popup.show(); in showAddress()
2230 ListView listView = popup.getListView(); in showAddress()
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dtoasts.jd20 <p>A toast provides simple feedback about an operation in a small popup.
/frameworks/base/docs/html/guide/faq/
Dcommontasks.jd137 <li>{@link android.app.Dialog android.app.Dialog} - This is a small, popup dialog-style
418 <p>Android provides a number of ways for you to show popup notifications to your
431 <td>A popup alert dialog with two buttons (typically OK and Cancel) that
513 popup when a new SMS message arrives in a listening service, and provides the
/frameworks/base/docs/html/tools/testing/
Dtesting_accessibility.jd199 provides a popup message to enable Explore by Touch. On older versions, you must follow the
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex3.jd29 <strong>Fix Project Properties</strong> from the popup menu. The starting point for this exercise is
/frameworks/base/docs/html/about/versions/
Dandroid-3.0.jd509 <p>Displays a {@link android.view.Menu} in a modal popup window that's anchored to a view. The
510 popup appears below the anchor view if there is room, or above it if there is not. If the IME (soft
511 keyboard) is visible, the popup does not overlap the IME it until the user touches the
Dandroid-2.3-highlights.jd87 also access a popup menu of accented characters, numbers, and symbols by holding
/frameworks/base/docs/html/guide/appendix/
Dglossary.jd268 elements and other UI components, such as a text box or popup menu.

12