HomeSort by relevance Sort by last modified time
    Searched refs:LauncherSettings (Results 1 - 25 of 45) sorted by null

1 2

  /packages/apps/Launcher3/src/com/android/launcher3/
SettingsActivity.java 55 extras.putBoolean(LauncherSettings.Settings.EXTRA_DEFAULT_VALUE, false);
57 LauncherSettings.Settings.CONTENT_URI,
58 LauncherSettings.Settings.METHOD_GET_BOOLEAN,
60 pref.setChecked(value.getBoolean(LauncherSettings.Settings.EXTRA_VALUE));
68 extras.putBoolean(LauncherSettings.Settings.EXTRA_VALUE, (Boolean) newValue);
70 LauncherSettings.Settings.CONTENT_URI,
71 LauncherSettings.Settings.METHOD_SET_BOOLEAN,
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
160 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType);
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)
    [all...]
LauncherAppWidgetInfo.java 91 itemType = LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
93 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
115 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId);
116 values.put(LauncherSettings.Favorites.APPWIDGET_PROVIDER, providerName.flattenToString());
117 values.put(LauncherSettings.Favorites.RESTORED, restoreStatus);
LauncherProvider.java 53 import com.android.launcher3.LauncherSettings.Favorites;
74 static final String TABLE_FAVORITES = LauncherSettings.Favorites.TABLE_NAME;
75 static final String TABLE_WORKSPACE_SCREENS = LauncherSettings.WorkspaceScreens.TABLE_NAME;
145 if (!values.containsKey(LauncherSettings.ChangeLogColumns._ID)) {
269 case LauncherSettings.Settings.METHOD_GET_BOOLEAN: {
272 result.putBoolean(LauncherSettings.Settings.EXTRA_VALUE,
275 result.putBoolean(LauncherSettings.Settings.EXTRA_VALUE,
277 LauncherSettings.Settings.EXTRA_DEFAULT_VALUE)));
281 case LauncherSettings.Settings.METHOD_SET_BOOLEAN: {
282 boolean value = extras.getBoolean(LauncherSettings.Settings.EXTRA_VALUE)
    [all...]
ShortcutInfo.java 26 import com.android.launcher3.LauncherSettings.Favorites;
151 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT;
221 values.put(LauncherSettings.BaseLauncherColumns.TITLE, titleStr);
225 values.put(LauncherSettings.BaseLauncherColumns.INTENT, uri);
226 values.put(LauncherSettings.Favorites.RESTORED, status);
229 values.put(LauncherSettings.BaseLauncherColumns.ICON_TYPE,
230 LauncherSettings.BaseLauncherColumns.ICON_TYPE_BITMAP);
237 values.put(LauncherSettings.BaseLauncherColumns.ICON_TYPE,
238 LauncherSettings.BaseLauncherColumns.ICON_TYPE_RESOURCE);
239 values.put(LauncherSettings.BaseLauncherColumns.ICON_PACKAGE
    [all...]
LauncherModel.java 439 if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) {
540 LauncherSettings.Favorites.CONTAINER_DESKTOP,
690 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId);
716 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId);
738 if (item.container != LauncherSettings.Favorites.CONTAINER_DESKTOP &&
739 item.container != LauncherSettings.Favorites.CONTAINER_HOTSEAT)
    [all...]
AppWidgetsRestoredReceiver.java 15 import com.android.launcher3.LauncherSettings.Favorites;
58 values.put(LauncherSettings.Favorites.APPWIDGET_ID, newWidgetIds[i]);
59 values.put(LauncherSettings.Favorites.RESTORED, state);
FolderInfo.java 64 itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER;
104 values.put(LauncherSettings.Favorites.TITLE, title.toString());
105 values.put(LauncherSettings.Favorites.OPTIONS, options);
LauncherSettings.java 27 public class LauncherSettings {
  /packages/apps/Launcher3/src/com/android/launcher3/util/
CursorIconInfo.java 25 import com.android.launcher3.LauncherSettings;
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/Launcher3/tests/src/com/android/launcher3/model/
GridSizeMigrationTaskTest.java 12 import com.android.launcher3.LauncherSettings;
25 private static final long DESKTOP = LauncherSettings.Favorites.CONTAINER_DESKTOP;
26 private static final long HOTSEAT = LauncherSettings.Favorites.CONTAINER_HOTSEAT;
28 private static final int APPLICATION = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION;
29 private static final int SHORTCUT = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT;
86 Cursor c = getMockContentResolver().query(LauncherSettings.Favorites.CONTENT_URI,
87 new String[]{LauncherSettings.Favorites._ID},
104 Cursor c = getMockContentResolver().query(LauncherSettings.Favorites.CONTENT_URI,
105 new String[]{LauncherSettings.Favorites._ID},
224 v.put(LauncherSettings.WorkspaceScreens._ID, screenId)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/widget/
PendingAddShortcutInfo.java 21 import com.android.launcher3.LauncherSettings;
36 itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT;
PendingAddWidgetInfo.java 24 import com.android.launcher3.LauncherSettings;
42 itemType = LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
44 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
59 return itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
  /packages/apps/Launcher2/src/com/android/launcher2/
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
168 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType);
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)
    [all...]
ShortcutInfo.java 62 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT;
104 * Sets {@link #itemType} to {@link LauncherSettings.BaseLauncherColumns#ITEM_TYPE_APPLICATION}.
117 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_APPLICATION;
126 values.put(LauncherSettings.BaseLauncherColumns.TITLE, titleStr);
129 values.put(LauncherSettings.BaseLauncherColumns.INTENT, uri);
132 values.put(LauncherSettings.BaseLauncherColumns.ICON_TYPE,
133 LauncherSettings.BaseLauncherColumns.ICON_TYPE_BITMAP);
139 values.put(LauncherSettings.BaseLauncherColumns.ICON_TYPE,
140 LauncherSettings.BaseLauncherColumns.ICON_TYPE_RESOURCE);
142 values.put(LauncherSettings.BaseLauncherColumns.ICON_PACKAGE
    [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...]
LauncherProvider.java 56 import com.android.launcher2.LauncherSettings.Favorites;
135 if (!values.containsKey(LauncherSettings.Favorites._ID)) {
142 Uri uri = LauncherSettings.Favorites.getContentUri(id, false);
441 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID);
442 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT);
443 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE);
444 final int iconTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_TYPE);
445 final int iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON);
446 final int iconPackageIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_PACKAGE);
447 final int iconResourceIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_RESOURCE)
    [all...]
