Searched refs:currentTimeout (Results 1 – 2 of 2) sorted by relevance
81 final long currentTimeout = getCurrentScreenTimeout(); in getTimeoutSummary() local82 final CharSequence description = getTimeoutDescription(currentTimeout, maxTimeout); in getTimeoutSummary()124 private CharSequence getTimeoutDescription(long currentTimeout, long maxTimeout) { in getTimeoutDescription() argument125 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() argument142 if (currentTimeout == Long.parseLong(mTimeoutValues[i].toString())) { in getCurrentTimeout()
106 long currentTimeout = Settings.Secure.getLong(mContext.getContentResolver(), in setupLockAfterPreference() local108 preference.setValue(String.valueOf(currentTimeout)); in setupLockAfterPreference()131 long currentTimeout = Settings.Secure.getLong(mContext.getContentResolver(), in updateLockAfterPreferenceSummary() local138 if (currentTimeout >= timeout) { in updateLockAfterPreferenceSummary()