Home
last modified time | relevance | path

Searched refs:folderInfo (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduController.java107 FolderInfo folderInfo = new FolderInfo(); in migrateToFolder() local
108 mLauncher.getModelWriter().addItemToDatabase(folderInfo, firstItem.container, in migrateToFolder()
110 folderInfo.setTitle("", mLauncher.getModelWriter()); in migrateToFolder()
111 folderInfo.contents.addAll(putIntoFolder); in migrateToFolder()
112 for (int i = 0; i < folderInfo.contents.size(); i++) { in migrateToFolder()
113 ItemInfo item = folderInfo.contents.get(i); in migrateToFolder()
115 mLauncher.getModelWriter().moveItemInDatabase(item, folderInfo.id, 0, in migrateToFolder()
118 folders.add(folderInfo); in migrateToFolder()
155 FolderInfo folderInfo; in placeFoldersInWorkspace() local
157 while ((folderInfo = folders.poll()) != null) { in placeFoldersInWorkspace()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java171 T activityContext, ViewGroup group, FolderInfo folderInfo) { in inflateFolderAndIcon() argument
174 FolderIcon icon = inflateIcon(resId, activityContext, group, folderInfo); in inflateFolderAndIcon()
176 folder.bind(folderInfo); in inflateFolderAndIcon()
182 FolderInfo folderInfo) { in inflateIcon() argument
197 icon.mFolderName.setText(folderInfo.title); in inflateIcon()
202 icon.setTag(folderInfo); in inflateIcon()
204 icon.mInfo = folderInfo; in inflateIcon()
208 icon.setContentDescription(icon.getAccessiblityTitle(folderInfo.title)); in inflateIcon()
212 for (WorkspaceItemInfo si : folderInfo.contents) { in inflateIcon()
220 icon.mPreviewVerifier.setFolderInfo(folderInfo); in inflateIcon()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DFolderInfo.java267 FolderInfo folderInfo = new FolderInfo(); in makeShallowCopy() local
268 folderInfo.copyFrom(this); in makeShallowCopy()
269 folderInfo.contents = this.contents; in makeShallowCopy()
270 return folderInfo; in makeShallowCopy()
DLauncherAppWidgetInfo.java287 public LauncherAtom.ItemInfo buildProto(FolderInfo folderInfo) { in buildProto() argument
288 LauncherAtom.ItemInfo info = super.buildProto(folderInfo); in buildProto()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBgDataModel.java337 FolderInfo folderInfo = folders.get(id); in findOrMakeFolder() local
338 if (folderInfo == null) { in findOrMakeFolder()
340 folderInfo = new FolderInfo(); in findOrMakeFolder()
341 folders.put(id, folderInfo); in findOrMakeFolder()
343 return folderInfo; in findOrMakeFolder()
DLoaderTask.java631 FolderInfo folderInfo = mBgDataModel.findOrMakeFolder(c.id); in loadWorkspace() local
632 c.applyCommonProperties(folderInfo); in loadWorkspace()
635 folderInfo.title = c.getString(c.titleIndex); in loadWorkspace()
636 folderInfo.spanX = 1; in loadWorkspace()
637 folderInfo.spanY = 1; in loadWorkspace()
638 folderInfo.options = c.getInt(optionsIndex); in loadWorkspace()
643 c.checkAndAddItem(folderInfo, mBgDataModel); in loadWorkspace()
DFirstScreenBroadcast.java107 FolderInfo folderInfo = (FolderInfo) info; in sendBroadcastToInstaller() local
109 for (ItemInfo folderItemInfo : folderInfo.contents) { in sendBroadcastToInstaller()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAddWidgetInfo.java70 public LauncherAtom.ItemInfo buildProto(FolderInfo folderInfo) { in buildProto() argument
71 LauncherAtom.ItemInfo info = super.buildProto(folderInfo); in buildProto()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarView.java188 FolderInfo folderInfo = (FolderInfo) hotseatItemInfo; in updateHotseatItems() local
190 mActivityContext, this, folderInfo); in updateHotseatItems()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1303 FolderInfo folderInfo = (FolderInfo) folderIcon.getTag(); in completeAddShortcut() local
1304 folderInfo.add(info, args.rank, false); in completeAddShortcut()
1828 final FolderInfo folderInfo = new FolderInfo(); in addFolder() local
1831 getModelWriter().addItemToDatabase(folderInfo, container, screenId, cellX, cellY); in addFolder()
1835 folderInfo); in addFolder()
1836 mWorkspace.addInScreen(newFolder, folderInfo); in addFolder()
1898 final FolderInfo folderInfo = (FolderInfo) itemInfo; in removeItem() local
1904 getModelWriter().deleteFolderAndContentsFromDatabase(folderInfo); in removeItem()
DWorkspace.java2972 FolderInfo folderInfo = (FolderInfo) info;
2973 for (WorkspaceItemInfo shortcutInfo : folderInfo.contents) {
2990 FolderInfo folderInfo = (FolderInfo) info;
2991 for (WorkspaceItemInfo shortcutInfo : folderInfo.contents) {
3089 FolderInfo folderInfo = (FolderInfo) info; in removeItemsByMatcher() local
3090 List<WorkspaceItemInfo> matches = folderInfo.contents.stream() in removeItemsByMatcher()
3094 folderInfo.removeAll(matches, false); in removeItemsByMatcher()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java277 FolderInfo folderInfo = dataModel.folders.get(mItemInfo.container); in log()
278 write(event, applyOverwrites(mItemInfo.buildProto(folderInfo))); in log()