Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DDragLayer.java585 final Runnable onFinishAnimationRunnable, View anchorView) { in animateViewIntoPosition() argument
586 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, anchorView); in animateViewIntoPosition()
590 final Runnable onFinishAnimationRunnable, View anchorView) { in animateViewIntoPosition() argument
653 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView); in animateViewIntoPosition()
659 int animationEndStyle, int duration, View anchorView) { in animateViewIntoPosition() argument
664 null, null, onCompleteRunnable, animationEndStyle, anchorView); in animateViewIntoPosition()
692 final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView) { in animateView() argument
755 anchorView); in animateView()
760 final int animationEndStyle, View anchorView) { in animateView() argument
770 if (anchorView != null) { in animateView()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
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()
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()
/packages/apps/Launcher2/src/com/android/launcher2/
DDragLayer.java476 final Runnable onFinishAnimationRunnable, View anchorView) { in animateViewIntoPosition() argument
530 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView); in animateViewIntoPosition()
536 int animationEndStyle, int duration, View anchorView) { in animateViewIntoPosition() argument
541 null, null, onCompleteRunnable, animationEndStyle, anchorView); in animateViewIntoPosition()
569 final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView) { in animateView() argument
631 anchorView); in animateView()
636 final int animationEndStyle, View anchorView) { in animateView() argument
647 if (anchorView != null) { in animateView()
648 mAnchorViewInitialScrollX = anchorView.getScrollX(); in animateView()
650 mAnchorView = anchorView; in animateView()
/packages/apps/Settings/src/com/android/settings/
DDateTimeSettingsSetupWizard.java276 View anchorView = findViewById(anchorViewId); in showTimezonePicker() local
277 if (anchorView == null) { in showTimezonePicker()
282 mTimeZonePopup.setWidth(anchorView.getWidth()); in showTimezonePicker()
283 mTimeZonePopup.setAnchorView(anchorView); in showTimezonePicker()
/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.java456 final View anchorView = editor.findViewById(R.id.account_selector_container); in addAccountSwitcher() local
460 anchorView.setVisibility(View.VISIBLE); in addAccountSwitcher()
468 popup.setWidth(anchorView.getWidth()); in addAccountSwitcher()
469 popup.setAnchorView(anchorView); in addAccountSwitcher()
DContactEditorBaseFragment.java1558 final View anchorView = getAggregationAnchorView(mAggregationSuggestionsRawContactId); in onAggregationSuggestionChange() local
1559 if (anchorView == null) { in onAggregationSuggestionChange()
1563 mAggregationSuggestionPopup.setAnchorView(anchorView); in onAggregationSuggestionChange()
1564 mAggregationSuggestionPopup.setWidth(anchorView.getWidth()); in onAggregationSuggestionChange()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPopupList.java69 public PopupList(Context context, View anchorView) { in PopupList() argument
71 mAnchorView = anchorView; in PopupList()