/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | DataModelTest.java | 32 DataModel dataModel; field in DataModelTest 39 dataModel = new DataModelImpl(getTestContext()); in setUp() 41 .withDataModel(dataModel); in setUp() 46 final ConversationListData list = dataModel.createConversationListData(getContext(), in testCreateConversationList() 49 final ConversationData conv = dataModel.createConversationData(getContext(), in testCreateConversationList() 58 dataModel.setFocusedConversation(FOCUSED_CONV_ID); in testFocusedConversationIsObservable() 59 assertTrue(dataModel.isNewMessageObservable(FOCUSED_CONV_ID)); in testFocusedConversationIsObservable() 60 dataModel.setFocusedConversation(null); in testFocusedConversationIsObservable() 61 assertFalse(dataModel.isNewMessageObservable(FOCUSED_CONV_ID)); in testFocusedConversationIsObservable() 66 dataModel.setConversationListScrolledToNewestConversation(true); in testConversationIsObservableInList() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTask.java | 60 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in execute() argument 75 synchronized(dataModel) { in execute() 83 if (shortcutExists(dataModel, item.getIntent(), item.user)) { in execute() 101 userFolderInfo = new UserFolderInfo(context, item.user, dataModel); in execute() 115 Pair<Long, int[]> coords = findSpaceForItem(app, dataModel, workspaceScreens, in execute() 179 protected boolean shortcutExists(BgDataModel dataModel, Intent intent, UserHandle user) { in shortcutExists() argument 203 synchronized (dataModel) { in shortcutExists() 204 for (ItemInfo item : dataModel.itemsIdMap) { in shortcutExists() 236 LauncherAppState app, BgDataModel dataModel, in findSpaceForItem() argument 243 synchronized (dataModel) { in findSpaceForItem() [all …]
|
D | BaseModelUpdateTask.java | 50 BgDataModel dataModel, AllAppsList allAppsList, Executor uiExecutor) { in init() argument 53 mDataModel = dataModel; in init() 74 LauncherAppState app, BgDataModel dataModel, AllAppsList apps); in execute() argument 109 public void bindDeepShortcuts(BgDataModel dataModel) { in bindDeepShortcuts() argument 110 … final MultiHashMap<ComponentKey, String> shortcutMapCopy = dataModel.deepShortcutMap.clone(); in bindDeepShortcuts() 119 public void bindUpdatedWidgets(BgDataModel dataModel) { in bindUpdatedWidgets() argument 121 = dataModel.widgetsModel.getWidgetsMap(); in bindUpdatedWidgets()
|
D | UserLockStateChangedTask.java | 52 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in execute() argument 77 for (ItemInfo itemInfo : dataModel.itemsIdMap) { in execute() 106 Iterator<ComponentKey> keysIter = dataModel.deepShortcutMap.keySet().iterator(); in execute() 114 dataModel.updateDeepShortcutMap( in execute() 117 bindDeepShortcuts(dataModel); in execute()
|
D | ShortcutsChangedTask.java | 56 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in execute() argument 66 for (ItemInfo itemInfo : dataModel.itemsIdMap) { in execute() 114 dataModel.updateDeepShortcutMap(mPackageName, mUser, mShortcuts); in execute() 115 bindDeepShortcuts(dataModel); in execute()
|
D | PackageInstallStateChangedTask.java | 51 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in execute() argument 106 synchronized (dataModel) { in execute() 108 for (ItemInfo info : dataModel.itemsIdMap) { in execute() 124 for (LauncherAppWidgetInfo widget : dataModel.appWidgets) { in execute()
|
D | PackageUpdatedTask.java | 84 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList appsList) { in execute() argument 184 synchronized (dataModel) { in execute() 185 for (ItemInfo info : dataModel.itemsIdMap) { in execute() 353 dataModel.widgetsModel.update(app, new PackageUserKey(packages[i], mUser)); in execute() 355 bindUpdatedWidgets(dataModel); in execute()
|
D | CacheDataUpdatedTask.java | 53 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in execute() argument 59 synchronized (dataModel) { in execute() 60 for (ItemInfo info : dataModel.itemsIdMap) { in execute()
|
D | LoaderCursor.java | 379 public void checkAndAddItem(ItemInfo info, BgDataModel dataModel) { in checkAndAddItem() argument 380 if (checkItemPlacement(info, dataModel.workspaceScreens)) { in checkAndAddItem() 381 dataModel.addItem(mContext, info, false); in checkAndAddItem()
|
D | LoaderResults.java | 67 public LoaderResults(LauncherAppState app, BgDataModel dataModel, in LoaderResults() argument 71 mBgDataModel = dataModel; in LoaderResults()
|
D | ModelWriter.java | 55 public ModelWriter(Context context, BgDataModel dataModel, boolean hasVerticalHotseat) { in ModelWriter() argument 57 mBgDataModel = dataModel; in ModelWriter()
|
D | LoaderTask.java | 105 public LoaderTask(LauncherAppState app, AllAppsList bgAllAppsList, BgDataModel dataModel, in LoaderTask() argument 109 mBgDataModel = dataModel; in LoaderTask()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 1543 final Cp2DataCardModel dataModel = new Cp2DataCardModel(); in generateDataModelFromContact() local 1544 dataModel.customAboutCardName = aboutCardName.value; in generateDataModelFromContact() 1545 dataModel.aboutCardEntries = aboutCardEntries; in generateDataModelFromContact() 1546 dataModel.contactCardEntries = contactCardEntries; in generateDataModelFromContact() 1547 dataModel.dataItemsMap = dataItemsMap; in generateDataModelFromContact() 1548 dataModel.areAllRawContactsSimAccounts = data.areAllRawContactsSimAccounts(this); in generateDataModelFromContact() 1549 return dataModel; in generateDataModelFromContact() 2142 HangoutsDataItemModel dataModel) { in populateHangoutsDataItemModel() argument 2145 dataModel.secondDataItem.getId()), dataModel.secondDataItem.getMimeType()); in populateHangoutsDataItemModel() 2147 secondIntent.putExtra(EXTRA_THIRD_PARTY_ACTION, dataModel.secondDataItem.getMimeType()); in populateHangoutsDataItemModel() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 527 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in onInstallSessionCreated() 626 BgDataModel dataModel, AllAppsList allAppsList, Executor uiExecutor); in init() argument 647 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in updateAndBindShortcutInfo() 659 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in refreshAndBindWidgetsAndShortcuts() 660 dataModel.widgetsModel.update(app, packageUser); in refreshAndBindWidgetsAndShortcuts() 661 bindUpdatedWidgets(dataModel); in refreshAndBindWidgetsAndShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ManagedProfileHeuristic.java | 115 public UserFolderInfo(Context context, UserHandle user, BgDataModel dataModel) { in UserFolderInfo() argument 126 if (dataModel != null) { in UserFolderInfo() 129 folderInfo = dataModel.folders.get(folderId); in UserFolderInfo()
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivity.java | 146 final DataModel dataModel = DataModel.getDataModel(); in createTimerRingtonePickerIntent() local 149 .putExtra(EXTRA_RINGTONE_URI, dataModel.getTimerRingtoneUri()) in createTimerRingtonePickerIntent() 150 .putExtra(EXTRA_DEFAULT_RINGTONE_URI, dataModel.getDefaultTimerRingtoneUri()) in createTimerRingtonePickerIntent()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeFactory.java | 239 public FakeFactory withDataModel(final DataModel dataModel) { in withDataModel() argument 240 this.mDataModel = dataModel; in withDataModel()
|
/packages/apps/Messaging/src/com/android/messaging/ |
D | BugleApplication.java | 106 final DataModel dataModel = factory.getDataModel(); in initializeSync() local 119 dataModel.onApplicationCreated(); in initializeSync()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridView.java | 81 public void setDraftMessageDataModel(final BindingBase<DraftMessageData> dataModel) { in setDraftMessageDataModel() argument 82 mDraftMessageDataModel = BindingBase.createBindingReference(dataModel); in setDraftMessageDataModel()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Player.java | 98 public Player(Context context, MediaSession session, DataModel dataModel) { in Player() argument 100 mDataModel = dataModel; in Player()
|