LauncherAppWidgetInfo.java 55 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
68 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId);
FolderInfo.java 42 itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER;
81 values.put(LauncherSettings.Favorites.TITLE, title.toString());
ApplicationInfo.java 61 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT;
87 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_APPLICATION;
LauncherSettings.java 25 class LauncherSettings {
PendingAddItemInfo.java 61 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
LauncherApplication.java 75 resolver.registerContentObserver(LauncherSettings.Favorites.CONTENT_URI, true,
  /packages/apps/Launcher3/src/com/android/launcher3/model/
GridSizeMigrationTask.java 22 import com.android.launcher3.LauncherSettings;
23 import com.android.launcher3.LauncherSettings.Favorites;
135 mContext.getContentResolver().delete(LauncherSettings.Favorites.CONTENT_URI,
137 LauncherSettings.Favorites._ID, mEntryToRemove), null);
242 final Uri uri = LauncherSettings.WorkspaceScreens.CONTENT_URI;
248 v.put(LauncherSettings.WorkspaceScreens._ID, screenId);
249 v.put(LauncherSettings.WorkspaceScreens.SCREEN_RANK, i);
363 .newUpdate(LauncherSettings.Favorites.getContentUri(item.id))
622 Cursor c = mContext.getContentResolver().query(LauncherSettings.Favorites.CONTENT_URI,
686 Cursor c = mContext.getContentResolver().query(LauncherSettings.Favorites.CONTENT_URI
    [all...]

Completed in 672 milliseconds

1 2