Home | History | Annotate | Download | only in launcher2

Lines Matching defs:LauncherSettings

208         final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false);
228 if (modelItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP ||
229 modelItem.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
257 container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
264 values.put(LauncherSettings.Favorites.CONTAINER, item.container);
265 values.put(LauncherSettings.Favorites.CELLX, item.cellX);
266 values.put(LauncherSettings.Favorites.CELLY, item.cellY);
267 values.put(LauncherSettings.Favorites.SCREEN, item.screen);
283 values.put(LauncherSettings.Favorites.CONTAINER, item.container);
284 values.put(LauncherSettings.Favorites.SPANX, spanX);
285 values.put(LauncherSettings.Favorites.SPANY, spanY);
286 values.put(LauncherSettings.Favorites.CELLX, cellX);
287 values.put(LauncherSettings.Favorites.CELLY, cellY);
308 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI,
327 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, new String[] {
328 LauncherSettings.Favorites.ITEM_TYPE, LauncherSettings.Favorites.CONTAINER,
329 LauncherSettings.Favorites.SCREEN, LauncherSettings.Favorites.CELLX, LauncherSettings.Favorites.CELLY,
330 LauncherSettings.Favorites.SPANX, LauncherSettings.Favorites.SPANY }, null, null, null);
332 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE);
333 final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER);
334 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN);
335 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX);
336 final int cellYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLY);
337 final int spanXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANX);
338 final int spanYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANY);
367 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, null,
370 String.valueOf(LauncherSettings.Favorites.ITEM_TYPE_FOLDER)}, null);
374 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE);
375 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE);
376 final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER);
377 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN);
378 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX);
379 final int cellYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLY);
383 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER:
416 container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
428 values.put(LauncherSettings.Favorites._ID, item.id);
433 cr.insert(notify ? LauncherSettings.Favorites.CONTENT_URI :
434 LauncherSettings.Favorites.CONTENT_URI_NO_NOTIFICATION, values);
443 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER:
446 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION:
447 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT:
448 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP ||
449 item.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
453 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET:
500 final Uri uriToDelete = LauncherSettings.Favorites.getContentUri(item.id, false);
505 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER:
509 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION:
510 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT:
513 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET:
536 cr.delete(LauncherSettings.Favorites.getContentUri(info.id, false), null, null);
542 cr.delete(LauncherSettings.Favorites.CONTENT_URI_NO_NOTIFICATION,
543 LauncherSettings.Favorites.CONTAINER + "=" + info.id, null);
916 if (item.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
933 } else if (item.container != LauncherSettings.Favorites.CONTAINER_DESKTOP) {
978 LauncherSettings.Favorites.CONTENT_URI, null, null, null, null);
987 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID);
989 (LauncherSettings.Favorites.INTENT);
991 (LauncherSettings.Favorites.TITLE);
993 LauncherSettings.Favorites.ICON_TYPE);
994 final int iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON);
996 LauncherSettings.Favorites.ICON_PACKAGE);
998 LauncherSettings.Favorites.ICON_RESOURCE);
1000 LauncherSettings.Favorites.CONTAINER);
1002 LauncherSettings.Favorites.ITEM_TYPE);
1004 LauncherSettings.Favorites.APPWIDGET_ID);
1006 LauncherSettings.Favorites.SCREEN);
1008 (LauncherSettings.Favorites.CELLX);
1010 (LauncherSettings.Favorites.CELLY);
1012 (LauncherSettings.Favorites.SPANX);
1014 LauncherSettings.Favorites.SPANY);
1015 final int uriIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.URI);
1017 LauncherSettings.Favorites.DISPLAY_MODE);
1031 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION:
1032 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT:
1040 if (itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION) {
1064 case LauncherSettings.Favorites.CONTAINER_DESKTOP:
1065 case LauncherSettings.Favorites.CONTAINER_HOTSEAT:
1087 contentResolver.delete(LauncherSettings.Favorites.getContentUri(
1092 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER:
1109 case LauncherSettings.Favorites.CONTAINER_DESKTOP:
1110 case LauncherSettings.Favorites.CONTAINER_HOTSEAT:
1119 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET:
1144 if (container != LauncherSettings.Favorites.CONTAINER_DESKTOP &&
1145 container != LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
1171 LauncherSettings.Favorites.CONTENT_URI);
1179 client.delete(LauncherSettings.Favorites.getContentUri(id, false),
1678 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION;
1691 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT;
1699 case LauncherSettings.Favorites.ICON_TYPE_RESOURCE:
1725 case LauncherSettings.Favorites.ICON_TYPE_BITMAP:
1748 + c.getString(c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE)));