Home
last modified time | relevance | path

Searched refs:favorites (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Car/Radio/src/com/android/car/radio/service/
DSkipController.java54 @NonNull LiveData<List<Program>> favorites, @NonNull SkipMode initialMode) { in SkipController() argument
64 favorites.observeForever(this::onFavoritesChanged); in SkipController()
95 private void onFavoritesChanged(List<Program> favorites) { in onFavoritesChanged() argument
96 Log.v(TAG, "onFavoritesChanged(): %s", favorites); in onFavoritesChanged()
98 mFavorites = favorites; in onFavoritesChanged()
DRadioAppService.java118 LiveData<List<Program>> favorites = mRadioStorage.getFavorites(); in onCreate() local
120 mSkipController = new SkipController(mBinder, favorites, skipMode); in onCreate()
121 favorites.observe(this, favs -> mBrowseTree.setFavorites(new HashSet<>(favs))); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMetaData.java55 public final boolean favorites; field in GroupMetaData
80 this.favorites = getBoolean(cursor, GroupMetaDataLoader.FAVORITES); in GroupMetaData()
97 favorites = source.readInt() == 1; in GroupMetaData()
111 dest.writeInt(favorites ? 1 : 0); in writeToParcel()
135 .add("favorites", favorites) in toString()
DGroupUtil.java302 public final int favorites; field in GroupUtil.GroupsProjection
315 favorites = cursor.getColumnIndex(Groups.FAVORITES); in GroupsProjection()
330 favorites = list.indexOf(Groups.FAVORITES); in GroupsProjection()
/packages/apps/Car/Radio/src/com/android/car/radio/storage/
DRadioStorage.java89 public static boolean isFavorite(@NonNull List<Program> favorites, in isFavorite() argument
91 return favorites.contains(new Program(selector, "")); in isFavorite()
100 List<Program> favorites = mFavorites.getValue(); in isFavorite() local
101 if (favorites == null) { in isFavorite()
105 return isFavorite(favorites, selector); in isFavorite()
DRadioDatabase.java55 void insertAll(Favorite... favorites); in insertAll() argument
81 return Transformations.map(favoriteDao().loadAll(), favorites -> in getAllFavorites()
82 favorites.stream().map(Favorite::toProgram).collect(Collectors.toList())); in getAllFavorites()
/packages/apps/Car/Radio/src/com/android/car/radio/
DBrowseAdapter.java97 @NonNull LiveData<List<Program>> favorites) { in BrowseAdapter() argument
98 favorites.observe(lifecycleOwner, this::onFavoritesChanged); in BrowseAdapter()
167 private void onFavoritesChanged(List<Program> favorites) { in onFavoritesChanged() argument
168 Map<ProgramSelector.Identifier, Program> favMap = favorites.stream().collect( in onFavoritesChanged()
DRadioController.java155 private void onFavoritesChanged(List<Program> favorites) { in onFavoritesChanged() argument
158 boolean isFav = RadioStorage.isFavorite(favorites, mCurrentProgram.getSelector()); in onFavoritesChanged()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListAdapter.java381 final Set<Integer> favorites = new HashSet<>(); in changeCursor() local
382 favorites.add(cursor.getInt(ContactQuery.CONTACT_ID)); in changeCursor()
385 || favorites.contains(cursor.getInt(ContactQuery.CONTACT_ID))) { in changeCursor()
388 favorites.add(cursor.getInt(ContactQuery.CONTACT_ID)); in changeCursor()
390 setFavoritesSectionHeader(favorites.size()); in changeCursor()
/packages/apps/Dialer/java/com/android/contacts/common/
DGroupMetaData.java39 boolean favorites) { in GroupMetaData() argument
46 this.mFavorites = favorites; in GroupMetaData()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/media/
DBrowseTree.java317 public void setFavorites(@Nullable Set<Program> favorites) { in setFavorites() argument
319 boolean rootChanged = (mFavorites == null) != (favorites == null); in setFavorites()
320 mFavorites = favorites; in setFavorites()
/packages/apps/Dialer/java/com/android/dialer/callintent/
Dspeed_dial_contact_type.proto11 // The type of speed call contact (favorites). Applies to initiation type
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java1314 boolean favorites = in pullPhonebook()
1317 || favorites) { in pullPhonebook()
1327 appParamValue.vCardSelectorOperator, mVcardSelector, favorites); in pullPhonebook()
1333 appParamValue.vCardSelectorOperator, mVcardSelector, favorites); in pullPhonebook()
DBluetoothPbapVcardManager.java569 boolean vcardselect, boolean favorites) { in composeAndSendPhonebookVcards() argument
582 if (favorites) { in composeAndSendPhonebookVcards()
/packages/apps/Car/Radio/src/com/android/car/radio/media/
DTunerSession.java93 favorites -> updateMetadata(mAppService.getCurrentProgram().getValue())); in TunerSession()
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberRepository.java268 addSource(mFavoriteNumbers, favorites -> convertToContacts(context, this)); in FavoriteContactLiveData()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContactLoader.java642 final boolean favorites = in loadGroupMetaData()
647 accountName, accountType, dataSet, groupId, title, defaultGroup, favorites)); in loadGroupMetaData()
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql38 …uld_sync INTEGER NOT NULL DEFAULT 1,auto_add INTEGER NOT NULL DEFAULT 0,favorites INTEGER NOT NULL… field
148 …le,title_res,notes,system_id,deleted,group_visible,should_sync,auto_add,favorites,group_is_read_on…
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dsv_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...