Searched refs:mAnchor (Results 1 – 4 of 4) sorted by relevance
177 if (mAnchor != null) { in doSelectTrack()178 mAnchor.setSubtitleWidget(getRenderingWidget()); in doSelectTrack()465 private Anchor mAnchor; field in SubtitleController472 if (mAnchor == anchor) { in setAnchor()476 if (mAnchor != null) { in setAnchor()478 mAnchor.setSubtitleWidget(null); in setAnchor()480 mAnchor = anchor; in setAnchor()482 if (mAnchor != null) { in setAnchor()483 mHandler = new Handler(mAnchor.getSubtitleLooper(), mCallback); in setAnchor()485 mAnchor.setSubtitleWidget(getRenderingWidget()); in setAnchor()
78 private View mAnchor; field in MediaController189 mAnchor.getLocationOnScreen(anchorPos); in updateFloatingWindowLayout()193 mDecor.measure(MeasureSpec.makeMeasureSpec(mAnchor.getWidth(), MeasureSpec.AT_MOST), in updateFloatingWindowLayout()194 MeasureSpec.makeMeasureSpec(mAnchor.getHeight(), MeasureSpec.AT_MOST)); in updateFloatingWindowLayout()197 p.width = mAnchor.getWidth(); in updateFloatingWindowLayout()198 p.x = anchorPos[0] + (mAnchor.getWidth() - p.width) / 2; in updateFloatingWindowLayout()199 p.y = anchorPos[1] + mAnchor.getHeight() - mDecor.getMeasuredHeight(); in updateFloatingWindowLayout()241 if (mAnchor != null) { in setAnchorView()242 mAnchor.removeOnLayoutChangeListener(mLayoutChangeListener); in setAnchorView()244 mAnchor = view; in setAnchorView()[all …]
46 private final View mAnchor; field in PopupMenu101 mAnchor = anchor; in PopupMenu()169 mDragListener = new ForwardingListener(mAnchor) { in getDragToOpenListener()
263 private WeakReference<View> mAnchor; field in PopupWindow1585 if (mAnchor != null) { in setLayoutDirectionFromAnchor()1586 View anchor = mAnchor.get(); in setLayoutDirectionFromAnchor()2099 final View anchor = mAnchor != null ? mAnchor.get() : null; in getTransitionEpicenter()2204 update(mAnchor != null ? mAnchor.get() : null, p); in update()2321 if (mAnchor != null && mAnchor.get() != null) { in update()2322 anchor = mAnchor.get(); in update()2392 final WeakReference<View> oldAnchor = mAnchor;2461 mAnchor = null;2480 mAnchor = new WeakReference<>(anchor);[all …]