Searched refs:oldMenu (Results 1 – 2 of 2) sorted by relevance
572 final MenuBuilder oldMenu = mMenuView.peekMenu(); in setMenu() local573 if (oldMenu == menu) { in setMenu()577 if (oldMenu != null) { in setMenu()578 oldMenu.removeMenuPresenter(mOuterActionMenuPresenter); in setMenu()579 oldMenu.removeMenuPresenter(mExpandedMenuPresenter); in setMenu()
1236 View oldMenu = mMenuRow == null ? null : mMenuRow.getMenuView();1237 if (oldMenu != null) {1238 int menuIndex = indexOfChild(oldMenu);1239 removeView(oldMenu);