Lines Matching refs:anchor
104 final View anchor = mShownAnchorView;
105 if (anchor == null || !anchor.isShown()) {
216 * @param anchor A parent view to get the {@link android.view.View#getWindowToken()} token from.
218 public CascadingMenuPopup(@NonNull Context context, @NonNull View anchor,
221 mAnchorView = anchor;
417 // same top-level anchor as the parent menu is using, with appropriate offsets.
421 // the framework will compute the new submenu position using the anchor's height,
736 public void setAnchorView(@NonNull View anchor) {
737 if (mAnchorView != anchor) {
738 mAnchorView = anchor;