Home
last modified time | relevance | path

Searched refs:newVal (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DSettingsCache.java88 boolean newVal = updateValue(uri, 1 /* Effectively Unused */); in onChange()
94 listener.onSettingsChanged(newVal); in onChange()
135 boolean newVal; in updateValue()
137 newVal = Settings.System.getInt(mResolver, key, defaultValue) == 1; in updateValue()
139 newVal = Settings.Secure.getInt(mResolver, key, defaultValue) == 1; in updateValue()
142 mKeyCache.put(keyUri, newVal); in updateValue()
143 return newVal; in updateValue()
/packages/apps/Camera2/src/com/android/camera/ui/
DCountDownView.java85 private void remainingSecondsChanged(int newVal) { in remainingSecondsChanged() argument
86 mRemainingSecs = newVal; in remainingSecondsChanged()
91 if (newVal == 0) { in remainingSecondsChanged()
99 String localizedValue = String.format(locale, "%d", newVal); in remainingSecondsChanged()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePicker.java115 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
116 mDay = newVal; in DatePicker()
145 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
150 mMonth = newVal - 1; in DatePicker()
161 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
162 mYear = newVal; in DatePicker()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DAppPermissionsFragmentWear.java213 pref.setOnPreferenceChangeListener((p, newVal) -> { in createSwitchPreferenceForPermission() argument
214 if((Boolean) newVal) { in createSwitchPreferenceForPermission()
328 pref.setOnPreferenceChangeListener((p, newVal) -> { in createSwitchPreferenceForGroup() argument
336 if ((Boolean) newVal) { in createSwitchPreferenceForGroup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt123 for (newVal in newValues) { in <lambda>() constant
124 if (oldValues.containsKey(newVal)) { in <lambda>()
125 mapHas.remove(newVal) in <lambda>()
126 listHas.remove(newVal) in <lambda>()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java392 mAlertReminder.setOnPreferenceChangeListener((p, newVal) -> { in initPreferences() argument
394 mReminderInterval.setValueIndex((Boolean) newVal ? 1 : 3); in initPreferences()