Home
last modified time | relevance | path

Searched refs:mTime24Pref (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DDateTimeSettings.java74 private Preference mTime24Pref; field in DateTimeSettings
121 mTime24Pref = findPreference("24 hour"); in initUI()
125 getPreferenceScreen().removePreference(mTime24Pref); in initUI()
137 ((SwitchPreference)mTime24Pref).setChecked(is24Hour()); in onResume()
165 mTime24Pref.setSummary(DateFormat.getTimeFormat(getActivity()).format(dummyDate)); in updateTimeAndDateDisplay()
277 } else if (preference == mTime24Pref) { in onPreferenceTreeClick()
278 final boolean is24Hour = ((SwitchPreference)mTime24Pref).isChecked(); in onPreferenceTreeClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DDateTimeFragment.java62 private Preference mTime24Pref; field in DateTimeFragment
104 mTime24Pref = findPreference(KEY_USE_24_HOUR); in onCreatePreferences()
105 mTime24Pref.setOnPreferenceChangeListener(this); in onCreatePreferences()
112 ((SwitchPreference)mTime24Pref).setChecked(is24Hour()); in onResume()
141 mTime24Pref.setSummary(DateFormat.getTimeFormat(getActivity()).format(dummyDate)); in updateTimeAndDateDisplay()