/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherProvider.java | 53 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 …]
|
D | LauncherModel.java | 214 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 …]
|
D | ItemInfo.java | 136 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()
|
D | UninstallShortcutReceiver.java | 103 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()
|
D | LauncherAppWidgetInfo.java | 54 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in LauncherAppWidgetInfo() 67 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId); in onAddToDatabase()
|
D | FolderInfo.java | 46 itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER; in FolderInfo() 85 values.put(LauncherSettings.Favorites.TITLE, title.toString()); in onAddToDatabase()
|
D | Workspace.java | 60 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 …]
|
D | LauncherSettings.java | 96 static final class Favorites implements BaseLauncherColumns { class in LauncherSettings
|
D | InstallShortcutReceiver.java | 207 LauncherSettings.Favorites.CONTAINER_DESKTOP, screen, in installShortcut() 235 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in findEmptyCell()
|
D | PendingAddItemInfo.java | 65 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in PendingAddWidgetInfo()
|
D | LauncherApplication.java | 74 resolver.registerContentObserver(LauncherSettings.Favorites.CONTENT_URI, true, in onCreate()
|
D | InstallWidgetReceiver.java | 191 mLauncher.addAppWidgetFromDrop(createInfo, LauncherSettings.Favorites.CONTAINER_DESKTOP, in onClick()
|
D | DeleteDropTarget.java | 100 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT: in isAllAppsWidget() 101 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET: in isAllAppsWidget()
|
D | FolderIcon.java | 283 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in willAcceptItem() 284 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in willAcceptItem()
|
D | Launcher.java | 2081 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()
|
D | Folder.java | 521 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in acceptDrop() 522 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in acceptDrop()
|
D | AppsCustomizePagedView.java | 1425 createItemInfo.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in syncWidgetPageItems()
|