Home
last modified time | relevance | path

Searched refs:isStarred (Results 1 – 16 of 16) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForGroupMembership.java96 boolean isStarred = hasFavoritesGroupMembership(db, rawContactId); in update()
97 if (wasStarred != isStarred) { in update()
98 updateRawContactsStar(db, rawContactId, isStarred); in update()
117 boolean isStarred = 0 < DatabaseUtils in hasFavoritesGroupMembership()
120 return isStarred; in hasFavoritesGroupMembership()
128 boolean isStarred = hasFavoritesGroupMembership(db, rawContactId);
129 if (wasStarred && !isStarred) {
DContactsProvider2.java2981 private void updateFavoritesMembership(long rawContactId, boolean isStarred) { in updateFavoritesMembership() argument
2985 if (isStarred) { in updateFavoritesMembership()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DSpeedDialAdapter.java176 if (o1.isStarred() && o2.isStarred()) { in setSpeedDialUiItems()
179 return Boolean.compare(o2.isStarred(), o1.isStarred()); in setSpeedDialUiItems()
195 if (speedDialUiItems.get(i).isStarred()) { in updatePositionToRowTypeMap()
202 if (!speedDialUiItems.get(speedDialUiItems.size() - 1).isStarred()) { in updatePositionToRowTypeMap()
DFavoritesViewHolder.java71 Assert.checkArgument(speedDialUiItem.isStarred()); in bind()
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItemMutator.java136 Assert.checkArgument(speedDialUiItem.isStarred()); in removeSpeedDialUiItemInternal()
148 Assert.checkArgument(speedDialUiItem.isStarred()); in removeStarredSpeedDialUiItem()
215 if (!item.isStarred()) { in insertNewContactEntry()
264 if (contact == null || !contact.isStarred()) { in loadSpeedDialUiItemsInternal()
351 speedDialUiItem.isStarred() == (speedDialUiItem.speedDialEntryId() != null), in speedDialUiItemsWithUpdatedIds()
575 if (item.isStarred()) { in updatePinnedPosition()
655 Assert.checkArgument(item.isStarred()); in insertDuoChannelsToStarredContact()
DSpeedDialUiItem.java299 public abstract boolean isStarred(); in isStarred() method in SpeedDialUiItem
360 public abstract Builder setIsStarred(boolean isStarred); in setIsStarred() argument
/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoriteTileView.java69 private boolean isStarred; field in PhoneFavoriteTileView
97 isStarred = entry.isFavorite; in loadFromContact()
134 if (isStarred) { in createClickListener()
DPhoneFavoritesTileAdapter.java239 final boolean isStarred = cursor.getInt(starredColumn) > 0; in saveCursorToCache()
256 contact.isFavorite = isStarred; in saveCursorToCache()
270 if (isStarred) { in saveCursorToCache()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java174 boolean isUserProfile, boolean isStarred) { in configureStarredMenuItem() argument
178 final int resId = isStarred in configureStarredMenuItem()
182 starredMenuItem.setChecked(isStarred); in configureStarredMenuItem()
183 starredMenuItem.setTitle(isStarred ? R.string.menu_removeStar : R.string.menu_addStar); in configureStarredMenuItem()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java2198 private void toggleStar(MenuItem starredMenuItem, boolean isStarred) { in toggleStar() argument
2201 mContactData.isDirectoryEntry(), mContactData.isUserProfile(), !isStarred); in toggleStar()
2205 QuickContactActivity.this, mContactData.getLookupUri(), !isStarred); in toggleStar()
2208 final CharSequence accessibilityText = !isStarred in toggleStar()
2387 final boolean isStarred = item.isChecked();
2389 isStarred ? ActionType.UNSTAR : ActionType.STAR,
2391 toggleStar(item, isStarred);
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DAddFavoriteFragment.java126 } else if (mSelectedContact.isStarred()) { in setFavoriteItemState()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContact.java256 public boolean isStarred() { in isStarred() method in RawContact
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewHolder.java187 if (phoneNumber.isFavorite() || !contact.isStarred()) { in bind()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DRawContact.java171 public boolean isStarred() { in isStarred() method in RawContact
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DContactsPopulator.java296 abstract Builder setIsStarred(boolean isStarred); in setIsStarred() argument
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DContact.java542 public boolean isStarred() { in isStarred() method in Contact