Searched refs:anchorView (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SnackBar.java | 91 private Placement(@NonNull final View anchorView, final boolean anchorAbove) { in Placement() argument 92 Assert.notNull(anchorView); in Placement() 93 mAnchorView = anchorView; in Placement() 108 public static Placement above(final View anchorView) { in above() argument 109 return new Placement(anchorView, true); in above() 115 public static Placement below(final View anchorView) { in below() argument 116 return new Placement(anchorView, false); in below()
|
D | SnackBarManager.java | 180 final View anchorView = placement.getAnchorView(); in show() local 188 mPopupWindow.update(anchorView, 0, getRelativeOffset(snackBar), in show() 189 anchorView.getWidth(), LayoutParams.WRAP_CONTENT); in show() 192 anchorView.getViewTreeObserver().addOnGlobalLayoutListener(listener); in show() 196 anchorView.getViewTreeObserver().removeOnGlobalLayoutListener(listener); in show() 199 mPopupWindow.showAsDropDown(anchorView, 0, getRelativeOffset(snackBar)); in show() 378 final View anchorView = placement.getAnchorView(); in getRelativeOffset() local 380 return -snackBar.getRootView().getMeasuredHeight() - anchorView.getHeight(); in getRelativeOffset()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragLayer.java | 251 public void animateViewIntoPosition(DragView dragView, final View child, View anchorView) { in animateViewIntoPosition() argument 252 animateViewIntoPosition(dragView, child, -1, anchorView); in animateViewIntoPosition() 256 View anchorView) { in animateViewIntoPosition() argument 313 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView); in animateViewIntoPosition() 319 int animationEndStyle, int duration, View anchorView) { in animateViewIntoPosition() argument 324 null, null, onCompleteRunnable, animationEndStyle, anchorView); in animateViewIntoPosition() 353 final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView) { in animateView() argument 416 anchorView); in animateView() 421 final int animationEndStyle, View anchorView) { in animateView() argument 431 if (anchorView != null) { in animateView() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoActionPopup.java | 97 public static ListPopupWindow createPopupMenu(Context context, View anchorView, in createPopupMenu() argument 125 listPopupWindow.setAnchorView(anchorView); in createPopupMenu() 132 if (anchorView.getWidth() < minWidth) { in createPopupMenu()
|
D | ContactEditorFragment.java | 1613 final View anchorView = getAggregationAnchorView(); in onAggregationSuggestionChange() local 1614 if (anchorView == null) { in onAggregationSuggestionChange() 1618 mAggregationSuggestionPopup.setAnchorView(anchorView); in onAggregationSuggestionChange() 1619 mAggregationSuggestionPopup.setWidth(anchorView.getWidth()); in onAggregationSuggestionChange()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PopupList.java | 69 public PopupList(Context context, View anchorView) { in PopupList() argument 71 mAnchorView = anchorView; in PopupList()
|