Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/
DFloatingToolbar.java79 private final Comparator<MenuItem> mMenuItemComparator = (menuItem1, menuItem2) -> {
82 return menuItem2.getItemId() == android.R.id.textAssist ? 0 : -1;
84 if (menuItem2.getItemId() == android.R.id.textAssist) {
90 return menuItem2.requiresActionButton() ? 0 : -1;
92 if (menuItem2.requiresActionButton()) {
96 return menuItem2.requiresOverflow() ? 0 : 1;
98 if (menuItem2.requiresOverflow()) {
103 return menuItem1.getOrder() - menuItem2.getOrder();
DLocalFloatingToolbarPopup.java1608 final MenuItem menuItem2 = menuItems2Iter.next(); in reprEquals() local
1609 if (!MenuItemRepr.of(menuItem1).equals(MenuItemRepr.of(menuItem2))) { in reprEquals()