Home
last modified time | relevance | path

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

/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/Launcher3/src/com/android/launcher3/
DDragLayer.java567 final Runnable onFinishAnimationRunnable, View anchorView) { in animateViewIntoPosition() argument
568 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, anchorView); in animateViewIntoPosition()
572 final Runnable onFinishAnimationRunnable, View anchorView) { in animateViewIntoPosition() argument
635 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView); in animateViewIntoPosition()
641 int animationEndStyle, int duration, View anchorView) { in animateViewIntoPosition() argument
646 null, null, onCompleteRunnable, animationEndStyle, anchorView); in animateViewIntoPosition()
674 final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView) { in animateView() argument
737 anchorView); in animateView()
742 final int animationEndStyle, View anchorView) { in animateView() argument
752 if (anchorView != null) { in animateView()
[all …]
/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.java390 final View anchorView = editor.findViewById(R.id.account_selector_container); in addAccountSwitcher() local
394 anchorView.setVisibility(View.VISIBLE); in addAccountSwitcher()
402 popup.setWidth(anchorView.getWidth()); in addAccountSwitcher()
403 popup.setAnchorView(anchorView); in addAccountSwitcher()
DContactEditorBaseFragment.java1588 final View anchorView = getAggregationAnchorView(mAggregationSuggestionsRawContactId); in onAggregationSuggestionChange() local
1589 if (anchorView == null) { in onAggregationSuggestionChange()
1593 mAggregationSuggestionPopup.setAnchorView(anchorView); in onAggregationSuggestionChange()
1594 mAggregationSuggestionPopup.setWidth(anchorView.getWidth()); in onAggregationSuggestionChange()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCircularClipAnimation.java144 public void start(boolean showing, int x, int y, int width, int height, View anchorView) { in start() argument
146 "start(" + showing + ", " + width + ", " + height + ", " + anchorView + ")"); in start()
153 mAnchorView = anchorView; in start()
DCarLayoutManager.java1065 View anchorView = findViewByPosition(mAnchorPageBreakPosition); in offsetRowsByPage() local
1066 if (anchorView == null) { in offsetRowsByPage()
1072 int anchorViewTop = getDecoratedTop(anchorView) - getParams(anchorView).topMargin; in offsetRowsByPage()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPopupList.java69 public PopupList(Context context, View anchorView) { in PopupList() argument
71 mAnchorView = anchorView; in PopupList()
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt42739 01-13 23:19:56.697 3284 3284 D CarLayoutManager: :: offsetRowsByPage anchorView null
42752 01-13 23:19:56.865 3284 3284 D CarLayoutManager: :: offsetRowsByPage anchorView null