Home | History | Annotate | Download | only in launcher2

Lines Matching full:info

799      * @param info The data structure describing the shortcut.
803 View createShortcut(ShortcutInfo info) {
805 (ViewGroup) mWorkspace.getChildAt(mWorkspace.getCurrentScreen()), info);
813 * @param info The data structure describing the shortcut.
817 View createShortcut(int layoutResId, ViewGroup parent, ShortcutInfo info) {
821 new FastBitmapDrawable(info.getIcon(mIconCache)),
823 favorite.setText(info.title);
824 favorite.setTag(info);
840 final ShortcutInfo info = mModel.getShortcutInfo(context.getPackageManager(),
843 if (info != null) {
844 info.setActivity(data.getComponent(), Intent.FLAG_ACTIVITY_NEW_TASK |
846 info.container = ItemInfo.NO_ID;
847 mWorkspace.addApplicationShortcut(info, cellInfo, isWorkspaceLocked());
863 final ShortcutInfo info = mModel.addShortcut(this, data, cellInfo, false);
866 final View view = createShortcut(info);
898 // Build Launcher-specific widget info and save to database
992 final FolderInfo info = folders.get(i).getInfo();
993 ids[i] = info.id;
1250 final LiveFolderInfo info = addLiveFolder(this, data, cellInfo, false);
1254 (ViewGroup) mWorkspace.getChildAt(mWorkspace.getCurrentScreen()), info);
1287 final LiveFolderInfo info = new LiveFolderInfo();
1288 info.icon = Utilities.createIconBitmap(icon, context);
1289 info.title = name;
1290 info.iconResource = iconResource;
1291 info.uri = data.getData();
1292 info.baseIntent = baseIntent;
1293 info.displayMode = data.getIntExtra(LiveFolders.EXTRA_LIVE_FOLDER_DISPLAY_MODE,
1296 LauncherModel.addItemToDatabase(context, info, LauncherSettings.Favorites.CONTAINER_DESKTOP,
1298 mFolders.put(info.id, info);
1300 return info;
1766 void showRenameDialog(FolderInfo info) {
1767 mFolderInfo = info;
1847 // Make sure we have the right folder info
2227 final FolderInfo info = mFolders.get(folderId);
2228 if (info != null) {
2229 openFolder(info);