Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DSubtitleController.java177 if (mAnchor != null) { in doSelectTrack()
178 mAnchor.setSubtitleWidget(getRenderingWidget()); in doSelectTrack()
465 private Anchor mAnchor; field in SubtitleController
472 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()
/frameworks/base/core/java/android/widget/
DMediaController.java78 private View mAnchor; field in MediaController
189 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 …]
DPopupMenu.java47 private final View mAnchor; field in PopupMenu
102 mAnchor = anchor; in PopupMenu()
170 mDragListener = new ForwardingListener(mAnchor) { in getDragToOpenListener()
DPopupWindow.java262 private WeakReference<View> mAnchor; field in PopupWindow
1584 if (mAnchor != null) { in setLayoutDirectionFromAnchor()
1585 View anchor = mAnchor.get(); in setLayoutDirectionFromAnchor()
2098 final View anchor = mAnchor != null ? mAnchor.get() : null; in getTransitionEpicenter()
2203 update(mAnchor != null ? mAnchor.get() : null, p); in update()
2320 if (mAnchor != null && mAnchor.get() != null) { in update()
2321 anchor = mAnchor.get(); in update()
2391 final WeakReference<View> oldAnchor = mAnchor;
2460 mAnchor = null;
2479 mAnchor = new WeakReference<>(anchor);
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt33411 Landroid/media/SubtitleController;->mAnchor:Landroid/media/SubtitleController$Anchor;
71861 Landroid/widget/PopupMenu;->mAnchor:Landroid/view/View;