Searched refs:mAnchor (Results 1 – 6 of 6) sorted by relevance
174 if (mAnchor != null) { in doSelectTrack()175 mAnchor.setSubtitleWidget(getRenderingWidget()); in doSelectTrack()458 private Anchor mAnchor; field in SubtitleController465 if (mAnchor == anchor) { in setAnchor()469 if (mAnchor != null) { in setAnchor()471 mAnchor.setSubtitleWidget(null); in setAnchor()473 mAnchor = anchor; in setAnchor()475 if (mAnchor != null) { in setAnchor()476 mHandler = new Handler(mAnchor.getSubtitleLooper(), mCallback); in setAnchor()478 mAnchor.setSubtitleWidget(getRenderingWidget()); in setAnchor()
75 private View mAnchor; field in MediaController173 mAnchor.getLocationOnScreen(anchorPos); in updateFloatingWindowLayout()177 mDecor.measure(MeasureSpec.makeMeasureSpec(mAnchor.getWidth(), MeasureSpec.AT_MOST), in updateFloatingWindowLayout()178 MeasureSpec.makeMeasureSpec(mAnchor.getHeight(), MeasureSpec.AT_MOST)); in updateFloatingWindowLayout()181 p.width = mAnchor.getWidth(); in updateFloatingWindowLayout()182 p.x = anchorPos[0] + (mAnchor.getWidth() - p.width) / 2; in updateFloatingWindowLayout()183 p.y = anchorPos[1] + mAnchor.getHeight() - mDecor.getMeasuredHeight(); in updateFloatingWindowLayout()225 if (mAnchor != null) { in setAnchorView()226 mAnchor.removeOnLayoutChangeListener(mLayoutChangeListener); in setAnchorView()228 mAnchor = view; in setAnchorView()[all …]
44 private final View mAnchor; field in PopupMenu112 mAnchor = anchor; in PopupMenu()159 mDragListener = new ForwardingListener(mAnchor) { in getDragToOpenListener()277 new MenuPopupHelper(mContext, subMenu, mAnchor).show(); in onOpenSubMenu()
162 private WeakReference<View> mAnchor; field in PopupWindow167 final View anchor = mAnchor != null ? mAnchor.get() : null;1266 if (mAnchor != null) { in setLayoutDirectionFromAnchor()1267 View anchor = mAnchor.get(); in setLayoutDirectionFromAnchor()1621 final View anchor = mAnchor != null ? mAnchor.get() : null; in getRelativeAnchorBounds()1857 final WeakReference<View> oldAnchor = mAnchor;1905 final WeakReference<View> anchorRef = mAnchor;1912 mAnchor = null;1918 mAnchor = new WeakReference<>(anchor);
44 private View mAnchor; field in PopupMenu110 mAnchor = anchor; in PopupMenu()157 mDragListener = new ListPopupWindow.ForwardingListener(mAnchor) { in getDragToOpenListener()275 new MenuPopupHelper(mContext, subMenu, mAnchor).show(); in onOpenSubMenu()
108 WeakReference<View> mAnchor = (WeakReference<View>) fieldAnchor.get(popup);109 if (mAnchor == null || mAnchor.get() == null) {