Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceController.java64 private Toast mDevHitToast; field in BuildNumberPreferenceController
94 mDevHitToast = null; in onStart()
181 if (mDevHitToast != null) { in handlePreferenceTreeClick()
182 mDevHitToast.cancel(); in handlePreferenceTreeClick()
184 mDevHitToast = Toast.makeText(mContext, in handlePreferenceTreeClick()
188 mDevHitToast.show(); in handlePreferenceTreeClick()
198 if (mDevHitToast != null) { in handlePreferenceTreeClick()
199 mDevHitToast.cancel(); in handlePreferenceTreeClick()
201 mDevHitToast = Toast.makeText(mContext, R.string.show_dev_already, in handlePreferenceTreeClick()
203 mDevHitToast.show(); in handlePreferenceTreeClick()
[all …]
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DAboutState.java89 Toast mDevHitToast; field in AboutState
263 mDevHitToast = null; in onResume()
348 if (mDevHitToast != null) { in onPreferenceTreeClick()
349 mDevHitToast.cancel(); in onPreferenceTreeClick()
351 mDevHitToast = Toast.makeText(context, in onPreferenceTreeClick()
354 mDevHitToast.show(); in onPreferenceTreeClick()
361 if (mDevHitToast != null) { in onPreferenceTreeClick()
362 mDevHitToast.cancel(); in onPreferenceTreeClick()
364 mDevHitToast = Toast in onPreferenceTreeClick()
369 mDevHitToast.show(); in onPreferenceTreeClick()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DBuildNumberPreferenceController.java37 private Toast mDevHitToast; field in BuildNumberPreferenceController
57 mDevHitToast = null; in onResumeInternal()
97 if (mDevHitToast != null) { in showToast()
98 mDevHitToast.cancel(); in showToast()
100 mDevHitToast = Toast.makeText(getContext(), text, duration); in showToast()
101 mDevHitToast.show(); in showToast()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java108 Toast mDevHitToast; field in AboutFragment
300 mDevHitToast = null; in onResume()
368 if (mDevHitToast != null) { in onPreferenceTreeClick()
369 mDevHitToast.cancel(); in onPreferenceTreeClick()
371 mDevHitToast = Toast.makeText(getActivity(), R.string.show_dev_on, in onPreferenceTreeClick()
373 mDevHitToast.show(); in onPreferenceTreeClick()
380 if (mDevHitToast != null) { in onPreferenceTreeClick()
381 mDevHitToast.cancel(); in onPreferenceTreeClick()
388 mDevHitToast = Toast.makeText( in onPreferenceTreeClick()
390 mDevHitToast.show(); in onPreferenceTreeClick()
[all …]