Home
last modified time | relevance | path

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

1234

/packages/apps/Launcher3/src/com/android/launcher3/provider/
DImportDataTask.java42 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 …]
DLauncherDbUtils.java29 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()
DRestoreDbTask.java38 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/
DItemInfo.java19 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 …]
DLauncherAppWidgetInfo.java19 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_ALL_APPS;
20 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_BOTTOM_WIDGETS_TRAY;
21 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_PIN_WIDGETS;
22 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_WIDGETS_PREDICTION;
23 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_WIDGETS_TRAY;
150 public int sourceContainer = LauncherSettings.Favorites.CONTAINER_UNKNOWN;
157 itemType = LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET; in LauncherAppWidgetInfo()
159 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in LauncherAppWidgetInfo()
180 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in LauncherAppWidgetInfo()
196 writer.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId) in onAddToDatabase()
[all …]
DWorkspaceItemInfo.java29 import com.android.launcher3.LauncherSettings.Favorites;
97 itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in WorkspaceItemInfo()
121 itemType = Favorites.ITEM_TYPE_DEEP_SHORTCUT; in WorkspaceItemInfo()
128 writer.put(Favorites.TITLE, title) in onAddToDatabase()
129 .put(Favorites.INTENT, getIntent()) in onAddToDatabase()
130 .put(Favorites.RESTORED, status); in onAddToDatabase()
136 writer.put(Favorites.ICON_PACKAGE, iconResource.packageName) in onAddToDatabase()
137 .put(Favorites.ICON_RESOURCE, iconResource.resourceName); in onAddToDatabase()
183 return itemType == Favorites.ITEM_TYPE_DEEP_SHORTCUT in getDeepShortcutId()
195 if (cn == null && (itemType == Favorites.ITEM_TYPE_SHORTCUT || hasStatusFlag( in getTargetComponent()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2.java175 migrateForPreview ? LauncherSettings.Favorites.TABLE_NAME in migrateGridIfNeeded()
176 : LauncherSettings.Favorites.TMP_TABLE, in migrateGridIfNeeded()
179 migrateForPreview ? LauncherSettings.Favorites.PREVIEW_TABLE_NAME in migrateGridIfNeeded()
180 : LauncherSettings.Favorites.TABLE_NAME, in migrateGridIfNeeded()
189 dropTable(t.getDb(), LauncherSettings.Favorites.TMP_TABLE); in migrateGridIfNeeded()
254 if (entry.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in calcDiff()
262 if (entry.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in calcDiff()
287 if (entry.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in insertEntryInDb()
310 LauncherSettings.Favorites._ID + " = '" + (entry != null ? entry.id : id) + "'", in copyEntryAndUpdate()
318 values.put(LauncherSettings.Favorites.CONTAINER, folderId); in copyEntryAndUpdate()
[all …]
DGridSizeMigrationTask.java29 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 …]
DModelWriter.java34 import com.android.launcher3.LauncherSettings.Favorites;
92 if (container == Favorites.CONTAINER_HOTSEAT) { in updateItemInfoProps()
160 .put(Favorites.CONTAINER, item.container) in moveItemInDatabase()
161 .put(Favorites.CELLX, item.cellX) in moveItemInDatabase()
162 .put(Favorites.CELLY, item.cellY) in moveItemInDatabase()
163 .put(Favorites.RANK, item.rank) in moveItemInDatabase()
164 .put(Favorites.SCREEN, item.screenId))); in moveItemInDatabase()
180 values.put(Favorites.CONTAINER, item.container); in moveItemsInDatabase()
181 values.put(Favorites.CELLX, item.cellX); in moveItemsInDatabase()
182 values.put(Favorites.CELLY, item.cellY); in moveItemsInDatabase()
[all …]
DGridBackupTable.java18 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 …]
DLoaderCursor.java44 import com.android.launcher3.LauncherSettings.Favorites;
121 iconIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in LoaderCursor()
122 iconPackageIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_PACKAGE); in LoaderCursor()
123 iconResourceIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_RESOURCE); in LoaderCursor()
124 titleIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in LoaderCursor()
126 idIndex = getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in LoaderCursor()
127 containerIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in LoaderCursor()
128 itemTypeIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in LoaderCursor()
129 screenIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN); in LoaderCursor()
130 cellXIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX); in LoaderCursor()
[all …]
DBgDataModel.java35 import com.android.launcher3.LauncherSettings.Favorites;
137 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in collectWorkspaceScreens()
184 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER: in removeItem()
199 case LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT: { in removeItem()
203 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION: in removeItem()
204 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT: in removeItem()
207 case LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET: in removeItem()
208 case LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET: in removeItem()
220 case LauncherSettings.Favorites.ITEM_TYPE_FOLDER: in addItem()
224 case LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT: in addItem()
[all …]
DLoaderTask.java313 loadWorkspace(allDeepShortcuts, LauncherSettings.Favorites.CONTENT_URI, in loadWorkspace()
371 LauncherSettings.Favorites.APPWIDGET_ID); in loadWorkspace()
373 LauncherSettings.Favorites.APPWIDGET_PROVIDER); in loadWorkspace()
375 (LauncherSettings.Favorites.SPANX); in loadWorkspace()
377 LauncherSettings.Favorites.SPANY); in loadWorkspace()
379 LauncherSettings.Favorites.RANK); in loadWorkspace()
381 LauncherSettings.Favorites.OPTIONS); in loadWorkspace()
383 LauncherSettings.Favorites.APPWIDGET_SOURCE); in loadWorkspace()
428 case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT: in loadWorkspace()
429 case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION: in loadWorkspace()
[all …]
DItemInstallQueue.java21 import static com.android.launcher3.LauncherSettings.Favorites.ITEM_TYPE_APPLICATION;
22 import static com.android.launcher3.LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
23 import static com.android.launcher3.LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT;
45 import com.android.launcher3.LauncherSettings.Favorites;
244 itemType = Favorites.ITEM_TYPE_APPLICATION; in PendingInstallShortcutInfo()
253 itemType = Favorites.ITEM_TYPE_DEEP_SHORTCUT; in PendingInstallShortcutInfo()
264 itemType = Favorites.ITEM_TYPE_APPWIDGET; in PendingInstallShortcutInfo()
364 case Favorites.ITEM_TYPE_APPLICATION: in decode()
366 case Favorites.ITEM_TYPE_DEEP_SHORTCUT: { in decode()
376 case Favorites.ITEM_TYPE_APPWIDGET: { in decode()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java44 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 …]
DLauncherProvider.java60 import com.android.launcher3.LauncherSettings.Favorites;
176 copyTable(helper.getReadableDatabase(), Favorites.TABLE_NAME, in prepForMigration()
206 if (!values.containsKey(LauncherSettings.Favorites._ID)) { in dbInsertAndCheck()
248 values.put(LauncherSettings.Favorites._ID, id); in initializeExternalAdd()
252 Integer itemType = values.getAsInteger(LauncherSettings.Favorites.ITEM_TYPE); in initializeExternalAdd()
254 itemType.intValue() == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET && in initializeExternalAdd()
255 !values.containsKey(LauncherSettings.Favorites.APPWIDGET_ID)) { in initializeExternalAdd()
259 values.getAsString(Favorites.APPWIDGET_PROVIDER)); in initializeExternalAdd()
265 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId); in initializeExternalAdd()
339 && Favorites.TABLE_NAME.equalsIgnoreCase(args.table)) { in delete()
[all …]
DAppWidgetsRestoredReceiver.java17 import com.android.launcher3.LauncherSettings.Favorites;
93 .put(LauncherSettings.Favorites.APPWIDGET_ID, newWidgetIds[i]) in restoreAppWidgetIds()
94 .put(LauncherSettings.Favorites.RESTORED, state) in restoreAppWidgetIds()
97 Cursor cursor = cr.query(Favorites.CONTENT_URI, in restoreAppWidgetIds()
98 new String[] {Favorites.APPWIDGET_ID}, in restoreAppWidgetIds()
112 .put(LauncherSettings.Favorites.APPWIDGET_ID, newWidgetIds[i]) in restoreAppWidgetIds()
113 .put(LauncherSettings.Favorites.RESTORED, state) in restoreAppWidgetIds()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2Test.java19 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 …]
DLoaderCursorTest.java19 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 …]
DDbDowngradeHelperTest.java37 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()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/provider/
DRestoreDbTaskTest.java25 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/
DLauncherModelHelper.java20 import static com.android.launcher3.LauncherSettings.Favorites.CONTENT_URI;
78 public static final int DESKTOP = LauncherSettings.Favorites.CONTAINER_DESKTOP;
79 public static final int HOTSEAT = LauncherSettings.Favorites.CONTAINER_HOTSEAT;
81 public static final int APP_ICON = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION;
82 public static final int SHORTCUT = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT;
276 values.put(LauncherSettings.Favorites._ID, id); in addItem()
277 values.put(LauncherSettings.Favorites.CONTAINER, container); in addItem()
278 values.put(LauncherSettings.Favorites.SCREEN, screen); in addItem()
279 values.put(LauncherSettings.Favorites.CELLX, x); in addItem()
280 values.put(LauncherSettings.Favorites.CELLY, y); in addItem()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DBindWidgetTest.java132 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/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionModel.java18 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_HOTSEAT_PREDICTION;
80 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET in getAppTargetFromInfo()
86 } else if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION in getAppTargetFromInfo()
91 } else if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT in getAppTargetFromInfo()
97 } else if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in getAppTargetFromInfo()
111 info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT in wrapAppTargetWithLocation()
121 return info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT || ( in isTrackedForPrediction()
122 info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP in isTrackedForPrediction()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPersistedItemArray.java30 import com.android.launcher3.LauncherSettings.Favorites;
94 out.attribute(null, Favorites.ITEM_TYPE, Integer.toString(item.itemType)); in write()
95 out.attribute(null, Favorites.PROFILE_ID, in write()
97 out.attribute(null, Favorites.INTENT, intent.toUri(0)); in write()
141 parser.getAttributeValue(null, Favorites.ITEM_TYPE)); in read()
143 parser.getAttributeValue(null, Favorites.PROFILE_ID))); in read()
145 parser.getAttributeValue(null, Favorites.INTENT), 0); in read()

1234