/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherProvider.java | 56 import com.android.launcher3.LauncherSettings.Favorites; 83 static final String TABLE_FAVORITES = "favorites"; 157 Uri uri = LauncherSettings.Favorites.getContentUri(id, false); 306 // Populate favorites table with initial favorites 321 LauncherSettings.Favorites.OLD_CONTENT_URI); 355 private static final String TAG_FAVORITES = "favorites"; 410 db.execSQL("CREATE TABLE favorites (" + 445 int container = values.getAsInteger(LauncherSettings.Favorites.CONTAINER); 446 if (container == Favorites.CONTAINER_DESKTOP) [all...] |
ItemInfo.java | 40 * One of {@link LauncherSettings.Favorites#ITEM_TYPE_APPLICATION}, 41 * {@link LauncherSettings.Favorites#ITEM_TYPE_SHORTCUT}, 42 * {@link LauncherSettings.Favorites#ITEM_TYPE_FOLDER}, or 43 * {@link LauncherSettings.Favorites#ITEM_TYPE_APPWIDGET}. 49 * {@link LauncherSettings.Favorites#CONTAINER_DESKTOP}. For the all applications folder it 136 values.put(LauncherSettings.Favorites.CONTAINER, container); 137 values.put(LauncherSettings.Favorites.SCREEN, screenId); 138 values.put(LauncherSettings.Favorites.CELLX, cellX); 139 values.put(LauncherSettings.Favorites.CELLY, cellY); 140 values.put(LauncherSettings.Favorites.SPANX, spanX) [all...] |
UninstallShortcutReceiver.java | 95 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, 96 new String[] { LauncherSettings.Favorites._ID, LauncherSettings.Favorites.INTENT }, 97 LauncherSettings.Favorites.TITLE + "=?", new String[] { name }, null); 99 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT); 100 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID); 109 final Uri uri = LauncherSettings.Favorites.getContentUri(id, false); 125 cr.notifyChange(LauncherSettings.Favorites.CONTENT_URI, null);
|
LauncherAppWidgetInfo.java | 54 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; 67 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId); 68 values.put(LauncherSettings.Favorites.APPWIDGET_PROVIDER, providerName.flattenToString());
|
LauncherBackupHelper.java | 21 import com.android.launcher3.LauncherSettings.Favorites; 94 Favorites._ID, // 0 95 Favorites.MODIFIED, // 1 96 Favorites.INTENT, // 2 97 Favorites.APPWIDGET_PROVIDER, // 3 98 Favorites.APPWIDGET_ID, // 4 99 Favorites.CELLX, // 5 100 Favorites.CELLY, // 6 101 Favorites.CONTAINER, // 7 102 Favorites.ICON, // [all...] |
LauncherModel.java | 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 [all...] |
FolderInfo.java | 41 itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER; 80 values.put(LauncherSettings.Favorites.TITLE, title.toString());
|
LauncherSettings.java | 123 * Favorites. 125 static final class Favorites implements BaseLauncherColumns {
|
PendingAddItemInfo.java | 67 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
|
DeleteDropTarget.java | 106 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT: 107 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET: 144 if (item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET || 145 item.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) { 150 item.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { 155 item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION && 161 if (item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION &&
|
Hotseat.java | 199 fi.container = LauncherSettings.Favorites.CONTAINER_HOTSEAT; 201 fi.itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER;
|
InstallWidgetReceiver.java | 186 mLauncher.addAppWidgetFromDrop(createInfo, LauncherSettings.Favorites.CONTAINER_DESKTOP,
|
Workspace.java | 65 import com.android.launcher3.LauncherSettings.Favorites; [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
ItemInfo.java | 40 * One of {@link LauncherSettings.Favorites#ITEM_TYPE_APPLICATION}, 41 * {@link LauncherSettings.Favorites#ITEM_TYPE_SHORTCUT}, 42 * {@link LauncherSettings.Favorites#ITEM_TYPE_FOLDER}, or 43 * {@link LauncherSettings.Favorites#ITEM_TYPE_APPWIDGET}. 49 * {@link LauncherSettings.Favorites#CONTAINER_DESKTOP}. For the all applications folder it 143 values.put(LauncherSettings.Favorites.CONTAINER, container); 144 values.put(LauncherSettings.Favorites.SCREEN, screen); 145 values.put(LauncherSettings.Favorites.CELLX, cellX); 146 values.put(LauncherSettings.Favorites.CELLY, cellY); 147 values.put(LauncherSettings.Favorites.SPANX, spanX) [all...] |
LauncherProvider.java | 53 import com.android.launcher2.LauncherSettings.Favorites; 74 static final String TABLE_FAVORITES = "favorites"; 128 if (!values.containsKey(LauncherSettings.Favorites._ID)) { 135 Uri uri = LauncherSettings.Favorites.getContentUri(id, false); 226 // Populate favorites table with initial favorites 254 private static final String TAG_FAVORITES = "favorites"; 296 db.execSQL("CREATE TABLE favorites (" + 352 // We already have a favorites database in the old provider 375 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID) [all...] |
LauncherAppWidgetInfo.java | 54 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; 67 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId);
|
UninstallShortcutReceiver.java | 103 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, 104 new String[] { LauncherSettings.Favorites._ID, LauncherSettings.Favorites.INTENT }, 105 LauncherSettings.Favorites.TITLE + "=?", new String[] { name }, null); 107 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT); 108 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID); 117 final Uri uri = LauncherSettings.Favorites.getContentUri(id, false); 133 cr.notifyChange(LauncherSettings.Favorites.CONTENT_URI, null);
|
LauncherModel.java | 329 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false); 341 if (item.container != LauncherSettings.Favorites.CONTAINER_DESKTOP && 342 item.container != LauncherSettings.Favorites.CONTAINER_HOTSEAT) { 358 if (modelItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP || 359 modelItem.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { 361 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION: 362 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT: 363 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER: 426 container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { 433 values.put(LauncherSettings.Favorites.CONTAINER, item.container) [all...] |
FolderInfo.java | 41 itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER; 80 values.put(LauncherSettings.Favorites.TITLE, title.toString());
|
LauncherSettings.java | 94 * Favorites. 96 static final class Favorites implements BaseLauncherColumns {
|
PendingAddItemInfo.java | 67 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
|
LauncherApplication.java | 74 // Register for changes to the favorites 76 resolver.registerContentObserver(LauncherSettings.Favorites.CONTENT_URI, true, 94 * Receives notifications whenever the user favorites have changed.
|
InstallWidgetReceiver.java | 191 mLauncher.addAppWidgetFromDrop(createInfo, LauncherSettings.Favorites.CONTAINER_DESKTOP,
|
Workspace.java | 57 import com.android.launcher2.LauncherSettings.Favorites; 510 if (container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { 519 if (container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { [all...] |
DeleteDropTarget.java | 99 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT: 100 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET:
|