/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DataManager.java | 120 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/ |
D | LiveDataFunctions.java | 126 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/ |
D | SelfRefreshDescriptionLiveData.java | 62 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()
|
D | PhoneNumberInfoLiveData.java | 33 addSource(numberLiveData, (number) -> { in PhoneNumberInfoLiveData()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/ |
D | TelecomActivityViewModel.java | 161 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()
|
D | ToolbarTitleLiveData.java | 61 addSource(mToolbarTitleModeLiveData, this::updateToolbarTitle); in ToolbarTitleLiveData() 71 addSource(mHfpDeviceListLiveData, this::updateDeviceName); in updateToolbarTitle()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | ContactResultsLiveData.java | 78 addSource(mContactListLiveData, this::onContactsChange); in ContactResultsLiveData() 80 addSource(mSearchQueryLiveData, this::onSearchQueryChanged); in ContactResultsLiveData() 83 addSource(mSortOrderPreferenceLiveData, this::onSortOrderChanged); in ContactResultsLiveData()
|
D | UiCallLogLiveData.java | 75 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/ |
D | UidToSensitivityLiveData.java | 66 addSource(UsersLiveData.get(application), users -> { in UidToSensitivityLiveData() 84 addSource(newSource, data -> { in UidToSensitivityLiveData()
|
D | NonSensitivePackagesLiveData.java | 63 addSource(uidLiveData, uidToSensitivity -> AsyncTask.execute(() -> { in NonSensitivePackagesLiveData()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/ |
D | FavoriteViewModel.java | 51 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/ |
D | ContactListViewModel.java | 89 addSource(mPreferencesLiveData, (trigger) -> updateSortedContactList()); in SortedContactListLiveData() 90 addSource(mContactListLiveData, (trigger) -> updateSortedContactList()); in SortedContactListLiveData()
|
D | ContactDetailsViewModel.java | 104 addSource(InMemoryPhoneBook.get().getContactsLiveData(), this::onContactListChanged); in ContactDetailsLiveData() 105 addSource(mFavoriteNumberRepository.getFavoriteContacts(), in ContactDetailsLiveData()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/ |
D | FavoriteNumberRepository.java | 255 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/ |
D | InCallViewModel.java | 359 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/ |
D | SwitchingLiveDataImpl.java | 53 addSource(source, this::setValue); in setSource()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | MergeRoleLiveData.java | 43 addSource(liveData, roleItems -> onRoleChanged()); in MergeRoleLiveData()
|
D | MergeRoleListLiveData.java | 42 addSource(liveData, roleItems -> onRoleListChanged()); in MergeRoleListLiveData()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | ContextualViewModel.java | 76 mContextualInfo.addSource(delegate, observer); in ContextualViewModel()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/ |
D | MediaBrowserViewModelImpl.java | 101 addSource(mBrowsedMediaItems, items -> update()); in MediaBrowserViewModelImpl()
|