Home | History | Annotate | Download | only in model

Lines Matching refs:CONTAINER

63             ItemInfo item, long container, long screenId, int cellX, int cellY) {
64 item.container = container;
69 if (container == Favorites.CONTAINER_HOTSEAT) {
79 * <container, screen, cellX, cellY>
82 long container, long screenId, int cellX, int cellY) {
83 if (item.container == ItemInfo.NO_ID) {
85 addItemToDatabase(item, container, screenId, cellX, cellY);
88 moveItemInDatabase(item, container, screenId, cellX, cellY);
103 modelShortcut.container == shortcut.container &&
130 * Move an item in the DB to a new <container, screen, cellX, cellY>
133 long container, long screenId, int cellX, int cellY) {
134 updateItemInfoProps(item, container, screenId, cellX, cellY);
137 .put(Favorites.CONTAINER, item.container)
147 * Move items in the DB to a new <container, screen, cellX, cellY>. We assume that the
150 public void moveItemsInDatabase(final ArrayList<ItemInfo> items, long container, int screen) {
156 updateItemInfoProps(item, container, screen, item.cellX, item.cellY);
159 values.put(Favorites.CONTAINER, item.container);
171 * Move and/or resize item in the DB to a new <container, screen, cellX, cellY, spanX, spanY>
174 long container, long screenId, int cellX, int cellY, int spanX, int spanY) {
175 updateItemInfoProps(item, container, screenId, cellX, cellY);
180 .put(Favorites.CONTAINER, item.container)
192 * Update an item to the database in a specified container.
201 * Add an item to the database in a specified container. Sets the container, screen, cellX and
205 long container, long screenId, int cellX, int cellY) {
206 updateItemInfoProps(item, container, screenId, cellX, cellY);
266 LauncherSettings.Favorites.CONTAINER + "=" + info.id, null);
337 if (item.container != Favorites.CONTAINER_DESKTOP &&
338 item.container != Favorites.CONTAINER_HOTSEAT) {
340 if (!mBgDataModel.folders.containsKey(item.container)) {
341 // An items container is being set to a that of an item which is not in
343 String msg = "item: " + item + " container being set to: " +
344 item.container + ", not in the list of folders";
354 (modelItem.container == Favorites.CONTAINER_DESKTOP ||
355 modelItem.container == Favorites.CONTAINER_HOTSEAT)) {