Lines Matching refs:modelItem
282 ItemInfo modelItem = sBgItemsIdMap.get(itemId);
283 if (modelItem != null && item != modelItem) {
285 if (modelItem instanceof ShortcutInfo && item instanceof ShortcutInfo) {
286 ShortcutInfo modelShortcut = (ShortcutInfo) modelItem;
308 // the modelItem needs to match up perfectly with item if our model is
310 // modelItem == item or the equality check above
312 "modelItem: " +
313 ((modelItem != null) ? modelItem.toString() : "null") +
367 ItemInfo modelItem = sBgItemsIdMap.get(itemId);
368 if (modelItem
369 modelItem.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
370 switch (modelItem.itemType) {
374 if (!sBgWorkspaceItems.contains(modelItem)) {
375 sBgWorkspaceItems.add(modelItem);
382 sBgWorkspaceItems.remove(modelItem);