Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java240 public void animateViewIntoPosition(DragView dragView, final View child, View anchorView) { in animateViewIntoPosition() argument
241 animateViewIntoPosition(dragView, child, -1, anchorView); in animateViewIntoPosition()
245 View anchorView) { in animateViewIntoPosition() argument
295 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView); in animateViewIntoPosition()
304 int animationEndStyle, int duration, View anchorView) { in animateViewIntoPosition() argument
307 null, onCompleteRunnable, animationEndStyle, anchorView); in animateViewIntoPosition()
330 final int animationEndStyle, View anchorView) { in animateView() argument
362 if (anchorView != null) { in animateView()
363 final int startScroll = anchorView.getScrollX(); in animateView()
365 + (anchorView.getScaleX() * (startScroll - anchorView.getScrollX())); in animateView()
/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/Launcher3/quickstep/src/com/android/quickstep/interaction/
DRootSandboxLayout.java158 @NonNull View anchorView, boolean translateToRight) { in updateTutorialStepViewTranslation()
166 anchorView.getLeft(), in updateTutorialStepViewTranslation()
167 anchorView.getTop(), in updateTutorialStepViewTranslation()
168 anchorView.getRight(), in updateTutorialStepViewTranslation()
169 anchorView.getBottom()); in updateTutorialStepViewTranslation()
/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/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/repositories/appactions/
DAppShortcutsFactory.kt62 anchorView: View in showShortcuts()
88 .build(context, anchorView) in showShortcuts()
/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/Car/SystemUI/src/com/android/systemui/car/statusicon/
DStatusIconPanelViewController.java191 View anchorView, @LayoutRes int layoutRes, @DimenRes int widthRes, in StatusIconPanelViewController() argument
194 super(anchorView); in StatusIconPanelViewController()
574 public StatusIconPanelViewController build(View anchorView, @LayoutRes int layoutRes, in build() argument
578 mCarSystemBarElementInitializer, anchorView, layoutRes, widthRes, mXOffset, in build()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPopupList.java69 public PopupList(Context context, View anchorView) { in PopupList() argument
71 mAnchorView = anchorView; in PopupList()