Home
last modified time | relevance | path

Searched refs:folderInfo (Results 1 – 7 of 7) 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/
DLauncherModel.java951 FolderInfo folderInfo = null; in getFolderById() local
954 folderInfo = findOrMakeFolder(folderList, id); in getFolderById()
959 folderInfo.title = c.getString(titleIndex); in getFolderById()
960 folderInfo.id = id; in getFolderById()
961 folderInfo.container = c.getInt(containerIndex); in getFolderById()
962 folderInfo.screenId = c.getInt(screenIndex); in getFolderById()
963 folderInfo.cellX = c.getInt(cellXIndex); in getFolderById()
964 folderInfo.cellY = c.getInt(cellYIndex); in getFolderById()
965 folderInfo.options = c.getInt(optionsIndex); in getFolderById()
967 return folderInfo; in getFolderById()
[all …]
DFolderIcon.java144 FolderInfo folderInfo, IconCache iconCache) { in fromXml() argument
158 icon.mFolderName.setText(folderInfo.title); in fromXml()
170 icon.setTag(folderInfo); in fromXml()
172 icon.mInfo = folderInfo; in fromXml()
175 folderInfo.title)); in fromXml()
179 folder.bind(folderInfo); in fromXml()
183 folderInfo.addListener(icon); in fromXml()
DLauncher.java2352 final FolderInfo folderInfo = new FolderInfo(); in addFolder() local
2353 folderInfo.title = getText(R.string.folder_name); in addFolder()
2356 LauncherModel.addItemToDatabase(Launcher.this, folderInfo, container, screenId, in addFolder()
2358 sFolders.put(folderInfo.id, folderInfo); in addFolder()
2362 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache); in addFolder()
2381 FolderInfo folderInfo = sFolders.get(itemInfo.container); in removeItem() local
2382 if (folderInfo != null) { in removeItem()
2383 folderInfo.remove((ShortcutInfo) itemInfo); in removeItem()
2391 final FolderInfo folderInfo = (FolderInfo) itemInfo; in removeItem() local
2392 unbindFolder(folderInfo); in removeItem()
[all …]