Searched refs:mMenuItem (Results 1 – 2 of 2) sorted by relevance
60 private final MenuItem mMenuItem; field in MenuItemRenderer70 mMenuItem = item; in MenuItemRenderer()72 mMenuItem.setListener(this); in MenuItemRenderer()81 if (mMenuItem.isSearch()) { in setToolbarState()87 mMenuItem.setCarUxRestrictions(restrictions); in setCarUxRestrictions()118 mView.setId(mMenuItem.getId()); in updateView()120 boolean hasIcon = mMenuItem.getIcon() != null; in updateView()121 boolean hasText = !TextUtils.isEmpty(mMenuItem.getTitle()); in updateView()122 boolean textAndIcon = mMenuItem.isShowingIconAndTitle(); in updateView()123 boolean checkable = mMenuItem.isCheckable(); in updateView()[all …]
90 private MenuItem mMenuItem; field in SearchViewManager219 mMenuItem = mMenu.findItem(R.id.option_menu_search); in install()220 mSearchView = (SearchView) mMenuItem.getActionView(); in install()237 mMenuItem.setOnActionExpandListener(this); in install()256 if (mMenuItem == null) { in update()264 mMenuItem.expandActionView(); in update()276 if (mMenuItem.isActionViewExpanded()) { in update()277 mMenuItem.collapseActionView(); in update()300 if (mMenuItem == null) { in showMenu()312 mMenuItem.setVisible(supportsSearch && (!stack.isRecents() || !mShowSearchBar)); in showMenu()[all …]