Home
last modified time | relevance | path

Searched refs:findPreference (Results 1 – 25 of 1040) sorted by relevance

12345678910>>...42

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DGroupSelectionPreferenceControllerTest.java128 assertThat(findPreference("key1").isChecked()).isFalse(); in refreshUi_elementChecked()
129 assertThat(findPreference("key2").isChecked()).isTrue(); in refreshUi_elementChecked()
143 assertThat(findPreference("key1").isChecked()).isFalse(); in performClick_allowPassThrough_checkedElementChanged()
144 assertThat(findPreference("key2").isChecked()).isTrue(); in performClick_allowPassThrough_checkedElementChanged()
146 findPreference("key1").performClick(); in performClick_allowPassThrough_checkedElementChanged()
148 assertThat(findPreference("key1").isChecked()).isTrue(); in performClick_allowPassThrough_checkedElementChanged()
149 assertThat(findPreference("key2").isChecked()).isFalse(); in performClick_allowPassThrough_checkedElementChanged()
163 assertThat(findPreference("key1").isChecked()).isFalse(); in performClick_disallowPassThrough_checkedElementNotChanged()
164 assertThat(findPreference("key2").isChecked()).isTrue(); in performClick_disallowPassThrough_checkedElementNotChanged()
166 findPreference("key1").performClick(); in performClick_disallowPassThrough_checkedElementNotChanged()
[all …]
/packages/apps/Traceur/src/com/android/traceur/
DMainFragment.java97 …mTracingOn = (SwitchPreference) findPreference(getActivity().getString(R.string.pref_key_tracing_o… in onCreate()
98 mStackSamplingOn = (SwitchPreference) findPreference( in onCreate()
124 …mTags = (MultiSelectListPreference) findPreference(getContext().getString(R.string.pref_key_tags)); in onCreate()
146 findPreference("restore_default_tags").setOnPreferenceClickListener( in onCreate()
158 findPreference(getString(R.string.pref_key_quick_setting)) in onCreate()
168 findPreference("clear_saved_files").setOnPreferenceClickListener( in onCreate()
193 findPreference("trace_link_button") in onCreate()
210 SwitchPreference attachToBugreport = findPreference( in onCreate()
212 findPreference(getString(R.string.pref_key_long_traces)) in onCreate()
306 (SwitchPreference) findPreference(getString(R.string.pref_key_stop_on_bugreport)); in refreshUi()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSettingsActivity.kt107 val timerVibrate: Preference? = findPreference(KEY_TIMER_VIBRATE) in onCreatePreferences()
149 val homeTimeZonePref: Preference? = findPreference(KEY_HOME_TZ) in onPreferenceChange()
211 val homeTimezonePref: ListPreference? = findPreference(KEY_HOME_TZ) in loadTimeZoneList()
221 val autoSilencePref: ListPreference? = findPreference(KEY_AUTO_SILENCE) in refresh()
228 val clockStylePref: SimpleMenuPreference? = findPreference(KEY_CLOCK_STYLE) in refresh()
234 val volumeButtonsPref: SimpleMenuPreference? = findPreference(KEY_VOLUME_BUTTONS) in refresh()
240 val clockSecondsPref: Preference? = findPreference(KEY_CLOCK_DISPLAY_SECONDS) in refresh()
243 val autoHomeClockPref: Preference? = findPreference(KEY_AUTO_HOME_CLOCK) in refresh()
248 val homeTimezonePref: ListPreference? = findPreference(KEY_HOME_TZ) in refresh()
252 refreshListPreference(findPreference(KEY_ALARM_CRESCENDO)!!) in refresh()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.java140 mSoundsPref = findPreference(KEY_SOUNDS); in onCreatePreferences()
141 mSoundsSwitchPref = findPreference(KEY_SOUNDS_SWITCH); in onCreatePreferences()
146 final Preference inputPref = findPreference(KEY_INPUTS); in onCreatePreferences()
150 final LongClickPreference restartPref = findPreference(KEY_REBOOT); in onCreatePreferences()
156 findPreference(KEY_MIC), SensorFragment.TOGGLE_EXTRA); in onCreatePreferences()
158 findPreference(KEY_CAMERA), SensorFragment.TOGGLE_EXTRA); in onCreatePreferences()
160 final Preference assistantBroadcastPreference = findPreference(KEY_ASSISTANT_BROADCAST); in onCreatePreferences()
202 hideIfIntentUnhandled(findPreference(KEY_HOME_SETTINGS)); in onCreateView()
203 hideIfIntentUnhandled(findPreference(KEY_CAST_SETTINGS)); in onCreateView()
204 hideIfIntentUnhandled(findPreference(KEY_USAGE)); in onCreateView()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java156 final Preference deviceNamePref = findPreference(KEY_DEVICE_NAME); in onCreatePreferences()
159 final Preference firmwareVersionPref = findPreference(KEY_FIRMWARE_VERSION); in onCreatePreferences()
163 final Preference securityPatchPref = findPreference(KEY_SECURITY_PATCH); in onCreatePreferences()
179 findPreference(KEY_BASEBAND_VERSION).setSummary(basebandVersion); in onCreatePreferences()
180 findPreference(KEY_DEVICE_MODEL).setSummary(Build.MODEL + DeviceInfoUtils.getMsvSuffix()); in onCreatePreferences()
181 findPreference(KEY_EQUIPMENT_ID) in onCreatePreferences()
184 final Preference buildNumberPref = findPreference(KEY_BUILD_NUMBER); in onCreatePreferences()
187 findPreference(KEY_KERNEL_VERSION) in onCreatePreferences()
190 final Preference selinuxPref = findPreference(KEY_SELINUX_STATUS); in onCreatePreferences()
204 removePreference(findPreference(KEY_SAFETY_LEGAL)); in onCreatePreferences()
[all …]
DLegalFragment.java51 findPreference(KEY_TERMS), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences()
53 findPreference(KEY_LICENSE), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences()
55 findPreference(KEY_COPYRIGHT), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences()
57 findPreference(KEY_WEBVIEW_LICENSE), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences()
59 Preference adsPref = findPreference(KEY_ADS); in onCreatePreferences()
65 findPreference(KEY_ADS), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DPrivacyFragment.java69 PreferenceCategory accountPrefCategory = findPreference(KEY_ACCOUNT_SETTINGS_CATEGORY); in onCreatePreferences()
70 Preference assistantSlicePreference = findPreference(KEY_ASSISTANT); in onCreatePreferences()
71 Preference purchasesSlicePreference = findPreference(KEY_PURCHASES); in onCreatePreferences()
72 Preference adsPreference = findPreference(KEY_ADS); in onCreatePreferences()
73 final Preference securityPreference = findPreference(KEY_SECURITY); in onCreatePreferences()
74 final Preference overlaySecuritySlicePreference = findPreference(KEY_OVERLAY_SECURITY); in onCreatePreferences()
75 final Preference updateSlicePreference = findPreference(KEY_UPDATE); in onCreatePreferences()
78 findPreference(KEY_MIC), SensorFragment.TOGGLE_EXTRA); in onCreatePreferences()
80 findPreference(KEY_CAMERA), SensorFragment.TOGGLE_EXTRA); in onCreatePreferences()
106 findPreference(KEY_ADS).setOnPreferenceClickListener(preference -> { in onCreatePreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSoundWorkSettingsControllerTest.java75 when(mScreen.findPreference(KEY_WORK_USE_PERSONAL_SOUNDS)) in setUp()
77 when(mScreen.findPreference(KEY_WORK_PHONE_RINGTONE)) in setUp()
79 when(mScreen.findPreference(KEY_WORK_NOTIFICATION_RINGTONE)) in setUp()
81 when(mScreen.findPreference(KEY_WORK_ALARM_RINGTONE)) in setUp()
141 verify((Preference) mScreen.findPreference(KEY_WORK_PHONE_RINGTONE)).setVisible(false); in onResume_noVoiceCapability_shouldHidePhoneRingtone()
162 verify((Preference) mScreen.findPreference(KEY_WORK_PHONE_RINGTONE)) in onResume_availableButLocked_shouldRedactPreferences()
164 verify((Preference) mScreen.findPreference(KEY_WORK_NOTIFICATION_RINGTONE)) in onResume_availableButLocked_shouldRedactPreferences()
166 verify((Preference) mScreen.findPreference(KEY_WORK_ALARM_RINGTONE)) in onResume_availableButLocked_shouldRedactPreferences()
182 verify((RingtonePreference) mScreen.findPreference(KEY_WORK_PHONE_RINGTONE)) in onResume_shouldSetUserIdToPreference()
184 verify((RingtonePreference) mScreen.findPreference(KEY_WORK_NOTIFICATION_RINGTONE)) in onResume_shouldSetUserIdToPreference()
[all …]
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/
DAdvancedVolumeFragmentTest.java75 Preference preference = fragment.findPreference(KEY_SURROUND_SOUND_AUTO); in testOnPreferenceChange_withAuto_storesAutoInSettings()
87 Preference preference = fragment.findPreference(KEY_SURROUND_SOUND_MANUAL); in testOnPreferenceChange_withManual_storesManualInSettings()
99 Preference preference = fragment.findPreference(KEY_SURROUND_SOUND_NONE); in testOnPreferenceChange_withNever_storesNeverInSettings()
120 Preference preference = fragment.findPreference(KEY_SURROUND_SOUND_MANUAL); in testOnPreferenceTreeClick_withFormatDisabled_disablesFormatInAudioManager()
123 SwitchPreference pref = (SwitchPreference) fragment.findPreference( in testOnPreferenceTreeClick_withFormatDisabled_disablesFormatInAudioManager()
148 Preference preference = fragment.findPreference(KEY_SURROUND_SOUND_MANUAL); in testOnPreferenceTreeClick_withFormatEnabled_enablesFormatInAudioManager()
151 SwitchPreference pref = (SwitchPreference) fragment.findPreference( in testOnPreferenceTreeClick_withFormatEnabled_enablesFormatInAudioManager()
179 Preference preference = fragment.findPreference(KEY_SURROUND_SOUND_MANUAL); in testOnPreferenceTreeClick_withDTSFormatsDisabled_disablesFormatInAudioManager()
182 SwitchPreference pref = (SwitchPreference) fragment.findPreference( in testOnPreferenceTreeClick_withDTSFormatsDisabled_disablesFormatInAudioManager()
187 pref = (SwitchPreference) fragment.findPreference( in testOnPreferenceTreeClick_withDTSFormatsDisabled_disablesFormatInAudioManager()
[all …]
DResolutionSelectionFragmentTest.java71 RadioPreference preference = fragment.findPreference(KEY_RESOLUTION_SELECTION_AUTO); in testOnPreferenceTreeClick_selectAuto()
89 RadioPreference preference = fragment.findPreference(KEY_RESOLUTION_PREFIX + 2); in testOnPreferenceTreeClick_selectMode()
162 RadioPreference autoPreference = fragment.findPreference(KEY_RESOLUTION_SELECTION_AUTO); in testGetUserPreferredDisplayMode_selectsCorrectPreference()
164 RadioPreference preference = fragment.findPreference(KEY_RESOLUTION_PREFIX + 0); in testGetUserPreferredDisplayMode_selectsCorrectPreference()
166 preference = fragment.findPreference(KEY_RESOLUTION_PREFIX + 1); in testGetUserPreferredDisplayMode_selectsCorrectPreference()
168 preference = fragment.findPreference(KEY_RESOLUTION_PREFIX + 2); in testGetUserPreferredDisplayMode_selectsCorrectPreference()
174 autoPreference = fragment.findPreference(KEY_RESOLUTION_SELECTION_AUTO); in testGetUserPreferredDisplayMode_selectsCorrectPreference()
176 preference = fragment.findPreference(KEY_RESOLUTION_PREFIX + 0); in testGetUserPreferredDisplayMode_selectsCorrectPreference()
178 preference = fragment.findPreference(KEY_RESOLUTION_PREFIX + 1); in testGetUserPreferredDisplayMode_selectsCorrectPreference()
180 preference = fragment.findPreference(KEY_RESOLUTION_PREFIX + 2); in testGetUserPreferredDisplayMode_selectsCorrectPreference()
DHdrFormatSelectionFragmentTest.java71 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_AUTO); in testOnPreferenceTreeClick_withAuto_allowsUserDisabledHdrTypes()
81 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_MANUAL); in testOnPreferenceTreeClick_withManual_disallowsUserDisabledHdrTypes()
100 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_MANUAL); in testOnPreferenceTreeClick_withFormatDisabled_disablesHdrTypeInDisplayManager()
103 SwitchPreference pref = (SwitchPreference) fragment.findPreference( in testOnPreferenceTreeClick_withFormatDisabled_disablesHdrTypeInDisplayManager()
128 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_MANUAL); in testOnPreferenceTreeClick_withFormatEnabled_enablesHdrTypeInDisplayManager()
131 SwitchPreference pref = (SwitchPreference) fragment.findPreference( in testOnPreferenceTreeClick_withFormatEnabled_enablesHdrTypeInDisplayManager()
155 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_MANUAL); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesInCorrectPreferenceGroup()
186 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_MANUAL); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState()
213 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_AUTO); in testGetPreferenceScreen_whenAuto_returnsNoFormatPreferences()
230 Preference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_AUTO); in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference()
[all …]
/packages/apps/Contacts/src/com/android/contacts/preference/
DDisplayOptionsPreferenceFragment.java234 mMyInfoPreference = findPreference(KEY_MY_INFO); in onCreate()
236 final Preference accountsPreference = findPreference(KEY_ACCOUNTS); in onCreate()
239 final Preference importPreference = findPreference(KEY_IMPORT); in onCreate()
242 final Preference exportPreference = findPreference(KEY_EXPORT); in onCreate()
247 final Preference blockedNumbersPreference = findPreference(KEY_BLOCKED_NUMBERS); in onCreate()
252 final Preference aboutPreference = findPreference(KEY_ABOUT); in onCreate()
257 final Preference customFilterPreference = findPreference(KEY_CUSTOM_CONTACTS_FILTER); in onCreate()
263 final Preference defaultAccountPreference = findPreference(KEY_DEFAULT_ACCOUNT); in onCreate()
301 getPreferenceScreen().removePreference(findPreference(KEY_SORT_ORDER)); in removeUnsupportedPreferences()
305 getPreferenceScreen().removePreference(findPreference(KEY_PHONETIC_NAME_DISPLAY)); in removeUnsupportedPreferences()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java177 mEnableWifiPref = (TwoStatePreference) findPreference(KEY_WIFI_ENABLE); in onCreatePreferences()
178 mWifiNetworksCategory = (CollapsibleCategory) findPreference(KEY_WIFI_LIST); in onCreatePreferences()
179 mCollapsePref = findPreference(KEY_WIFI_COLLAPSE); in onCreatePreferences()
180 mAddPref = (RestrictedPreference) findPreference(KEY_WIFI_ADD); in onCreatePreferences()
181 mAddEasyConnectPref = (RestrictedPreference) findPreference(KEY_WIFI_ADD_EASYCONNECT); in onCreatePreferences()
182 mAlwaysScan = (TwoStatePreference) findPreference(KEY_WIFI_ALWAYS_SCAN); in onCreatePreferences()
183 mWifiOther = (PreferenceCategory) findPreference(KEY_WIFI_OTHER); in onCreatePreferences()
185 mEthernetCategory = (PreferenceCategory) findPreference(KEY_ETHERNET); in onCreatePreferences()
186 mEthernetStatusPref = findPreference(KEY_ETHERNET_STATUS); in onCreatePreferences()
187 mEthernetProxyPref = findPreference(KEY_ETHERNET_PROXY); in onCreatePreferences()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java344 findPreference(KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS); in initPreferences()
346 findPreference(KEY_ENABLE_CMAS_SEVERE_THREAT_ALERTS); in initPreferences()
348 findPreference(KEY_ENABLE_CMAS_AMBER_ALERTS); in initPreferences()
350 findPreference(KEY_ENABLE_ALERTS_MASTER_TOGGLE); in initPreferences()
352 findPreference(KEY_ENABLE_PUBLIC_SAFETY_MESSAGES); in initPreferences()
354 findPreference(KEY_ENABLE_PUBLIC_SAFETY_MESSAGES_FULL_SCREEN); in initPreferences()
356 findPreference(KEY_ENABLE_EMERGENCY_ALERTS); in initPreferences()
358 findPreference(KEY_ALERT_REMINDER_INTERVAL); in initPreferences()
360 findPreference(KEY_ENABLE_ALERT_SPEECH); in initPreferences()
362 findPreference(KEY_OVERRIDE_DND); in initPreferences()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DTextReadingPreviewControllerTest.java82 when(mPreferenceScreen.findPreference(PREVIEW_KEY)).thenReturn(mPreviewPreference); in initPreviewerAdapter_verifyAction()
83 when(mPreferenceScreen.findPreference(FONT_SIZE_KEY)).thenReturn(mFontSizePreference); in initPreviewerAdapter_verifyAction()
84 when(mPreferenceScreen.findPreference(DISPLAY_SIZE_KEY)).thenReturn(mDisplaySizePreference); in initPreviewerAdapter_verifyAction()
93 when(mPreferenceScreen.findPreference(PREVIEW_KEY)).thenReturn(mPreviewPreference); in initPreviewerAdapterWithoutDisplaySizePreference_throwNPE()
94 when(mPreferenceScreen.findPreference(DISPLAY_SIZE_KEY)).thenReturn(mDisplaySizePreference); in initPreviewerAdapterWithoutDisplaySizePreference_throwNPE()
103 when(mPreferenceScreen.findPreference(PREVIEW_KEY)).thenReturn(mPreviewPreference); in initPreviewerAdapterWithoutFontSizePreference_throwNPE()
104 when(mPreferenceScreen.findPreference(FONT_SIZE_KEY)).thenReturn(mFontSizePreference); in initPreviewerAdapterWithoutFontSizePreference_throwNPE()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/vendor/
DDisplayPreviewFragment.java79 removePreference(findPreference(KEY_RESOLUTION_TITLE)); in onCreatePreferences()
82 SwitchPreference dynamicRangePreference = findPreference(KEY_DYNAMIC_RANGE); in onCreatePreferences()
125 SwitchPreference dynamicRangePreference = findPreference(KEY_DYNAMIC_RANGE); in onResume()
133 Preference titlePreference = findPreference(KEY_RESOLUTION_TITLE); in updateResolutionTitleDescription()
146 final Preference pictureSettingPreference = findPreference(KEY_VENDOR_PICTURE); in updatePictureAndSound()
147 final Preference soundSettingPreference = findPreference(KEY_VENDOR_SOUND); in updatePictureAndSound()
162 Preference pref = findPreference(builtinSettingsKey); in updatePictureAndSound()
201 Preference dynamicRangePref = findPreference(KEY_DYNAMIC_RANGE); in createInfoFragments()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApplicationSettingsActivity.java114 mNotificationsEnabledPreference = (TwoStatePreference) findPreference( in onCreate()
117 mRingtonePreference = (RingtonePreference) findPreference(mRingtonePreferenceKey); in onCreate()
118 mVibratePreference = findPreference( in onCreate()
121 mSmsDisabledPreference = findPreference(mSmsDisabledPrefKey); in onCreate()
123 mSmsEnabledPreference = findPreference(mSmsEnabledPrefKey); in onCreate()
130 final Preference debugCategory = findPreference(getString( in onCreate()
135 final PreferenceScreen advancedScreen = (PreferenceScreen) findPreference( in onCreate()
198 if (getPreferenceScreen().findPreference(mSmsEnabledPrefKey) == null) { in updateSmsEnabledPreferences()
208 if (getPreferenceScreen().findPreference(mSmsDisabledPrefKey) == null) { in updateSmsEnabledPreferences()
DPerSubscriptionSettingsActivity.java108 mPhoneNumberPreference = (PhoneNumberPreference) findPreference(mPhoneNumberKey); in onCreate()
110 findPreference(getString(R.string.advanced_category_pref_key)); in onCreate()
112 findPreference(getString(R.string.mms_messaging_category_pref_key)); in onCreate()
118 mGroupMmsPreference = findPreference(mGroupMmsPrefKey); in onCreate()
137 final Preference deliveryReportsPref = findPreference( in onCreate()
141 final Preference wirelessAlertPref = findPreference(getString( in onCreate()
165 (PreferenceScreen) findPreference(getString(R.string.sms_apns_key)); in onCreate()
185 findPreference(getString(R.string.auto_retrieve_mms_pref_key)); in onCreate()
188 findPreference(getString(R.string.delivery_reports_pref_key)); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageFragment.java132 mMigratePref = findPreference(KEY_MIGRATE); in onCreatePreferences()
133 mEjectPref = findPreference(KEY_EJECT); in onCreatePreferences()
134 mErasePref = findPreference(KEY_ERASE); in onCreatePreferences()
136 mAppsUsagePref = (StoragePreference) findPreference(KEY_APPS_USAGE); in onCreatePreferences()
137 mDcimUsagePref = (StoragePreference) findPreference(KEY_DCIM_USAGE); in onCreatePreferences()
138 mMusicUsagePref = (StoragePreference) findPreference(KEY_MUSIC_USAGE); in onCreatePreferences()
139 mDownloadsUsagePref = (StoragePreference) findPreference(KEY_DOWNLOADS_USAGE); in onCreatePreferences()
140 mCacheUsagePref = (StoragePreference) findPreference(KEY_CACHE_USAGE); in onCreatePreferences()
141 mMiscUsagePref = (StoragePreference) findPreference(KEY_MISC_USAGE); in onCreatePreferences()
142 mAvailablePref = (StoragePreference) findPreference(KEY_AVAILABLE); in onCreatePreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java213 final Preference networkPref = findPreference(KEY_NETWORK); in updateConnectivityType()
248 Preference appPref = findPreference(KEY_APPLICATIONS); in onCreatePreferences()
252 Preference accountsPref = findPreference(KEY_ACCOUNTS_AND_SIGN_IN); in onCreatePreferences()
258 Preference accessoryPreference = findPreference(KEY_ACCESSORIES); in onCreatePreferences()
264 Preference displaySoundPref = findPreference(KEY_DISPLAY_AND_SOUND); in onCreatePreferences()
268 Preference privacyPref = findPreference(KEY_PRIVACY); in onCreatePreferences()
282 final Preference networkPref = findPreference(KEY_NETWORK); in updateConnectivity()
344 final Preference soundPref = findPreference(KEY_SOUND); in updateSoundSettings()
444 (SlicePreference) findPreference(KEY_CONNECTED_DEVICES_SLICE); in updateAccessoryPref()
445 Preference accessoryPreference = findPreference(KEY_ACCESSORIES); in updateAccessoryPref()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionFragment.java81 mCaptionsDisplayPref = (TwoStatePreference) findPreference(KEY_CAPTIONS_DISPLAY); in onCreatePreferences()
95 mCaptionsLanguagePref = (ListPreference) findPreference(KEY_CAPTIONS_LANGUAGE); in onCreatePreferences()
100 mCaptionsTextSizePref = (ListPreference) findPreference(KEY_CAPTIONS_TEXT_SIZE); in onCreatePreferences()
103 mCaptionsStyleGroup = (PreferenceGroup) findPreference(KEY_CAPTIONS_STYLE_GROUP); in onCreatePreferences()
105 mCaptionsStyle0Pref = (RadioPreference) findPreference(KEY_CAPTIONS_STYLE_0); in onCreatePreferences()
106 mCaptionsStyle1Pref = (RadioPreference) findPreference(KEY_CAPTIONS_STYLE_1); in onCreatePreferences()
107 mCaptionsStyle2Pref = (RadioPreference) findPreference(KEY_CAPTIONS_STYLE_2); in onCreatePreferences()
108 mCaptionsStyle3Pref = (RadioPreference) findPreference(KEY_CAPTIONS_STYLE_3); in onCreatePreferences()
109 mCaptionsStyleCustomPref = (RadioPreference) findPreference(KEY_CAPTIONS_STYLE_CUSTOM); in onCreatePreferences()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java72 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_NoNetwork()
89 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_hasEthernet()
106 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_hasEthernetConnected()
123 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_wifiSignal()
172 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_notConnected()
189 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_cellSignal()
237 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPrefInfo_hasOneAccount()
253 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPrefInfo_hasNoAccount()
269 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPrefInfo_hasMoreThanOneAccount()
293 .findPreference(MainFragment.KEY_ACCESSORIES); in testUpdateAccessoryPref_hasNoAccessory()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericTest.java210 FooterPreference footer = mFragment.findPreference(KEY_LOCK_SETTINGS_FOOTER); in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText()
226 FooterPreference footer = mFragment.findPreference(KEY_LOCK_SETTINGS_FOOTER); in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText()
242 FooterPreference footer = mFragment.findPreference(KEY_LOCK_SETTINGS_FOOTER); in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText()
258 FooterPreference footer = mFragment.findPreference(KEY_LOCK_SETTINGS_FOOTER); in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText()
269 FooterPreference footer = mFragment.findPreference(KEY_LOCK_SETTINGS_FOOTER); in updatePreferencesOrFinish_callingAppIsAdmin_deviceProvisioned_footerInvisible()
280 FooterPreference footer = mFragment.findPreference(KEY_LOCK_SETTINGS_FOOTER); in updatePreferencesOrFinish_callingAppIsAdmin_deviceNotProvisioned_footerInvisible()
440 FooterPreference footer = mFragment.findPreference(KEY_LOCK_SETTINGS_FOOTER); in updatePreferencesOrFinish_ComplexityIsReadFromDPM()
460 FooterPreference footer = mFragment.findPreference(KEY_LOCK_SETTINGS_FOOTER); in updatePreferencesOrFinish_ComplexityIsMergedWithDPM()
482 FooterPreference footer = mFragment.findPreference(KEY_LOCK_SETTINGS_FOOTER); in updatePreferencesOrFinish_ComplexityIsMergedWithDPM_AppIsHigher()
570 (String) mFragment.findPreference(ScreenLockType.PIN.preferenceKey).getTitle(); in updatePreferenceText_supportBiometrics_setScreenLockFingerprintFace_inOrder()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java88 mFontFamilyPref = (ListPreference) findPreference(KEY_FONT_FAMILY); in onCreatePreferences()
91 mTextColorPref = (ListPreference) findPreference(KEY_TEXT_COLOR); in onCreatePreferences()
96 mTextOpacityPref = (ListPreference) findPreference(KEY_TEXT_OPACITY); in onCreatePreferences()
98 mEdgeTypePref = (ListPreference) findPreference(KEY_EDGE_TYPE); in onCreatePreferences()
101 mEdgeColorPref = (ListPreference) findPreference(KEY_EDGE_COLOR); in onCreatePreferences()
106 mBackgroundShowPref = (TwoStatePreference) findPreference(KEY_BACKGROUND_SHOW); in onCreatePreferences()
108 mBackgroundColorPref = (ListPreference) findPreference(KEY_BACKGROUND_COLOR); in onCreatePreferences()
113 mBackgroundOpacityPref = (ListPreference) findPreference(KEY_BACKGROUND_OPACITY); in onCreatePreferences()
116 mWindowShowPref = (TwoStatePreference) findPreference(KEY_WINDOW_SHOW); in onCreatePreferences()
118 mWindowColorPref = (ListPreference) findPreference(KEY_WINDOW_COLOR); in onCreatePreferences()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DDisplaySoundFragment.java106 final TwoStatePreference soundPref = findPreference(KEY_SOUND_EFFECTS); in onCreatePreferences()
119 removePreference(findPreference(KEY_RESOLUTION_TITLE)); in onCreatePreferences()
122 SwitchPreference dynamicRangePreference = findPreference(KEY_DYNAMIC_RANGE); in onCreatePreferences()
146 SwitchPreference dynamicRangePreference = findPreference(KEY_DYNAMIC_RANGE); in onResume()
181 Preference cecPreference = findPreference(KEY_CEC); in updateCecPreference()
196 final SlicePreference defaultAudioOutputSlicePref = findPreference( in updateDefaultAudioOutputSettings()
234 Preference titlePreference = findPreference(KEY_RESOLUTION_TITLE); in updateResolutionTitleDescription()
247 Preference dynamicRangePref = findPreference(KEY_DYNAMIC_RANGE); in createInfoFragments()

12345678910>>...42