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

  /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);
  /cts/tests/tests/widget/src/android/widget/cts/
PopupWindowTest.java 373 View anchorView = mActivity.findViewById(R.id.anchor_upper);
374 int avaliable = getDisplay().getHeight() - anchorView.getHeight();
375 int maxAvailableHeight = mPopupWindow.getMaxAvailableHeight(anchorView);
378 int maxAvailableHeightWithOffset = mPopupWindow.getMaxAvailableHeight(anchorView, 2);
381 mPopupWindow.getMaxAvailableHeight(anchorView, maxAvailableHeight);
385 mPopupWindow.getMaxAvailableHeight(anchorView, maxAvailableHeight / 2 - 1);
388 maxAvailableHeightWithOffset = mPopupWindow.getMaxAvailableHeight(anchorView, -1);
392 anchorView = mActivity.findViewById(R.id.anchor_lower);
397 mActivity.findViewById(android.R.id.content).getHeight()) - anchorView.getHeight();
398 maxAvailableHeight = mPopupWindow.getMaxAvailableHeight(anchorView);
    [all...]
ListPopupWindowTest.java 209 View anchorView = mActivity.findViewById(R.id.anchor_upper);
210 mPopupWindow.setAnchorView(anchorView);
  /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();
  /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 456 final View anchorView = editor.findViewById(R.id.account_selector_container);
460 anchorView.setVisibility(View.VISIBLE);
468 popup.setWidth(anchorView.getWidth());
469 popup.setAnchorView(anchorView);
ContactEditorBaseFragment.java     [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
MenuPopupHelper.java 78 public MenuPopupHelper(Context context, MenuBuilder menu, View anchorView) {
79 this(context, menu, anchorView, false, com.android.internal.R.attr.popupMenuStyle, 0);
82 public MenuPopupHelper(Context context, MenuBuilder menu, View anchorView,
84 this(context, menu, anchorView, overflowOnly, popupStyleAttr, 0);
87 public MenuPopupHelper(Context context, MenuBuilder menu, View anchorView,
101 mAnchorView = anchorView;
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
MenuPopupHelper.java 83 public MenuPopupHelper(Context context, MenuBuilder menu, View anchorView) {
84 this(context, menu, anchorView, false, R.attr.popupMenuStyle);
87 public MenuPopupHelper(Context context, MenuBuilder menu, View anchorView,
89 this(context, menu, anchorView, overflowOnly, popupStyleAttr, 0);
92 public MenuPopupHelper(Context context, MenuBuilder menu, View anchorView,
106 mAnchorView = anchorView;
  /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 585 final Runnable onFinishAnimationRunnable, View anchorView) {
586 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, anchorView);
590 final Runnable onFinishAnimationRunnable, View anchorView) {
653 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView);
659 int animationEndStyle, int duration, View anchorView) {
664 null, null, onCompleteRunnable, animationEndStyle, anchorView);
684 * @param anchorView If not null, this represents the view which the animated view stays
692 final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView) {
755 anchorView);
760 final int animationEndStyle, View anchorView) {
    [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/base/core/java/android/widget/
VideoView.java 393 View anchorView = this.getParent() instanceof View ?
395 mMediaController.setAnchorView(anchorView);
    [all...]
ListPopupWindow.java     [all...]
ActionMenuPresenter.java     [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ActionMenuPresenter.java 697 public OverflowPopup(Context context, MenuBuilder menu, View anchorView,
699 super(context, menu, anchorView, overflowOnly, R.attr.actionOverflowMenuStyle);
ListPopupWindow.java     [all...]
  /prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar 

Completed in 1640 milliseconds