Lines Matching refs:gravity
65 * gravity.
71 * @param gravity The {@link Gravity} value for aligning the popup with its
74 public PopupMenu(Context context, View anchor, int gravity) {
75 this(context, anchor, gravity, R.attr.popupMenuStyle, 0);
85 * @param gravity The {@link Gravity} value for aligning the popup with its
95 public PopupMenu(Context context, View anchor, int gravity, int popupStyleAttr,
116 mPopup.setGravity(gravity);
128 * Sets the gravity used to align the popup window to its anchor view.
133 * @param gravity the gravity used to align the popup window
136 public void setGravity(int gravity) {
137 mPopup.setGravity(gravity);
141 * @return the gravity used to align the popup window to its anchor view