Home
last modified time | relevance | path

Searched refs:mOverflowButton (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java67 private OverflowMenuButton mOverflowButton; field in ActionMenuPresenter
154 if (mOverflowButton == null) { in initForMenu()
155 mOverflowButton = new OverflowMenuButton(mSystemContext); in initForMenu()
157 mOverflowButton.setImageDrawable(mPendingOverflowIcon); in initForMenu()
162 mOverflowButton.measure(spec, spec); in initForMenu()
164 width -= mOverflowButton.getMeasuredWidth(); in initForMenu()
166 mOverflowButton = null; in initForMenu()
204 if (mOverflowButton != null) { in setOverflowIcon()
205 mOverflowButton.setImageDrawable(icon); in setOverflowIcon()
213 if (mOverflowButton != null) { in getOverflowIcon()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java373 private final ImageButton mOverflowButton; // opens/closes the overflow. field in FloatingToolbar.FloatingToolbarPopup
497 mOverflowButton = createOverflowButton(); in FloatingToolbarPopup()
498 mOverflowButtonSize = measure(mOverflowButton); in FloatingToolbarPopup()
846 final float overflowButtonStartX = mOverflowButton.getX(); in openOverflow()
848 overflowButtonStartX + targetWidth - mOverflowButton.getWidth() : in openOverflow()
849 overflowButtonStartX - targetWidth + mOverflowButton.getWidth(); in openOverflow()
859 mOverflowButton.setX(actualOverflowButtonX); in openOverflow()
923 final float overflowButtonStartX = mOverflowButton.getX(); in closeOverflow()
925 overflowButtonStartX - startWidth + mOverflowButton.getWidth() : in closeOverflow()
926 overflowButtonStartX + startWidth - mOverflowButton.getWidth(); in closeOverflow()
[all …]