Home
last modified time | relevance | path

Searched refs:anchorView (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java245 public void animateViewIntoPosition(DragView dragView, final View child, View anchorView) { in animateViewIntoPosition() argument
246 animateViewIntoPosition(dragView, child, -1, anchorView); in animateViewIntoPosition()
250 View anchorView) { in animateViewIntoPosition() argument
305 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView); in animateViewIntoPosition()
311 int animationEndStyle, int duration, View anchorView) { in animateViewIntoPosition() argument
316 null, null, onCompleteRunnable, animationEndStyle, anchorView); in animateViewIntoPosition()
345 final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView) { in animateView() argument
408 anchorView); in animateView()
413 final int animationEndStyle, View anchorView) { in animateView() argument
423 if (anchorView != null) { in animateView()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBar.java91 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()
DSnackBarManager.java162 final View anchorView = placement.getAnchorView(); in show() local
170 mPopupWindow.update(anchorView, 0, getRelativeOffset(snackBar), in show()
171 anchorView.getWidth(), LayoutParams.WRAP_CONTENT); in show()
174 anchorView.getViewTreeObserver().addOnGlobalLayoutListener(listener); in show()
178 anchorView.getViewTreeObserver().removeOnGlobalLayoutListener(listener); in show()
181 mPopupWindow.showAsDropDown(anchorView, 0, getRelativeOffset(snackBar)); in show()
357 final View anchorView = placement.getAnchorView(); in getRelativeOffset() local
359 return -snackBar.getRootView().getMeasuredHeight() - anchorView.getHeight(); in getRelativeOffset()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoActionPopup.java97 public static ListPopupWindow createPopupMenu(Context context, View anchorView, in createPopupMenu() argument
125 listPopupWindow.setAnchorView(anchorView); in createPopupMenu()
132 if (anchorView.getWidth() < minWidth) { in createPopupMenu()
DContactEditorFragment.java1613 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/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPopupMenu.java40 WalletPopupMenu(Context context, View anchorView) { in WalletPopupMenu() argument
46 setAnchorView(anchorView); in WalletPopupMenu()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPopupList.java69 public PopupList(Context context, View anchorView) { in PopupList() argument
71 mAnchorView = anchorView; in PopupList()