/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | BrowseAdapter.java | 85 public boolean isFavorite; field in BrowseAdapter.Entry 88 Entry(Program program, boolean isFavorite) { in Entry() argument 90 this.isFavorite = isFavorite; in Entry() 91 this.wasFavorite = isFavorite; in Entry() 158 .filter(e -> e.isFavorite || !e.wasFavorite) in removeFormerFavorites() 174 entry.isFavorite = favMap.containsKey(id); in onFavoritesChanged() 175 if (entry.isFavorite) favMap.remove(id); // don't add twice in onFavoritesChanged() 212 holder.bindPreset(entry.program, isCurrent, getItemCount(), entry.isFavorite); in onBindViewHolder()
|
D | DisplayController.java | 297 public void setCurrentIsFavorite(boolean isFavorite) { in setCurrentIsFavorite() argument 298 mIsFavorite = isFavorite; in setCurrentIsFavorite() 301 isFavorite ? R.drawable.ic_star_filled : R.drawable.ic_star_empty); in setCurrentIsFavorite()
|
D | ProgramViewHolder.java | 108 boolean isFavorite) { in bindPreset() argument 136 setFavoriteButtonFilled(isFavorite); in bindPreset()
|
D | RadioController.java | 158 boolean isFav = RadioStorage.isFavorite(favorites, mCurrentProgram.getSelector()); in onFavoritesChanged() 183 mDisplayController.setCurrentIsFavorite(mRadioStorage.isFavorite(sel)); in onCurrentProgramChanged()
|
/packages/apps/Car/Radio/src/com/android/car/radio/storage/ |
D | RadioStorage.java | 89 public static boolean isFavorite(@NonNull List<Program> favorites, in isFavorite() method in RadioStorage 99 public boolean isFavorite(@NonNull ProgramSelector selector) { in isFavorite() method in RadioStorage 105 return isFavorite(favorites, selector); in isFavorite()
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | PhoneNumber.java | 189 public void setIsFavorite(boolean isFavorite) { in setIsFavorite() argument 190 mIsFavorite = isFavorite; in setIsFavorite() 194 public boolean isFavorite() { in isFavorite() method in PhoneNumber
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactDetailsFragment.java | 184 boolean isFavorite = phoneNumber.isFavorite(); in onClick() 185 if (isFavorite) { in onClick()
|
D | ContactDetailsViewHolder.java | 174 CharSequence favoriteLabel = phoneNumber.isFavorite() ? context.getString( in bind() 187 if (phoneNumber.isFavorite() || !contact.isStarred()) { in bind() 192 ViewUtils.setActivated(mFavoriteActionView, phoneNumber.isFavorite()); in bind()
|
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/ |
D | ProgramInfoExt.java | 131 boolean isFavorite, @Nullable ImageResolver imageResolver) { in toMediaMetadata() argument 169 bld.putRating(MediaMetadata.METADATA_KEY_USER_RATING, Rating.newHeartRating(isFavorite)); in toMediaMetadata()
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoriteTileView.java | 97 isStarred = entry.isFavorite; in loadFromContact() 109 starIcon.setVisibility(entry.isFavorite ? View.VISIBLE : View.GONE); in loadFromContact()
|
D | PhoneFavoritesTileAdapter.java | 256 contact.isFavorite = isStarred; in saveCursorToCache()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactEntry.java | 40 public boolean isFavorite = false; field in ContactEntry
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/ |
D | AddFavoriteFragment.java | 120 if (number.isFavorite()) { in setFavoriteItemState()
|
/packages/apps/Car/Radio/src/com/android/car/radio/media/ |
D | TunerSession.java | 109 boolean fav = mRadioStorage.isFavorite(info.getSelector()); in updateMetadata()
|