Home
last modified time | relevance | path

Searched refs:addSource (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDataManager.java120 addSource(new LocalSource(mApplication)); in initializeSourceMap()
121 addSource(new PicasaSource(mApplication)); in initializeSourceMap()
122 addSource(new ComboSource(mApplication)); in initializeSourceMap()
123 addSource(new ClusterSource(mApplication)); in initializeSourceMap()
124 addSource(new FilterSource(mApplication)); in initializeSourceMap()
125 addSource(new SecureSource(mApplication)); in initializeSourceMap()
126 addSource(new UriSource(mApplication)); in initializeSourceMap()
127 addSource(new SnailSource(mApplication)); in initializeSourceMap()
150 void addSource(MediaSource source) { in addSource() method in DataManager
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/
DLiveDataFunctions.java126 addSource(source, value -> { in distinct()
152 addSource(requireNonNull(isFrozen), frozen -> { in freezable()
158 addSource(requireNonNull(source), value -> { in freezable()
222 addSource(trigger, data -> setValue(new FutureData<>(true, null)));
223 addSource(output, data ->
596 addSource(
609 addSource(requireNonNull(tLiveData), this::updateT);
610 addSource(requireNonNull(uLiveData), this::updateU);
/packages/apps/Car/Cluster/src/android/car/cluster/
DSelfRefreshDescriptionLiveData.java62 addSource(stateLiveData, (trigger) -> updateDescription()); in SelfRefreshDescriptionLiveData()
63 addSource(heartBeatLiveData, (trigger) -> updateDescription()); in SelfRefreshDescriptionLiveData()
64 addSource(mNumberLiveData, (trigger) -> updateDescription()); in SelfRefreshDescriptionLiveData()
65 addSource(mConnectTimeLiveData, (trigger) -> updateDescription()); in SelfRefreshDescriptionLiveData()
DPhoneNumberInfoLiveData.java33 addSource(numberLiveData, (number) -> { in PhoneNumberInfoLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivityViewModel.java161 addSource(mErrorStringLiveData, errorMsg -> updateDialerAppState()); in DialerAppStateLiveData()
209 addSource(hfpStateLiveData, this::onHfpStateChanged); in ErrorStringLiveData()
210 addSource(pairListLiveData, this::onPairListChanged); in ErrorStringLiveData()
211 addSource(bluetoothStateLiveData, this::onBluetoothStateChanged); in ErrorStringLiveData()
DToolbarTitleLiveData.java61 addSource(mToolbarTitleModeLiveData, this::updateToolbarTitle); in ToolbarTitleLiveData()
71 addSource(mHfpDeviceListLiveData, this::updateDeviceName); in updateToolbarTitle()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DContactResultsLiveData.java78 addSource(mContactListLiveData, this::onContactsChange); in ContactResultsLiveData()
80 addSource(mSearchQueryLiveData, this::onSearchQueryChanged); in ContactResultsLiveData()
83 addSource(mSortOrderPreferenceLiveData, this::onSortOrderChanged); in ContactResultsLiveData()
DUiCallLogLiveData.java75 addSource(callHistoryLiveData, this::onCallHistoryChanged); in UiCallLogLiveData()
76 addSource(contactListLiveData, in UiCallLogLiveData()
78 addSource(heartBeatLiveData, (trigger) -> updateRelativeTime()); in UiCallLogLiveData()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/data/
DUidToSensitivityLiveData.java66 addSource(UsersLiveData.get(application), users -> { in UidToSensitivityLiveData()
84 addSource(newSource, data -> { in UidToSensitivityLiveData()
DNonSensitivePackagesLiveData.java63 addSource(uidLiveData, uidToSensitivity -> AsyncTask.execute(() -> { in NonSensitivePackagesLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DFavoriteViewModel.java51 favoriteContacts.addSource(mFavoriteNumberRepository.getFavoriteContacts(), contacts -> { in FavoriteViewModel()
65 favoriteContacts.addSource(mBluetoothFavoriteContacts, contacts -> { in FavoriteViewModel()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListViewModel.java89 addSource(mPreferencesLiveData, (trigger) -> updateSortedContactList()); in SortedContactListLiveData()
90 addSource(mContactListLiveData, (trigger) -> updateSortedContactList()); in SortedContactListLiveData()
DContactDetailsViewModel.java104 addSource(InMemoryPhoneBook.get().getContactsLiveData(), this::onContactListChanged); in ContactDetailsLiveData()
105 addSource(mFavoriteNumberRepository.getFavoriteContacts(), in ContactDetailsLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberRepository.java255 addSource(InMemoryPhoneBook.get().getContactsLiveData(), in FavoriteContactLiveData()
257 addSource(mFavoriteNumbers, favorites -> convertToContacts(context, this)); in FavoriteContactLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallViewModel.java359 addSource(mSecondaryCallLiveData, v -> update()); in ShowOnholdCallLiveData()
360 addSource(mDialpadIsOpen, v -> update()); in ShowOnholdCallLiveData()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/switching/
DSwitchingLiveDataImpl.java53 addSource(source, this::setValue); in setSource()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DMergeRoleLiveData.java43 addSource(liveData, roleItems -> onRoleChanged()); in MergeRoleLiveData()
DMergeRoleListLiveData.java42 addSource(liveData, roleItems -> onRoleListChanged()); in MergeRoleListLiveData()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DContextualViewModel.java76 mContextualInfo.addSource(delegate, observer); in ContextualViewModel()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DMediaBrowserViewModelImpl.java101 addSource(mBrowsedMediaItems, items -> update()); in MediaBrowserViewModelImpl()