/frameworks/base/core/java/android/widget/ |
H A D | PopupWindow.java | 135 View anchor = mAnchor != null ? mAnchor.get() : null; 136 if (anchor != null && mPopupView != null) { 140 updateAboveAnchor(findDropDownPosition(anchor, p, mAnchorXoff, mAnchorYoff, 197 // used when the drop-down is placed above its anchor view, and the one to be 198 // used when the drop-down is placed below its anchor view. We extract 204 // at least one other drawable, intended for the 'below-anchor state'. 208 // Find the above-anchor view - this one's easy, it should be labeled as such. 211 // Now, for the below-anchor view, look for any other drawable specified in the 212 // StateListDrawable which is not for the above-anchor state and use that. 604 * Allow PopupWindow to scroll the anchor' 864 showAsDropDown(View anchor) argument 884 showAsDropDown(View anchor, int xoff, int yoff) argument 905 showAsDropDown(View anchor, int xoff, int yoff, int gravity) argument 1133 findDropDownPosition(View anchor, WindowManager.LayoutParams p, int xoff, int yoff, int gravity) argument 1233 getMaxAvailableHeight(View anchor) argument 1248 getMaxAvailableHeight(View anchor, int yOffset) argument 1269 getMaxAvailableHeight(View anchor, int yOffset, boolean ignoreBottomDecorations) argument 1476 update(View anchor, int width, int height) argument 1495 update(View anchor, int xoff, int yoff, int width, int height) argument 1499 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int height, int gravity) argument 1568 registerForScrollChanged(View anchor, int xoff, int yoff, int gravity) argument [all...] |
H A D | PopupMenu.java | 35 * The popup will appear below the anchor view if there is room, or above it if there is not. 64 * @param anchor Anchor view for this popup. The popup will appear below the anchor if there 67 public PopupMenu(Context context, View anchor) { argument 68 this(context, anchor, Gravity.NO_GRAVITY); 75 * @param anchor Anchor view for this popup. The popup will appear below the anchor if there 77 * @param gravity The {@link Gravity} value for aligning the popup with its anchor 79 public PopupMenu(Context context, View anchor, int gravity) { argument 84 mAnchor = anchor; [all...] |
H A D | ListPopupWindow.java | 132 * If used to specify a popup width, the popup will match the width of the anchor view. 390 * Returns the view that will be used to anchor this popup. 392 * @return The popup's anchor view 399 * Sets the popup's anchor view. This popup will always be positioned relative to 400 * the anchor view when shown. 402 * @param anchor The view to use as an anchor. 404 public void setAnchorView(View anchor) { argument 405 mDropDownAnchorView = anchor; 409 * @return The horizontal offset of the popup from its anchor i [all...] |
H A D | RelativeLayout.java | 1218 * When true, uses the parent as the anchor if the anchor doesn't exist or if 1219 * the anchor's visibility is GONE. 1387 * @param anchor The id of another view to use as an anchor, 1393 public void addRule(int verb, int anchor) { argument 1394 mRules[verb] = anchor; 1395 mInitialRules[verb] = anchor;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | CommandLine.h | 45 void anchor(); 80 virtual void anchor(); 97 virtual void anchor();
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | PopupMenu.java | 61 * @param anchor Anchor view for this popup. The popup will appear below the anchor if there 64 public PopupMenu(Context context, View anchor) { argument 68 mAnchor = anchor; 69 mPopup = new MenuPopupHelper(context, mMenu, anchor);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPopupHelper.java | 100 public void setAnchorView(View anchor) { argument 101 mAnchorView = anchor; 114 throw new IllegalStateException("MenuPopupHelper cannot be used without an anchor"); 129 View anchor = mAnchorView; 130 if (anchor != null) { 132 mTreeObserver = anchor.getViewTreeObserver(); // Refresh to latest 134 anchor.addOnAttachStateChangeListener(this); 135 mPopup.setAnchorView(anchor); 226 final View anchor = mAnchorView; 227 if (anchor [all...] |
H A D | ActionMenuPresenter.java | 276 View anchor = findViewForItem(topSubMenu.getItem()); 277 if (anchor == null) { 279 anchor = mOverflowButton; 284 mActionButtonPopup.setAnchorView(anchor); 314 // Post this for later; we might still need a layout for the anchor to be right. 691 // Give a reasonable anchor to nested submenus.
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | MenuPopupHelper.java | 93 public void setAnchorView(View anchor) { argument 94 mAnchorView = anchor; 103 throw new IllegalStateException("MenuPopupHelper cannot be used without an anchor"); 116 View anchor = mAnchorView; 117 if (anchor != null) { 119 mTreeObserver = anchor.getViewTreeObserver(); // Refresh to latest 123 mPopup.setAnchorView(anchor); 200 final View anchor = mAnchorView; 201 if (anchor == null || !anchor [all...] |
H A D | ActionMenuPresenter.java | 257 View anchor = findViewForItem(topSubMenu.getItem()); 258 if (anchor == null) { 262 anchor = mOverflowButton; 299 // Post this for later; we might still need a layout for the anchor to be right.
|
/frameworks/base/media/java/android/media/ |
H A D | SubtitleController.java | 31 * media source. It allows specifying which tracks to display, on which anchor 146 * Should be called from the anchor's (UI) thread. {@see #Anchor.getSubtitleLooper} 263 /** @hide - should be called from anchor thread */ 300 /** @hide - must be called from anchor thread */ 343 * Should be called from the anchor's (UI) thread. {@see #Anchor.getSubtitleLooper} 360 * Should be called from the anchor's (UI) thread. {@see #Anchor.getSubtitleLooper} 424 * Subtitle anchor, an object that is able to display a subtitle renderer, 446 * @hide - called from anchor's looper (if any, both when unsetting and 449 public void setAnchor(Anchor anchor) { argument 450 if (mAnchor == anchor) { [all...] |
H A D | MediaPlayer.java | 1730 SubtitleController.Anchor anchor) { 1733 mSubtitleController.setAnchor(anchor); 1728 setSubtitleAnchor( SubtitleController controller, SubtitleController.Anchor anchor) argument
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | CommandLine.cpp | 55 void SearchDirParser::anchor() function in class:SearchDirParser 89 void parser<mcld::sys::fs::Path>::anchor() function in class:parser 167 void parser<mcld::ZOption>::anchor() function in class:parser
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ListPopupWindow.java | 127 * popup will match the width of the anchor view. If used to specify a popup height, the popup 362 * Returns the view that will be used to anchor this popup. 364 * @return The popup's anchor view 371 * Sets the popup's anchor view. This popup will always be positioned relative to the anchor 374 * @param anchor The view to use as an anchor. 376 public void setAnchorView(View anchor) { argument 377 mDropDownAnchorView = anchor; 381 * @return The horizontal offset of the popup from its anchor i 1088 getMaxAvailableHeight(View anchor, int yOffset, boolean ignoreBottomDecorations) argument [all...] |