Home | History | Annotate | Download | only in launcher3

Lines Matching defs:items

113     // When we are loading pages synchronously, we can't just post the binding of items on the side
234 static boolean findNextAvailableIconSpaceInScreen(ArrayList<ItemInfo> items, int[] xy,
243 for (int i = 0; i < items.size(); ++i) {
244 final ItemInfo item = items.get(i);
266 // Lock on the app so that we don't try and get the items while apps are being added
277 final ArrayList<ItemInfo> items = LauncherModel.getItemsInLocalCoordinates(context);
285 if (findNextAvailableIconSpaceInScreen(items, tmpCoordinates,
384 // is only the empty page then we just add items to the first page.
486 // Unbind all the workspace items
492 // Ensure that we don't use the same workspace items data structure on the main thread
493 // by making a copy of workspace items first.
602 final ArrayList<ItemInfo> items, final String callingFunction) {
610 int count = items.size();
612 ItemInfo item = items.get(i);
640 // An items container is being set to a that of an item which is not in
648 // Items are added/removed from the corresponding FolderInfo elsewhere, such
649 // as in Workspace.onDrop. Here, we just add/remove them from the list of items
710 // We store hotseat items in canonical form which is this orientation invariant position
729 * Move items in the DB to a new <container, screen, cellX, cellY>. We assume that the
732 static void moveItemsInDatabase(Context context, final ArrayList<ItemInfo> items,
736 int count = items.size();
739 ItemInfo item = items.get(i);
742 // We store hotseat items in canonical form which is this orientation invariant position
760 updateItemsInDatabaseHelper(context, contentValues, items, "moveItemInDatabase");
774 // We store hotseat items in canonical form which is this orientation invariant position
847 * Returns an ItemInfo array containing all the items in the LauncherModel.
851 ArrayList<ItemInfo> items = new ArrayList<ItemInfo>();
877 items.add(item);
880 items.clear();
885 return items;
939 // We store hotseat items in canonical form which is this orientation invariant position
1022 // We are deleting a folder which still contains items that
1025 "contains items (" + info + ")";
1354 Launcher.addDumpLog(TAG, "Desktop items loading interrupted - invalid screens: " + e, true);
1505 // Divide the set of loaded items into those that we are binding synchronously, and
1552 // Restore the default thread priority after we are done loading items
1628 // Cross reference all the applications in our apps list with items in the workspace
1647 // check & update map of what's occupied; used to discard overlapping/invalid items
1691 final ItemInfo[][] items = new ItemInfo[(int) grid.numHotseatIcons][1];
1692 items[(int) item.screenId][0] = item;
1693 occupied.put((long) LauncherSettings.Favorites.CONTAINER_HOTSEAT, items);
1702 ItemInfo[][] items = new ItemInfo[countX + 1][countY + 1];
1703 occupied.put(item.screenId, items);
1801 // Load workspace in reverse order to ensure that latest items are loaded first (and
2067 Launcher.addDumpLog(TAG, "Desktop items loading interrupted", e, true);
2085 // Remove dead items
2103 // Update restored items that no longer require special handling
2202 /** Filters the set of items who are directly or indirectly (via another container) on the
2217 // Order the set of items by their containers first, this allows use to walk through the
2219 // as well as all items in those containers.
2286 /** Sorts the set of items by hotseat, workspace (spatially from top to bottom, left to
2330 // Bind the workspace items
2425 // There may be no workspace screens (just hotseat items and an empty page).
2432 // Load all the items that are on the current page first (and in the process, unbind
2433 // all the existing workspace items before we call startBinding() below.
2436 // Separate the items that are on the current screen, and all the other remaining items
2455 // Tell the workspace that we're about to start binding items
2468 // Load items on the current page
2489 // Tell the workspace that we're done binding items
2787 // Remove any queued items from the install queue