Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java582 FolderInfo folderInfo = null; in getFolderById() local
585 folderInfo = findOrMakeFolder(folderList, id); in getFolderById()
589 folderInfo.title = c.getString(titleIndex); in getFolderById()
590 folderInfo.id = id; in getFolderById()
591 folderInfo.container = c.getInt(containerIndex); in getFolderById()
592 folderInfo.screen = c.getInt(screenIndex); in getFolderById()
593 folderInfo.cellX = c.getInt(cellXIndex); in getFolderById()
594 folderInfo.cellY = c.getInt(cellYIndex); in getFolderById()
596 return folderInfo; in getFolderById()
1404 FolderInfo folderInfo = in loadWorkspace() local
[all …]
DFolderIcon.java124 FolderInfo folderInfo, IconCache iconCache) { in fromXml() argument
136 icon.mFolderName.setText(folderInfo.title); in fromXml()
139 icon.setTag(folderInfo); in fromXml()
141 icon.mInfo = folderInfo; in fromXml()
144 folderInfo.title)); in fromXml()
148 folder.bind(folderInfo); in fromXml()
152 folderInfo.addListener(icon); in fromXml()
DDeleteDropTarget.java237 FolderInfo folderInfo = (FolderInfo) item; in completeDrop() local
238 mLauncher.removeFolder(folderInfo); in completeDrop()
239 LauncherModel.deleteFolderContentsFromDatabase(mLauncher, folderInfo); in completeDrop()
DLauncher.java1930 final FolderInfo folderInfo = new FolderInfo(); in addFolder() local
1931 folderInfo.title = getText(R.string.folder_name); in addFolder()
1934 LauncherModel.addItemToDatabase(Launcher.this, folderInfo, container, screen, cellX, cellY, in addFolder()
1936 sFolders.put(folderInfo.id, folderInfo); in addFolder()
1940 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache); in addFolder()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBgDataModel.java338 FolderInfo folderInfo = folders.get(id); in findOrMakeFolder() local
339 if (folderInfo == null) { in findOrMakeFolder()
341 folderInfo = new FolderInfo(); in findOrMakeFolder()
342 folders.put(id, folderInfo); in findOrMakeFolder()
344 return folderInfo; in findOrMakeFolder()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java174 FolderInfo folderInfo) { in fromXml() argument
188 icon.mFolderName.setText(folderInfo.title); in fromXml()
193 icon.setTag(folderInfo); in fromXml()
195 icon.mInfo = folderInfo; in fromXml()
198 … icon.setContentDescription(launcher.getString(R.string.folder_name_format, folderInfo.title)); in fromXml()
202 folder.bind(folderInfo); in fromXml()
206 folderInfo.addListener(icon); in fromXml()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java1112 FolderInfo folderInfo = sBgDataModel.findOrMakeFolder(c.id); in loadWorkspace() local
1113 c.applyCommonProperties(folderInfo); in loadWorkspace()
1116 folderInfo.title = c.getString(c.titleIndex); in loadWorkspace()
1117 folderInfo.spanX = 1; in loadWorkspace()
1118 folderInfo.spanY = 1; in loadWorkspace()
1119 folderInfo.options = c.getInt(optionsIndex); in loadWorkspace()
1124 c.checkAndAddItem(folderInfo, sBgDataModel); in loadWorkspace()
DLauncher.java2133 final FolderInfo folderInfo = new FolderInfo(); in addFolder() local
2134 folderInfo.title = getText(R.string.folder_name); in addFolder()
2137 getModelWriter().addItemToDatabase(folderInfo, container, screenId, cellX, cellY); in addFolder()
2140 FolderIcon newFolder = FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo); in addFolder()
2141 mWorkspace.addInScreen(newFolder, folderInfo); in addFolder()
2168 final FolderInfo folderInfo = (FolderInfo) itemInfo; in removeItem() local
2174 getModelWriter().deleteFolderAndContentsFromDatabase(folderInfo); in removeItem()
DWorkspace.java3890 FolderInfo folderInfo = (FolderInfo) parent.getTag();
3891 folderInfo.prepareAutoUpdate();
3892 folderInfo.remove((ShortcutInfo) itemToRemove, false);