Home
last modified time | relevance | path

Searched refs:starredMenuItem (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java157 public static void configureStarredMenuItem(MenuItem starredMenuItem, boolean isDirectoryEntry, in configureStarredMenuItem() argument
161 starredMenuItem.setVisible(true); in configureStarredMenuItem()
165 starredMenuItem.setIcon(resId); in configureStarredMenuItem()
166 starredMenuItem.setChecked(isStarred); in configureStarredMenuItem()
167 starredMenuItem.setTitle(isStarred ? R.string.menu_removeStar : R.string.menu_addStar); in configureStarredMenuItem()
169 starredMenuItem.setVisible(false); in configureStarredMenuItem()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java2198 private void toggleStar(MenuItem starredMenuItem, boolean isStarred) { in toggleStar() argument
2200 ContactDisplayUtils.configureStarredMenuItem(starredMenuItem, in toggleStar()
2318 final MenuItem starredMenuItem = menu.findItem(R.id.menu_star); in onPrepareOptionsMenu() local
2319 ContactDisplayUtils.configureStarredMenuItem(starredMenuItem, in onPrepareOptionsMenu()