Home
last modified time | relevance | path

Searched refs:formatString (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DTapAgainDialog.java86 String formatString = getString(com.android.nfc.R.string.tap_again_to_pay); in onCreate() local
87 tv.setText(String.format(formatString, description)); in onCreate()
89 String formatString = getString(com.android.nfc.R.string.tap_again_to_complete); in onCreate() local
90 tv.setText(String.format(formatString, description)); in onCreate()
DAppChooserActivity.java120 String formatString = getString(com.android.nfc.R.string.transaction_failure); in onCreate() local
122 ap.mMessage = String.format(formatString, applicationLabel); in onCreate()
128 String formatString = getString(com.android.nfc.R.string.could_not_use_app); in onCreate() local
129 ap.mTitle = String.format(formatString, applicationLabel); in onCreate()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DHierarchicalFolderSelectorAdapter.java108 final int formatString; in truncateHierarchy() local
110 formatString = R.string.hierarchical_folder_parent_top_ellip; in truncateHierarchy()
112 formatString = R.string.hierarchical_folder_parent_top; in truncateHierarchy()
114 display.append(mContext.getResources().getString(formatString, topParentName, in truncateHierarchy()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentDefaultDialog.java116 String formatString = getString(R.string.nfc_payment_set_default); in buildDialog() local
117 String msg = String.format(formatString, in buildDialog()
121 String formatString = getString(R.string.nfc_payment_set_default_instead_of); in buildDialog() local
122 String msg = String.format(formatString, in buildDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DPaymentDefaultDialog.java116 String formatString = getString(R.string.nfc_payment_set_default); in buildDialog() local
117 String msg = String.format(formatString, in buildDialog()
121 String formatString = getString(R.string.nfc_payment_set_default_instead_of); in buildDialog() local
122 String msg = String.format(formatString, in buildDialog()
/packages/services/Telecomm/src/com/android/server/telecom/
DRespondViaSmsManager.java158 final String formatString = res.getString(success in showMessageResultToast() local
161 final String confirmationMsg = String.format(formatString, phoneNumber); in showMessageResultToast()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerStringFormatter.java118 public static String formatString(Context context, @StringRes int stringResId, long currentTime, in formatString() method in TimerStringFormatter
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerItemFragment.java109 v.announceForAccessibility(TimerStringFormatter.formatString( in onClick()
DTimerFragment.java346 mTimersView.announceForAccessibility(TimerStringFormatter.formatString( in onFabClick()
355 mTimersView.announceForAccessibility(TimerStringFormatter.formatString( in onFabClick()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java1468 final String formatString = context.getResources().getString( in getSingleMessageInboxLine() local
1474 final String instantiatedString = String.format(formatString, in getSingleMessageInboxLine()
1480 final boolean isOrderReversed = formatString.indexOf("%2$s") < in getSingleMessageInboxLine()
1481 formatString.indexOf("%1$s"); in getSingleMessageInboxLine()
DUtils.java219 final CharSequence formatString = context.getResources().getQuantityText(resource, count); in formatPlural() local
220 return String.format(formatString.toString(), count); in formatPlural()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java1154 String formatString = context.getResources().getString(R.string.filtered_tag); in filterTag() local
1159 result = String.format(formatString, Utils.ellipsize(tag, 7), in filterTag()