/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/ |
D | LocalFloatingToolbarPopup.java | 173 final MenuItem menuItem = mMenuItems.get((MenuItemRepr) tag); 174 if (menuItem == null) { 177 mOnMenuItemClickListener.onMenuItemClick(menuItem); 310 for (MenuItem menuItem : menuItems) { in updateMenuItems() 311 mMenuItems.put(MenuItemRepr.of(menuItem), menuItem); in updateMenuItems() local 956 for (MenuItem menuItem : menuItems) { in layoutMainPanelItems() 957 if (menuItem.getItemId() != android.R.id.textAssist in layoutMainPanelItems() 958 && menuItem.requiresOverflow()) { in layoutMainPanelItems() 959 overflowMenuItems.add(menuItem); in layoutMainPanelItems() 961 remainingMenuItems.add(menuItem); in layoutMainPanelItems() [all …]
|
D | FloatingToolbar.java | 237 MenuItem menuItem = menu.getItem(i); in getVisibleAndEnabledMenuItems() local 238 if (menuItem.isVisible() && menuItem.isEnabled()) { in getVisibleAndEnabledMenuItems() 239 Menu subMenu = menuItem.getSubMenu(); in getVisibleAndEnabledMenuItems() 243 menuItems.add(menuItem); in getVisibleAndEnabledMenuItems()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | MenuInflater_Delegate.java | 46 /*package*/ static void registerMenu(MenuInflater thisInflater, MenuItem menuItem, in registerMenu() argument 48 if (menuItem instanceof BridgeMenuItemImpl) { in registerMenu() 54 ((BridgeMenuItemImpl) menuItem).setViewCookie(viewKey); in registerMenu() 59 String menuItemName = menuItem != null ? menuItem.getClass().getName() : null; in registerMenu()
|
/frameworks/base/core/java/android/widget/ |
D | MenuPopupWindow.java | 165 MenuItem menuItem = null; in onHoverEvent() local 171 menuItem = menuAdapter.getItem(itemPosition); in onHoverEvent() 177 if (oldMenuItem != menuItem) { in onHoverEvent() 183 mHoveredMenuItem = menuItem; in onHoverEvent() 185 if (menuItem != null) { in onHoverEvent() 186 mHoverListener.onItemHoverEnter(menu, menuItem); in onHoverEvent()
|
D | Editor.java | 4543 final MenuItem menuItem = menu.getItem(i); in clearAssistMenuItems() local 4544 if (menuItem.getGroupId() == TextView.ID_ASSIST) { in clearAssistMenuItems() 4545 menu.removeItem(menuItem.getItemId()); in clearAssistMenuItems()
|
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 101 MenuItem menuItem = mMenu.findItem(R.id.display_mode); in updateOptionsMenu() local 103 updateDisplayMode(menuItem, currentMode); in updateOptionsMenu() 119 private void updateDisplayMode(MenuItem menuItem, Mode displayMode) { in updateDisplayMode() argument 121 menuItem.setTitle(fps + "hz"); in updateDisplayMode() 122 menuItem.setVisible(true); in updateDisplayMode()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/ |
D | ObservableDialogFragment.java | 101 public boolean onOptionsItemSelected(final MenuItem menuItem) { in onOptionsItemSelected() argument 102 boolean lifecycleHandled = mLifecycle.onOptionsItemSelected(menuItem); in onOptionsItemSelected() 104 return super.onOptionsItemSelected(menuItem); in onOptionsItemSelected()
|
D | ObservableActivity.java | 112 public boolean onOptionsItemSelected(final MenuItem menuItem) { in onOptionsItemSelected() argument 113 boolean lifecycleHandled = mLifecycle.onOptionsItemSelected(menuItem); in onOptionsItemSelected() 115 return super.onOptionsItemSelected(menuItem); in onOptionsItemSelected()
|
D | ObservableFragment.java | 117 public boolean onOptionsItemSelected(final MenuItem menuItem) { in onOptionsItemSelected() argument 118 boolean lifecycleHandled = mLifecycle.onOptionsItemSelected(menuItem); in onOptionsItemSelected() 120 return super.onOptionsItemSelected(menuItem); in onOptionsItemSelected()
|
D | ObservablePreferenceFragment.java | 128 public boolean onOptionsItemSelected(final MenuItem menuItem) { in onOptionsItemSelected() argument 129 boolean lifecycleHandled = mLifecycle.onOptionsItemSelected(menuItem); in onOptionsItemSelected() 131 return super.onOptionsItemSelected(menuItem); in onOptionsItemSelected()
|
D | Lifecycle.java | 201 public boolean onOptionsItemSelected(final MenuItem menuItem) { in onOptionsItemSelected() argument 205 if (((OnOptionsItemSelected) observer).onOptionsItemSelected(menuItem)) { in onOptionsItemSelected()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/events/ |
D | OnOptionsItemSelected.java | 22 boolean onOptionsItemSelected(MenuItem menuItem); in onOptionsItemSelected() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManager.java | 581 NotificationMenuRowPlugin.MenuItem menuItem) { in openGuts() argument 582 if (menuItem.getGutsView() instanceof NotificationGuts.GutsContent) { in openGuts() 584 (NotificationGuts.GutsContent) menuItem.getGutsView(); in openGuts() 592 () -> openGutsInternal(view, x, y, menuItem)); in openGuts() 609 return openGutsInternal(view, x, y, menuItem); in openGuts() 617 NotificationMenuRowPlugin.MenuItem menuItem) { in openGutsInternal() argument 642 if (!bindGuts(row, menuItem)) { in openGutsInternal() 683 mGutsMenuItem = menuItem; in openGutsInternal()
|
D | FeedbackInfo.java | 175 NotificationMenuRowPlugin.MenuItem menuItem = null; in negativeFeedback() local 177 menuItem = mMenuRowPlugin.getLongpressMenuItem(mContext); in negativeFeedback() 181 mNotificationGutsManager.openGuts(mExpandableNotificationRow, 0, 0, menuItem); in negativeFeedback()
|
D | ExpandableNotificationRow.java | 2007 MenuItem menuItem = provider.getFeedbackMenuItem(mContext); 2008 if (menuItem != null) { 2009 l.onClick(this, v.getWidth() / 2, v.getHeight() / 2, menuItem); 2128 MenuItem menuItem = null; 2130 menuItem = provider.getLongpressMenuItem(mContext); 2132 doLongClickCallback(x, y, menuItem); 2144 MenuItem menuItem = null; 2146 menuItem = provider.getLongpressMenuItem(mContext); 2149 && menuItem.getGutsView() instanceof NotificationConversationInfo) { 2151 (NotificationConversationInfo) menuItem.getGutsView(); [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManagerTest.java | 238 NotificationMenuRowPlugin.MenuItem menuItem = createTestMenuItem(realRow); in testOpenAndCloseGuts() local 244 assertTrue(mGutsManager.openGutsInternal(row, 0, 0, menuItem)); in testOpenAndCloseGuts() 335 NotificationMenuRowPlugin.MenuItem menuItem = createTestMenuItem(realRow); in testChangeDensityOrFontScale() local 349 assertTrue(mGutsManager.openGutsInternal(row, 0, 0, menuItem)); in testChangeDensityOrFontScale() 580 NotificationMenuRowPlugin.MenuItem menuItem = menuRow.getLongpressMenuItem(mContext); in createTestMenuItem() local 581 assertNotNull(menuItem); in createTestMenuItem() 582 return menuItem; in createTestMenuItem()
|
D | NotificationGutsManagerWithScenesTest.kt | 218 val menuItem = createTestMenuItem(realRow) in <lambda>() constant 222 Assert.assertTrue(gutsManager.openGutsInternal(row, 0, 0, menuItem)) in <lambda>() 330 val menuItem = createTestMenuItem(realRow) in <lambda>() constant 339 Assert.assertTrue(gutsManager.openGutsInternal(row, 0, 0, menuItem)) in <lambda>() 616 val menuItem = menuRow.getLongpressMenuItem(mContext) in <lambda>() constant 617 Assert.assertNotNull(menuItem) in <lambda>() 618 return menuItem in <lambda>()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePickerWithRegion.java | 221 public boolean onOptionsItemSelected(MenuItem menuItem) { in onOptionsItemSelected() argument 222 int id = menuItem.getItemId(); in onOptionsItemSelected() 228 return super.onOptionsItemSelected(menuItem); in onOptionsItemSelected()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 1078 MenuItemImpl menuItem; in getViewKey() local 1080 menuItem = ((ActionMenuItemView) view).getItemData(); in getViewKey() 1082 menuItem = ((ListMenuItemView) view).getItemData(); in getViewKey() 1084 menuItem = ((IconMenuItemView) view).getItemData(); in getViewKey() 1086 menuItem = null; in getViewKey() 1088 if (menuItem instanceof BridgeMenuItemImpl) { in getViewKey() 1089 return ((BridgeMenuItemImpl) menuItem).getViewCookie(); in getViewKey()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/ |
D | LifecycleTest.java | 144 public boolean onOptionsItemSelected(MenuItem menuItem) { in onOptionsItemSelected() argument 241 public boolean onOptionsItemSelected(MenuItem menuItem) { in onOptionsItemSelected() argument
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewActivityTest.java | 1380 public boolean onActionItemClicked(ActionMode actionMode, MenuItem menuItem) { in onActionItemClicked() argument
|