Lines Matching refs:item
153 ItemInfo item = (ItemInfo) info;
154 if (item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET ||
155 item.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) {
160 item.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) {
165 item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION &&
166 item instanceof AppInfo) {
171 if (item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION &&
172 item instanceof ShortcutInfo) {
300 ItemInfo item = (ItemInfo) d.dragInfo;
303 if (isAllAppsApplication(d.dragSource, item)) {
305 AppInfo appInfo = (AppInfo) item;
309 ShortcutInfo shortcut = (ShortcutInfo) item;
337 LauncherModel.deleteItemFromDatabase(mLauncher, item);
340 FolderInfo folderInfo = (FolderInfo) item;
345 mLauncher.removeAppWidget((LauncherAppWidgetInfo) item);
346 LauncherModel.deleteItemFromDatabase(mLauncher, item);
348 final LauncherAppWidgetInfo launcherAppWidgetInfo = (LauncherAppWidgetInfo) item;