Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/display/
DScreenTimeoutPreferenceController.java81 final long currentTimeout = getCurrentScreenTimeout(); in getTimeoutSummary() local
82 final CharSequence description = getTimeoutDescription(currentTimeout, maxTimeout); in getTimeoutSummary()
124 private CharSequence getTimeoutDescription(long currentTimeout, long maxTimeout) { in getTimeoutDescription() argument
125 if (currentTimeout < 0 || mTimeoutEntries == null || mTimeoutValues == null in getTimeoutDescription()
130 if (currentTimeout > maxTimeout) { in getTimeoutDescription()
135 return getCurrentTimeout(currentTimeout); in getTimeoutDescription()
140 private CharSequence getCurrentTimeout(long currentTimeout) { in getCurrentTimeout() argument
142 if (currentTimeout == Long.parseLong(mTimeoutValues[i].toString())) { in getCurrentTimeout()
/packages/apps/Settings/src/com/android/settings/security/screenlock/
DLockAfterTimeoutPreferenceController.java106 long currentTimeout = Settings.Secure.getLong(mContext.getContentResolver(), in setupLockAfterPreference() local
108 preference.setValue(String.valueOf(currentTimeout)); in setupLockAfterPreference()
131 long currentTimeout = Settings.Secure.getLong(mContext.getContentResolver(), in updateLockAfterPreferenceSummary() local
138 if (currentTimeout >= timeout) { in updateLockAfterPreferenceSummary()