Home
last modified time | relevance | path

Searched refs:expandTemplate (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Email/emailcommon/src/com/android/emailcommon/
DVendorPolicyLoader.java241 incomingUri = expandTemplate(incomingUriTemplate, email, user); in expandTemplates()
242 incomingUsername = expandTemplate(incomingUsernameTemplate, email, user); in expandTemplates()
243 outgoingUri = expandTemplate(outgoingUriTemplate, email, user); in expandTemplates()
244 outgoingUsername = expandTemplate(outgoingUsernameTemplate, email, user); in expandTemplates()
255 incomingUri = expandTemplate(altIncomingUriTemplate, email, user); in expandAlternateTemplates()
256 incomingUsername = expandTemplate(altIncomingUsernameTemplate, email, user); in expandAlternateTemplates()
257 outgoingUri = expandTemplate(altOutgoingUriTemplate, email, user); in expandAlternateTemplates()
258 outgoingUsername = expandTemplate(altOutgoingUsernameTemplate, email, user); in expandAlternateTemplates()
265 private String expandTemplate(String template, String email, String user) { in expandTemplate() method in VendorPolicyLoader.Provider
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogListItemHelper.java115 TextUtils.expandTemplate( in setActionContentDescriptions()
119 TextUtils.expandTemplate( in setActionContentDescriptions()
123 TextUtils.expandTemplate( in setActionContentDescriptions()
128 TextUtils.expandTemplate( in setActionContentDescriptions()
204 TextUtils.expandTemplate( in getCallDescription()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogEntryDescriptions.java69 TextUtils.expandTemplate( in buildDescriptionForEntry()
90 ? TextUtils.expandTemplate( in buildDescriptionForEntry()
97 : TextUtils.expandTemplate( in buildDescriptionForEntry()
145 return TextUtils.expandTemplate( in buildPhoneAccountDescription()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageWizardBase.java156 final CharSequence headerText = TextUtils.expandTemplate(getText(resId), args); in setHeaderText()
163 body.setText(TextUtils.expandTemplate(getText(resId), args)); in setBodyText()
175 .setText(TextUtils.expandTemplate( in setAuxChecklist()
181 mBack.setText(TextUtils.expandTemplate(getText(resId), args)); in setBackButtonText()
186 mNext.setText(TextUtils.expandTemplate(getText(resId), args)); in setNextButtonText()
DStorageWizardFormatConfirm.java84 builder.setTitle(TextUtils.expandTemplate( in onCreateDialog()
87 builder.setMessage(TextUtils.expandTemplate( in onCreateDialog()
95 TextUtils.expandTemplate(getText(R.string.storage_wizard_format_confirm_v2_action), in onCreateDialog()
DPrivateVolumeForget.java82 body.setText(TextUtils.expandTemplate(getText(R.string.storage_internal_forget_details), in onCreateView()
122 builder.setTitle(TextUtils.expandTemplate( in onCreateDialog()
124 builder.setMessage(TextUtils.expandTemplate( in onCreateDialog()
DStorageSettings.java209 mInternalSummary.setTitle(TextUtils.expandTemplate(getText(R.string.storage_size_large), in refresh()
449 builder.setMessage(TextUtils.expandTemplate( in onCreateDialog()
527 builder.setMessage(TextUtils.expandTemplate(getText(resId), disk.getDescription())); in onCreateDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java159 CharSequence usageText = TextUtils.expandTemplate(template, usageNumberText, in getUsageText()
167 return TextUtils.expandTemplate( in getLimitText()
172 return TextUtils.expandTemplate(getContext().getText(R.string.cell_data_warning), in getLimitText()
175 return TextUtils.expandTemplate(getContext().getText(R.string.cell_data_limit), in getLimitText()
216 return TextUtils.expandTemplate(getContext().getText(textResourceId), mCarrierName, in getCarrierInfoText()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardBase.java156 final CharSequence headerText = TextUtils.expandTemplate(getText(resId), args); in setHeaderText()
163 body.setText(TextUtils.expandTemplate(getText(resId), args)); in setBodyText()
175 .setText(TextUtils.expandTemplate( in setAuxChecklist()
181 mBack.setText(TextUtils.expandTemplate(getText(resId), args)); in setBackButtonText()
186 mNext.setText(TextUtils.expandTemplate(getText(resId), args)); in setNextButtonText()
DStorageWizardFormatConfirm.java84 builder.setTitle(TextUtils.expandTemplate( in onCreateDialog()
87 builder.setMessage(TextUtils.expandTemplate( in onCreateDialog()
95 TextUtils.expandTemplate(getText(R.string.storage_wizard_format_confirm_v2_action), in onCreateDialog()
DPrivateVolumeForget.java82 body.setText(TextUtils.expandTemplate(getText(R.string.storage_internal_forget_details), in onCreateView()
122 builder.setTitle(TextUtils.expandTemplate( in onCreateDialog()
124 builder.setMessage(TextUtils.expandTemplate( in onCreateDialog()
DStorageSettings.java209 mInternalSummary.setTitle(TextUtils.expandTemplate(getText(R.string.storage_size_large), in refresh()
449 builder.setMessage(TextUtils.expandTemplate( in onCreateDialog()
527 builder.setMessage(TextUtils.expandTemplate(getText(resId), disk.getDescription())); in onCreateDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java158 TextUtils.expandTemplate(mContext.getText(R.string.cell_data_limit), in refreshUi_hasLimit_setsDataLimitText()
174 TextUtils.expandTemplate(mContext.getText(R.string.cell_data_warning), in refreshUi_hasWarning_setsDataLimitText()
190 TextUtils.expandTemplate(mContext.getText(R.string.cell_data_warning_and_limit), in refreshUi_hasWarningAndLimit_setsDataLimitText()
255 TextUtils.expandTemplate(mContext.getText(R.string.carrier_and_update_now_text), in refreshUi_hasCarrierName_hasRecentUpdate_setsCarrierInfoText()
274 TextUtils.expandTemplate(mContext.getText(R.string.carrier_and_update_text), in refreshUi_hasCarrierName_hasOldUpdate_setsCarrierInfoText()
307 TextUtils.expandTemplate(mContext.getText(R.string.no_carrier_update_text), in refreshUi_noCarrierName_hasOldUpdate_setsCarrierInfoText()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreference.java250 TextUtils.expandTemplate(template, usageNumberText, usedResult.units); in updateDataUsageLabels()
261 TextUtils.expandTemplate(getContext().getText(R.string.data_remaining), in updateDataUsageLabels()
267 TextUtils.expandTemplate(getContext().getText(R.string.data_overusage), in updateDataUsageLabels()
323 carrierInfo.setText(TextUtils.expandTemplate(
DDataUsageSummaryPreferenceController.java228 summaryPreference.setLimitInfo(TextUtils.expandTemplate( in updateState()
233 summaryPreference.setLimitInfo(TextUtils.expandTemplate( in updateState()
237 summaryPreference.setLimitInfo(TextUtils.expandTemplate( in updateState()
DDataUsageSummary.java225 final CharSequence formattedUsage = TextUtils.expandTemplate(amountTemplate, in formatUsage()
230 return TextUtils.expandTemplate(fullTemplate, in formatUsage()
297 TextUtils.expandTemplate(wifiFormat, sizeText)); in setListening()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreference.java250 TextUtils.expandTemplate(template, usageNumberText, usedResult.units); in updateDataUsageLabels()
261 TextUtils.expandTemplate(getContext().getText(R.string.data_remaining), in updateDataUsageLabels()
267 TextUtils.expandTemplate(getContext().getText(R.string.data_overusage), in updateDataUsageLabels()
323 carrierInfo.setText(TextUtils.expandTemplate(
DDataUsageSummary.java214 final CharSequence formattedUsage = TextUtils.expandTemplate(amountTemplate, in formatUsage()
219 return TextUtils.expandTemplate(fullTemplate, in formatUsage()
286 TextUtils.expandTemplate(wifiFormat, sizeText)); in setListening()
DDataUsageSummaryPreferenceController.java227 summaryPreference.setLimitInfo(TextUtils.expandTemplate( in updateState()
232 summaryPreference.setLimitInfo(TextUtils.expandTemplate( in updateState()
236 summaryPreference.setLimitInfo(TextUtils.expandTemplate( in updateState()
/packages/apps/Settings/src/com/android/settings/
DSummaryPreference.java56 setTitle(TextUtils.expandTemplate(getContext().getText(R.string.storage_size_large), in setAmount()
64 setTitle(TextUtils.expandTemplate(getContext().getText(R.string.storage_size_large), in setUnits()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSummaryPreference.java56 setTitle(TextUtils.expandTemplate(getContext().getText(R.string.storage_size_large), in setAmount()
64 setTitle(TextUtils.expandTemplate(getContext().getText(R.string.storage_size_large), in setUnits()
/packages/apps/Tag/src/com/android/apps/tag/record/
DVCardRecord.java96 String description = TextUtils.expandTemplate(template, getDisplayName()).toString(); in getView()
104 return TextUtils.expandTemplate(template, getDisplayName()).toString(); in getSnippet()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerSetupView.java77 mTimeTemplate = TextUtils.expandTemplate("^1^4 ^2^5 ^3^6", in TimerSetupView()
210 mTimeView.setText(TextUtils.expandTemplate(mTimeTemplate, in updateTime()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetail.java252 TextUtils.expandTemplate(getText(R.string.battery_used_for), in initPreference()
255 TextUtils.expandTemplate(getText(R.string.battery_active_for), in initPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DAdvancedPowerUsageDetail.java252 TextUtils.expandTemplate(getText(R.string.battery_used_for), in initPreference()
255 TextUtils.expandTemplate(getText(R.string.battery_active_for), in initPreference()

123