Searched refs:oldMenu (Results 1 – 2 of 2) sorted by relevance
534 final MenuBuilder oldMenu = mMenuView.peekMenu(); in setMenu() local535 if (oldMenu == menu) { in setMenu()539 if (oldMenu != null) { in setMenu()540 oldMenu.removeMenuPresenter(mOuterActionMenuPresenter); in setMenu()541 oldMenu.removeMenuPresenter(mExpandedMenuPresenter); in setMenu()
548 final MenuBuilder oldMenu = mMenuView.peekMenu(); in setMenu() local549 if (oldMenu == menu) { in setMenu()553 if (oldMenu != null) { in setMenu()554 oldMenu.removeMenuPresenter(mOuterActionMenuPresenter); in setMenu()555 oldMenu.removeMenuPresenter(mExpandedMenuPresenter); in setMenu()