/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | ImportDataTask.java | 42 import com.android.launcher3.LauncherSettings.Favorites; 81 mOtherFavoritesUri = Uri.parse("content://" + sourceAuthority + "/" + Favorites.TABLE_NAME); in ImportDataTask() 133 Favorites.PROFILE_ID + " = ?", new String[]{profileId}, in importWorkspaceItems() 136 Favorites.CONTAINER + " , " + Favorites.SCREEN)) { in importWorkspaceItems() 139 final int idIndex = c.getColumnIndexOrThrow(Favorites._ID); in importWorkspaceItems() 140 final int intentIndex = c.getColumnIndexOrThrow(Favorites.INTENT); in importWorkspaceItems() 141 final int titleIndex = c.getColumnIndexOrThrow(Favorites.TITLE); in importWorkspaceItems() 142 final int containerIndex = c.getColumnIndexOrThrow(Favorites.CONTAINER); in importWorkspaceItems() 143 final int itemTypeIndex = c.getColumnIndexOrThrow(Favorites.ITEM_TYPE); in importWorkspaceItems() 144 final int widgetProviderIndex = c.getColumnIndexOrThrow(Favorites.APPWIDGET_PROVIDER); in importWorkspaceItems() [all …]
|
D | LauncherDbUtils.java | 29 import com.android.launcher3.LauncherSettings.Favorites; 55 Favorites.SCREEN, Favorites.TABLE_NAME, Favorites.CONTAINER, in prepareScreenZeroToHostQsb() 56 Favorites.CONTAINER_DESKTOP), null)) { in prepareScreenZeroToHostQsb() 73 if (DatabaseUtils.queryNumEntries(db, Favorites.TABLE_NAME, in prepareScreenZeroToHostQsb() 93 values.put(Favorites.SCREEN, newScreen); in renameScreen() 94 db.update(Favorites.TABLE_NAME, values, "container = -100 and screen = ?", whereParams); in renameScreen() 127 Favorites.addTableToDb(toDb, userSerial, false, toTable); in copyTable()
|
D | RestoreDbTask.java | 38 import com.android.launcher3.LauncherSettings.Favorites; 122 dropTable(db, Favorites.BACKUP_TABLE_NAME); in restoreWorkspace() 167 int itemsDeleted = db.delete(Favorites.TABLE_NAME, where, profileIds); in sanitizeDB() 173 values.put(Favorites.RESTORED, WorkspaceItemInfo.FLAG_RESTORED_ICON in sanitizeDB() 175 db.update(Favorites.TABLE_NAME, values, null, null); in sanitizeDB() 178 values.put(Favorites.RESTORED, LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in sanitizeDB() 182 db.update(Favorites.TABLE_NAME, values, "itemType = ?", in sanitizeDB() 183 new String[]{Integer.toString(Favorites.ITEM_TYPE_APPWIDGET)}); in sanitizeDB() 224 values.put(Favorites.PROFILE_ID, newProfileId); in migrateProfileId() 225 db.update(Favorites.TABLE_NAME, values, "profileId = ?", in migrateProfileId() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | ItemInfo.java | 19 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_ALL_APPS; 20 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP; 21 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_HOTSEAT; 22 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_HOTSEAT_PREDICTION; 23 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_PREDICTION; 24 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_SEARCH_RESULTS; 25 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_SETTINGS; 26 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_SHORTCUTS; 27 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_TASKSWITCHER; 28 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_WIDGETS_TRAY; [all …]
|
D | WorkspaceItemInfo.java | 29 import com.android.launcher3.LauncherSettings.Favorites; 108 itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in WorkspaceItemInfo() 133 itemType = Favorites.ITEM_TYPE_DEEP_SHORTCUT; in WorkspaceItemInfo() 140 writer.put(Favorites.TITLE, title) in onAddToDatabase() 141 .put(Favorites.INTENT, getIntent()) in onAddToDatabase() 142 .put(Favorites.RESTORED, status); in onAddToDatabase() 148 writer.put(Favorites.ICON_PACKAGE, iconResource.packageName) in onAddToDatabase() 149 .put(Favorites.ICON_RESOURCE, iconResource.resourceName); in onAddToDatabase() 204 return itemType == Favorites.ITEM_TYPE_DEEP_SHORTCUT in getDeepShortcutId() 216 if (cn == null && (itemType == Favorites.ITEM_TYPE_SHORTCUT || hasStatusFlag( in getTargetComponent()
|
D | LauncherAppWidgetInfo.java | 124 itemType = LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET; in LauncherAppWidgetInfo() 126 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in LauncherAppWidgetInfo() 140 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in LauncherAppWidgetInfo() 156 writer.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId) in onAddToDatabase() 157 .put(LauncherSettings.Favorites.APPWIDGET_PROVIDER, providerName.flattenToString()) in onAddToDatabase() 158 .put(LauncherSettings.Favorites.RESTORED, restoreStatus) in onAddToDatabase() 159 .put(LauncherSettings.Favorites.OPTIONS, options) in onAddToDatabase() 160 .put(LauncherSettings.Favorites.INTENT, bindOptions); in onAddToDatabase()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationTaskV2.java | 174 migrateForPreview ? LauncherSettings.Favorites.TABLE_NAME in migrateGridIfNeeded() 175 : LauncherSettings.Favorites.TMP_TABLE, in migrateGridIfNeeded() 178 migrateForPreview ? LauncherSettings.Favorites.PREVIEW_TABLE_NAME in migrateGridIfNeeded() 179 : LauncherSettings.Favorites.TABLE_NAME, in migrateGridIfNeeded() 188 dropTable(t.getDb(), LauncherSettings.Favorites.TMP_TABLE); in migrateGridIfNeeded() 253 if (entry.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in calcDiff() 261 if (entry.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in calcDiff() 286 if (entry.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in insertEntryInDb() 309 LauncherSettings.Favorites._ID + " = '" + (entry != null ? entry.id : id) + "'", in copyEntryAndUpdate() 317 values.put(LauncherSettings.Favorites.CONTAINER, folderId); in copyEntryAndUpdate() [all …]
|
D | GridSizeMigrationTask.java | 30 import com.android.launcher3.LauncherSettings.Favorites; 89 mTableName = usePreviewTable ? Favorites.PREVIEW_TABLE_NAME : Favorites.TABLE_NAME; in GridSizeMigrationTask() 110 mTableName = usePreviewTable ? Favorites.PREVIEW_TABLE_NAME : Favorites.TABLE_NAME; 138 mDb.delete(mTableName, Utilities.createDbSelectionQuery(Favorites._ID, mEntryToRemove), 193 return LauncherDbUtils.queryIntArray(db, tableName, Favorites.SCREEN, 194 Favorites.CONTAINER + " = " + Favorites.CONTAINER_DESKTOP, 195 Favorites.SCREEN, Favorites.SCREEN); 614 Favorites._ID, // 0 615 Favorites.ITEM_TYPE, // 1 616 Favorites.INTENT, // 2 [all …]
|
D | ModelWriter.java | 35 import com.android.launcher3.LauncherSettings.Favorites; 91 if (container == Favorites.CONTAINER_HOTSEAT) { in updateItemInfoProps() 159 .put(Favorites.CONTAINER, item.container) in moveItemInDatabase() 160 .put(Favorites.CELLX, item.cellX) in moveItemInDatabase() 161 .put(Favorites.CELLY, item.cellY) in moveItemInDatabase() 162 .put(Favorites.RANK, item.rank) in moveItemInDatabase() 163 .put(Favorites.SCREEN, item.screenId))); in moveItemInDatabase() 179 values.put(Favorites.CONTAINER, item.container); in moveItemsInDatabase() 180 values.put(Favorites.CELLX, item.cellX); in moveItemsInDatabase() 181 values.put(Favorites.CELLY, item.cellY); in moveItemsInDatabase() [all …]
|
D | GridBackupTable.java | 18 import static com.android.launcher3.LauncherSettings.Favorites.BACKUP_TABLE_NAME; 32 import com.android.launcher3.LauncherSettings.Favorites; 45 private static final String KEY_HOTSEAT_SIZE = Favorites.SCREEN; 46 private static final String KEY_GRID_X_SIZE = Favorites.SPANX; 47 private static final String KEY_GRID_Y_SIZE = Favorites.SPANY; 48 private static final String KEY_DB_VERSION = Favorites.RANK; 103 return restoreIfBackupExists(Favorites.TABLE_NAME); in backupOrRestoreAsNeeded() 111 return restoreIfBackupExists(Favorites.PREVIEW_TABLE_NAME); in restoreToPreviewIfBackupExists() 136 copyTable(mDb, Favorites.TABLE_NAME, tableName, profileId); in createCustomBackupTable() 151 copyTable(mDb, tableName, Favorites.TABLE_NAME, userSerial); in restoreFromCustomBackupTable() [all …]
|
D | LoaderCursor.java | 115 iconIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in LoaderCursor() 116 iconPackageIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_PACKAGE); in LoaderCursor() 117 iconResourceIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_RESOURCE); in LoaderCursor() 118 titleIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in LoaderCursor() 120 idIndex = getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in LoaderCursor() 121 containerIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in LoaderCursor() 122 itemTypeIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in LoaderCursor() 123 screenIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN); in LoaderCursor() 124 cellXIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX); in LoaderCursor() 125 cellYIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.CELLY); in LoaderCursor() [all …]
|
D | BgDataModel.java | 140 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in collectWorkspaceScreens() 186 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER: in removeItem() 201 case LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT: { in removeItem() 212 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION: in removeItem() 213 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT: in removeItem() 216 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET: in removeItem() 217 case LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET: in removeItem() 228 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER: in addItem() 232 case LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT: { in addItem() 249 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION: in addItem() [all …]
|
D | LoaderTask.java | 294 loadWorkspace(allDeepShortcuts, LauncherSettings.Favorites.CONTENT_URI); in loadWorkspace() 349 LauncherSettings.Favorites.APPWIDGET_ID); in loadWorkspace() 351 LauncherSettings.Favorites.APPWIDGET_PROVIDER); in loadWorkspace() 353 (LauncherSettings.Favorites.SPANX); in loadWorkspace() 355 LauncherSettings.Favorites.SPANY); in loadWorkspace() 357 LauncherSettings.Favorites.RANK); in loadWorkspace() 359 LauncherSettings.Favorites.OPTIONS); in loadWorkspace() 406 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT: in loadWorkspace() 407 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION: in loadWorkspace() 408 case LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT: in loadWorkspace() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 60 import com.android.launcher3.LauncherSettings.Favorites; 172 copyTable(helper.getReadableDatabase(), Favorites.TABLE_NAME, in prepForMigration() 199 if (!values.containsKey(LauncherSettings.Favorites._ID)) { in dbInsertAndCheck() 241 values.put(LauncherSettings.Favorites._ID, id); in initializeExternalAdd() 245 Integer itemType = values.getAsInteger(LauncherSettings.Favorites.ITEM_TYPE); in initializeExternalAdd() 247 itemType.intValue() == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET && in initializeExternalAdd() 248 !values.containsKey(LauncherSettings.Favorites.APPWIDGET_ID)) { in initializeExternalAdd() 252 values.getAsString(Favorites.APPWIDGET_PROVIDER)); in initializeExternalAdd() 258 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId); in initializeExternalAdd() 332 && Favorites.TABLE_NAME.equalsIgnoreCase(args.table)) { in delete() [all …]
|
D | AutoInstallsLayout.java | 44 import com.android.launcher3.LauncherSettings.Favorites; 156 Favorites.containerToString(Favorites.CONTAINER_HOTSEAT); 244 out[0] = Favorites.CONTAINER_HOTSEAT; in parseContainerAndScreen() 248 out[0] = Favorites.CONTAINER_DESKTOP; in parseContainerAndScreen() 275 mValues.put(Favorites.CONTAINER, container); in parseAndAddNode() 276 mValues.put(Favorites.SCREEN, screenId); in parseAndAddNode() 278 mValues.put(Favorites.CELLX, in parseAndAddNode() 280 mValues.put(Favorites.CELLY, in parseAndAddNode() 292 container == Favorites.CONTAINER_DESKTOP) { in parseAndAddNode() 302 mValues.put(Favorites.INTENT, intent.toUri(0)); in addShortcut() [all …]
|
D | WorkspaceLayoutManager.java | 43 if (info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT in addInScreenFromBind() 44 || info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT_PREDICTION) { in addInScreenFromBind() 74 if (container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in addInScreen() 88 if (container == LauncherSettings.Favorites.CONTAINER_HOTSEAT in addInScreen() 89 || container == LauncherSettings.Favorites.CONTAINER_HOTSEAT_PREDICTION) { in addInScreen()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | GridSizeMigrationTaskV2Test.java | 19 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP; 20 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_HOTSEAT; 21 import static com.android.launcher3.LauncherSettings.Favorites.TMP_CONTENT_URI; 96 dropTable(mDb, LauncherSettings.Favorites.TMP_TABLE); in setUp() 97 LauncherSettings.Favorites.addTableToDb(mDb, userSerial, false, in setUp() 98 LauncherSettings.Favorites.TMP_TABLE); in setUp() 127 LauncherSettings.Favorites.TMP_TABLE, mContext, mValidPackages, in testMigration() 130 LauncherSettings.Favorites.TABLE_NAME, mContext, mValidPackages, in testMigration() 137 Cursor c = mContext.getContentResolver().query(LauncherSettings.Favorites.CONTENT_URI, in testMigration() 138 new String[]{LauncherSettings.Favorites.SCREEN, LauncherSettings.Favorites.INTENT}, in testMigration() [all …]
|
D | LoaderCursorTest.java | 19 import static com.android.launcher3.LauncherSettings.Favorites.CELLX; 20 import static com.android.launcher3.LauncherSettings.Favorites.CELLY; 21 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER; 22 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP; 23 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_HOTSEAT; 24 import static com.android.launcher3.LauncherSettings.Favorites.ICON; 25 import static com.android.launcher3.LauncherSettings.Favorites.ICON_PACKAGE; 26 import static com.android.launcher3.LauncherSettings.Favorites.ICON_RESOURCE; 27 import static com.android.launcher3.LauncherSettings.Favorites.INTENT; 28 import static com.android.launcher3.LauncherSettings.Favorites.ITEM_TYPE; [all …]
|
D | DbDowngradeHelperTest.java | 37 import com.android.launcher3.LauncherSettings.Favorites; 124 try (Cursor c = helper.getWritableDatabase().query(Favorites.TABLE_NAME, in testDowngrade_success_v22() 126 assertEquals(-1, c.getColumnIndex(Favorites.OPTIONS)); in testDowngrade_success_v22() 139 try (Cursor c = helper.getWritableDatabase().query(Favorites.TABLE_NAME, in testDowngrade_success_v22() 142 assertNotSame(-1, c.getColumnIndex(Favorites.OPTIONS)); in testDowngrade_success_v22() 171 values.put(Favorites._ID, i); in setupTestDb() 172 values.put(Favorites.TITLE, "title " + i); in setupTestDb() 173 dbHelper.getWritableDatabase().insert(Favorites.TABLE_NAME, null, values); in setupTestDb()
|
D | GridSizeMigrationTaskTest.java | 96 Cursor c = mContext.getContentResolver().query(LauncherSettings.Favorites.CONTENT_URI, in verifyHotseat() 97 new String[]{LauncherSettings.Favorites._ID}, in verifyHotseat() 114 Cursor c = mContext.getContentResolver().query(LauncherSettings.Favorites.CONTENT_URI, in verifyHotseat() 115 new String[]{LauncherSettings.Favorites._ID}, in verifyHotseat() 285 IntArray allScreens = getWorkspaceScreenIds(mDb, LauncherSettings.Favorites.TABLE_NAME); in verifyWorkspace() 296 LauncherSettings.Favorites.CONTENT_URI, in verifyWorkspace() 297 new String[]{LauncherSettings.Favorites._ID}, in verifyWorkspace() 315 Cursor c = mContext.getContentResolver().query(LauncherSettings.Favorites.CONTENT_URI, in verifyWorkspace() 316 new String[]{LauncherSettings.Favorites._ID}, in verifyWorkspace()
|
D | GridBackupTableTest.java | 6 import static com.android.launcher3.LauncherSettings.Favorites.BACKUP_TABLE_NAME; 7 import static com.android.launcher3.LauncherSettings.Favorites.TABLE_NAME; 23 import com.android.launcher3.LauncherSettings.Favorites; 115 mContext.getContentResolver().delete(Favorites.CONTENT_URI, null, null); in backupTableRemovedOnDelete() 127 values.put(Favorites.RANK, 4); in backupTableRetainedOnUpdate() 130 .update(Favorites.CONTENT_URI, values, null, null) > 0); in backupTableRetainedOnUpdate()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/provider/ |
D | RestoreDbTaskTest.java | 25 import com.android.launcher3.LauncherSettings.Favorites; 50 values.put(Favorites._ID, i); in testMigrateProfileId() 51 values.put(Favorites.TITLE, "item " + i); in testMigrateProfileId() 52 db.insert(Favorites.TABLE_NAME, null, values); in testMigrateProfileId() 70 values.put(Favorites._ID, i); in testChangeDefaultColumn() 71 values.put(Favorites.TITLE, "item " + i); in testChangeDefaultColumn() 72 db.insert(Favorites.TABLE_NAME, null, values); in testChangeDefaultColumn() 81 values.put(Favorites._ID, 100); in testChangeDefaultColumn() 82 values.put(Favorites.TITLE, "item 100"); in testChangeDefaultColumn() 83 db.insert(Favorites.TABLE_NAME, null, values); in testChangeDefaultColumn()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/ |
D | LauncherModelHelper.java | 20 import static com.android.launcher3.LauncherSettings.Favorites.CONTENT_URI; 76 public static final int DESKTOP = LauncherSettings.Favorites.CONTAINER_DESKTOP; 77 public static final int HOTSEAT = LauncherSettings.Favorites.CONTAINER_HOTSEAT; 79 public static final int APP_ICON = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION; 80 public static final int SHORTCUT = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; 274 values.put(LauncherSettings.Favorites._ID, id); in addItem() 275 values.put(LauncherSettings.Favorites.CONTAINER, container); in addItem() 276 values.put(LauncherSettings.Favorites.SCREEN, screen); in addItem() 277 values.put(LauncherSettings.Favorites.CELLX, x); in addItem() 278 values.put(LauncherSettings.Favorites.CELLY, y); in addItem() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | BindWidgetTest.java | 132 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testUnboundWidget_removed() 166 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_withConfigScreen() 171 assertEquals(0, mCursor.getInt(mCursor.getColumnIndex(LauncherSettings.Favorites.RESTORED)) in testPendingWidget_withConfigScreen() 175 LauncherSettings.Favorites.APPWIDGET_ID)))); in testPendingWidget_withConfigScreen() 179 mCursor.getColumnIndex(LauncherSettings.Favorites.APPWIDGET_ID)); in testPendingWidget_withConfigScreen() 209 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_notRestored_removed() 227 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_notRestored_brokenInstall() 234 mCursor.getInt(mCursor.getColumnIndex(LauncherSettings.Favorites.RESTORED)) in testPendingWidget_notRestored_brokenInstall() 255 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_notRestored_activeInstall() 262 mCursor.getInt(mCursor.getColumnIndex(LauncherSettings.Favorites.RESTORED)) in testPendingWidget_notRestored_activeInstall() [all …]
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/ |
D | HotseatPredictionModel.java | 91 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET in getAppTargetFromInfo() 97 } else if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION in getAppTargetFromInfo() 102 } else if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT in getAppTargetFromInfo() 108 } else if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in getAppTargetFromInfo() 122 info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT in wrapAppTargetWithLocation() 132 return info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT || ( in isTrackedForPrediction() 133 info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP in isTrackedForPrediction()
|