Lines Matching refs:ItemInfo

127     static final HashMap<Long, ItemInfo> sBgItemsIdMap = new HashMap<Long, ItemInfo>();
132 static final ArrayList<ItemInfo> sBgWorkspaceItems = new ArrayList<ItemInfo>();
161 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end); in bindItems()
245 final ArrayList<ItemInfo> tmpWorkspaceItems = new ArrayList<ItemInfo>(); in unbindWorkspaceItemsOnMainThread()
246 final ArrayList<ItemInfo> tmpAppWidgets = new ArrayList<ItemInfo>(); in unbindWorkspaceItemsOnMainThread()
254 for (ItemInfo item : tmpWorkspaceItems) { in unbindWorkspaceItemsOnMainThread()
257 for (ItemInfo item : tmpAppWidgets) { in unbindWorkspaceItemsOnMainThread()
269 static void addOrMoveItemInDatabase(Context context, ItemInfo item, long container, in addOrMoveItemInDatabase()
271 if (item.container == ItemInfo.NO_ID) { in addOrMoveItemInDatabase()
281 final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked()
282 ItemInfo modelItem = sBgItemsIdMap.get(itemId); in checkItemInfoLocked()
323 static void checkItemInfo(final ItemInfo item) { in checkItemInfo()
337 final ItemInfo item, final String callingFunction) { in updateItemInDatabaseHelper()
367 ItemInfo modelItem = sBgItemsIdMap.get(itemId); in updateItemInDatabaseHelper()
422 static void moveItemInDatabase(Context context, final ItemInfo item, final long container, in moveItemInDatabase()
454 static void modifyItemInDatabase(Context context, final ItemInfo item, final long container, in modifyItemInDatabase()
489 static void updateItemInDatabase(Context context, final ItemInfo item) { in updateItemInDatabase()
518 static ArrayList<ItemInfo> getItemsInLocalCoordinates(Context context) { in getItemsInLocalCoordinates()
519 ArrayList<ItemInfo> items = new ArrayList<ItemInfo>(); in getItemsInLocalCoordinates()
539 ItemInfo item = new ItemInfo(); in getItemsInLocalCoordinates()
609 static void addItemToDatabase(Context context, final ItemInfo item, final long container, in addItemToDatabase()
708 static void deleteItemFromDatabase(Context context, final ItemInfo item) { in deleteItemFromDatabase()
727 for (ItemInfo info: sBgItemsIdMap.values()) { in deleteItemFromDatabase()
776 for (ItemInfo childInfo : info.contents) { in deleteFolderContentsFromDatabase()
1220 private boolean checkItemPlacement(ItemInfo occupied[][][], ItemInfo item) { in checkItemPlacement()
1293 final ItemInfo occupied[][][] = in loadWorkspace()
1294 new ItemInfo[Launcher.SCREEN_COUNT + 1][mCellCountX + 1][mCellCountY + 1]; in loadWorkspace()
1390 info.intent.putExtra(ItemInfo.EXTRA_PROFILE, info.user); in loadWorkspace()
1547 ArrayList<ItemInfo> allWorkspaceItems, in filterCurrentWorkspaceItems()
1548 ArrayList<ItemInfo> currentScreenItems, in filterCurrentWorkspaceItems()
1549 ArrayList<ItemInfo> otherScreenItems) { in filterCurrentWorkspaceItems()
1551 Iterator<ItemInfo> iter = allWorkspaceItems.iterator(); in filterCurrentWorkspaceItems()
1553 ItemInfo i = iter.next(); in filterCurrentWorkspaceItems()
1569 Collections.sort(allWorkspaceItems, new Comparator<ItemInfo>() { in filterCurrentWorkspaceItems()
1571 public int compare(ItemInfo lhs, ItemInfo rhs) { in filterCurrentWorkspaceItems()
1575 for (ItemInfo info : allWorkspaceItems) { in filterCurrentWorkspaceItems()
1621 HashMap<Long, ItemInfo> itemsIdMap, in filterCurrentFolders()
1632 ItemInfo info = itemsIdMap.get(id); in filterCurrentFolders()
1646 private void sortWorkspaceItemsSpatially(ArrayList<ItemInfo> workspaceItems) { in sortWorkspaceItemsSpatially()
1648 Collections.sort(workspaceItems, new Comparator<ItemInfo>() { in sortWorkspaceItemsSpatially()
1650 public int compare(ItemInfo lhs, ItemInfo rhs) { in sortWorkspaceItemsSpatially()
1665 final ArrayList<ItemInfo> workspaceItems, in bindWorkspaceItems()
1753 ArrayList<ItemInfo> workspaceItems = new ArrayList<ItemInfo>(); in bindWorkspace()
1757 HashMap<Long, ItemInfo> itemsIdMap = new HashMap<Long, ItemInfo>(); in bindWorkspace()
1765 ArrayList<ItemInfo> currentWorkspaceItems = new ArrayList<ItemInfo>(); in bindWorkspace()
1766 ArrayList<ItemInfo> otherWorkspaceItems = new ArrayList<ItemInfo>(); in bindWorkspace()
2258 static ArrayList<ItemInfo> getWorkspaceShortcutItemInfosWithIntent(Intent intent) { in getWorkspaceShortcutItemInfosWithIntent()
2259 ArrayList<ItemInfo> items = new ArrayList<ItemInfo>(); in getWorkspaceShortcutItemInfosWithIntent()
2261 for (ItemInfo info : sBgWorkspaceItems) { in getWorkspaceShortcutItemInfosWithIntent()
2423 UserHandle user = data.getParcelableExtra(ItemInfo.EXTRA_PROFILE); in infoFromShortcutIntent()