Lines Matching defs:mAnchor
73 private View mAnchor;
166 // Must be called with mAnchor != NULL.
169 mAnchor.getLocationOnScreen(anchorPos);
173 mDecor.measure(MeasureSpec.makeMeasureSpec(mAnchor.getWidth(), MeasureSpec.AT_MOST),
174 MeasureSpec.makeMeasureSpec(mAnchor.getHeight(), MeasureSpec.AT_MOST));
177 p.width = mAnchor.getWidth();
178 p.x = anchorPos[0] + (mAnchor.getWidth() - p.width) / 2;
179 p.y = anchorPos[1] + mAnchor.getHeight() - mDecor.getMeasuredHeight();
182 // This is called whenever mAnchor's layout bound changes
221 if (mAnchor != null) {
222 mAnchor.removeOnLayoutChangeListener(mLayoutChangeListener);
224 mAnchor = view;
225 if (mAnchor != null) {
226 mAnchor.addOnLayoutChangeListener(mLayoutChangeListener);
357 if (!mShowing && mAnchor != null) {
388 if (mAnchor == null)