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.java50 private View mAnchorView; field in MenuPopupHelper
81 mAnchorView = anchorView; in MenuPopupHelper()
100 mAnchorView = anchor; in setAnchorView()
176 if (mAnchorView == null) { in tryShow()
212 if (mAnchorView == null) { in tryShow()
240 popup = new CascadingMenuPopup(mContext, mAnchorView, mPopupStyleAttr, in createPopup()
243 popup = new StandardMenuPopup(mContext, mMenu, mAnchorView, mPopupStyleAttr, in createPopup()
252 popup.setAnchorView(mAnchorView); in createPopup()
269 mAnchorView.getLayoutDirection()) & Gravity.HORIZONTAL_GRAVITY_MASK; in showPopup()
271 xOffset -= mAnchorView.getWidth(); in showPopup()
DStandardMenuPopup.java96 private View mAnchorView; field in StandardMenuPopup
128 mAnchorView = anchorView; in StandardMenuPopup()
151 if (mWasDismissed || mAnchorView == null) { in tryShow()
155 mShownAnchorView = mAnchorView; in tryShow()
282 mAnchorView.getLayoutDirection()) & Gravity.HORIZONTAL_GRAVITY_MASK; in onSubMenuSelected()
284 horizontalOffset += mAnchorView.getWidth(); in onSubMenuSelected()
324 mAnchorView = anchor; in setAnchorView()
DCascadingMenuPopup.java182 private View mAnchorView; field in CascadingMenuPopup
206 mAnchorView = Preconditions.checkNotNull(anchor); in CascadingMenuPopup()
232 popupWindow.setAnchorView(mAnchorView); in createPopupWindow()
251 mShownAnchorView = mAnchorView; in show()
297 final int layoutDirection = mAnchorView.getLayoutDirection(); in getInitialMenuPosition()
689 dropDownGravity, mAnchorView.getLayoutDirection()); in setGravity()
695 if (mAnchorView != anchor) { in setAnchorView()
696 mAnchorView = anchor; in setAnchorView()
700 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/config/
Dhiddenapi-greylist-max-o.txt100607 Lcom/android/internal/view/menu/MenuPopupHelper;->mAnchorView:Landroid/view/View;