Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DBuildNumberPreferenceController.java59 private Toast mDevHitToast; field in BuildNumberPreferenceController
89 mDevHitToast = null; in onStart()
166 if (mDevHitToast != null) { in handlePreferenceTreeClick()
167 mDevHitToast.cancel(); in handlePreferenceTreeClick()
169 mDevHitToast = Toast.makeText(mContext, in handlePreferenceTreeClick()
174 mDevHitToast.show(); in handlePreferenceTreeClick()
184 if (mDevHitToast != null) { in handlePreferenceTreeClick()
185 mDevHitToast.cancel(); in handlePreferenceTreeClick()
187 mDevHitToast = Toast.makeText(mContext, R.string.show_dev_already, in handlePreferenceTreeClick()
189 mDevHitToast.show(); in handlePreferenceTreeClick()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceController.java60 private Toast mDevHitToast; field in BuildNumberPreferenceController
90 mDevHitToast = null; in onStart()
187 if (mDevHitToast != null) { in handlePreferenceTreeClick()
188 mDevHitToast.cancel(); in handlePreferenceTreeClick()
190 mDevHitToast = Toast.makeText(mContext, in handlePreferenceTreeClick()
195 mDevHitToast.show(); in handlePreferenceTreeClick()
205 if (mDevHitToast != null) { in handlePreferenceTreeClick()
206 mDevHitToast.cancel(); in handlePreferenceTreeClick()
208 mDevHitToast = Toast.makeText(mContext, R.string.show_dev_already, in handlePreferenceTreeClick()
210 mDevHitToast.show(); in handlePreferenceTreeClick()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java89 Toast mDevHitToast; field in AboutFragment
223 mDevHitToast = null; in onResume()
295 if (mDevHitToast != null) { in onPreferenceTreeClick()
296 mDevHitToast.cancel(); in onPreferenceTreeClick()
298 mDevHitToast = Toast.makeText(getActivity(), R.string.show_dev_on, in onPreferenceTreeClick()
300 mDevHitToast.show(); in onPreferenceTreeClick()
312 if (mDevHitToast != null) { in onPreferenceTreeClick()
313 mDevHitToast.cancel(); in onPreferenceTreeClick()
315 mDevHitToast = Toast in onPreferenceTreeClick()
320 mDevHitToast.show(); in onPreferenceTreeClick()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DBuildNumberPreferenceController.java36 private Toast mDevHitToast; field in BuildNumberPreferenceController
56 mDevHitToast = null; in onResumeInternal()
94 if (mDevHitToast != null) { in showToast()
95 mDevHitToast.cancel(); in showToast()
97 mDevHitToast = Toast.makeText(getContext(), text, duration); in showToast()
98 mDevHitToast.show(); in showToast()