/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | TooltipPopup.java | 73 void show(View anchorView, int anchorX, int anchorY, boolean fromTouch, argument 81 computePosition(anchorView, anchorX, anchorY, fromTouch, mLayoutParams); 100 private void computePosition(View anchorView, int anchorX, int anchorY, boolean fromTouch, argument 106 if (anchorView.getWidth() >= tooltipPreciseAnchorThreshold) { 111 offsetX = anchorView.getWidth() / 2; // Center on the view horizontally. 116 if (anchorView.getHeight() >= tooltipPreciseAnchorThreshold) { 124 offsetBelow = anchorView.getHeight(); // Place below the view in most cases. 133 final View appView = getAppRootView(anchorView); 155 anchorView.getLocationOnScreen(mTmpAnchorPos); 183 private static View getAppRootView(View anchorView) { argument [all...] |
H A D | ActionMenuPresenter.java | 727 public OverflowPopup(Context context, MenuBuilder menu, View anchorView, argument 729 super(context, menu, anchorView, overflowOnly, R.attr.actionOverflowMenuStyle); 746 public ActionButtonSubmenu(Context context, SubMenuBuilder subMenu, View anchorView) { argument 747 super(context, subMenu, anchorView, false, R.attr.actionOverflowMenuStyle);
|
H A D | ListPopupWindow.java | 1077 final View anchorView = mDropDownAnchorView; 1079 KeyEvent.DispatcherState state = anchorView.getKeyDispatcherState(); 1085 KeyEvent.DispatcherState state = anchorView.getKeyDispatcherState();
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | TooltipPopup.java | 63 public void show(View anchorView, int anchorX, int anchorY, boolean fromTouch, argument 71 computePosition(anchorView, anchorX, anchorY, fromTouch, mLayoutParams); 94 private void computePosition(View anchorView, int anchorX, int anchorY, boolean fromTouch, argument 96 outParams.token = anchorView.getApplicationWindowToken(); 102 if (anchorView.getWidth() >= tooltipPreciseAnchorThreshold) { 107 offsetX = anchorView.getWidth() / 2; // Center on the view horizontally. 112 if (anchorView.getHeight() >= tooltipPreciseAnchorThreshold) { 120 offsetBelow = anchorView.getHeight(); // Place below the view in most cases. 132 anchorView.getApplicationWindowToken()); 140 anchorView [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPopupHelper.java | 63 @NonNull View anchorView) { 64 this(context, menu, anchorView, false, com.android.internal.R.attr.popupMenuStyle, 0); 68 @NonNull View anchorView, 70 this(context, menu, anchorView, overflowOnly, popupStyleAttr, 0); 74 @NonNull View anchorView, boolean overflowOnly, @AttrRes int popupStyleAttr, 78 mAnchorView = anchorView; 62 MenuPopupHelper(@onNull Context context, @NonNull MenuBuilder menu, @NonNull View anchorView) argument 67 MenuPopupHelper(@onNull Context context, @NonNull MenuBuilder menu, @NonNull View anchorView, boolean overflowOnly, @AttrRes int popupStyleAttr) argument 73 MenuPopupHelper(@onNull Context context, @NonNull MenuBuilder menu, @NonNull View anchorView, boolean overflowOnly, @AttrRes int popupStyleAttr, @StyleRes int popupStyleRes) argument
|
H A D | StandardMenuPopup.java | 113 public StandardMenuPopup(Context context, MenuBuilder menu, View anchorView, int popupStyleAttr, argument 127 mAnchorView = anchorView;
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | MenuPopupHelper.java | 70 @NonNull View anchorView) { 71 this(context, menu, anchorView, false, R.attr.popupMenuStyle, 0); 75 @NonNull View anchorView, 77 this(context, menu, anchorView, overflowOnly, popupStyleAttr, 0); 81 @NonNull View anchorView, boolean overflowOnly, @AttrRes int popupStyleAttr, 85 mAnchorView = anchorView; 69 MenuPopupHelper(@onNull Context context, @NonNull MenuBuilder menu, @NonNull View anchorView) argument 74 MenuPopupHelper(@onNull Context context, @NonNull MenuBuilder menu, @NonNull View anchorView, boolean overflowOnly, @AttrRes int popupStyleAttr) argument 80 MenuPopupHelper(@onNull Context context, @NonNull MenuBuilder menu, @NonNull View anchorView, boolean overflowOnly, @AttrRes int popupStyleAttr, @StyleRes int popupStyleRes) argument
|
H A D | StandardMenuPopup.java | 111 public StandardMenuPopup(Context context, MenuBuilder menu, View anchorView, int popupStyleAttr, argument 125 mAnchorView = anchorView;
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
H A D | TestUtils.java | 292 * @param anchorView the anchor view to determine the tap location on the screen 296 public static void emulateTapOnView(Instrumentation instrumentation, View anchorView, argument 298 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); 301 anchorView.getLocationOnScreen(viewOnScreenXY);
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
H A D | RgbPlayerActivity.java | 159 View anchorView = this.getParent() instanceof View ? 161 mMediaController.setAnchorView(anchorView);
|
H A D | VideoDumpView.java | 206 View anchorView = this.getParent() instanceof View ? 208 mMediaController.setAnchorView(anchorView);
|
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuPresenter.java | 932 public OverflowPopup(Context context, MenuBuilder menu, View anchorView, argument 934 super(context, menu, anchorView, overflowOnly, 952 public ActionButtonSubmenu(Context context, SubMenuBuilder subMenu, View anchorView) { argument 953 super(context, subMenu, anchorView, false,
|
H A D | VideoView.java | 446 View anchorView = this.getParent() instanceof View ? 448 mMediaController.setAnchorView(anchorView);
|
H A D | ListPopupWindow.java | 1038 final View anchorView = mDropDownAnchorView; 1040 KeyEvent.DispatcherState state = anchorView.getKeyDispatcherState(); 1046 KeyEvent.DispatcherState state = anchorView.getKeyDispatcherState();
|