Home
last modified time | relevance | path

Searched refs:srcDeviceState (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationUtil.java91 DeviceGridState srcDeviceState, DeviceGridState destDeviceState) { in needsToMigrate() argument
92 boolean needsToMigrate = !destDeviceState.isCompatible(srcDeviceState); in needsToMigrate()
95 + ", srcDeviceState: " + srcDeviceState); in needsToMigrate()
120 @NonNull DeviceGridState srcDeviceState, 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()
147 targetSize, srcDeviceState, destDeviceState); in migrateGridIfNeeded()
168 @NonNull final DeviceGridState srcDeviceState, in migrate() argument
DModelDbController.java316 DeviceGridState srcDeviceState = new DeviceGridState(mContext); in migrateGridIfNeeded() local
319 return GridSizeMigrationUtil.migrateGridIfNeeded(mContext, srcDeviceState, in migrateGridIfNeeded()