Home
last modified time | relevance | path

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

/packages/apps/ThemePicker/src/com/android/customization/picker/clock/data/repository/
DClockPickerRepositoryImpl.kt122 registry.mutateSetting { oldSettings -> in <lambda>() method
123 val newSettings = oldSettings.copy(clockId = clockId) in <lambda>()
124 newSettings.metadata = oldSettings.metadata in <lambda>()
134 registry.mutateSetting { oldSettings -> in <lambda>() method
135 val newSettings = oldSettings.copy(seedColor = seedColor) in <lambda>()
137 oldSettings.metadata in <lambda>()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputLogicTests.java269 final Object[] oldSettings = new Object[settingsKeysValues.length / 2]; in testDoubleSpacePeriodWithSettings() local
276 oldSettings[i / 2] = setStringPreference((String)settingsKeysValues[i], in testDoubleSpacePeriodWithSettings()
279 oldSettings[i / 2] = setBooleanPreference((String)settingsKeysValues[i], in testDoubleSpacePeriodWithSettings()
292 if (null == oldSettings[i / 2]) { in testDoubleSpacePeriodWithSettings()
294 } if (oldSettings[i / 2] instanceof String) { in testDoubleSpacePeriodWithSettings()
295 setStringPreference((String)settingsKeysValues[i], (String)oldSettings[i / 2], in testDoubleSpacePeriodWithSettings()
298 setBooleanPreference((String)settingsKeysValues[i], (Boolean)oldSettings[i / 2], in testDoubleSpacePeriodWithSettings()