Home
last modified time | relevance | path

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

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DMessageFormat.java418 public final java.text.MessageFormat messageFormat; field in MessageFormat
426 this.messageFormat = delegate; in MessageFormat()
490 messageFormat.setLocale(locale); in setLocale()
504 messageFormat.setLocale(locale.toLocale()); in setLocale()
514 return messageFormat.getLocale(); in getLocale()
524 return ULocale.forLocale(messageFormat.getLocale()); in getULocale()
542 messageFormat.applyPattern(pttrn); in applyPattern()
543 wrapNestedFormatters(messageFormat); in applyPattern()
583 String pattern = savedPattern == null ? messageFormat.toPattern() : savedPattern; in toPattern()
615 messageFormat.setFormatsByArgumentIndex(newFormats); in setFormatsByArgumentIndex()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java425 final MessageFormat messageFormat = new MessageFormat(pattern, locale); in put() local
426 pair[style] = messageFormat; in put()
504 final MessageFormat messageFormat = new MessageFormat(pattern, locale); in searchInTree() local
510 pair[styl] = messageFormat; in searchInTree()
529 MessageFormat messageFormat = null; in searchInTree() local
531 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_SECOND, locale); in searchInTree()
533 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_MINUTE, locale); in searchInTree()
535 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_HOUR, locale); in searchInTree()
537 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_WEEK, locale); in searchInTree()
539 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_DAY, locale); in searchInTree()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java423 final MessageFormat messageFormat = new MessageFormat(pattern, locale); in put() local
424 pair[style] = messageFormat; in put()
502 final MessageFormat messageFormat = new MessageFormat(pattern, locale); in searchInTree() local
508 pair[styl] = messageFormat; in searchInTree()
527 MessageFormat messageFormat = null; in searchInTree() local
529 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_SECOND, locale); in searchInTree()
531 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_MINUTE, locale); in searchInTree()
533 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_HOUR, locale); in searchInTree()
535 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_WEEK, locale); in searchInTree()
537 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_DAY, locale); in searchInTree()
[all …]
/external/guice/core/src/com/google/inject/internal/
DMessages.java69 public static String format(String messageFormat, Object... arguments) { in format() argument
73 return String.format(messageFormat, arguments); in format()
125 public static Message create(String messageFormat, Object... arguments) { in create() argument
126 return create(null, messageFormat, arguments); in create()
136 public static Message create(Throwable cause, String messageFormat, Object... arguments) { in create() argument
137 return create(cause, ImmutableList.of(), messageFormat, arguments); in create()
149 Throwable cause, List<Object> sources, String messageFormat, Object... arguments) { in create() argument
150 String message = format(messageFormat, arguments); in create()
DErrors.java512 public Errors errorInUserCode(Throwable cause, String messageFormat, Object... arguments) { in errorInUserCode() argument
518 return addMessage(cause, messageFormat, arguments); in errorInUserCode()
611 public Errors addMessage(String messageFormat, Object... arguments) { in addMessage() argument
612 return addMessage(null, messageFormat, arguments); in addMessage()
615 private Errors addMessage(Throwable cause, String messageFormat, Object... arguments) { in addMessage() argument
616 addMessage(Messages.create(cause, getSources(), messageFormat, arguments)); in addMessage()
629 public static String format(String messageFormat, Object... arguments) { in format() argument
630 return Messages.format(messageFormat, arguments); in format()
DInternalProvisionException.java89 Throwable cause, String messageFormat, Object... arguments) { in errorInUserCode() argument
96 return new InternalProvisionException(Messages.create(cause, messageFormat, arguments)); in errorInUserCode()
/external/antlr/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
DAntlr3Mojo.java133 protected String messageFormat; field in Antlr3Mojo
287 log.debug("ANTLR: messageFormat : " + messageFormat); in execute()
325 tool.setMessageFormat(messageFormat); in execute()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DProviderChecker.java106 private static void checkArgument(boolean condition, String messageFormat, Object... args) { in checkArgument() argument
108 throw new IllegalArgumentException(Errors.format(messageFormat, args)); in checkArgument()
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp426 LocalPointer<MessageFormat> messageFormat(new MessageFormat( in put() local
448 formatters[style] = messageFormat.orphan(); in put()
575 LocalPointer<MessageFormat> messageFormat( in searchInLocaleChain() local
593 formatters[style] = messageFormat.orphan(); in searchInLocaleChain()
627 LocalPointer<MessageFormat> messageFormat; in searchInLocaleChain() local
645 messageFormat.adoptInsteadAndCheckErrorCode( in searchInLocaleChain()
666 formatters[style] = messageFormat.orphan(); in searchInLocaleChain()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckCLDR.java741 private String messageFormat; field in CheckCLDR.CheckStatus
770 String message = messageFormat; in getMessage()
771 if (messageFormat != null && parameters != null) { in getMessage()
773 String fixedApos = MessageFormat.autoQuoteApostrophe(messageFormat); in getMessage()
777 message = messageFormat; in getMessage()
778 … System.err.println("MessageFormat Failure: " + subtype + "; " + messageFormat + "; " in getMessage()
815 this.messageFormat = message; in setMessage()
824 this.messageFormat = message; in setMessage()
/external/caliper/caliper/src/main/java/com/google/caliper/platform/jvm/
DJvmPlatform.java202 private static void checkConfiguration(boolean check, String messageFormat, Object... args)
205 throw new VirtualMachineException(String.format(messageFormat, args));
/external/replicaisland/src/com/replica/replicaisland/
DMainMenuActivity.java356 String messageFormat = getResources().getString(R.string.control_setup_dialog_message); in onCreateDialog() local
357 String message = String.format(messageFormat, mSelectedControlsString); in onCreateDialog()