Lines Matching refs:modelItem
633 ItemInfo modelItem = sBgItemsIdMap.get(itemId);
634 if (modelItem != null && item != modelItem) {
636 if (modelItem instanceof ShortcutInfo && item instanceof ShortcutInfo) {
637 ShortcutInfo modelShortcut = (ShortcutInfo) modelItem;
659 // the modelItem needs to match up perfectly with item if our model is
661 // modelItem == item or the equality check above
663 "modelItem: " +
664 ((modelItem != null) ? modelItem.toString() : "null") +
753 ItemInfo modelItem = sBgItemsIdMap.get(itemId);
754 if (modelItem != null &&
755 (modelItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP ||
756 modelItem.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT)) {
757 switch (modelItem.itemType) {
761 if (!sBgWorkspaceItems.contains(modelItem)) {
762 sBgWorkspaceItems.add(modelItem);
769 sBgWorkspaceItems.remove(modelItem);