Searched refs:mAnchorView (Results 1 – 7 of 7) sorted by relevance
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuPopupHelper.java | 53 private View mAnchorView; field in MenuPopupHelper 81 mAnchorView = anchorView; in MenuPopupHelper() 99 mAnchorView = anchor; in setAnchorView() 167 if (mAnchorView == null) { in tryShow() 203 if (mAnchorView == null) { in tryShow() 238 popup = new CascadingMenuPopup(mContext, mAnchorView, mPopupStyleAttr, in createPopup() 241 popup = new StandardMenuPopup(mContext, mMenu, mAnchorView, mPopupStyleAttr, in createPopup() 250 popup.setAnchorView(mAnchorView); in createPopup() 267 ViewCompat.getLayoutDirection(mAnchorView)) & Gravity.HORIZONTAL_GRAVITY_MASK; in showPopup() 269 xOffset -= mAnchorView.getWidth(); in showPopup()
|
D | StandardMenuPopup.java | 78 private View mAnchorView; field in StandardMenuPopup 110 mAnchorView = anchorView; in StandardMenuPopup() 133 if (mWasDismissed || mAnchorView == null) { in tryShow() 137 mShownAnchorView = mAnchorView; in tryShow() 293 mAnchorView = anchor; in setAnchorView()
|
D | CascadingMenuPopup.java | 178 private View mAnchorView; field in CascadingMenuPopup 202 mAnchorView = anchor; in CascadingMenuPopup() 228 popupWindow.setAnchorView(mAnchorView); in createPopupWindow() 246 mShownAnchorView = mAnchorView; in show() 291 final int layoutDirection = ViewCompat.getLayoutDirection(mAnchorView); in getInitialMenuPosition() 684 dropDownGravity, ViewCompat.getLayoutDirection(mAnchorView)); in setGravity() 690 if (mAnchorView != anchor) { in setAnchorView() 691 mAnchorView = anchor; in setAnchorView() 695 mRawDropDownGravity, ViewCompat.getLayoutDirection(mAnchorView)); in setAnchorView()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPopupHelper.java | 50 private View mAnchorView; field in MenuPopupHelper 78 mAnchorView = anchorView; in MenuPopupHelper() 96 mAnchorView = anchor; in setAnchorView() 164 if (mAnchorView == null) { in tryShow() 200 if (mAnchorView == null) { in tryShow() 228 popup = new CascadingMenuPopup(mContext, mAnchorView, mPopupStyleAttr, in createPopup() 231 popup = new StandardMenuPopup(mContext, mMenu, mAnchorView, mPopupStyleAttr, in createPopup() 240 popup.setAnchorView(mAnchorView); in createPopup() 257 mAnchorView.getLayoutDirection()) & Gravity.HORIZONTAL_GRAVITY_MASK; in showPopup() 259 xOffset -= mAnchorView.getWidth(); in showPopup()
|
D | StandardMenuPopup.java | 95 private View mAnchorView; field in StandardMenuPopup 127 mAnchorView = anchorView; in StandardMenuPopup() 150 if (mWasDismissed || mAnchorView == null) { in tryShow() 154 mShownAnchorView = mAnchorView; in tryShow() 314 mAnchorView = anchor; in setAnchorView()
|
D | CascadingMenuPopup.java | 181 private View mAnchorView; field in CascadingMenuPopup 205 mAnchorView = Preconditions.checkNotNull(anchor); in CascadingMenuPopup() 231 popupWindow.setAnchorView(mAnchorView); in createPopupWindow() 250 mShownAnchorView = mAnchorView; in show() 296 final int layoutDirection = mAnchorView.getLayoutDirection(); in getInitialMenuPosition() 690 dropDownGravity, mAnchorView.getLayoutDirection()); in setGravity() 696 if (mAnchorView != anchor) { in setAnchorView() 697 mAnchorView = anchor; in setAnchorView() 701 mRawDropDownGravity, mAnchorView.getLayoutDirection()); in setAnchorView()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CoordinatorLayout.java | 801 if (lp.mAnchorView != null) { in onLayoutChild() 802 layoutChildWithAnchor(child, lp.mAnchorView, layoutDirection); in onLayoutChild() 1317 if (lp.mAnchorView != null) { in hasDependencies() 1377 if (lp.mAnchorView != null) { in offsetChildToAnchor() 1382 getDescendantRect(lp.mAnchorView, anchorRect); in offsetChildToAnchor() 1400 b.onDependentViewChanged(this, child, lp.mAnchorView); in offsetChildToAnchor() 2261 View mAnchorView; field in CoordinatorLayout.LayoutParams 2388 return mAnchorView == null && mAnchorId != View.NO_ID; in checkAnchorChanged() 2481 mAnchorView = mAnchorDirectChild = null; in invalidateAnchor() 2495 mAnchorView = mAnchorDirectChild = null; in findAnchorView() [all …]
|