Home
last modified time | relevance | path

Searched refs:Favorites (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java53 import com.android.launcher2.LauncherSettings.Favorites;
125 if (!values.containsKey(LauncherSettings.Favorites._ID)) { in dbInsertAndCheck()
132 Uri uri = LauncherSettings.Favorites.getContentUri(id, false); in deleteId()
340 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in copyFromCursor()
341 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT); in copyFromCursor()
342 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in copyFromCursor()
343 final int iconTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_TYPE); in copyFromCursor()
344 final int iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in copyFromCursor()
345 … final int iconPackageIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_PACKAGE); in copyFromCursor()
346 … final int iconResourceIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_RESOURCE); in copyFromCursor()
[all …]
DLauncherModel.java214 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false); in updateItemInDatabaseHelper()
234 if (modelItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP || in updateItemInDatabaseHelper()
235 modelItem.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in updateItemInDatabaseHelper()
264 container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in moveItemInDatabase()
271 values.put(LauncherSettings.Favorites.CONTAINER, item.container); in moveItemInDatabase()
272 values.put(LauncherSettings.Favorites.CELLX, item.cellX); in moveItemInDatabase()
273 values.put(LauncherSettings.Favorites.CELLY, item.cellY); in moveItemInDatabase()
274 values.put(LauncherSettings.Favorites.SCREEN, item.screen); in moveItemInDatabase()
293 container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in modifyItemInDatabase()
300 values.put(LauncherSettings.Favorites.CONTAINER, item.container); in modifyItemInDatabase()
[all …]
DItemInfo.java136 values.put(LauncherSettings.Favorites.CONTAINER, container); in onAddToDatabase()
137 values.put(LauncherSettings.Favorites.SCREEN, screen); in onAddToDatabase()
138 values.put(LauncherSettings.Favorites.CELLX, cellX); in onAddToDatabase()
139 values.put(LauncherSettings.Favorites.CELLY, cellY); in onAddToDatabase()
140 values.put(LauncherSettings.Favorites.SPANX, spanX); in onAddToDatabase()
141 values.put(LauncherSettings.Favorites.SPANY, spanY); in onAddToDatabase()
146 values.put(LauncherSettings.Favorites.CELLX, cellX); in updateValuesWithCoordinates()
147 values.put(LauncherSettings.Favorites.CELLY, cellY); in updateValuesWithCoordinates()
169 values.put(LauncherSettings.Favorites.ICON, data); in writeBitmap()
DUninstallShortcutReceiver.java103 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, in removeShortcut()
104 new String[] { LauncherSettings.Favorites._ID, LauncherSettings.Favorites.INTENT }, in removeShortcut()
105 LauncherSettings.Favorites.TITLE + "=?", new String[] { name }, null); in removeShortcut()
107 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT); in removeShortcut()
108 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in removeShortcut()
117 final Uri uri = LauncherSettings.Favorites.getContentUri(id, false); in removeShortcut()
133 cr.notifyChange(LauncherSettings.Favorites.CONTENT_URI, null); in removeShortcut()
DLauncherAppWidgetInfo.java54 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in LauncherAppWidgetInfo()
67 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId); in onAddToDatabase()
DFolderInfo.java46 itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER; in FolderInfo()
85 values.put(LauncherSettings.Favorites.TITLE, title.toString()); in onAddToDatabase()
DWorkspace.java60 import com.android.launcher2.LauncherSettings.Favorites;
515 if (container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in addInScreen()
524 if (container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in addInScreen()
2042 (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION ||
2043 info.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT);
2175 LauncherSettings.Favorites.CONTAINER_HOTSEAT :
2176 LauncherSettings.Favorites.CONTAINER_DESKTOP;
2250 if (container != LauncherSettings.Favorites.CONTAINER_HOTSEAT &&
2307 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET) {
3001 LauncherSettings.Favorites.CONTAINER_HOTSEAT :
[all …]
DLauncherSettings.java96 static final class Favorites implements BaseLauncherColumns { class in LauncherSettings
DInstallShortcutReceiver.java207 LauncherSettings.Favorites.CONTAINER_DESKTOP, screen, in installShortcut()
235 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in findEmptyCell()
DPendingAddItemInfo.java65 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in PendingAddWidgetInfo()
DLauncherApplication.java74 resolver.registerContentObserver(LauncherSettings.Favorites.CONTENT_URI, true, in onCreate()
DInstallWidgetReceiver.java191 mLauncher.addAppWidgetFromDrop(createInfo, LauncherSettings.Favorites.CONTAINER_DESKTOP, in onClick()
DDeleteDropTarget.java100 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT: in isAllAppsWidget()
101 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET: in isAllAppsWidget()
DFolderIcon.java283 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in willAcceptItem()
284 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in willAcceptItem()
DLauncher.java2081 if (info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in growAndFadeOutFolderIcon()
2226 if (container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in getCellLayout()
3187 if (item.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT && in bindItems()
3193 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION: in bindItems()
3194 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT: in bindItems()
3217 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER: in bindItems()
DFolder.java521 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in acceptDrop()
522 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in acceptDrop()
DAppsCustomizePagedView.java1425 createItemInfo.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in syncWidgetPageItems()