Home
last modified time | relevance | path

Searched refs:hasOverflow (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/core/java/android/widget/
H A DActionMenuView.java205 boolean hasOverflow = false; in onMeasureExactFormat()
241 if (lp.isOverflowButton) hasOverflow = true; in onMeasureExactFormat()
250 final boolean centerSingleExpandedItem = hasOverflow && visibleItemCount == 2; in onMeasureExactFormat()
310 final boolean singleItem = !hasOverflow && visibleItemCount == 1; in onMeasureExactFormat()
449 boolean hasOverflow = false; in onLayout()
479 hasOverflow = true; in onLayout()
491 if (childCount == 1 && !hasOverflow) { in onLayout()
503 final int spacerCount = nonOverflowCount - (hasOverflow ? 0 : 1); in onLayout()
H A DActionMenuPresenter.java460 boolean hasOverflow = false; in updateMenuView()
464 hasOverflow = !nonActionItems.get(0).isActionViewExpanded(); in updateMenuView()
466 hasOverflow = count > 0; in updateMenuView()
470 if (hasOverflow) { in updateMenuView()
649 boolean hasOverflow = false; in flagActionItems()
657 hasOverflow = true; in flagActionItems()
668 (hasOverflow || requiredItems + requestedItems > maxActions)) { in flagActionItems()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java697 if (!hasOverflow()) { in refreshCoordinatesAndOverflowDirection()
1034 if (hasOverflow()) { in setPanelsStatesAtRestingPosition()
1079 if (hasOverflow()) { in updateOverflowHeight()
1182 private boolean hasOverflow() { in hasOverflow() method in FloatingToolbar.FloatingToolbarPopup
1317 if (hasOverflow()) { in preparePopupContent()
1321 if (hasOverflow()) { in preparePopupContent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationIconContainer.java581 public boolean hasOverflow() { in hasOverflow() method in NotificationIconContainer