Searched refs:starredMenuItem (Results 1 – 2 of 2) sorted by relevance
173 public static void configureStarredMenuItem(MenuItem starredMenuItem, boolean isDirectoryEntry, in configureStarredMenuItem() argument177 starredMenuItem.setVisible(true); in configureStarredMenuItem()181 starredMenuItem.setIcon(resId); in configureStarredMenuItem()182 starredMenuItem.setChecked(isStarred); in configureStarredMenuItem()183 starredMenuItem.setTitle(isStarred ? R.string.menu_removeStar : R.string.menu_addStar); in configureStarredMenuItem()185 starredMenuItem.setVisible(false); in configureStarredMenuItem()
2203 private void toggleStar(MenuItem starredMenuItem, boolean isStarred) { in toggleStar() argument2205 ContactDisplayUtils.configureStarredMenuItem(starredMenuItem, in toggleStar()2327 final MenuItem starredMenuItem = menu.findItem(R.id.menu_star); in onPrepareOptionsMenu() local2328 ContactDisplayUtils.configureStarredMenuItem(starredMenuItem, in onPrepareOptionsMenu()