HomeSort by relevance Sort by last modified time
    Searched full:favorites (Results 1 - 25 of 201) sorted by null

1 2 3 4 5 6 7 8 9

  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherProvider.java 56 import com.android.launcher2.LauncherSettings.Favorites;
77 static final String TABLE_FAVORITES = "favorites";
135 if (!values.containsKey(LauncherSettings.Favorites._ID)) {
142 Uri uri = LauncherSettings.Favorites.getContentUri(id, false);
247 // Populate favorites table with initial favorites
314 private static final String TAG_FAVORITES = "favorites";
361 db.execSQL("CREATE TABLE favorites (" +
418 // We already have a favorites database in the old provider
441 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID)
    [all...]
ItemInfo.java 48 * One of {@link LauncherSettings.Favorites#ITEM_TYPE_APPLICATION},
49 * {@link LauncherSettings.Favorites#ITEM_TYPE_SHORTCUT},
50 * {@link LauncherSettings.Favorites#ITEM_TYPE_FOLDER}, or
51 * {@link LauncherSettings.Favorites#ITEM_TYPE_APPWIDGET}.
57 * {@link LauncherSettings.Favorites#CONTAINER_DESKTOP}. For the all applications folder it
169 values.put(LauncherSettings.Favorites.CONTAINER, container);
170 values.put(LauncherSettings.Favorites.SCREEN, screen);
171 values.put(LauncherSettings.Favorites.CELLX, cellX);
172 values.put(LauncherSettings.Favorites.CELLY, cellY);
173 values.put(LauncherSettings.Favorites.SPANX, spanX)
    [all...]
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 339 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false);
351 if (item.container != LauncherSettings.Favorites.CONTAINER_DESKTOP &&
352 item.container != LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
368 if (modelItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP ||
369 modelItem.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
371 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION:
372 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT:
373 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER:
436 container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
443 values.put(LauncherSettings.Favorites.CONTAINER, item.container)
    [all...]
LauncherApplication.java 73 // Register for changes to the favorites
75 resolver.registerContentObserver(LauncherSettings.Favorites.CONTENT_URI, true,
97 * Receives notifications whenever the user favorites have changed.
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherProvider.java 53 import com.android.launcher3.LauncherSettings.Favorites;
76 static final String TABLE_FAVORITES = LauncherSettings.Favorites.TABLE_NAME;
277 String selection = LauncherSettings.Favorites.ITEM_TYPE + " = "
278 + LauncherSettings.Favorites.ITEM_TYPE_FOLDER + " AND "
279 + LauncherSettings.Favorites._ID + " NOT IN (SELECT " +
280 LauncherSettings.Favorites.CONTAINER + " FROM "
283 new String[] {LauncherSettings.Favorites._ID},
291 LauncherSettings.Favorites._ID, folderIds), null);
382 // Populate favorites table with initial favorites
    [all...]
ItemInfo.java 47 * One of {@link LauncherSettings.Favorites#ITEM_TYPE_APPLICATION},
48 * {@link LauncherSettings.Favorites#ITEM_TYPE_SHORTCUT},
49 * {@link LauncherSettings.Favorites#ITEM_TYPE_FOLDER}, or
50 * {@link LauncherSettings.Favorites#ITEM_TYPE_APPWIDGET}.
56 * {@link LauncherSettings.Favorites#CONTAINER_DESKTOP}. For the all applications folder it
161 values.put(LauncherSettings.Favorites.CONTAINER, container);
162 values.put(LauncherSettings.Favorites.SCREEN, screenId);
163 values.put(LauncherSettings.Favorites.CELLX, cellX);
164 values.put(LauncherSettings.Favorites.CELLY, cellY);
165 values.put(LauncherSettings.Favorites.SPANX, spanX)
    [all...]
AutoInstallsLayout.java 39 import com.android.launcher3.LauncherSettings.Favorites;
143 Favorites.containerToString(Favorites.CONTAINER_HOTSEAT);
228 out[0] = Favorites.CONTAINER_HOTSEAT;
233 out[0] = Favorites.CONTAINER_DESKTOP;
250 // recursively load some more favorites, why not?
262 mValues.put(Favorites.CONTAINER, container);
263 mValues.put(Favorites.SCREEN, screenId);
264 mValues.put(Favorites.CELLX, getAttributeValue(parser, ATTR_X));
265 mValues.put(Favorites.CELLY, getAttributeValue(parser, ATTR_Y))
    [all...]
AppWidgetsRestoredReceiver.java 15 import com.android.launcher3.LauncherSettings.Favorites;
57 values.put(LauncherSettings.Favorites.APPWIDGET_ID, newWidgetIds[i]);
58 values.put(LauncherSettings.Favorites.RESTORED, state);
62 int result = cr.update(Favorites.CONTENT_URI, values,
65 Cursor cursor = cr.query(Favorites.CONTENT_URI,
66 new String[] {Favorites.APPWIDGET_ID},
CommonAppTypeParser.java 27 import com.android.launcher3.LauncherSettings.Favorites;
71 values.put(Favorites.ICON_TYPE, (Integer) null);
72 values.put(Favorites.ICON_PACKAGE, (String) null);
73 values.put(Favorites.ICON_RESOURCE, (String) null);
74 values.put(Favorites.ICON, (byte[]) null);
101 if (type == Favorites.ITEM_TYPE_APPLICATION) {
LauncherBackupHelper.java 41 import com.android.launcher3.LauncherSettings.Favorites;
92 Favorites._ID, // 0
93 Favorites.MODIFIED, // 1
94 Favorites.INTENT, // 2
95 Favorites.APPWIDGET_PROVIDER, // 3
96 Favorites.APPWIDGET_ID, // 4
97 Favorites.CELLX, // 5
98 Favorites.CELLY, // 6
99 Favorites.CONTAINER, // 7
100 Favorites.ICON, //
    [all...]
LauncherAppWidgetInfo.java 95 itemType = LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
97 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
119 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId);
120 values.put(LauncherSettings.Favorites.APPWIDGET_PROVIDER, providerName.flattenToString());
121 values.put(LauncherSettings.Favorites.RESTORED, restoreStatus);
LauncherModel.java 454 if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) {
555 LauncherSettings.Favorites.CONTAINER_DESKTOP,
705 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId);
731 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId);
    [all...]
FolderInfo.java 64 itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER;
104 values.put(LauncherSettings.Favorites.TITLE, title.toString());
105 values.put(LauncherSettings.Favorites.OPTIONS, options);
  /packages/apps/Launcher3/src/com/android/launcher3/util/
CursorIconInfo.java 39 iconTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_TYPE);
40 iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON);
41 iconPackageIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_PACKAGE);
42 iconResourceIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_RESOURCE);
49 case LauncherSettings.Favorites.ICON_TYPE_RESOURCE:
63 case LauncherSettings.Favorites.ICON_TYPE_BITMAP:
  /packages/apps/Contacts/res/values-sw600dp-land/
integers.xml 17 <!-- Determines the number of columns in a ContactTileRow in the favorites tab -->
22 <!-- Layout weight of space elements in PeopleActivity for favorites list and all
25 <!-- Layout weight of ListViews in PeopleActivityfor tile favorites list and all
  /packages/apps/Contacts/res/values-sw720dp/
integers.xml 17 <!-- Determines the number of columns in a ContactTileRow in the favorites tab -->
22 <!-- Layout weight of column space elements for favorites list, all contacts list and
25 <!-- Layout weight of the content column for tile favorites list, all contacts list, and
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
GroupMetaData.java 32 String title, boolean defaultGroup, boolean favorites) {
39 this.mFavorites = favorites;
  /packages/apps/Launcher3/src/com/android/launcher3/widget/
PendingAddWidgetInfo.java 46 itemType = LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
48 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
67 return itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
  /packages/apps/Contacts/res/values-land/
integers.xml 17 <!-- Determines the number of columns in a ContactTileRow in the favorites tab -->
  /packages/apps/Contacts/res/values-sw600dp/
integers.xml 18 <!-- Determines the number of columns in a ContactTileRow in the favorites tab -->
  /packages/apps/Contacts/res/values-sw720dp-land/
integers.xml 18 <!-- Determines the number of columns in a ContactTileRow in the favorites tab -->
  /packages/apps/Launcher2/
fill_screens.py 56 c.execute("DELETE FROM favorites")
65 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
73 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
  /packages/apps/Launcher3/
fill_screens.py 56 c.execute("DELETE FROM favorites")
65 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
73 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
  /packages/apps/Contacts/src/com/android/contacts/
GroupMetaDataLoader.java 36 Groups.FAVORITES,
47 public final static int FAVORITES = 6;

Completed in 6576 milliseconds

1 2 3 4 5 6 7 8 9