Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/system/
DBuildNumberPreferenceController.java38 private int mDevHitCountdown; field in BuildNumberPreferenceController
58 mDevHitCountdown = DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(getContext()) in onResumeInternal()
81 if (mDevHitCountdown > 0) { in handlePreferenceClicked()
82 mDevHitCountdown--; in handlePreferenceClicked()
83 if (mDevHitCountdown == 0) { in handlePreferenceClicked()
86 } else if (mDevHitCountdown <= getTapsToBecomeDeveloper() - getTapsToShowToast()) { in handlePreferenceClicked()
87 showToast(StringUtil.getIcuPluralsString(getContext(), mDevHitCountdown, in handlePreferenceClicked() local
90 } else if (mDevHitCountdown < 0) { in handlePreferenceClicked()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceController.java67 private int mDevHitCountdown; field in BuildNumberPreferenceController
92 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in onStart()
155 if (mDevHitCountdown > 0) { in handlePreferenceTreeClick()
156 mDevHitCountdown--; in handlePreferenceTreeClick()
157 if (mDevHitCountdown == 0 && !mProcessingLastDevHit) { in handlePreferenceTreeClick()
159 mDevHitCountdown++; in handlePreferenceTreeClick()
179 } else if (mDevHitCountdown > 0 in handlePreferenceTreeClick()
180 && mDevHitCountdown < (TAPS_TO_BE_A_DEVELOPER - 2)) { in handlePreferenceTreeClick()
185 StringUtil.getIcuPluralsString(mContext, mDevHitCountdown, in handlePreferenceTreeClick()
197 } else if (mDevHitCountdown < 0) { in handlePreferenceTreeClick()
[all …]
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DAboutState.java88 int mDevHitCountdown; field in AboutState
261 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context) in onResume()
343 if (mDevHitCountdown > 0) { in onPreferenceTreeClick()
344 mDevHitCountdown--; in onPreferenceTreeClick()
345 if (mDevHitCountdown == 0) { in onPreferenceTreeClick()
359 } else if (mDevHitCountdown > 0 in onPreferenceTreeClick()
360 && mDevHitCountdown < (TAPS_TO_BE_A_DEVELOPER - 2)) { in onPreferenceTreeClick()
366 context, "show_dev_countdown", mDevHitCountdown, in onPreferenceTreeClick()
367 mDevHitCountdown), in onPreferenceTreeClick()
371 } else if (mDevHitCountdown < 0) { in onPreferenceTreeClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java107 int mDevHitCountdown; field in AboutFragment
298 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(getContext()) in onResume()
363 if (mDevHitCountdown > 0) { in onPreferenceTreeClick()
364 mDevHitCountdown--; in onPreferenceTreeClick()
365 if (mDevHitCountdown == 0) { in onPreferenceTreeClick()
378 } else if (mDevHitCountdown > 0 in onPreferenceTreeClick()
379 && mDevHitCountdown < (TAPS_TO_BE_A_DEVELOPER - 2)) { in onPreferenceTreeClick()
387 arguments.put("count", mDevHitCountdown); in onPreferenceTreeClick()
392 } else if (mDevHitCountdown < 0) { in onPreferenceTreeClick()