Searched refs:mAnchor (Results 1 – 7 of 7) sorted by relevance
48 private final View mAnchor; field in TooltipCompatHandler81 if (sActiveHandler != null && sActiveHandler.mAnchor == view) { in setTooltipText()88 if (sActiveHandler != null && sActiveHandler.mAnchor == view) { in setTooltipText()97 mAnchor = anchor; in TooltipCompatHandler()100 mAnchor.setOnLongClickListener(this); in TooltipCompatHandler()101 mAnchor.setOnHoverListener(this); in TooltipCompatHandler()118 mAnchor.getContext().getSystemService(Context.ACCESSIBILITY_SERVICE); in onHover()125 if (mAnchor.isEnabled() && mPopup == null) { in onHover()128 mAnchor.removeCallbacks(mShowRunnable); in onHover()129 mAnchor.postDelayed(mShowRunnable, ViewConfiguration.getLongPressTimeout()); in onHover()[all …]
47 private final View mAnchor; field in PopupMenu101 mAnchor = anchor; in PopupMenu()170 mDragListener = new ForwardingListener(mAnchor) { in getDragToOpenListener()
132 WeakReference<View> mAnchor = (WeakReference<View>) fieldAnchor.get(popup);133 if (mAnchor == null || mAnchor.get() == null) {
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()
73 private View mAnchor; field in MediaController169 mAnchor.getLocationOnScreen(anchorPos); in updateFloatingWindowLayout()173 mDecor.measure(MeasureSpec.makeMeasureSpec(mAnchor.getWidth(), MeasureSpec.AT_MOST), in updateFloatingWindowLayout()174 MeasureSpec.makeMeasureSpec(mAnchor.getHeight(), MeasureSpec.AT_MOST)); in updateFloatingWindowLayout()177 p.width = mAnchor.getWidth(); in updateFloatingWindowLayout()178 p.x = anchorPos[0] + (mAnchor.getWidth() - p.width) / 2; in updateFloatingWindowLayout()179 p.y = anchorPos[1] + mAnchor.getHeight() - mDecor.getMeasuredHeight(); in updateFloatingWindowLayout()221 if (mAnchor != null) { in setAnchorView()222 mAnchor.removeOnLayoutChangeListener(mLayoutChangeListener); in setAnchorView()224 mAnchor = view; in setAnchorView()[all …]
44 private final View mAnchor; field in PopupMenu98 mAnchor = anchor; in PopupMenu()166 mDragListener = new ForwardingListener(mAnchor) { in getDragToOpenListener()
241 private WeakReference<View> mAnchor; field in PopupWindow1437 if (mAnchor != null) { in setLayoutDirectionFromAnchor()1438 View anchor = mAnchor.get(); in setLayoutDirectionFromAnchor()1949 final View anchor = mAnchor != null ? mAnchor.get() : null; in getTransitionEpicenter()2052 update(mAnchor != null ? mAnchor.get() : null, p); in update()2169 if (mAnchor != null && mAnchor.get() != null) { in update()2170 anchor = mAnchor.get(); in update()2240 final WeakReference<View> oldAnchor = mAnchor;2296 final View anchor = mAnchor != null ? mAnchor.get() : null;2309 mAnchor = null;[all …]