Home
last modified time | relevance | path

Searched refs:addSource (Results 1 – 14 of 14) 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()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivityViewModel.java106 addSource(mErrorStringLiveData, errorMsg -> updateDialerAppState()); in DialerAppStateLiveData()
154 addSource(hfpStateLiveData, this::onHfpStateChanged); in ErrorStringLiveData()
155 addSource(pairListLiveData, this::onPairListChanged); in ErrorStringLiveData()
156 addSource(bluetoothStateLiveData, this::onBluetoothStateChanged); in ErrorStringLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DUiCallLogLiveData.java57 addSource(callHistoryLiveData, this::onCallHistoryChanged); in UiCallLogLiveData()
58 addSource(contactListLiveData, in UiCallLogLiveData()
60 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/contact/
DContactListViewModel.java101 addSource(mPreferencesLiveData, (trigger) -> updateSortedContactList()); in SortedContactListLiveData()
102 addSource(mContactListLiveData, (trigger) -> updateSortedContactList()); in SortedContactListLiveData()
/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/libs/car-media-common/src/com/android/car/media/common/playback/
DAlbumArtLiveData.java61 addSource(source, this::update); in AlbumArtLiveData()
/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.java95 addSource(mBrowsedMediaItems, items -> update()); in MediaBrowserViewModelImpl()