HomeSort by relevance Sort by last modified time
    Searched refs:anchorView (Results 1 - 25 of 27) sorted by null

1 2

  /developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/util/
SystemUiHider.java 104 * @param anchorView The view on which
110 public static SystemUiHider getInstance(Activity activity, View anchorView, int flags) {
112 return new SystemUiHiderHoneycomb(activity, anchorView, flags);
114 return new SystemUiHiderBase(activity, anchorView, flags);
118 protected SystemUiHider(Activity activity, View anchorView, int flags) {
120 mAnchorView = anchorView;
SystemUiHiderBase.java 38 protected SystemUiHiderBase(Activity activity, View anchorView, int flags) {
39 super(activity, anchorView, flags);
SystemUiHiderHoneycomb.java 61 protected SystemUiHiderHoneycomb(Activity activity, View anchorView, int flags) {
62 super(activity, anchorView, flags);
  /packages/apps/Messaging/src/com/android/messaging/ui/
SnackBar.java 91 private Placement(@NonNull final View anchorView, final boolean anchorAbove) {
92 Assert.notNull(anchorView);
93 mAnchorView = anchorView;
106 * Anchor the snack bar above the given {@code anchorView}.
108 public static Placement above(final View anchorView) {
109 return new Placement(anchorView, true);
113 * Anchor the snack bar below the given {@code anchorView}.
115 public static Placement below(final View anchorView) {
116 return new Placement(anchorView, false);
SnackBarManager.java 162 final View anchorView = placement.getAnchorView();
170 mPopupWindow.update(anchorView, 0, getRelativeOffset(snackBar),
171 anchorView.getWidth(), LayoutParams.WRAP_CONTENT);
174 anchorView.getViewTreeObserver().addOnGlobalLayoutListener(listener);
178 anchorView.getViewTreeObserver().removeOnGlobalLayoutListener(listener);
181 mPopupWindow.showAsDropDown(anchorView, 0, getRelativeOffset(snackBar));
357 final View anchorView = placement.getAnchorView();
359 return -snackBar.getRootView().getMeasuredHeight() - anchorView.getHeight();
  /frameworks/base/core/java/com/android/internal/view/menu/
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;
StandardMenuPopup.java 113 public StandardMenuPopup(Context context, MenuBuilder menu, View anchorView, int popupStyleAttr,
127 mAnchorView = anchorView;
  /frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
MenuPopupHelper.java 66 @NonNull View anchorView) {
67 this(context, menu, anchorView, false, R.attr.popupMenuStyle, 0);
71 @NonNull View anchorView,
73 this(context, menu, anchorView, overflowOnly, popupStyleAttr, 0);
77 @NonNull View anchorView, boolean overflowOnly, @AttrRes int popupStyleAttr,
81 mAnchorView = anchorView;
StandardMenuPopup.java 96 public StandardMenuPopup(Context context, MenuBuilder menu, View anchorView, int popupStyleAttr,
110 mAnchorView = anchorView;
  /packages/apps/Contacts/src/com/android/contacts/editor/
PhotoActionPopup.java 97 public static ListPopupWindow createPopupMenu(Context context, View anchorView,
125 listPopupWindow.setAnchorView(anchorView);
132 if (anchorView.getWidth() < minWidth) {
ContactEditorFragment.java 390 final View anchorView = editor.findViewById(R.id.account_selector_container);
394 anchorView.setVisibility(View.VISIBLE);
402 popup.setWidth(anchorView.getWidth());
403 popup.setAnchorView(anchorView);
ContactEditorBaseFragment.java     [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
PopupWindowTest.java 665 View anchorView = mActivity.findViewById(R.id.anchor_upper);
666 int avaliable = getDisplay().getHeight() - anchorView.getHeight();
667 int maxAvailableHeight = mPopupWindow.getMaxAvailableHeight(anchorView);
670 int maxAvailableHeightWithOffset = mPopupWindow.getMaxAvailableHeight(anchorView, 2);
673 mPopupWindow.getMaxAvailableHeight(anchorView, maxAvailableHeight);
677 mPopupWindow.getMaxAvailableHeight(anchorView, maxAvailableHeight / 2 - 1);
680 maxAvailableHeightWithOffset = mPopupWindow.getMaxAvailableHeight(anchorView, -1);
684 anchorView = mActivity.findViewById(R.id.anchor_lower);
689 mActivity.findViewById(android.R.id.content).getHeight()) - anchorView.getHeight();
690 maxAvailableHeight = mPopupWindow.getMaxAvailableHeight(anchorView);
    [all...]
  /packages/apps/Settings/src/com/android/settings/
DateTimeSettingsSetupWizard.java 276 View anchorView = findViewById(anchorViewId);
277 if (anchorView == null) {
282 mTimeZonePopup.setWidth(anchorView.getWidth());
283 mTimeZonePopup.setAnchorView(anchorView);
  /packages/apps/Launcher3/src/com/android/launcher3/
DragLayer.java 567 final Runnable onFinishAnimationRunnable, View anchorView) {
568 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, anchorView);
572 final Runnable onFinishAnimationRunnable, View anchorView) {
635 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView);
641 int animationEndStyle, int duration, View anchorView) {
646 null, null, onCompleteRunnable, animationEndStyle, anchorView);
666 * @param anchorView If not null, this represents the view which the animated view stays
674 final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView) {
737 anchorView);
742 final int animationEndStyle, View anchorView) {
    [all...]
  /packages/services/Car/car-support-lib/src/android/support/car/ui/
CircularClipAnimation.java 142 * @param anchorView See {@link #mAnchorView}.
144 public void start(boolean showing, int x, int y, int width, int height, View anchorView) {
146 "start(" + showing + ", " + width + ", " + height + ", " + anchorView + ")");
153 mAnchorView = anchorView;
CarLayoutManager.java     [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
DragLayer.java 476 final Runnable onFinishAnimationRunnable, View anchorView) {
530 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView);
536 int animationEndStyle, int duration, View anchorView) {
541 null, null, onCompleteRunnable, animationEndStyle, anchorView);
561 * @param anchorView If not null, this represents the view which the animated view stays
569 final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView) {
631 anchorView);
636 final int animationEndStyle, View anchorView) {
647 if (anchorView != null) {
648 mAnchorViewInitialScrollX = anchorView.getScrollX()
    [all...]
  /frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
RgbPlayerActivity.java 159 View anchorView = this.getParent() instanceof View ?
161 mMediaController.setAnchorView(anchorView);
VideoDumpView.java 206 View anchorView = this.getParent() instanceof View ?
208 mMediaController.setAnchorView(anchorView);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PopupList.java 69 public PopupList(Context context, View anchorView) {
71 mAnchorView = anchorView;
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ActionMenuPresenter.java 726 public OverflowPopup(Context context, MenuBuilder menu, View anchorView,
728 super(context, menu, anchorView, overflowOnly, R.attr.actionOverflowMenuStyle);
745 public ActionButtonSubmenu(Context context, SubMenuBuilder subMenu, View anchorView) {
746 super(context, subMenu, anchorView, false, R.attr.actionOverflowMenuStyle);
  /frameworks/base/core/java/android/widget/
ActionMenuPresenter.java     [all...]
VideoView.java 395 View anchorView = this.getParent() instanceof View ?
397 mMediaController.setAnchorView(anchorView);
    [all...]
ListPopupWindow.java     [all...]

Completed in 1205 milliseconds

1 2