/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForGroupMembership.java | 96 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) {
|
D | ContactsProvider2.java | 2981 private void updateFavoritesMembership(long rawContactId, boolean isStarred) { in updateFavoritesMembership() argument 2985 if (isStarred) { in updateFavoritesMembership()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | SpeedDialAdapter.java | 176 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()
|
D | FavoritesViewHolder.java | 71 Assert.checkArgument(speedDialUiItem.isStarred()); in bind()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
D | SpeedDialUiItemMutator.java | 136 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()
|
D | SpeedDialUiItem.java | 299 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/ |
D | PhoneFavoriteTileView.java | 69 private boolean isStarred; field in PhoneFavoriteTileView 97 isStarred = entry.isFavorite; in loadFromContact() 134 if (isStarred) { in createClickListener()
|
D | PhoneFavoritesTileAdapter.java | 239 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/ |
D | ContactDisplayUtils.java | 174 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/ |
D | QuickContactActivity.java | 2198 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/ |
D | AddFavoriteFragment.java | 126 } else if (mSelectedContact.isStarred()) { in setFavoriteItemState()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContact.java | 256 public boolean isStarred() { in isStarred() method in RawContact
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactDetailsViewHolder.java | 187 if (phoneNumber.isFavorite() || !contact.isStarred()) { in bind()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | RawContact.java | 171 public boolean isStarred() { in isStarred() method in RawContact
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | ContactsPopulator.java | 296 abstract Builder setIsStarred(boolean isStarred); in setIsStarred() argument
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | Contact.java | 542 public boolean isStarred() { in isStarred() method in Contact
|