Home | History | Annotate | Download | only in launcher2

Lines Matching full:info

824      * @param info The data structure describing the shortcut.
828 View createShortcut(ShortcutInfo info) {
830 (ViewGroup) mWorkspace.getChildAt(mWorkspace.getCurrentScreen()), info);
838 * @param info The data structure describing the shortcut.
842 View createShortcut(int layoutResId, ViewGroup parent, ShortcutInfo info) {
846 new FastBitmapDrawable(info.getIcon(mIconCache)),
848 favorite.setText(info.title);
849 info);
865 final ShortcutInfo info = mModel.getShortcutInfo(context.getPackageManager(),
868 if (info != null) {
869 info.setActivity(data.getComponent(), Intent.FLAG_ACTIVITY_NEW_TASK |
871 info.container = ItemInfo.NO_ID;
872 mWorkspace.addApplicationShortcut(info, cellInfo, isWorkspaceLocked());
888 final ShortcutInfo info = mModel.addShortcut(this, data, cellInfo, false);
891 final View view = createShortcut(info);
923 // Build Launcher-specific widget info and save to database
1017 final FolderInfo info = folders.get(i).getInfo();
1018 ids[i] = info.id;
1286 final LiveFolderInfo info = addLiveFolder(this, data, cellInfo, false);
1290 (ViewGroup) mWorkspace.getChildAt(mWorkspace.getCurrentScreen()), info);
1323 final LiveFolderInfo info = new LiveFolderInfo();
1324 info.icon = Utilities.createIconBitmap(icon, context);
1325 info.title = name;
1326 info.iconResource = iconResource;
1327 info.uri = data.getData();
1328 info.baseIntent = baseIntent;
1329 info.displayMode = data.getIntExtra(LiveFolders.EXTRA_LIVE_FOLDER_DISPLAY_MODE,
1332 LauncherModel.addItemToDatabase(context, info, LauncherSettings.Favorites.CONTAINER_DESKTOP,
1334 sFolders.put(info.id, info);
1336 return info;
1802 void showRenameDialog(FolderInfo info) {
1803 mFolderInfo = info;
1883 // Make sure we have the right folder info
2294 final FolderInfo info = sFolders.get(folderId);
2295 if (info != null) {
2296 openFolder(info);