Home
last modified time | relevance | path

Searched refs:DbEntry (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java70 protected final ArrayList<DbEntry> mCarryOver = new ArrayList<>();
155 ArrayList<DbEntry> items = loadHotseatEntries();
158 DbEntry toRemove = items.get(items.size() / 2);
161 for (DbEntry entry : items) {
173 for (DbEntry entry : items) {
216 IntSparseArrayMap<DbEntry> itemMap = new IntSparseArrayMap<>();
217 for (DbEntry e : mCarryOver) {
235 for (DbEntry item : placement.finalPlacedItems) {
266 ArrayList<DbEntry> items = loadWorkspaceEntries(screenId);
279 ArrayList<DbEntry> finalItems = null;
[all …]
DGridSizeMigrationTaskV2.java77 private final List<DbEntry> mHotseatItems;
78 private final List<DbEntry> mWorkspaceItems;
80 private final List<DbEntry> mHotseatDiff;
81 private final List<DbEntry> mWorkspaceDiff;
250 private static List<DbEntry> calcDiff(List<DbEntry> src, List<DbEntry> dest) { in calcDiff()
253 for (DbEntry entry : dest) { in calcDiff()
260 List<DbEntry> diff = new ArrayList<>(); in calcDiff()
261 for (DbEntry entry : src) { in calcDiff()
275 private static Map<String, Integer> getFolderIntents(DbEntry entry) { in getFolderIntents()
283 private static void insertEntryInDb(SQLiteDatabase db, Context context, DbEntry entry, in insertEntryInDb()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLossyScreenMigrationTask.java39 private final IntSparseArrayMap<DbEntry> mOriginalItems;
40 private final IntSparseArrayMap<DbEntry> mUpdates;
54 protected void update(DbEntry item) { in update()
59 protected ArrayList<DbEntry> loadWorkspaceEntries(int screen) { in loadWorkspaceEntries()
60 ArrayList<DbEntry> result = super.loadWorkspaceEntries(screen); in loadWorkspaceEntries()
61 for (DbEntry entry : result) { in loadWorkspaceEntries()
76 for (DbEntry update : mUpdates) { in migrateScreen0()
77 DbEntry org = mOriginalItems.get(update.id); in migrateScreen0()
89 for (DbEntry entry : mCarryOver) { in migrateScreen0()