Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DTimeoutListPreference.java93 ArrayList<CharSequence> revisedValues = new ArrayList<CharSequence>(); in removeUnusableTimeouts() local
98 revisedValues.add(mInitialValues[i]); in removeUnusableTimeouts()
104 if (revisedValues.size() == 0) { in removeUnusableTimeouts()
114 setEntryValues(revisedValues.toArray(new CharSequence[0])); in removeUnusableTimeouts()
118 } else if (revisedValues.size() > 0 in removeUnusableTimeouts()
119 && Long.parseLong(revisedValues.get(revisedValues.size() - 1).toString()) in removeUnusableTimeouts()
127 setValue(revisedValues.get(revisedValues.size() - 1).toString()); in removeUnusableTimeouts()
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutListPreference.java93 ArrayList<CharSequence> revisedValues = new ArrayList<CharSequence>(); in removeUnusableTimeouts() local
98 revisedValues.add(mInitialValues[i]); in removeUnusableTimeouts()
104 if (revisedValues.size() == 0) { in removeUnusableTimeouts()
114 setEntryValues(revisedValues.toArray(new CharSequence[0])); in removeUnusableTimeouts()
118 } else if (revisedValues.size() > 0 in removeUnusableTimeouts()
119 && Long.parseLong(revisedValues.get(revisedValues.size() - 1).toString()) in removeUnusableTimeouts()
127 setValue(revisedValues.get(revisedValues.size() - 1).toString()); in removeUnusableTimeouts()