Searched refs:mDevHitCountdown (Results 1 – 4 of 4) sorted by relevance
38 private int mDevHitCountdown; field in BuildNumberPreferenceController58 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() local90 } else if (mDevHitCountdown < 0) { in handlePreferenceClicked()
67 private int mDevHitCountdown; field in BuildNumberPreferenceController92 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 …]
88 int mDevHitCountdown; field in AboutState261 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()
107 int mDevHitCountdown; field in AboutFragment298 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()