Home | History | Annotate | Download | only in launcher3

Lines Matching refs:Favorites

195                 LauncherSettings.Favorites.OLD_CONTENT_URI) != null);
245 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) {
425 LauncherSettings.Favorites.CONTAINER_DESKTOP,
588 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false);
614 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false);
636 if (item.container != LauncherSettings.Favorites.CONTAINER_DESKTOP &&
637 item.container != LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
653 (modelItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP ||
654 modelItem.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT)) {
656 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION:
657 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT:
658 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER:
713 container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
720 values.put(LauncherSettings.Favorites.CONTAINER, item.container);
721 values.put(LauncherSettings.Favorites.CELLX, item.cellX);
722 values.put(LauncherSettings.Favorites.CELLY, item.cellY);
723 values.put(LauncherSettings.Favorites.SCREEN, item.screenId);
745 container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
753 values.put(LauncherSettings.Favorites.CONTAINER, item.container);
754 values.put(LauncherSettings.Favorites.CELLX, item.cellX);
755 values.put(LauncherSettings.Favorites.CELLY, item.cellY);
756 values.put(LauncherSettings.Favorites.SCREEN, item.screenId);
777 container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
784 values.put(LauncherSettings.Favorites.CONTAINER, item.container);
785 values.put(LauncherSettings.Favorites.CELLX, item.cellX);
786 values.put(LauncherSettings.Favorites.CELLY, item.cellY);
787 values.put(LauncherSettings.Favorites.SPANX, item.spanX);
788 values.put(LauncherSettings.Favorites.SPANY, item.spanY);
789 values.put(LauncherSettings.Favorites.SCREEN, item.screenId);
810 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI,
834 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI,
853 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, new String[] {
854 LauncherSettings.Favorites.ITEM_TYPE, LauncherSettings.Favorites.CONTAINER,
855 LauncherSettings.Favorites.SCREEN, LauncherSettings.Favorites.CELLX, LauncherSettings.Favorites.CELLY,
856 LauncherSettings.Favorites.SPANX, LauncherSettings.Favorites.SPANY }, null, null, null);
858 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE);
859 final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER);
860 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN);
861 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX);
862 final int cellYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLY);
863 final int spanXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANX);
864 final int spanYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANY);
893 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, null,
896 String.valueOf(LauncherSettings.Favorites.ITEM_TYPE_FOLDER)}, null);
900 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE);
901 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE);
902 final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER);
903 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN);
904 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX);
905 final int cellYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLY);
909 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER:
942 container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
953 values.put(LauncherSettings.Favorites._ID, item.id);
958 cr.insert(notify ? LauncherSettings.Favorites.CONTENT_URI :
959 LauncherSettings.Favorites.CONTENT_URI_NO_NOTIFICATION, values);
966 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER:
969 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION:
970 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT:
971 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP ||
972 item.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
983 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET:
1009 final Uri uriToDelete = LauncherSettings.Favorites.getContentUri(item.id, false);
1018 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER:
1031 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION:
1032 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT:
1035 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET:
1107 cr.delete(LauncherSettings.Favorites.getContentUri(info.id, false), null, null);
1116 cr.delete(LauncherSettings.Favorites.CONTENT_URI_NO_NOTIFICATION,
1117 LauncherSettings.Favorites.CONTAINER + "=" + info.id, null);
1656 if (item.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
1668 occupied.get((long) LauncherSettings.Favorites.CONTAINER_HOTSEAT);
1683 + occupied.get(LauncherSettings.Favorites.CONTAINER_HOTSEAT)
1693 occupied.put((long) LauncherSettings.Favorites.CONTAINER_HOTSEAT, items);
1696 } else if (item.container != LauncherSettings.Favorites.CONTAINER_DESKTOP) {
1707 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP &&
1780 Launcher.addDumpLog(TAG, "loadWorkspace: loading default favorites", false);
1785 // (Includes having just imported default favorites)
1796 final Uri contentUri = LauncherSettings.Favorites.CONTENT_URI;
1806 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID);
1808 (LauncherSettings.Favorites.INTENT);
1810 (LauncherSettings.Favorites.TITLE);
1812 LauncherSettings.Favorites.ICON_TYPE);
1813 Favorites.ICON);
1815 LauncherSettings.Favorites.ICON_PACKAGE);
1817 LauncherSettings.Favorites.ICON_RESOURCE);
1819 LauncherSettings.Favorites.CONTAINER);
1821 LauncherSettings.Favorites.ITEM_TYPE);
1823 LauncherSettings.Favorites.APPWIDGET_ID);
1825 LauncherSettings.Favorites.APPWIDGET_PROVIDER);
1827 LauncherSettings.Favorites.SCREEN);
1829 (LauncherSettings.Favorites.CELLX);
1831 (LauncherSettings.Favorites.CELLY);
1833 (LauncherSettings.Favorites.SPANX);
1835 LauncherSettings.Favorites.SPANY);
1837 LauncherSettings.Favorites.RESTORED);
1838 //final int uriIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.URI);
1840 // LauncherSettings.Favorites.DISPLAY_MODE);
1856 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION:
1857 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT:
1901 LauncherSettings.Favorites.ITEM_TYPE_APPLICATION) {
1943 case LauncherSettings.Favorites.CONTAINER_DESKTOP:
1944 case LauncherSettings.Favorites.CONTAINER_HOTSEAT:
1964 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER:
1989 case LauncherSettings.Favorites.CONTAINER_DESKTOP:
1990 case LauncherSettings.Favorites.CONTAINER_HOTSEAT:
2004 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET:
2035 if (container != LauncherSettings.Favorites.CONTAINER_DESKTOP &&
2036 container != LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
2055 values.put(LauncherSettings.Favorites.APPWIDGET_PROVIDER,
2084 LauncherSettings.Favorites.CONTENT_URI);
2092 client.delete(LauncherSettings.Favorites.getContentUri(id, false),
2102 LauncherSettings.Favorites.CONTENT_URI);
2106 selectionBuilder.append(LauncherSettings.Favorites._ID);
2111 values.put(LauncherSettings.Favorites.RESTORED, 0);
2112 updater.update(LauncherSettings.Favorites.CONTENT_URI,
2124 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP &&
2161 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP &&
2228 if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) {
2235 } else if (info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
2257 if (widget.container == LauncherSettings.Favorites.CONTAINER_DESKTOP &&
2277 if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP &&
2878 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT;
2997 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION;
3058 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION &&
3079 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT;
3087 case LauncherSettings.Favorites.ICON_TYPE_RESOURCE:
3113 case LauncherSettings.Favorites.ICON_TYPE_BITMAP:
3138 + c.getString(c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE)));