Home
last modified time | relevance | path

Searched refs:mAnchorView (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java49 private View mAnchorView; field in MenuPopupHelper
80 mAnchorView = anchorView; in MenuPopupHelper()
99 mAnchorView = anchor; in setAnchorView()
175 if (mAnchorView == null) { in tryShow()
211 if (mAnchorView == null) { in tryShow()
236 popup = new CascadingMenuPopup(mContext, mAnchorView, mPopupStyleAttr, in createPopup()
239 popup = new StandardMenuPopup(mContext, mMenu, mAnchorView, mPopupStyleAttr, in createPopup()
248 popup.setAnchorView(mAnchorView); in createPopup()
265 mAnchorView.getLayoutDirection()) & Gravity.HORIZONTAL_GRAVITY_MASK; in showPopup()
267 xOffset -= mAnchorView.getWidth(); in showPopup()
DStandardMenuPopup.java102 private View mAnchorView; field in StandardMenuPopup
140 mAnchorView = anchorView; in StandardMenuPopup()
163 if (mWasDismissed || mAnchorView == null) { in tryShow()
167 mShownAnchorView = mAnchorView; in tryShow()
294 mAnchorView.getLayoutDirection()) & Gravity.HORIZONTAL_GRAVITY_MASK; in onSubMenuSelected()
296 horizontalOffset += mAnchorView.getWidth(); in onSubMenuSelected()
336 mAnchorView = anchor; in setAnchorView()
DCascadingMenuPopup.java181 private View mAnchorView; field in CascadingMenuPopup
206 mAnchorView = Preconditions.checkNotNull(anchor); in CascadingMenuPopup()
238 popupWindow.setAnchorView(mAnchorView); in createPopupWindow()
257 mShownAnchorView = mAnchorView; in show()
303 final int layoutDirection = mAnchorView.getLayoutDirection(); in getInitialMenuPosition()
695 dropDownGravity, mAnchorView.getLayoutDirection()); in setGravity()
701 if (mAnchorView != anchor) { in setAnchorView()
702 mAnchorView = anchor; in setAnchorView()
706 mRawDropDownGravity, mAnchorView.getLayoutDirection()); in setAnchorView()
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/
DActionBarShadowController.java98 private final View mAnchorView; field in ActionBarShadowController.ScrollChangeWatcher
102 mAnchorView = null; in ScrollChangeWatcher()
106 mAnchorView = anchorView; in ScrollChangeWatcher()
118 if (mAnchorView != null) { in updateDropShadow()
119 mAnchorView.setElevation(shouldShowShadow ? ELEVATION_HIGH : ELEVATION_LOW); in updateDropShadow()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt85531 Lcom/android/internal/view/menu/MenuPopupHelper;->mAnchorView:Landroid/view/View;