Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/system/
DBuildNumberPreferenceController.java37 private int mDevHitCountdown; field in BuildNumberPreferenceController
57 mDevHitCountdown = in onResumeInternal()
77 if (mDevHitCountdown > 0) { in handlePreferenceClicked()
78 mDevHitCountdown--; in handlePreferenceClicked()
79 if (mDevHitCountdown == 0) { in handlePreferenceClicked()
82 } else if (mDevHitCountdown <= getTapsToBecomeDeveloper() - getTapsToShowToast()) { in handlePreferenceClicked()
84 R.plurals.show_dev_countdown, mDevHitCountdown, mDevHitCountdown), in handlePreferenceClicked()
87 } else if (mDevHitCountdown < 0) { in handlePreferenceClicked()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceController.java65 private int mDevHitCountdown; field in BuildNumberPreferenceController
90 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in onStart()
158 if (mDevHitCountdown > 0) { in handlePreferenceTreeClick()
159 mDevHitCountdown--; in handlePreferenceTreeClick()
160 if (mDevHitCountdown == 0 && !mProcessingLastDevHit) { in handlePreferenceTreeClick()
162 mDevHitCountdown++; in handlePreferenceTreeClick()
182 } else if (mDevHitCountdown > 0 in handlePreferenceTreeClick()
183 && mDevHitCountdown < (TAPS_TO_BE_A_DEVELOPER - 2)) { in handlePreferenceTreeClick()
189 R.plurals.show_dev_countdown, mDevHitCountdown, in handlePreferenceTreeClick()
190 mDevHitCountdown), in handlePreferenceTreeClick()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java99 int mDevHitCountdown; field in AboutFragment
275 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(getContext()) in onResume()
341 if (mDevHitCountdown > 0) { in onPreferenceTreeClick()
342 mDevHitCountdown--; in onPreferenceTreeClick()
343 if (mDevHitCountdown == 0) { in onPreferenceTreeClick()
356 } else if (mDevHitCountdown > 0 in onPreferenceTreeClick()
357 && mDevHitCountdown < (TAPS_TO_BE_A_DEVELOPER - 2)) { in onPreferenceTreeClick()
363 R.plurals.show_dev_countdown, mDevHitCountdown, in onPreferenceTreeClick()
364 mDevHitCountdown), in onPreferenceTreeClick()
368 } else if (mDevHitCountdown < 0) { in onPreferenceTreeClick()