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.java232 public void animateViewIntoPosition(DragView dragView, final View child, View anchorView) { in animateViewIntoPosition() argument
233 animateViewIntoPosition(dragView, child, -1, anchorView); in animateViewIntoPosition()
237 View anchorView) { in animateViewIntoPosition() argument
292 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView); in animateViewIntoPosition()
298 int animationEndStyle, int duration, View anchorView) { in animateViewIntoPosition() argument
303 null, null, onCompleteRunnable, animationEndStyle, anchorView); in animateViewIntoPosition()
332 final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView) { in animateView() argument
395 anchorView); in animateView()
400 final int animationEndStyle, View anchorView) { in animateView() argument
410 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.java180 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/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()