/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | TextViewPreference.java | 108 setTitle(textResourceId); in onBindView() 110 setTitle(text); in onBindView() 112 setTitle(getTitleRes()); in onBindView() 122 public void setTitle(CharSequence text) { in setTitle() method in TextViewPreference 139 public void setTitle(int textResId) { in setTitle() method in TextViewPreference 141 setTitle(getContext().getString(textResId)); in setTitle()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | TextViewPreference.java | 112 setTitle(mTextResourceId); in onBindView() 114 setTitle(mText); in onBindView() 116 setTitle(getTitleRes()); in onBindView() 126 public void setTitle(CharSequence text) { in setTitle() method in TextViewPreference 143 public void setTitle(int textResId) { in setTitle() method in TextViewPreference 145 setTitle(Html.fromHtml(getContext().getString(textResId), Html.FROM_HTML_MODE_COMPACT)); in setTitle()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/ |
D | SliceDataTest.java | 47 .setTitle(TITLE) in testBuilder_buildsMatchingObject() 78 .setTitle(TITLE) in testBuilder_noKey_throwsIllegalStateException() 118 .setTitle(TITLE) in testBuilder_noPrefController_throwsIllegalStateException() 131 .setTitle(TITLE) in testBuilder_noSubtitle_buildsMatchingObject() 154 .setTitle(TITLE) in testBuilder_noScreenTitle_buildsMatchingObject() 177 .setTitle(TITLE) in testBuilder_noIcon_buildsMatchingObject() 200 .setTitle(TITLE) in testBuilder_noUri_buildsMatchingObject() 224 .setTitle(TITLE) in testEquality_identicalObjects() 243 .setTitle(TITLE) in testEquality_matchingKey_EqualObjects() 253 builder.setTitle(TITLE + " diff") in testEquality_matchingKey_EqualObjects() [all …]
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintJobPreferenceController.java | 52 mPreference.setTitle(mContext.getString( in updateUi() 59 mPreference.setTitle(mContext.getString( in updateUi() 62 mPreference.setTitle(mContext.getString( in updateUi() 69 mPreference.setTitle(mContext.getString( in updateUi() 76 mPreference.setTitle(mContext.getString( in updateUi() 79 mPreference.setTitle(mContext.getString( in updateUi()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | LogicalRootPreferenceGroupTest.java | 53 preference.setTitle("Title1"); in addPreference_toParent_notToGroup() 67 preference0.setTitle("Title0"); in injectPreferencesToParent_whenOrderingAsAdded() 72 insertedPreference1.setTitle("Title1"); in injectPreferencesToParent_whenOrderingAsAdded() 76 insertedPreference2.setTitle("Title2"); in injectPreferencesToParent_whenOrderingAsAdded() 103 preference0.setTitle("Title1"); in injectPreferencesToParent_NotOrderingAsAdded_fail() 108 appendedPreference.setTitle("Title2"); in injectPreferencesToParent_NotOrderingAsAdded_fail()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserDialogs.java | 66 builder.setTitle(dpm.getResources().getString(WORK_PROFILE_CONFIRM_REMOVE_TITLE, in createRemoveDialog() 76 builder.setTitle(R.string.user_confirm_remove_self_title); in createRemoveDialog() 79 builder.setTitle(R.string.user_profile_confirm_remove_title); in createRemoveDialog() 82 builder.setTitle(R.string.user_confirm_remove_title); in createRemoveDialog() 141 .setTitle(R.string.user_enable_calling_and_sms_confirm_title) in createEnablePhoneCallsAndSmsDialog() 156 .setTitle(com.android.settingslib.R.string.user_setup_dialog_title) in createSetupUserDialog() 176 .setTitle(com.android.settingslib.R.string.guest_reset_guest_dialog_title) in createResetGuestDialog() 197 .setTitle(com.android.settingslib.R.string.guest_remove_guest_dialog_title) in createRemoveGuestDialog()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfilesDialogProvider.java | 61 .setTitle(R.string.user_add_user_title) in getConfirmCreateNewProfileDialogFragment() 75 .setTitle(R.string.exit_retail_mode_dialog_title) in getConfirmExitRetailModeDialogFragment() 90 .setTitle(R.string.user_limit_reached_title) in getMaxProfilesLimitReachedDialogFragment() 109 .setTitle(R.string.grant_admin_permissions_title) in getConfirmGrantAdminDialogFragment() 133 .setTitle(R.string.delete_last_user_dialog_title) in getConfirmRemoveLastProfileDialogFragment() 153 .setTitle(R.string.choose_new_admin_title) in getConfirmRemoveLastAdminDialogFragment() 172 .setTitle(R.string.delete_user_dialog_title) in getConfirmRemoveProfileDialogFragment()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/ |
D | DialogManager.java | 59 .setTitle(R.string.settingsUI_dialog_opt_out_title) in showOptOutDialog() 86 .setTitle( in showBlockTopicDialog() 108 .setTitle( in showUnblockTopicDialog() 139 .setTitle(R.string.settingsUI_dialog_reset_topic_title) in showResetTopicDialog() 171 .setTitle(context.getString(R.string.settingsUI_dialog_block_app_title, appName)) in showBlockAppDialog() 191 .setTitle(context.getString(R.string.settingsUI_dialog_unblock_app_title, appName)) in showUnblockAppDialog() 223 .setTitle(R.string.settingsUI_dialog_reset_app_title) in showResetAppDialog()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | LinkablePreference.java | 107 super.setTitle(contentTitle); in setText() 114 public void setTitle(int titleResId) { in setTitle() method in LinkablePreference 117 super.setTitle(titleResId); in setTitle() 124 public void setTitle(CharSequence title) { in setTitle() method in LinkablePreference 127 super.setTitle(title); in setTitle()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeBehaviorFooterPreferenceControllerTest.java | 130 verify(mockPref).setTitle(mContext.getString(mTitleResId)); in zenModeOff_updateState_noFooterTitle() 138 verify(mockPref).setTitle(mContext.getString(mTitleResId)); in zenModeImportantInterruptions_updateState_noFooterTitle() 151 verify(mockPref).setTitle(mContext.getString( in deprecatedZenModeAlarms_qsManualRule_setFooterTitle() 167 verify(mockPref).setTitle(mContext.getString( in deprecatedZenModeAlarms_appManualRule_setFooterTitle() 181 verify(mockPref).setTitle(mContext.getString( in deprecatedZenModeNoInterruptions_qsManualRule_setFooterTitle() 197 verify(mockPref).setTitle(mContext.getString( in deprecatedZenModeNoInterruptions_appManualRule_setFooterTitle() 217 verify(mockPref).setTitle(mContext.getString( in deprecatedZenModeAlarms_automaticRule_setFooterTitle() 237 verify(mockPref).setTitle(mContext.getString( in deprecatedZenModeNoInterruptions_automaticRule_setFooterTitle()
|
D | ZenModeSettingsFooterPreferenceControllerTest.java | 135 verify(mockPref).setTitle(mContext.getString( in testDefaultNotifPolicy_app_manualRule_setFooterTitle() 147 verify(mockPref).setTitle(mContext.getString( in testDefaultNotifPolicy_time_manualRule_setFooterTitle() 157 verify(mockPref).setTitle(mContext.getString( in testDefaultNotifPolicy_forever_manualRule_setFooterTitle() 172 verify(mockPref).setTitle(mContext.getString( in testDefaultNotifPolicy_automaticRule_noManualRule_setFooterTitle() 189 verify(mockPref).setTitle(mContext.getString( in testDefaultNotifPolicy_manualRuleEndsLast_hasAutomaticRule_setFooterTitle() 206 verify(mockPref).setTitle(mContext.getString( in testDefaultNotifPolicy_automaticRuleEndsLast_hasManualRule_setFooterTitle() 228 verify(mockPref).setTitle(mContext.getString( in testDefaultNotifPolicy_multipleAutomaticRules_autoRuleApp_setFooterTitle() 250 verify(mockPref).setTitle(mContext.getString( in testDefaultNotifPolicy_multipleAutomaticRules_setFooterTitle()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/inputmethod/ |
D | KeyboardFragmentTest.java | 103 verify(mPreferenceScreen, atLeastOnce()).setTitle(R.string.system_keyboard); in testUpdateAutofillSettings_noCandiate() 104 verify(mPreferenceScreen, never()).setTitle(R.string.system_keyboard_autofill); in testUpdateAutofillSettings_noCandiate() 123 verify(mPreferenceScreen, atLeastOnce()).setTitle(R.string.system_keyboard_autofill); in testUpdateAutofillSettings_selected() 124 verify(mPreferenceScreen, never()).setTitle(R.string.system_keyboard); in testUpdateAutofillSettings_selected() 145 verify(mPreferenceScreen, atLeastOnce()).setTitle(R.string.system_keyboard_autofill); in testUpdateAutofillSettings_selectedNone() 146 verify(mPreferenceScreen, never()).setTitle(R.string.system_keyboard); in testUpdateAutofillSettings_selectedNone()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/ |
D | DevicePrefFragmentTest.java | 139 verify(castPref, atLeastOnce()).setTitle("Test Name"); in testUpdateCastSettings() 150 verify(autofillPref, atLeastOnce()).setTitle(R.string.system_keyboard); in testUpdateAutofillSettings_noCandiate() 151 verify(autofillPref, never()).setTitle(R.string.system_keyboard_autofill); in testUpdateAutofillSettings_noCandiate() 171 verify(autofillPref, atLeastOnce()).setTitle(R.string.system_keyboard_autofill); in testUpdateAutofillSettings_selected() 172 verify(autofillPref, never()).setTitle(R.string.system_keyboard); in testUpdateAutofillSettings_selected() 193 verify(autofillPref, atLeastOnce()).setTitle(R.string.system_keyboard_autofill); in testUpdateAutofillSettings_selectedNone() 194 verify(autofillPref, never()).setTitle(R.string.system_keyboard); in testUpdateAutofillSettings_selectedNone()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | NotificationsOffPreferenceController.java | 62 preference.setTitle(R.string.channel_notifications_off_desc); in updateState() 64 preference.setTitle(R.string.channel_group_notifications_off_desc); in updateState() 66 preference.setTitle(R.string.app_notifications_not_send_desc); in updateState() 68 preference.setTitle(R.string.app_notifications_off_desc); in updateState()
|
D | ChannelListPreferenceController.java | 126 groupCategory.setTitle(R.string.notification_channels); in updateFullList() 127 groupCategory.getPreference(0).setTitle(R.string.no_channels); in updateFullList() 133 groupCategory.setTitle(R.string.notification_channels); in updateFullList() 138 empty.setTitle(R.string.no_channels); in updateFullList() 242 groupPrefGroup.setTitle(R.string.notification_channels_other); in updateGroupPreferences() 246 groupPrefGroup.setTitle(group.getName()); in updateGroupPreferences() 310 preference.setTitle(mContext.getString( in addOrUpdateGroupToggle() 343 channelPref.setTitle(channel.getName()); in updateSingleChannelPrefs()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | ConnectedDevicesSliceProvider.java | 204 .setTitle(getString(R.string.connected_devices_slice_pref_title)) in createGeneralSlice() 228 .setTitle(deviceName) in createBluetoothDeviceSlice() 241 .setTitle(getString((isConnected in createBluetoothDeviceSlice() 278 .setTitle(getString(R.string.bluetooth_rename_action_title)) in createBluetoothDeviceSlice() 309 .setTitle(getString(R.string.bluetooth_forget_action_title)) in createBluetoothDeviceSlice() 375 .setTitle(getString(R.string.bluetooth_toggle_title)) in updateBluetoothToggle() 409 .setTitle(getString(R.string.bluetooth_pair_accessory)) in updatePairingButton() 457 .setTitle(getContext().getString(R.string.bluetooth_known_devices_category)) in updateConnectedDevices() 475 .setTitle(getString(R.string.bluetooth_official_remote_category))); in updateOfficialRemoteSettings() 480 .setTitle(getString(R.string.bluetooth_ir_entry_title)) in updateOfficialRemoteSettings() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/ |
D | DeveloperOptionsFragment.java | 116 getActivity().setTitle("Developer Options"); in onCreatePreferences() 197 category.setTitle(title); in newCategory() 312 launchTutorialStepMenuPreference.setTitle("Launch Gesture Tutorial Steps menu"); in maybeAddSandboxCategory() 321 launchOnboardingTutorialPreference.setTitle("Launch Onboarding Tutorial"); in maybeAddSandboxCategory() 336 launchBackTutorialPreference.setTitle("Launch Back Tutorial"); in maybeAddSandboxCategory() 347 launchHomeTutorialPreference.setTitle("Launch Home Tutorial"); in maybeAddSandboxCategory() 358 launchOverviewTutorialPreference.setTitle("Launch Overview Tutorial"); in maybeAddSandboxCategory() 369 launchSecondaryDisplayPreference.setTitle("Launch Secondary Display"); in maybeAddSandboxCategory() 385 onboardingPref.setTitle(title); in addOnboardingPrefsCatergory() 405 thresholdPref.setTitle("Threshold to open All Apps from Overview"); in addAllAppsFromOverviewCatergory() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/ |
D | SensorFragment.java | 102 screen.setTitle(mToggle.screenTitle); in onCreatePreferences() 127 mPhysicalPrivacyEnabledInfo.setTitle(mToggle.physicalPrivacyEnabledInfoTitle); in addPhysicalPrivacyEnabledInfo() 154 mSensorToggle.setTitle(mToggle.toggleTitle); in addSensorToggleWithInfo() 218 recentRequests.setTitle(R.string.recently_accessed_by_category); in addRecentAppsGroup() 231 pref.setTitle(app.mLabel); in addRecentAppsGroup() 245 showAllRecent.setTitle(R.string.recently_accessed_show_all); in addRecentAppsGroup() 269 openPermissionController.setTitle(mToggle.appPermissionsTitle); in addPermissionControllerPreference()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/ |
D | ProgramItemViewTest.java | 177 new ProgramImpl.Builder(baseProgram).setTitle("A good program").build(); in setValue_programTitle() 188 .setTitle("A good program") in setValue_programDescriptionBlocked() 202 .setTitle("A good program") in setValue_programEpisode() 216 .setTitle("A good program") in setValue_programEpisodeAndDescrition() 232 new ProgramImpl.Builder(baseProgram).setTitle("A good program").build(); in setValue_scheduledConflict() 247 new ProgramImpl.Builder(baseProgram).setTitle("A good program").build(); in setValue_scheduled() 264 new ProgramImpl.Builder(baseProgram).setTitle("A good program").build(); in setValue_recordingInProgress()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | AppbarFragment.java | 140 setTitle(title); in setUpToolbar() 225 protected void setTitle(CharSequence title) { in setTitle() method in AppbarFragment 230 mToolbar.setTitle(null); in setTitle() 234 mToolbar.setTitle(title); in setTitle() 241 getActivity().setTitle(TextUtils.isEmpty(accessibilityTitle) ? title in setTitle()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/ |
D | HdrFormatSelectionState.java | 107 mHdrFormatSelectionAuto.setTitle( in onCreate() 117 mHdrFormatSelectionManual.setTitle( in onCreate() 172 pref.setTitle(title); in createFormatInfo() 255 pref.setTitle(ResourcesUtil.getString(mContext, "hdr_show_formats")); in onPreferenceTreeClick() 258 pref.setTitle(ResourcesUtil.getString(mContext, "hdr_hide_formats")); in onPreferenceTreeClick() 340 preferenceCategory.setTitle(ResourcesUtil.getString(mContext, valueName)); in createPreferenceCategory() 347 preference.setTitle(ResourcesUtil.getString(mContext, titleResourceId)); in createPreference()
|
D | AdvancedVolumeState.java | 122 mSurroundSoundAuto.setTitle(ResourcesUtil.getString(mContext, "surround_sound_auto_title")); in onCreate() 128 mSurroundSoundNone.setTitle(ResourcesUtil.getString(mContext, "surround_sound_none_title")); in onCreate() 134 mSurroundSoundManual.setTitle( in onCreate() 208 pref.setTitle(ResourcesUtil.getString(mContext, "surround_sound_show_formats")); in onPreferenceTreeClick() 211 pref.setTitle(ResourcesUtil.getString(mContext, "surround_sound_hide_formats")); in onPreferenceTreeClick() 316 pref.setTitle(title); in createFormatInfoPreferences() 396 preferenceCategory.setTitle(ResourcesUtil.getString(mContext, valueName)); in createPreferenceCategory() 402 preference.setTitle(ResourcesUtil.getString(mContext, titleResourceId)); in createPreference()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | LocationFragment.java | 101 screen.setTitle(R.string.system_location); in onCreatePreferences() 109 mLocationMode.setTitle(R.string.location_status); in onCreatePreferences() 136 mRestrictedLocationMode.setTitle(R.string.location_status); in onCreatePreferences() 143 mAlwaysScan.setTitle(R.string.wifi_setting_always_scan); in onCreatePreferences() 150 recentRequests.setTitle(R.string.location_category_recent_location_requests); in onCreatePreferences() 158 pref.setTitle(request.label); in onCreatePreferences() 185 banner.setTitle(R.string.location_no_recent_apps); in onCreatePreferences()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationSettingsFooterPreferenceControllerTest.java | 147 verify(mFooterPreference).setTitle(title.capture()); in updateState_setTitle() 159 verify(mFooterPreference).setTitle(any()); in onLocationModeChanged_off_setTitle() 162 verify(mFooterPreference, times(2)).setTitle(title.capture()); in onLocationModeChanged_off_setTitle() 177 verify(mFooterPreference).setTitle(any()); in onLocationModeChanged_on_setTitle() 180 verify(mFooterPreference, times(2)).setTitle(title.capture()); in onLocationModeChanged_on_setTitle() 194 verify(mFooterPreference, never()).setTitle(anyChar()); in updateState_notSystemApp_ignore()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherFooterPreferenceControllerTest.java | 79 verify(mPreference, never()).setTitle(R.string.tethering_footer_info); in displayPreference_supportStaAp_showConcurrentInfo() 80 verify(mPreference).setTitle(R.string.tethering_footer_info_sta_ap_concurrency); in displayPreference_supportStaAp_showConcurrentInfo() 89 verify(mPreference).setTitle(R.string.tethering_footer_info); in displayPreference_notSupportStaAp_showNotConcurrentInfo() 90 verify(mPreference, never()).setTitle(R.string.tethering_footer_info_sta_ap_concurrency); in displayPreference_notSupportStaAp_showNotConcurrentInfo()
|