Searched refs:destDeviceState (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationUtil.java | 91 DeviceGridState srcDeviceState, DeviceGridState destDeviceState) { in needsToMigrate() argument 92 boolean needsToMigrate = !destDeviceState.isCompatible(srcDeviceState); in needsToMigrate() 94 Log.i(TAG, "Migration is needed. destDeviceState: " + destDeviceState in needsToMigrate() 121 @NonNull DeviceGridState destDeviceState, in migrateGridIfNeeded() argument 124 if (!needsToMigrate(srcDeviceState, destDeviceState)) { in migrateGridIfNeeded() 129 && srcDeviceState.getColumns().equals(destDeviceState.getColumns()) in migrateGridIfNeeded() 130 && srcDeviceState.getRows() < destDeviceState.getRows()) { in migrateGridIfNeeded() 134 destDeviceState.writeToPrefs(context); in migrateGridIfNeeded() 145 Point targetSize = new Point(destDeviceState.getColumns(), destDeviceState.getRows()); in migrateGridIfNeeded() 146 migrate(target, srcReader, destReader, destDeviceState.getNumHotseat(), in migrateGridIfNeeded() [all …]
|
D | ModelDbController.java | 318 DeviceGridState destDeviceState = new DeviceGridState(idp); in migrateGridIfNeeded() local 320 destDeviceState, mOpenHelper, oldHelper.getWritableDatabase()); in migrateGridIfNeeded()
|