Home
last modified time | relevance | path

Searched refs:isStarred (Results 1 – 18 of 18) 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.java2901 private void updateFavoritesMembership(long rawContactId, boolean isStarred) { in updateFavoritesMembership() argument
2905 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/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java158 boolean isUserProfile, boolean isStarred) { in configureStarredMenuItem() argument
162 final int resId = isStarred in configureStarredMenuItem()
166 starredMenuItem.setChecked(isStarred); in configureStarredMenuItem()
167 starredMenuItem.setTitle(isStarred ? R.string.menu_removeStar : R.string.menu_addStar); in configureStarredMenuItem()
/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/UnifiedEmail/src/com/android/mail/browse/
DConversationViewHeader.java117 public void setStarred(boolean isStarred) { in setStarred() argument
118 mStarView.setStarred(isStarred); in setStarred()
120 mStarView.setStarred(isStarred); in setStarred()
DStarView.java35 public void setStarred(boolean isStarred) { in setStarred() argument
36 mIsStarred = isStarred; in setStarred()
DMessageHeaderView.java940 final boolean isStarred = mMessage.starred; in onClick()
946 m.findItem(R.id.add_star).setVisible(showStar && !isStarred); in onClick()
947 m.findItem(R.id.remove_star).setVisible(showStar && isStarred); in onClick()
/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/Dialer/java/com/android/contacts/common/model/
DRawContact.java171 public boolean isStarred() { in isStarred() method in RawContact
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DContact.java233 public boolean isStarred() { in isStarred() method in Contact
DTelecomUtils.java349 if (contact.isStarred() == isFavorite) { in setAsFavoriteContact()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContact.java256 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