Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceController.java64 private int mDevHitCountdown; field in BuildNumberPreferenceController
109 mDevHitCountdown = mContext.getSharedPreferences(DevelopmentSettings.PREF_FILE, in onResume()
148 if (mDevHitCountdown > 0) { in handlePreferenceTreeClick()
149 mDevHitCountdown--; in handlePreferenceTreeClick()
150 if (mDevHitCountdown == 0 && !mProcessingLastDevHit) { in handlePreferenceTreeClick()
152 mDevHitCountdown++; in handlePreferenceTreeClick()
165 } else if (mDevHitCountdown > 0 in handlePreferenceTreeClick()
166 && mDevHitCountdown < (TAPS_TO_BE_A_DEVELOPER - 2)) { in handlePreferenceTreeClick()
172 R.plurals.show_dev_countdown, mDevHitCountdown, in handlePreferenceTreeClick()
173 mDevHitCountdown), in handlePreferenceTreeClick()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java80 int mDevHitCountdown; field in AboutFragment
215 mDevHitCountdown = developerEnabled ? -1 : TAPS_TO_BE_A_DEVELOPER; in onResume()
277 if (mDevHitCountdown > 0) { in onPreferenceTreeClick()
278 mDevHitCountdown--; in onPreferenceTreeClick()
279 if (mDevHitCountdown == 0) { in onPreferenceTreeClick()
293 } else if (mDevHitCountdown > 0 in onPreferenceTreeClick()
294 && mDevHitCountdown < (TAPS_TO_BE_A_DEVELOPER - 2)) { in onPreferenceTreeClick()
300 R.plurals.show_dev_countdown, mDevHitCountdown, in onPreferenceTreeClick()
301 mDevHitCountdown), in onPreferenceTreeClick()
305 } else if (mDevHitCountdown < 0) { in onPreferenceTreeClick()