Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/webkit/
DAutoCompletePopup.java50 private View mAnchor; field in AutoCompletePopup
78 KeyEvent.DispatcherState state = mAnchor.getKeyDispatcherState(); in onKeyPreIme()
84 KeyEvent.DispatcherState state = mAnchor.getKeyDispatcherState(); in onKeyPreIme()
145 (AbsoluteLayout.LayoutParams) mAnchor.getLayoutParams(); in resetRect()
160 mAnchor.setLayoutParams(lp); in resetRect()
235 mWebView.getWebView().removeView(mAnchor); in onDismiss()
241 mAnchor = new AnchorView(mWebView.getContext()); in ensurePopup()
242 mWebView.getWebView().addView(mAnchor); in ensurePopup()
244 mPopup.setAnchorView(mAnchor); in ensurePopup()
246 } else if (mWebView.getWebView().indexOfChild(mAnchor) < 0) { in ensurePopup()
[all …]
/frameworks/base/core/java/android/widget/
DMediaController.java75 private View mAnchor; field in MediaController
168 mAnchor.getLocationOnScreen(anchorPos); in updateFloatingWindowLayout()
172 mDecor.measure(MeasureSpec.makeMeasureSpec(mAnchor.getWidth(), MeasureSpec.AT_MOST), in updateFloatingWindowLayout()
173 MeasureSpec.makeMeasureSpec(mAnchor.getHeight(), MeasureSpec.AT_MOST)); in updateFloatingWindowLayout()
176 p.width = mAnchor.getWidth(); in updateFloatingWindowLayout()
177 p.x = anchorPos[0] + (mAnchor.getWidth() - p.width) / 2; in updateFloatingWindowLayout()
178 p.y = anchorPos[1] + mAnchor.getHeight() - mDecor.getMeasuredHeight(); in updateFloatingWindowLayout()
218 if (mAnchor != null) { in setAnchorView()
219 mAnchor.removeOnLayoutChangeListener(mLayoutChangeListener); in setAnchorView()
221 mAnchor = view; in setAnchorView()
[all …]
DPopupMenu.java39 private View mAnchor; field in PopupMenu
68 mAnchor = anchor; in PopupMenu()
167 new MenuPopupHelper(mContext, subMenu, mAnchor).show(); in onOpenSubMenu()
DPopupWindow.java129 private WeakReference<View> mAnchor; field in PopupWindow
133 View anchor = mAnchor != null ? mAnchor.get() : null;
997 if (mAnchor != null) { in setLayoutDirectionFromAnchor()
998 View anchor = mAnchor.get(); in setLayoutDirectionFromAnchor()
1468 WeakReference<View> oldAnchor = mAnchor;
1516 WeakReference<View> anchorRef = mAnchor;
1525 mAnchor = null;
1531 mAnchor = new WeakReference<View>(anchor);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DPopupMenu.java40 private View mAnchor; field in PopupMenu
68 mAnchor = anchor; in PopupMenu()
167 new MenuPopupHelper(mContext, subMenu, mAnchor).show(); in onOpenSubMenu()