/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RelativeDateTimeFormatter.java | 349 DisplayContext capitalizationContext) { in getInstance() argument 363 capitalizationContext, in getInstance() 364 capitalizationContext == DisplayContext.CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE ? in getInstance() 518 return capitalizationContext; in getCapitalizationContext() 551 DisplayContext capitalizationContext, in RelativeDateTimeFormatter() argument 560 if (capitalizationContext.type() != DisplayContext.Type.CAPITALIZATION) { in RelativeDateTimeFormatter() 561 throw new IllegalArgumentException(capitalizationContext.toString()); in RelativeDateTimeFormatter() 563 this.capitalizationContext = capitalizationContext; in RelativeDateTimeFormatter() 609 private final DisplayContext capitalizationContext; field in RelativeDateTimeFormatter
|
D | ChineseDateFormat.java | 124 int fieldNum, DisplayContext capitalizationContext, in subFormat() argument 131 super.subFormat(buf, ch, count, beginOffset, fieldNum, capitalizationContext, pos, cal); in subFormat()
|
D | SimpleDateFormat.java | 1309 private StringBuffer format(Calendar cal, DisplayContext capitalizationContext, in format() argument 1332 i, capitalizationContext, pos, cal); in format() 1335 i, capitalizationContext, pos, cal)); in format() 1493 int fieldNum, DisplayContext capitalizationContext, in subFormat() argument 1498 subFormat(buf, ch, count, beginOffset, fieldNum, capitalizationContext, pos, cal); in subFormat() 1518 int fieldNum, DisplayContext capitalizationContext, in subFormat() argument 1869 …if (fieldNum == 0 && capitalizationContext != null && UCharacter.isLowerCase(buf.codePointAt(bufst… in subFormat() 1871 switch (capitalizationContext) { in subFormat() 1879 … titlecase = (capitalizationContext==DisplayContext.CAPITALIZATION_FOR_UI_LIST_OR_MENU)? in subFormat()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RelativeDateTimeFormatter.java | 311 DisplayContext capitalizationContext) { in getInstance() argument 325 capitalizationContext, in getInstance() 326 capitalizationContext == DisplayContext.CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE ? in getInstance() 473 return capitalizationContext; in getCapitalizationContext() 504 DisplayContext capitalizationContext, in RelativeDateTimeFormatter() argument 513 if (capitalizationContext.type() != DisplayContext.Type.CAPITALIZATION) { in RelativeDateTimeFormatter() 514 throw new IllegalArgumentException(capitalizationContext.toString()); in RelativeDateTimeFormatter() 516 this.capitalizationContext = capitalizationContext; in RelativeDateTimeFormatter() 562 private final DisplayContext capitalizationContext; field in RelativeDateTimeFormatter
|
D | ChineseDateFormat.java | 126 int fieldNum, DisplayContext capitalizationContext, in subFormat() argument 133 super.subFormat(buf, ch, count, beginOffset, fieldNum, capitalizationContext, pos, cal); in subFormat()
|
D | SimpleDateFormat.java | 1300 private StringBuffer format(Calendar cal, DisplayContext capitalizationContext, in format() argument 1323 i, capitalizationContext, pos, cal); in format() 1326 i, capitalizationContext, pos, cal)); in format() 1482 int fieldNum, DisplayContext capitalizationContext, in subFormat() argument 1487 subFormat(buf, ch, count, beginOffset, fieldNum, capitalizationContext, pos, cal); in subFormat() 1508 int fieldNum, DisplayContext capitalizationContext, in subFormat() argument 1859 …if (fieldNum == 0 && capitalizationContext != null && UCharacter.isLowerCase(buf.codePointAt(bufst… in subFormat() 1861 switch (capitalizationContext) { in subFormat() 1869 … titlecase = (capitalizationContext==DisplayContext.CAPITALIZATION_FOR_UI_LIST_OR_MENU)? in subFormat()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | RelativeDateFormat.java | 111 DisplayContext capitalizationContext = getContext(DisplayContext.Type.CAPITALIZATION); in format() local 126 … (capitalizationContext == DisplayContext.CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE || in format() 127 …(capitalizationContext == DisplayContext.CAPITALIZATION_FOR_UI_LIST_OR_MENU && capitalizationOfRel… in format() 128 …(capitalizationContext == DisplayContext.CAPITALIZATION_FOR_STANDALONE && capitalizationOfRelative… in format() 139 fDateTimeFormat.setContext(capitalizationContext); in format()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | RelativeDateFormat.java | 113 DisplayContext capitalizationContext = getContext(DisplayContext.Type.CAPITALIZATION); in format() local 128 … (capitalizationContext == DisplayContext.CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE || in format() 129 …(capitalizationContext == DisplayContext.CAPITALIZATION_FOR_UI_LIST_OR_MENU && capitalizationOfRel… in format() 130 …(capitalizationContext == DisplayContext.CAPITALIZATION_FOR_STANDALONE && capitalizationOfRelative… in format() 141 fDateTimeFormat.setContext(capitalizationContext); in format()
|
/external/icu/icu4c/source/i18n/ |
D | locdspnm.cpp | 280 UDisplayContext capitalizationContext; member in LocaleDisplayNamesImpl 350 , capitalizationContext(UDISPCTX_CAPITALIZATION_NONE) in LocaleDisplayNamesImpl() 365 , capitalizationContext(UDISPCTX_CAPITALIZATION_NONE) in LocaleDisplayNamesImpl() 377 capitalizationContext = value; in LocaleDisplayNamesImpl() 449 …if (capitalizationContext == UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU || capitalizationContext … in initialize() 468 …int32_t titlecaseInt = (capitalizationContext == UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU)? int… in initialize() 485 if (needBrkIter || capitalizationContext == UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE) { in initialize() 519 return capitalizationContext; in getContext() 534 …( capitalizationContext==UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE || fCapitalization[usag… in adjustForUsageAndContext()
|
D | reldtfmt.cpp | 161 UDisplayContext capitalizationContext = getContext(UDISPCTX_TYPE_CAPITALIZATION, status); in format() local 179 ( capitalizationContext==UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE || in format() 180 …(capitalizationContext==UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU && fCapitalizationOfRelativeUn… in format() 181 …(capitalizationContext==UDISPCTX_CAPITALIZATION_FOR_STANDALONE && fCapitalizationOfRelativeUnitsFo… in format() 189 fDateTimeFormatter->setContext(capitalizationContext, status); in format()
|
D | reldatefmt.cpp | 689 UDisplayContext capitalizationContext, in RelativeDateTimeFormatter() argument 695 fContext(capitalizationContext), in RelativeDateTimeFormatter() 701 if ((capitalizationContext >> 8) != UDISPCTX_TYPE_CAPITALIZATION) { in RelativeDateTimeFormatter() 705 if (capitalizationContext == UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE) { in RelativeDateTimeFormatter()
|
D | rbnf.cpp | 1204 UDisplayContext capitalizationContext = getContext(UDISPCTX_TYPE_CAPITALIZATION, status); in adjustForCapitalizationContext() local 1206 ( capitalizationContext==UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE || in adjustForCapitalizationContext() 1207 …(capitalizationContext==UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU && capitalizationForUIListMenu… in adjustForCapitalizationContext() 1208 …(capitalizationContext==UDISPCTX_CAPITALIZATION_FOR_STANDALONE && capitalizationForStandAlone)) ) { in adjustForCapitalizationContext()
|
D | smpdtfmt.cpp | 1013 UDisplayContext capitalizationContext = getContext(UDISPCTX_TYPE_CAPITALIZATION, status); in _format() local 1027 …subFormat(appendTo, prevCh, count, capitalizationContext, fieldNum++, handler, *workCal, mutableNF… in _format() 1054 …subFormat(appendTo, prevCh, count, capitalizationContext, fieldNum++, handler, *workCal, mutableNF… in _format() 1392 UDisplayContext capitalizationContext, in subFormat() argument 1820 switch (capitalizationContext) { in subFormat()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdattst.c | 1440 UDisplayContext capitalizationContext; member 1473 UDisplayContext capitalizationContext; member 1512 udat_setContext(udfmt, textContextItemPtr->capitalizationContext, &status); in TestContext() 1518 … textContextItemPtr->locale, (int)textContextItemPtr->capitalizationContext, u_errorName(status) ); in TestContext() 1524 … textContextItemPtr->locale, (int)textContextItemPtr->capitalizationContext, in TestContext() 1530 … textContextItemPtr->locale, (int)textContextItemPtr->capitalizationContext, u_errorName(status) ); in TestContext() 1531 } else if (getContext != textContextItemPtr->capitalizationContext) { in TestContext() 1533 … textContextItemPtr->locale, (int)textContextItemPtr->capitalizationContext, (int)getContext ); in TestContext() 1537 … textContextItemPtr->locale, (int)textContextItemPtr->capitalizationContext, u_errorName(status) ); in TestContext() 1557 udat_setContext(udfmt, textRelContextItemPtr->capitalizationContext, &status); in TestContext() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 4372 public DisplayContext capitalizationContext; in TestContext() field in DateFormatTest.TestContextItem 4378 capitalizationContext = capCtxt; in TestContext() 4396 public DisplayContext capitalizationContext; in TestContext() field in DateFormatTest.TestRelativeContextItem 4402 capitalizationContext = capCtxt; in TestContext() 4426 sdfmt.setContext(item.capitalizationContext); in TestContext() 4429 …rrln("FAIL: for locale " + item.locale + ", capitalizationContext " + item.capitalizationContext + in TestContext() 4437 …AIL: format for locale " + item.locale + ", capitalizationContext " + item.capitalizationContext + in TestContext() 4442 … DisplayContext capitalizationContext = sdfmt.getContext(DisplayContext.Type.CAPITALIZATION); in TestContext() local 4443 if (capitalizationContext != item.capitalizationContext) { in TestContext() 4444 … getContext for locale " + item.locale + ", capitalizationContext " + item.capitalizationContext + in TestContext() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 4368 public DisplayContext capitalizationContext; in TestContext() field in DateFormatTest.TestContextItem 4374 capitalizationContext = capCtxt; in TestContext() 4392 public DisplayContext capitalizationContext; in TestContext() field in DateFormatTest.TestRelativeContextItem 4398 capitalizationContext = capCtxt; in TestContext() 4422 sdfmt.setContext(item.capitalizationContext); in TestContext() 4425 …rrln("FAIL: for locale " + item.locale + ", capitalizationContext " + item.capitalizationContext + in TestContext() 4433 …AIL: format for locale " + item.locale + ", capitalizationContext " + item.capitalizationContext + in TestContext() 4438 … DisplayContext capitalizationContext = sdfmt.getContext(DisplayContext.Type.CAPITALIZATION); in TestContext() local 4439 if (capitalizationContext != item.capitalizationContext) { in TestContext() 4440 … getContext for locale " + item.locale + ", capitalizationContext " + item.capitalizationContext + in TestContext() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | reldatefmt.h | 375 UDisplayContext capitalizationContext,
|
D | smpdtfmt.h | 1259 UDisplayContext capitalizationContext,
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 4163 UDisplayContext capitalizationContext; member 4203 sdmft->setContext(itemPtr->capitalizationContext, status); in TestContext() 4210 ", capitalizationContext " + (int)itemPtr->capitalizationContext + in TestContext()
|