/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | GroupSelectionPreferenceControllerTest.java | 128 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/ |
D | MainFragment.java | 103 mTracingOn = (SwitchPreference) findPreference( in onCreate() 105 mStackSamplingOn = (SwitchPreference) findPreference( in onCreate() 107 mHeapDumpOn = (SwitchPreference) findPreference( in onCreate() 143 mHeapDumpProcesses = (MultiSelectListPreference) findPreference( in onCreate() 146 …mTags = (MultiSelectListPreference) findPreference(getContext().getString(R.string.pref_key_tags)); in onCreate() 168 findPreference("restore_default_tags").setOnPreferenceClickListener( in onCreate() 181 findPreference("clear_heap_dump_processes").setOnPreferenceClickListener( in onCreate() 194 findPreference(getString(R.string.pref_key_tracing_quick_setting)) in onCreate() 204 findPreference(getString(R.string.pref_key_stack_sampling_quick_setting)) in onCreate() 214 findPreference("clear_saved_files").setOnPreferenceClickListener( in onCreate() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | DevicePrefFragment.kt | 104 mSoundsSwitchPref = findPreference(KEY_SOUNDS_SWITCH) in onCreatePreferences() 109 findPreference<Preference>(KEY_INPUTS)?.isVisible = mInputSettingNeeded in onCreateView() 110 findPreference<LongClickPreference>(KEY_REBOOT)?.setLongClickListener(this) in onCreateView() 112 findPreference(KEY_MIC), SensorFragment.TOGGLE_EXTRA) in onCreateView() 114 findPreference(KEY_CAMERA), SensorFragment.TOGGLE_EXTRA) in onCreateView() 124 hideIfIntentUnhandled(findPreference(KEY_HOME_SETTINGS)) in onCreateView() 125 hideIfIntentUnhandled(findPreference(KEY_CAST_SETTINGS)) in onCreateView() 126 hideIfIntentUnhandled(findPreference(KEY_USAGE)) in onCreateView() 194 findPreference<Preference>(KEY_DEVELOPER)?.isVisible = in updateDeveloperOptions() 199 findPreference<Preference>(KEY_SOUNDS)?.isVisible = in updateSounds() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModeAppsPreferenceControllerTest.java | 241 assertThat(((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_NONE)) in testPreferenceClick_passesCorrectCheckedState_All() 243 assertThat(!((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_ALL)) in testPreferenceClick_passesCorrectCheckedState_All() 245 assertThat(!((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_PRIORITY)) in testPreferenceClick_passesCorrectCheckedState_All() 248 mPrefCategory.findPreference(KEY_ALL).performClick(); in testPreferenceClick_passesCorrectCheckedState_All() 257 assertThat(((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_ALL)) in testPreferenceClick_passesCorrectCheckedState_All() 259 assertThat(!((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_NONE)) in testPreferenceClick_passesCorrectCheckedState_All() 261 assertThat(!((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_PRIORITY)) in testPreferenceClick_passesCorrectCheckedState_All() 279 assertThat(((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_ALL)) in testPreferenceClick_passesCorrectCheckedState_None() 281 assertThat(!((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_NONE)) in testPreferenceClick_passesCorrectCheckedState_None() 283 assertThat(!((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_PRIORITY)) in testPreferenceClick_passesCorrectCheckedState_None() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | AboutFragment.java | 157 final Preference deviceNamePref = findPreference(KEY_DEVICE_NAME); in onCreatePreferences() 160 final Preference firmwareVersionPref = findPreference(KEY_FIRMWARE_VERSION); in onCreatePreferences() 164 final Preference securityPatchPref = findPreference(KEY_SECURITY_PATCH); in onCreatePreferences() 180 findPreference(KEY_BASEBAND_VERSION).setSummary(basebandVersion); in onCreatePreferences() 181 findPreference(KEY_DEVICE_MODEL).setSummary(Build.MODEL + DeviceInfoUtils.getMsvSuffix()); in onCreatePreferences() 182 findPreference(KEY_EQUIPMENT_ID) in onCreatePreferences() 185 final Preference buildNumberPref = findPreference(KEY_BUILD_NUMBER); in onCreatePreferences() 188 findPreference(KEY_KERNEL_VERSION) in onCreatePreferences() 191 final Preference selinuxPref = findPreference(KEY_SELINUX_STATUS); in onCreatePreferences() 205 removePreference(findPreference(KEY_SAFETY_LEGAL)); in onCreatePreferences() [all …]
|
D | LegalFragment.java | 51 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/system/ |
D | SecurityFragment.java | 67 mUnknownSourcesPref = findPreference(KEY_UNKNOWN_SOURCES); in onCreatePreferences() 68 mRestrictedProfileGroup = (PreferenceGroup) findPreference(KEY_RESTRICTED_PROFILE_GROUP); in onCreatePreferences() 69 mRestrictedProfileEnterPref = findPreference(KEY_RESTRICTED_PROFILE_ENTER); in onCreatePreferences() 70 mRestrictedProfileExitPref = findPreference(KEY_RESTRICTED_PROFILE_EXIT); in onCreatePreferences() 71 mRestrictedProfileAppsPref = findPreference(KEY_RESTRICTED_PROFILE_APPS); in onCreatePreferences() 72 mRestrictedProfilePinPref = findPreference(KEY_RESTRICTED_PROFILE_PIN); in onCreatePreferences() 73 mRestrictedProfileCreatePref = findPreference(KEY_RESTRICTED_PROFILE_CREATE); in onCreatePreferences() 74 mRestrictedProfileDeletePref = findPreference(KEY_RESTRICTED_PROFILE_DELETE); in onCreatePreferences() 76 mManageDeviceAdminPref = findPreference(KEY_MANAGE_DEVICE_ADMIN); in onCreatePreferences() 77 mEnterprisePrivacyPref = findPreference(KEY_ENTERPRISE_PRIVACY); in onCreatePreferences()
|
D | CaptionFragment.java | 81 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/DeskClock/src/com/android/deskclock/settings/ |
D | SettingsActivity.kt | 107 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/Settings/tests/robotests/src/com/android/settings/notification/ |
D | SoundWorkSettingsControllerTest.java | 75 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/src/com/android/tv/settings/privacy/ |
D | PrivacyFragment.kt | 60 mOverlaySecuritySlicePreference = findPreference(KEY_OVERLAY_SECURITY) in onCreateView() 61 mSecurityPreference = findPreference(KEY_SECURITY) in onCreateView() 62 mUpdateSlicePreference = findPreference(KEY_UPDATE) in onCreateView() 63 val accountPrefCategory = findPreference<PreferenceCategory>(KEY_ACCOUNT_SETTINGS_CATEGORY) in onCreateView() 64 val assistantSlicePreference = findPreference<Preference>(KEY_ASSISTANT) in onCreateView() 65 val purchasesSlicePreference = findPreference<Preference>(KEY_PURCHASES) in onCreateView() 66 val adsPreference = findPreference<Preference>(KEY_ADS) in onCreateView() 67 val deviceLockPreference = findPreference<Preference>(KEY_DEVICE_LOCK) in onCreateView() 69 findPreference(KEY_MIC), SensorFragment.TOGGLE_EXTRA) in onCreateView() 71 findPreference(KEY_CAMERA), SensorFragment.TOGGLE_EXTRA) in onCreateView()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/ |
D | AdvancedVolumeFragmentTest.java | 75 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 …]
|
D | ResolutionSelectionFragmentTest.java | 71 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()
|
D | HdrFormatSelectionFragmentTest.java | 72 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_AUTO); in testOnPreferenceTreeClick_withAuto_allowsUserDisabledHdrTypes() 82 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_MANUAL); in testOnPreferenceTreeClick_withManual_disallowsUserDisabledHdrTypes() 102 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_MANUAL); in testOnPreferenceTreeClick_withFormatDisabled_disablesHdrTypeInDisplayManager() 105 SwitchPreference pref = (SwitchPreference) fragment.findPreference( in testOnPreferenceTreeClick_withFormatDisabled_disablesHdrTypeInDisplayManager() 130 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_MANUAL); in testOnPreferenceTreeClick_withFormatEnabled_enablesHdrTypeInDisplayManager() 133 SwitchPreference pref = (SwitchPreference) fragment.findPreference( in testOnPreferenceTreeClick_withFormatEnabled_enablesHdrTypeInDisplayManager() 157 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_MANUAL); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesInCorrectPreferenceGroup() 188 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_MANUAL); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState() 215 RadioPreference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_AUTO); in testGetPreferenceScreen_whenAuto_returnsNoFormatPreferences() 232 Preference preference = fragment.findPreference(KEY_HDR_FORMAT_SELECTION_AUTO); in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | DisplayOptionsPreferenceFragment.java | 234 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/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | TextReadingPreviewControllerTest.java | 82 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/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApplicationSettingsActivity.java | 114 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()
|
D | PerSubscriptionSettingsActivity.java | 108 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/ |
D | StorageFragment.java | 123 mMigratePref = findPreference(KEY_MIGRATE); in onCreatePreferences() 124 mEjectPref = findPreference(KEY_EJECT); in onCreatePreferences() 125 mErasePref = findPreference(KEY_ERASE); in onCreatePreferences() 127 mAppsUsagePref = (StoragePreference) findPreference(KEY_APPS_USAGE); in onCreatePreferences() 128 mDcimUsagePref = (StoragePreference) findPreference(KEY_DCIM_USAGE); in onCreatePreferences() 129 mMusicUsagePref = (StoragePreference) findPreference(KEY_MUSIC_USAGE); in onCreatePreferences() 130 mDownloadsUsagePref = (StoragePreference) findPreference(KEY_DOWNLOADS_USAGE); in onCreatePreferences() 131 mCacheUsagePref = (StoragePreference) findPreference(KEY_CACHE_USAGE); in onCreatePreferences() 132 mMiscUsagePref = (StoragePreference) findPreference(KEY_MISC_USAGE); in onCreatePreferences() 133 mAvailablePref = (StoragePreference) findPreference(KEY_AVAILABLE); in onCreatePreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/ |
D | AccessibilityFragment.java | 137 (TwoStatePreference) findPreference(TOGGLE_HIGH_TEXT_CONTRAST_KEY); in onCreatePreferences() 142 (TwoStatePreference) findPreference(TOGGLE_AUDIO_DESCRIPTION_KEY); in onCreatePreferences() 148 (TwoStatePreference) findPreference(TOGGLE_BOLD_TEXT_KEY); in onCreatePreferences() 158 ? (Preference) findPreference(COLOR_CORRECTION_TWOPANEL_KEY) in onCreatePreferences() 159 : (Preference) findPreference(COLOR_CORRECTION_CLASSIC_KEY); in onCreatePreferences() 163 mServicesPrefCategory = findPreference(AccessibilityCategory.SERVICES.getKey()); in onCreatePreferences() 164 mControlsPrefCategory = findPreference(AccessibilityCategory.INTERACTION_CONTROLS.getKey()); in onCreatePreferences() 209 PreferenceCategory prefCategory = findPreference(accessibilityCategory.getKey()); in populateServiceToPreferenceCategoryMaps() 228 Preference pref = mControlsPrefCategory.findPreference(ACCESSIBILITY_SHORTCUT_KEY); in refreshServices() 252 RestrictedPreference servicePref = findPreference(key); in refreshServices()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/vendor/ |
D | DisplayPreviewFragment.java | 79 removePreference(findPreference(KEY_RESOLUTION_TITLE)); in onCreatePreferences() 82 SwitchPreference dynamicRangePreference = findPreference(KEY_DYNAMIC_RANGE); in onCreatePreferences() 134 SwitchPreference dynamicRangePreference = findPreference(KEY_DYNAMIC_RANGE); in onResume() 150 Preference titlePreference = findPreference(KEY_RESOLUTION_TITLE); in updateResolutionTitleDescription() 163 final Preference pictureSettingPreference = findPreference(KEY_VENDOR_PICTURE); in updatePictureAndSound() 164 final Preference soundSettingPreference = findPreference(KEY_VENDOR_SOUND); in updatePictureAndSound() 179 Preference pref = findPreference(builtinSettingsKey); in updatePictureAndSound() 218 Preference dynamicRangePref = findPreference(KEY_DYNAMIC_RANGE); in createInfoFragments()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsSummary.java | 74 mMemoryInfoPrefCategory = (PreferenceCategory) findPreference(KEY_MEMORY_INFO_PREF_GROUP); in onCreate() 75 mSummaryPref = (SummaryPreference) findPreference(KEY_STATUS_HEADER); in onCreate() 76 mPerformance = findPreference(KEY_PERFORMANCE); in onCreate() 77 mTotalMemory = findPreference(KEY_TOTAL_MEMORY); in onCreate() 78 mAverageUsed = findPreference(KEY_AVERAGY_USED); in onCreate() 79 mFree = findPreference(KEY_FREE); in onCreate() 80 mAppListPreference = findPreference(KEY_APP_LIST); in onCreate() 86 (SwitchPreference) findPreference(KEY_FORCE_ENABLE_PSS_PROFILING); in onCreate()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastSettings.java | 350 findPreference(KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS); in initPreferences() 352 findPreference(KEY_ENABLE_CMAS_SEVERE_THREAT_ALERTS); in initPreferences() 354 findPreference(KEY_ENABLE_CMAS_AMBER_ALERTS); in initPreferences() 356 findPreference(KEY_ENABLE_ALERTS_MASTER_TOGGLE); in initPreferences() 358 findPreference(KEY_ENABLE_PUBLIC_SAFETY_MESSAGES); in initPreferences() 360 findPreference(KEY_ENABLE_PUBLIC_SAFETY_MESSAGES_FULL_SCREEN); in initPreferences() 362 findPreference(KEY_ENABLE_EMERGENCY_ALERTS); in initPreferences() 364 findPreference(KEY_ALERT_REMINDER_INTERVAL); in initPreferences() 366 findPreference(KEY_ENABLE_ALERT_SPEECH); in initPreferences() 368 findPreference(KEY_OVERRIDE_DND); in initPreferences() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | MainFragment.java | 209 final Preference networkPref = findPreference(KEY_NETWORK); in updateConnectivityType() 244 Preference appPref = findPreference(KEY_APPLICATIONS); in onCreatePreferences() 248 Preference accountsPref = findPreference(KEY_ACCOUNTS_AND_SIGN_IN); in onCreatePreferences() 254 Preference accessoryPreference = findPreference(KEY_ACCESSORIES); in onCreatePreferences() 260 Preference displaySoundPref = findPreference(KEY_DISPLAY_AND_SOUND); in onCreatePreferences() 264 Preference privacyPref = findPreference(KEY_PRIVACY); in onCreatePreferences() 279 final Preference networkPref = findPreference(KEY_NETWORK); in updateConnectivity() 341 final Preference soundPref = findPreference(KEY_SOUND); in updateSoundSettings() 441 (SlicePreference) findPreference(KEY_CONNECTED_DEVICES_SLICE); in updateAccessoryPref() 442 Preference accessoryPreference = findPreference(KEY_ACCESSORIES); in updateAccessoryPref() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | DisplaySoundFragment.kt | 80 findPreference<TwoStatePreference>(KEY_SOUND_EFFECTS)?.isChecked = soundEffectsEnabled in onCreateView() 90 removePreference(findPreference(KEY_RESOLUTION_TITLE)) in onCreateView() 92 val dynamicRangePreference = findPreference<SwitchPreference>(KEY_DYNAMIC_RANGE) in onCreateView() 115 findPreference<SwitchPreference>(KEY_DYNAMIC_RANGE)?.isChecked = in onResume() 147 findPreference<Preference>(KEY_CEC)?.apply{ in updateCecPreference() 161 findPreference<SlicePreference>(KEY_DEFAULT_AUDIO_OUTPUT_SETTINGS_SLICE)?.apply { in updateDefaultAudioOutputSettings() 189 findPreference<Preference>(KEY_RESOLUTION_TITLE)?.summary = summary in updateResolutionTitleDescription() 199 findPreference<Preference>(KEY_DYNAMIC_RANGE)?.fragment = in createInfoFragments()
|